/* RESET & BASE TYPOGRAPHY */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption,
footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html { box-sizing: border-box; scroll-behavior: smooth; }
*, *:before, *:after { box-sizing: inherit; }
body {
  line-height: 1.5;
  background: #f8fafc;
  color: #22334A;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: #EC375D; text-decoration: none; transition: color .18s; }
a:hover, a:focus { color: #4CD9FF; outline: none; }

/* BRAND FONTS */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -1.5px;
}
h1 { font-size: 2.5rem; margin-bottom: 18px; color: #22334A; }
h2 { font-size: 2rem; margin-bottom: 14px; color: #8CC84B; }
h3 { font-size: 1.4rem; margin-bottom: 12px; color: #22334A; }
h4, h5, h6 { font-size: 1.1rem; }
p, ul, ol, blockquote { margin-bottom: 16px; }
strong { color: #22334A; font-weight: 700; }

/* LAYOUT CONTAINERS */
.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 16px 0 rgba(34,51,74,0.10), 0 1.5px 10px 0 rgba(140,200,75,0.05);
  padding: 28px 26px;
  transition: transform 0.23s cubic-bezier(.6,.2,.2,1), box-shadow 0.18s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 32px 0 rgba(76,217,255,0.14), 0 2.5px 20px 0 rgba(236,55,93,0.14);
  transform: translateY(-5px) scale(1.025);
  z-index: 2;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 28px 26px;
  background: #fff;
  margin-bottom: 20px;
  border-radius: 16px;
  box-shadow: 0 2px 10px 0 rgba(76,217,255,0.1);
  border-left: 4px solid #EC375D;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* HEADER & NAVBAR (desktop) */
header {
  background: #22334A;
  color: #fff;
  padding: 0;
  border-bottom: 5px solid #8CC84B;
  position: relative;
  z-index: 50;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 16px 20px;
}
header img[alt="PixelMist Bilguide"] {
  height: 48px;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}
header nav a {
  color: #fff;
  background: none;
  font-weight: 800;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.02em;
  font-size: 1rem;
  padding: 8px 8px;
  border-radius: 7px;
  transition: background 0.16s, color 0.16s;
}
header nav a:hover, header nav a:focus {
  color: #8CC84B;
  background: #22334A;
}
.cta.primary {
  display: inline-block;
  padding: 12px 32px;
  background: #EC375D;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: bold;
  border: none;
  border-radius: 30px;
  box-shadow: 0 2px 10px rgba(236,55,93,0.16);
  letter-spacing: .02em;
  text-transform: uppercase;
  transition: background 0.2s, box-shadow .18s, transform .18s;
}
.cta.primary:hover, .cta.primary:focus {
  background: #4CD9FF;
  color: #22334A;
  box-shadow: 0 4px 20px rgba(76,217,255,0.26);
  transform: translateY(-2px) scale(1.03);
}
.cta.secondary {
  display: inline-block;
  padding: 10px 26px;
  background: #8CC84B;
  color: #22334A;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: bold;
  border: none;
  border-radius: 30px;
  text-transform: uppercase;
  transition: background 0.2s, box-shadow .18s, transform .18s, color .16s;
}
.cta.secondary:hover, .cta.secondary:focus {
  background: #EC375D;
  color: #fff;
  box-shadow: 0 4px 12px rgba(236, 55, 93, 0.18);
  transform: translateY(-2px) scale(1.025);
}

/* HAMBURGER MENU (mobile-nav) */
.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2rem;
  color: #8CC84B;
  cursor: pointer;
  margin-left: 14px;
  display: none;
  position: absolute;
  right: 28px;
  top: 26px;
  z-index: 105;
  transition: color 0.18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus { color: #EC375D; }
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #22334A;
  box-shadow: 0 2px 24px rgba(34,51,74,0.28);
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(.54,.14,.36,1);
  z-index: 110;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.1rem;
  background: none;
  border: none;
  color: #FFF;
  margin: 26px 30px 12px 0;
  cursor: pointer;
  z-index: 111;
  transition: color 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus { color: #8CC84B; }
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 20px;
  margin-left: 36px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 4px;
  transition: color 0.18s, background 0.14s;
  border-radius: 8px;
  padding: 10px 18px;
  min-width: 200px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #EC375D;
  background: #fff;
}

/* HERO SECTION */
.hero {
  background: linear-gradient(90deg, #EC375D 0%, #4CD9FF 100%);
  color: #fff;
  text-align: left;
  padding: 60px 0 60px 0;
  border-radius: 0 0 36px 36px;
  box-shadow: 0 8px 32px rgba(140,200,75,0.09);
}
.hero .container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
}
.hero .content-wrapper {
  max-width: 640px;
  gap: 26px;
}
.hero h1, .hero p {
  color: #fff;
}
.hero .cta.primary { margin-top: 12px; }

/* FEATURES, RESOURCES, PROCESS, TEAM, FAQ SECTIONS */
.features ul,
.process ol,
.process ul,
.faq-preview ul,
.tips ul,
.tips .text-section ul,
.resources ul,
.about ul,
.team ul,
.contact ul {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.features ul li,
.process li,
.resources ul li,
.faq-preview ul li,
.tips ul li,
.tips .text-section ul li,
.about ul li,
.team ul li,
.contact ul li {
  background: #fff;
  border-radius: 12px;
  padding: 14px 18px;
  box-shadow: 0 0.5px 4px rgba(34,51,74,0.06);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  color: #22334A;
  margin-bottom: 6px;
}
.features ul li img, .about ul li img, .contact ul li img {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  margin-right: 8px;
}
.process ol { counter-reset: step; }
.process ol li {
  position: relative;
  margin-left: 22px;
  font-size: 1.08rem;
}
.process ol li:before {
  counter-increment: step;
  content: counter(step);
  background: #4CD9FF;
  color: #22334A;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  margin-right: 16px;
  margin-left: -41px;
  margin-top: 2px;
}
.text-section {
  padding: 0 0 0 0;
}
.text-section p { font-size: 1.02rem; }
.text-section h2, .text-section h3 { margin-top: 24px; margin-bottom: 12px; }

.faq-accordion h3 {
  cursor: pointer;
  font-size: 1.15rem;
  margin-bottom: 7px;
  padding: 8px 0;
  border-radius: 5px;
  transition: background 0.12s;
  border-bottom: 1px solid #EC375D;
}
.faq-accordion h3:hover, .faq-accordion h3:focus {
  background: #fff4fa;
}
.faq-accordion p {
  font-size: 1rem;
  color: #22334A;
  padding: 0 0 12px 20px;
  margin-bottom: 10px;
}

/* TESTIMONIALS & REVIEWS */
.testimonials, .review-summary, .testimonial-card {
  width: 100%;
}
.testimonial-card {
  background: #fff;
  color: #22334A;
  border-radius: 16px;
  box-shadow: 0 2px 10px 0 rgba(76,217,255,0.08);
  margin-bottom: 20px;
  padding: 28px 26px;
  border-left: 4px solid #8CC84B;
  display: flex;
  flex-direction: column;
  gap: 15px;
  font-size: 1.1rem;
  transition: box-shadow 0.17s, border-color 0.17s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 24px 0 rgba(236,55,93,0.08);
  border-left: 5px solid #4CD9FF;
}
.testimonial-card blockquote {
  font-size: 1.13rem;
  font-style: italic;
  color: #22334A;
  margin: 0 0 5px 0;
  line-height: 1.6;
}
.testimonial-details {
  font-size: 0.98rem;
  color: #EC375D;
  padding-left: 4px;
  letter-spacing: 0.01em;
}
.review-summary {
  background: #4CD9FF;
  color: #22334A;
  border-radius: 16px;
  margin-top: 28px;
  padding: 22px 24px;
  font-size: 1.12rem;
  font-weight: 600;
  box-shadow: 0 1.5px 8px rgba(236,55,93,0.08);
}
.review-summary img {
  height: 28px;
  width: 28px;
  margin-right: 7px;
  vertical-align: middle;
}
.submit-review .review-policy-info {
  background: #fff4fa;
  color: #22334A;
  border-left: 3px solid #8CC84B;
  margin: 18px 0;
  padding: 16px 18px;
  border-radius: 10px;
  font-size: 0.99rem;
}

/* FOOTER */
footer {
  background: #22334A;
  color: #fff;
  padding: 28px 0 12px 0;
  box-shadow: 0 -2px 18px rgba(140,200,75,0.05);
}
footer .container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 28px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
footer nav a {
  color: #fff;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  transition: color 0.18s;
}
footer nav a:hover, footer nav a:focus { color: #8CC84B; }
footer .text-section {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
footer img[alt="PixelMist Bilguide"] {
  height: 34px;
  margin-bottom: 8px;
}
footer p {
  font-size: 0.95rem;
  color: #fff;
}

/* MAP PLACEHOLDER (for contact page) */
.map-placeholder {
  background: #e6faff;
  border-radius: 14px;
  padding: 18px;
  font-size: 1.03rem;
  display: flex;
  align-items: center;
  gap: 12px;
}
.map-placeholder img {
  width: 28px;
  height: 28px;
}

/* POLICY PAGES */
.policy .text-section {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 0.5px 6px rgba(34,51,74,0.03);
  padding: 23px 20px;
  margin: 18px 0;
}
.policy .text-section a { color: #EC375D; font-weight: bold; }
.policy .text-section a:hover { color: #4CD9FF; }

/* SPACING & ALIGNMENT CLASSES */
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.content-grid { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; }
.text-image-section { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.testimonial-card { display: flex; align-items: center; gap: 20px; padding: 20px; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #22334A;
  color: #fff;
  z-index: 4000;
  box-shadow: 0 -2px 16px rgba(34,51,74,0.15);
  padding: 22px 20px 20px 20px;
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
  opacity: 1;
  transition: opacity 0.28s;
  font-size: 1rem;
}
.cookie-banner.hide { opacity: 0; pointer-events: none; }
.cookie-banner .cookie-banner-msg {
  flex: 1 1 320px;
  font-size: 1rem;
  color: #fff;
}
.cookie-banner .cookie-banner-btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-btn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 25px;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background .13s, color .13s, box-shadow .14s, transform .10s;
  box-shadow: 0 2px 6px rgba(236,55,93,0.11);
  outline: none;
}
.cookie-btn.accept { background: #8CC84B; color: #22334A; }
.cookie-btn.accept:hover { background: #4CD9FF; color: #22334A; }
.cookie-btn.reject { background: #EC375D; color: #fff; }
.cookie-btn.reject:hover { background: #22334A; color: #fff; }
.cookie-btn.settings {
  background: #fff;
  color: #22334A;
  border: 2px solid #4CD9FF;
  box-shadow: none;
}
.cookie-btn.settings:hover {
  background: #4CD9FF;
  color: #fff;
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%) scale(1);
  background: #fff;
  color: #22334A;
  border-radius: 19px;
  box-shadow: 0 6px 32px rgba(76,217,255,0.20);
  padding: 34px 26px 26px 26px;
  z-index: 5001;
  min-width: 320px;
  max-width: 95vw;
  min-height: 150px;
  transition: opacity .28s, transform .24s cubic-bezier(.9,.01,.34,1.09);
  opacity: 1;
  display: none;
}
.cookie-modal.open { display: block; animation: cookie-modal-in .33s cubic-bezier(.9,.01,.34,1.09); }
@keyframes cookie-modal-in {
  0% { opacity: 0; transform: translate(-50%, -60%) scale(0.95); }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
.cookie-modal-title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: bold;
  color: #EC375D;
  margin-bottom: 14px;
}
.cookie-modal-body p {
  margin-bottom: 13px;
  font-size: 1rem;
}
.cookie-category-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 18px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
}
.cookie-category .switch {
  position: relative;
  width: 42px;
  height: 24px;
  display: inline-block;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.switch .slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0;
  right: 0; bottom: 0;
  background: #e0e0e0;
  border-radius: 24px;
  transition: background 0.19s;
}
.switch input:checked + .slider {
  background: #4CD9FF;
}
.switch .slider:before {
  position: absolute;
  content: '';
  height: 20px;
  width: 20px;
  left: 2px;
  bottom: 2px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.17s;
}
.switch input:checked + .slider:before {
  transform: translateX(18px);
}
.cookie-modal-footer {
  margin-top: 18px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
@media (max-width: 450px) {
  .cookie-modal {
    padding: 22px 9px 14px 9px;
    min-width: 0;
    max-width: 99vw;
  }
}

/* ANIMATION CLASSES */
.fade-in { animation: fadeIn .36s ease; }
@keyframes fadeIn {
  from { opacity:0; }
  to   { opacity:1; }
}

/* MEDIA QUERIES & RESPONSIVE FLEX */
@media (max-width: 1080px) {
  .container { max-width: 97vw; }
  header .container, footer .container { flex-wrap: wrap; gap: 16px 8px; }
  .hero .content-wrapper { max-width: 98vw; }
}
@media (max-width: 900px) {
  footer .container { flex-direction: column; align-items: flex-start; }
  footer .text-section { align-items: flex-start; }
}
@media (max-width: 768px) {
  .container {
    max-width: 99vw;
    padding: 0 9px;
  }
  .hero .container { flex-direction: column; gap: 20px; }
  .hero { padding: 38px 0; border-radius: 0 0 18px 18px; }
  .section { padding: 22px 8px; margin-bottom: 34px; }
  .content-wrapper { gap: 13px; }
  .content-grid { flex-direction: column; gap: 17px; }
  .testimonial-card { padding: 16px 10px; gap: 9px; font-size: 1rem; }
  .review-summary { padding: 11px 8px; font-size: 1rem; margin-top: 13px; }
  .submit-review .review-policy-info { padding: 8px 8px; }
  header .container { padding: 11px 4px; }
  .card { padding: 13px 9px; }
  .about ul, .team ul, .features ul, .contact ul { gap: 12px; }
  .section, .about, .team, .testimonials, .faq, .policy, .submit-review, .contact, .resources, .process, .faq-preview { margin-bottom: 30px; }
}
@media (max-width: 640px) {
  h1 { font-size: 1.45rem; margin-bottom: 8px; }
  h2 { font-size: 1.1rem; margin-bottom: 7px; }
  h3 { font-size: 1.05rem; }
  .hero { padding: 24px 0 24px 0; border-radius: 0 0 13px 13px; }
}
@media (max-width: 700px) {
  .text-image-section { flex-direction: column; align-items: stretch; gap: 13px; }
  .content-grid, .card-container { flex-direction: column; gap: 13px; }
  .testimonial-card, .review-summary, .card { border-radius: 11px; }
}
@media (max-width: 950px) {
  .team .content-wrapper, .about .content-wrapper { padding: 0; }
}
@media (max-width: 850px) {
  .hero .cta.primary { min-width: 88vw; }
}

/* HAMBURGER VISIBILITY ON MOBILE */
@media (max-width: 1024px) {
  header nav { display: none; }
  .mobile-menu-toggle { display: block; }
}
@media (min-width: 1025px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
  header nav { display: flex; }
}

/* UTILITY & MISC. */
.hide, [hidden] {
  display: none !important;
}

/* MICRO-INTERACTIONS/EFFECTS */
a, .cta.primary, .cta.secondary, .card, .testimonial-card, .cookie-btn, .cookie-btn.settings {
  transition: box-shadow .16s, background .17s, color .17s, transform .14s, border .14s;
}

/* CUSTOM COLOR PALETTE EXTENSIONS FOR ENERGETIC DESIGN */
:root {
  --brand-primary: #22334A;
  --brand-secondary: #8CC84B;
  --brand-accent: #EC375D;
  --brand-bright: #4CD9FF;
  --brand-white: #ffffff;
  --brand-bg: #f8fafc;
}

/* END */