/* =====================
   CSS RESET & NORMALIZE
   ===================== */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  background: #F6F6F6;
  color: #204060;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg {
  display: block;
  max-width: 100%;
}
a {
  color: #204060;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: #FFA300;
}
ul, ol {
  list-style: none;
  margin-left: 0;
  padding-left: 0;
}
strong {
  font-weight: 600;
  color: #204060;
}

/* ===============
   BRAND FONTS
   =============== */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: -0.01em;
  color: #204060;
  margin-bottom: 18px;
}
h1 {
  font-size: 2.5rem;   /* 40px */
  font-weight: 700;
  margin-bottom: 18px;
}
h2 {
  font-size: 2rem;      /* 32px */
  font-weight: 600;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.25rem;   /* 20px */
  font-weight: 600;
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-size: 1rem;
  font-weight: 500;
}
p, li {
  font-size: 1rem;
  color: #384860;
}
.section ul,
.section ol {
  margin-bottom: 18px;
}

/* =====================
   CONTAINER & LAYOUT
   ===================== */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  margin: 0 auto;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(32,64,96,0.05);
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* Remove default background for policy/legal pages */
body .section:has(h1:only-child) {
  background: transparent;
  box-shadow: none;
  padding: 32px 8px 16px 8px;
}

/* =====================
   HEADER & NAVIGATION
   ===================== */
header {
  background: #fff;
  box-shadow: 0 2px 16px rgba(61, 87, 120, 0.07);
  position: sticky;
  top: 0;
  z-index: 40;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 20px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.main-nav a {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #204060;
  padding: 4px 8px;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}
.main-nav a:hover {
  background: #F6F6F6;
  color: #FFA300;
}

.cta-btn {
  display: inline-block;
  background: #FFA300;
  color: #204060;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 11px 28px;
  border: none;
  border-radius: 32px;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(32,64,96,0.08);
  transition: background 0.18s, color 0.22s, transform 0.13s;
  margin-left: 10px;
}
.cta-btn:hover, .cta-btn:focus {
  background: #204060;
  color: #fff;
  transform: translateY(-1px) scale(1.04);
}
.cta-btn.secondary {
  background: transparent;
  border: 2px solid #FFA300;
  color: #204060;
  transition: background 0.14s, color 0.17s, border 0.18s;
}
.cta-btn.secondary:hover, .cta-btn.secondary:focus {
  background: #FFA300;
  color: #fff;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #204060;
  cursor: pointer;
  margin-left: 16px;
  transition: color 0.2s;
}

.mobile-menu-toggle:focus {
  outline: 2px solid #FFA300;
}


/* =============
  MOBILE NAV
  ============= */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 2px 32px rgba(32,64,96,0.13);
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(.5,.24,0,1);
  z-index: 120;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px 32px 24px 24px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #204060;
  cursor: pointer;
  align-self: flex-end;
  margin-bottom: 14px;
  transition: color 0.18s;
}
.mobile-menu-close:hover {
  color: #FFA300;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 500;
  color: #204060;
  padding: 12px 0 12px 8px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
.mobile-nav a:hover {
  color: #FFA300;
  background: #f6f3ee;
}

@media (max-width: 1100px) {
  .container { max-width: 98vw; }
  .main-nav { gap: 17px; }
}
@media (max-width: 900px) {
  nav.main-nav { display: none !important; }
  .cta-btn { margin-left: 0;}
  .mobile-menu-toggle { display: block; }
}
@media (min-width: 901px) {
  .mobile-menu { display: none !important; }
}

/* ==========================
   FLEXBOX LAYOUT COMPONENTS
   ========================== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
}
.feature-grid > div {
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 290px;
  background: #F6F6F6;
  border-radius: 13px;
  padding: 24px 20px 17px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: 0 1.5px 10px rgba(136,150,160,0.03);
  transition: box-shadow 0.22s, transform 0.13s, background 0.14s;
}
.feature-grid > div:hover {
  box-shadow: 0 6px 36px rgba(32,64,96,0.08);
  background: #fffbe8;
  transform: translateY(-2px) scale(1.02);
}
.feature-grid img {
  width: 38px; height: 38px; margin-bottom: 9px;
}

.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.service-cards > div {
  flex: 1 1 210px;
  min-width: 210px;
  max-width: 320px;
  background: #F6F6F6;
  border-radius: 13px;
  padding: 22px 18px 12px 18px;
  box-shadow: 0 1.5px 10px rgba(136,150,160,0.03);
  transition: box-shadow 0.18s, background 0.12s;
  position: relative;
  margin-bottom: 20px;
}
.service-cards > div:hover {
  box-shadow: 0 7px 30px rgba(32,64,96,0.10);
  background: #fffbe8;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(32,64,96,0.06);
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.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-list {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: flex-start;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 25px 20px 23px;
  background: #f5fbff;
  border-radius: 14px;
  box-shadow: 0 2px 18px rgba(32,64,96,0.11);
  min-width: 220px; max-width: 370px;
  flex: 1 1 290px;
  font-size: 1.07rem;
  margin-bottom: 20px;
  border: 1.5px solid #e6eef6;
  transition: box-shadow 0.21s, border 0.13s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 32px rgba(32,64,96,0.15);
  border-color: #bee4f7;
  background: #fff;
}
.testimonial-card p {
  color: #1A2432;
  font-size: 1.07rem;
}
.testimonial-card strong {
  color: #204060;
  font-size: 1rem;
  font-weight: 600;
}
.rating {
  color: #FFA300;
  font-size: 1.13rem;
  letter-spacing: 1.6px;
  margin-bottom: 0;
  font-family: 'Montserrat', sans-serif;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ===========
  BUTTONS
  =========== */
button,
.add-to-cart-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  background: #FFA300;
  color: #204060;
  border: none;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1rem;
  padding: 9px 22px;
  box-shadow: 0 2px 10px rgba(32,64,96,0.06);
  cursor: pointer;
  transition: background 0.18s, color 0.22s, transform 0.12s;
}
button:hover,
button:focus,
.add-to-cart-btn:hover,
.add-to-cart-btn:focus {
  background: #204060;
  color: #fff;
  outline: none;
  transform: translateY(-1px) scale(1.04);
}
.add-to-cart-btn {
  margin-left: 10px;
  display: inline-block;
  padding: 7px 19px;
  font-size: 0.98rem;
  border-radius: 23px;
  border: 2px solid #FFA300;
  background: #fffdf6;
  transition: background 0.15s, border 0.13s, color 0.14s;
}
.add-to-cart-btn:hover,
.add-to-cart-btn:focus {
  background: #FFA300;
  color: #204060;
}

/* ===========================
   FOOTER
   =========================== */
footer {
  padding: 34px 0 22px 0;
  background: #fff;
  box-shadow: 0 -2px 22px rgba(60,76,100,0.05);
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 23px;
  margin-bottom: 12px;
}
.footer-menu a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #204060;
  font-weight: 500;
  padding: 0 3px;
  transition: color 0.18s;
}
.footer-menu a:hover {
  color: #FFA300;
}
.contact-info {
  color: #606a80;
  font-size: 0.98rem;
  margin-bottom: 10px;
}
.social-links {
  display: flex;
  gap: 17px;
  margin-top: 7px;
  margin-bottom: 7px;
}
.social-links img {
  width: 30px;
  height: 30px;
  filter: grayscale(25%);
  opacity: 0.95;
  transition: filter 0.22s, opacity 0.2s, scale 0.15s;
  cursor: pointer;
}
.social-links img:hover {
  filter: grayscale(0%);
  opacity: 1;
  scale: 1.09;
}

/* ========================
   COOKIE CONSENT BANNER
   ======================== */
.cookie-consent-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #fff;
  box-shadow: 0 -2px 24px rgba(32,64,96,0.09);
  padding: 28px 18px 22px 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 23px;
  font-size: 0.99rem;
  z-index: 2500;
  transition: transform 0.19s, opacity 0.17s;
  opacity: 1;
  transform: translateY(0);
}
.cookie-consent-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-consent-msg { color: #204060; }
.cookie-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.cookie-btn,
.cookie-btn-secondary {
  padding: 8px 18px;
  font-size: 1rem;
  border-radius: 22px;
  border: none;
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 600;
  letter-spacing: -0.01em;
  box-shadow: 0 1px 5px rgba(32,64,96,0.07);
  transition: background 0.17s, color 0.15s;
  cursor: pointer;
}
.cookie-btn { background: #FFA300; color: #204060; }
.cookie-btn:hover { background: #204060; color: #fff; }
.cookie-btn-secondary {
  background: transparent;
  color: #204060;
  border: 2px solid #FFA300;
}
.cookie-btn-secondary:hover { background: #FFA300; color: #fff; }

/* Cookie modal */
.cookie-modal-overlay {
  position: fixed;
  top:0; left:0; right:0; bottom:0;
  background: rgba(32,64,96,0.18);
  z-index: 2650;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  transition: opacity 0.18s cubic-bezier(.3,.9,.3,1);
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  border-radius: 26px;
  padding: 42px 32px;
  min-width: 320px;
  width: 94vw;
  max-width: 410px;
  box-shadow: 0 7px 50px rgba(32,64,96,0.12);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 21px;
  font-size: 1.05rem;
  position: relative;
}
.cookie-modal-title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.35rem;
  margin-bottom: 12px;
  font-weight: 700;
  color: #204060;
}
.cookie-modal-categories {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 12px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cookie-switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 24px;
}
.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0;
  right: 0; bottom: 0;
  background: #e6eef6;
  border-radius: 25px;
  transition: background 0.2s;
}
.cookie-switch input:checked + .cookie-slider {
  background: #FFA300;
}
.cookie-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s;
  box-shadow: 0 1.5px 6px rgba(32,64,96,0.08);
}
.cookie-switch input:checked + .cookie-slider:before {
  transform: translateX(16px);
}
.cookie-modal-btns {
  display: flex;
  gap: 14px;
  align-items: center;
}
.cookie-modal-close {
  position: absolute;
  top: 13px;
  right: 15px;
  background: none;
  border: none;
  color: #909ba6;
  font-size: 1.6rem;
  cursor: pointer;
  transition: color 0.15s;
}
.cookie-modal-close:hover { color: #FFA300; }

/* ============
  RESPONSIVE
  ============ */
@media (max-width: 1350px) {
  .feature-grid > div, .service-cards > div { max-width: 98vw; min-width:200px;}
}
@media (max-width: 900px) {
  header .container { flex-wrap: wrap; padding: 0 10px; }
  .feature-grid, .service-cards, .testimonial-list { gap: 16px; }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.3rem; }
  .container { padding: 0 8px; }
  .section { margin-bottom: 40px; padding: 28px 8px; }
  .feature-grid > div,
  .service-cards > div,
  .card { max-width: 97vw; min-width: 0; }
  .feature-grid, .service-cards, .card-container, .testimonial-list {
    flex-direction: column;
    gap: 15px;
  }
  .footer-menu { flex-direction: column; gap: 10px; }
  .content-grid, .text-image-section {
    flex-direction: column !important;
    gap: 16px;
  }
}
@media (max-width: 530px) {
  .section { margin-bottom: 24px; padding: 14px 2vw; }
  header .container { min-height: 52px; }
  .cookie-consent-banner { flex-direction: column; align-items: flex-start; padding: 19px 5vw 14px 5vw; gap: 15px; }
  .cookie-modal { padding: 22px 8px; min-width: 0; width: 97vw; }
}

/* ADDITIONAL MOBILE ADJUSTMENTS */
@media (max-width: 400px) {
  .cookie-consent-banner { font-size: 0.92rem !important; }
  .cookie-btn, .cookie-btn-secondary { font-size: 0.94rem !important; }
}

/* =====================
   ENHANCED PAGE ELEMENTS
   ===================== */
.text-section {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.consultant-profiles ul {
  margin: 0 0 0 0;
  padding-left: 16px;
}
.consultant-profiles strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.10rem;
}

ol, ul {
  margin: 0 0 18px 20px;
}
ul li, ol li {
  color: #384860;
  margin-bottom: 5px;
  line-height: 1.6;
  padding-left: 3px;
}

.section ul {
  list-style: disc inside;
}
.section ol {
  list-style: decimal inside;
}

/* ===================
   FORM STYLE (if any)
   =================== */
input, select, textarea {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  padding: 9px 14px;
  background: #F6F6F6;
  border: 1.5px solid #d6dadf;
  border-radius: 11px;
  margin-bottom: 14px;
  outline: none;
  transition: border 0.17s;
  width: 100%;
  box-shadow: 0 0.5px 6px rgba(32,64,96,0.04);
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid #FFA300;
  background: #fffbe8;
}
label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  color: #204060;
  margin-bottom: 5px;
  display: block;
}

/* ===================
   UTILITY CLASSES
   =================== */
.mt-1 { margin-top: 8px; }
.mb-1 { margin-bottom: 8px; }
.mt-2 { margin-top: 16px; }
.mb-2 { margin-bottom: 16px; }
.rounded { border-radius: 16px; }
.text-center { text-align: center; }

/* Subtle animation */
@media (prefers-reduced-motion: no-preference) {
  .cta-btn, .add-to-cart-btn, .cookie-btn, .cookie-btn-secondary {
    transition: background 0.18s, color 0.22s, box-shadow 0.18s, transform 0.12s;
  }
  .feature-grid > div, .service-cards > div, .card, .testimonial-card {
    transition: box-shadow 0.25s, background 0.23s, border 0.21s, transform 0.17s;
  }
  .cookie-modal, .cookie-consent-banner, .mobile-menu {
    transition: all 0.32s cubic-bezier(.24,.76,0,1);
  }
}
