/* RESET & NORMALIZE */

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 {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #F0F4F8;
  color: #1d2632;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  background: #F0F4F8;
  min-height: 100vh;
  color: #1d2632;
}

*, *:before, *:after {
  box-sizing: inherit;
}

img {
  max-width: 100%;
  display: block;
  border: 0;
}

ul, ol {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #E49C41;
  outline-offset: 2px;
}

/* TYPOGRAPHY */
h1, .hero h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 2.5rem;
  line-height: 1.15;
  color: #20416A;
  letter-spacing: -1px;
  margin-bottom: 18px;
}
h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 2rem;
  color: #20416A;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}
h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: #20416A;
  margin-bottom: 12px;
  letter-spacing: 0;
}
h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #20416A;
}
p, li, ul, ol {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 14px;
  color: #243553;
}
strong {
  font-weight: 700;
  color: #20416A;
}

/* CONTAINER LAYOUT */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 20px 0 rgba(32, 65, 106, 0.05);
}

/* HEADER & NAV */
header {
  background: #fff;
  box-shadow: 0 2px 8px 0 rgba(32,65,106,0.04);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  padding-bottom: 8px;
}
.logo img {
  height: 44px;
  width: auto;
  min-width: 100px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #20416A;
  padding: 8px 14px;
  border-radius: 7px;
  background: none;
  transition: background 0.18s, color 0.18s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  background: #E49C41;
  color: #fff;
}
.main-nav .cta.primary,
.mobile-nav .cta.primary {
  background: #E49C41;
  color: #fff !important;
  border-radius: 8px;
  padding: 8px 24px;
  font-size: 1.05rem;
  font-weight: 800;
  box-shadow: 0 3px 8px 0 rgba(228,156,65,0.11);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.main-nav .cta.primary:hover, .main-nav .cta.primary:focus {
  background: #20416A;
  color: #E49C41 !important;
  box-shadow: 0 5px 15px 0 rgba(32,65,106,0.13);
}

/* MOBILE MENU */
.mobile-menu-toggle {
  background: #E49C41;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px 0 rgba(32,65,106,0.11);
  cursor: pointer;
  margin-left: 20px;
  transition: background 0.2s;
  z-index: 210;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #20416A;
  color: #E49C41;
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #20416A;
  color: #fff;
  z-index: 200;
  transform: translateX(-100vw);
  transition: transform 0.36s cubic-bezier(.57,.29,.15,1.33);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 30px 26px 26px 26px;
  opacity: 1;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.1rem;
  margin-bottom: 30px;
  margin-left: auto;
  align-self: flex-end;
  cursor: pointer;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.2rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 16px 0 8px 0;
  border-radius: 7px;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #E49C41;
  color: #20416A;
}

/* HIDE MOBILE ELEMENTS ON DESKTOP */
@media (min-width: 1001px) {
  .mobile-menu-toggle { display: none !important; }
  .mobile-menu { display: none !important; }
}

@media (max-width: 1000px) {
  .main-nav { display: none !important; }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* HERO SECTION */
.hero {
  margin-bottom: 60px;
  padding: 40px 0;
  background: #20416A;
  color: #fff;
  border-radius: 0 0 2rem 2rem;
  box-shadow: 0 1px 30px 0 rgba(32,65,106,0.10);
}
.hero h1,
.hero h1 strong {
  color: #fff;
  font-weight: 800;
}
.hero p {
  color: #F0F4F8;
  font-size: 1.25rem;
  max-width: 600px;
  margin-bottom: 22px;
}
.hero .cta.primary {
  margin-top: 12px;
}

/* FEATURES & CARDS */
.feature-grid, .milestone-grid, .district-grid, .usp-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-item, .milestone-item, .district-item, .usp-item {
  flex: 1 1 230px;
  min-width: 210px;
  background: #fff;
  border-radius: 16px;
  padding: 28px 22px 20px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  box-shadow: 0 2px 14px 0 rgba(32,65,106,0.09);
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.25s, transform 0.20s;
  border: 2px solid transparent;
}
.feature-item img, .milestone-item img, .district-item img, .usp-item img {
  height: 48px;
  width: 48px;
  margin-bottom: 2px;
}
.feature-item:hover, .milestone-item:hover, .district-item:hover, .usp-item:hover {
  box-shadow: 0 10px 18px 0 rgba(32,65,106,0.16);
  transform: translateY(-6px) scale(1.025);
  border-color: #E49C41;
  z-index: 1;
}
.feature-item h3, .milestone-item h3, .district-item h3, .usp-item h3 {
  margin-bottom: 6px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 8px 0 rgba(32,65,106,0.09);
  padding: 26px 18px;
  transition: box-shadow 0.18s, transform 0.20s;
}
.card:hover {
  box-shadow: 0 7px 18px rgba(32,65,106,0.20);
  transform: translateY(-5px);
}

.content-grid, .pros-cons-list, .team-expertise-list, .faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

/* TESTIMONIALS */
.testimonials {
  background: #F0F4F8;
  border-radius: 22px;
  padding: 40px 16px 50px 16px;
  margin-bottom: 60px;
}
.testimonials h2 {
  color: #20416A;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  padding: 24px 32px 22px 32px;
  margin-bottom: 20px;
  border-radius: 18px;
  box-shadow: 0 4px 26px 0 rgba(32,65,106,0.07);
  min-width: 220px;
  max-width: 520px;
  border-left: 7px solid #E49C41;
  transition: box-shadow 0.15s, transform 0.18s;
  color: #243553;
}
.testimonial-card p {
  font-size: 1.14rem;
  font-family: 'Roboto', Arial, sans-serif;
  color: #1d2632;
  margin-bottom: 0;
}
.testimonial-author {
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #20416A;
  margin-top: 6px;
}
.testimonial-card:hover {
  box-shadow: 0 10px 22px rgba(228,156,65,0.10);
  transform: translateY(-3px) scale(1.01);
}

/* CTA BUTTONS */
.cta, .cta.primary {
  font-family: 'Montserrat', Arial, sans-serif;
  display: inline-block;
  padding: 12px 28px;
  background: #20416A;
  color: #fff !important;
  border-radius: 9px;
  font-weight: 800;
  font-size: 1.08rem;
  letter-spacing: 0.02em;
  transition: background 0.2s, color 0.2s, box-shadow 0.18s, transform 0.12s;
  cursor: pointer;
  box-shadow: 0 2px 10px 0 rgba(32,65,106,0.14);
  border: none;
  text-align: center;
  margin-top: 14px;
}
.cta.primary {
  background: #E49C41;
  color: #fff !important;
  box-shadow: 0 6px 24px 0 rgba(228,156,65,0.12);
}
.cta:hover, .cta:focus, .cta.primary:hover, .cta.primary:focus {
  background: #fff;
  color: #20416A !important;
  box-shadow: 0 9px 32px rgba(32,65,106,0.13);
  border: 2px solid #E49C41;
  transform: scale(1.035);
}


/* LIST STYLES & ICONS */
ul.contact-details li,
ul.values-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
  font-size: 1rem;
}
ul.contact-details a {
  color: #20416A;
  font-weight: 600;
  text-decoration: underline;
}
ul.step-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: #20416A;
}
ol.step-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 1.08rem;
  color: #20416A;
}
ul.team-expertise-list, .faq-list {
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.faq-list {
  width: 100%;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-item {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px 0 rgba(32,65,106,0.08);
  padding: 18px 22px;
  margin-bottom: 10px;
  flex: 1 1 220px;
  transition: box-shadow 0.19s, transform 0.15s;
}
.faq-item strong {
  font-size: 1.07rem;
  font-weight: 700;
  color: #20416A;
}
.faq-item:hover {
  box-shadow: 0 6px 17px rgba(228,156,65,0.10);
  transform: translateY(-2px) scale(1.015);
}

/* CONTACT SECTION */
.contact {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.contact .content-wrapper {
  gap: 24px;
}
.contact ul {
  margin-bottom: 18px;
}
.contact .cta {
  margin-top: 12px;
}

/* FOOTER */
footer {
  background: #20416A;
  color: #fff;
  font-size: 1rem;
  margin-top: 40px;
  padding: 30px 0 10px 0;
  border-top-left-radius: 36px;
  border-top-right-radius: 36px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-main-nav, .footer-legal-nav, .footer-contact-info, .footer-social-media {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-main-nav {
  gap: 8px;
}
.footer-main-nav a, .footer-legal-nav a {
  color: #fff;
  opacity: 0.89;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 2px 0;
  transition: color 0.15s, opacity 0.15s;
}
.footer-main-nav a:hover, .footer-legal-nav a:hover {
  color: #E49C41;
  opacity: 1;
}
.footer-contact-info {
  gap: 0.25em;
}
.footer-contact-info span {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.98rem;
  opacity: 0.93;
}
.footer-social-media {
  flex-direction: row;
  gap: 16px;
}
.footer-social-media a img {
  width: 28px;
  height: 28px;
  filter: grayscale(0%) brightness(1.02);
  transition: filter 0.13s;
}
.footer-social-media a:hover img {
  filter: grayscale(0%) brightness(1.35) saturate(2) drop-shadow(0px 2px 8px #E49C41);
}
.footer-logo img {
  height: 50px;
  width: auto;
  opacity: 0.92;
  margin-top: 18px;
}

/* LEGAL & THANK YOU PAGES */
.legal, .thank-you {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 14px 0 rgba(32,65,106,0.06);
}

.legal h1, .thank-you h1 {
  color: #20416A;
  font-size: 2.1rem;
  font-weight: 800;
  margin-bottom: 16px;
}
.legal h2, .thank-you h2 { margin-top: 26px; }

.thank-you ul li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 8px;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; bottom: 0;
  width: 100vw;
  background: #20416A;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 24px 18px 24px 18px;
  z-index: 500;
  box-shadow: 0 -6px 30px rgba(32,65,106,0.18);
  font-size: 1rem;
  transition: transform 0.4s cubic-bezier(.57,.29,.15,1.33), opacity 0.3s;
  opacity: 1;
  transform: translateY(0);
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateY(100%);
  pointer-events: none;
}

.cookie-banner p {
  margin: 0;
  font-size: 1rem;
  color: #fff;
  max-width: 450px;
}
.cookie-banner-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.cookie-btn, .cookie-btn.setting {
  padding: 9px 22px;
  border-radius: 7px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border: none;
  background: #E49C41;
  color: #fff;
  font-size: 1.02rem;
  cursor: pointer;
  transition: background 0.17s, color 0.18s, box-shadow 0.17s;
  box-shadow: 0 2px 8px rgba(228,156,65,0.09);
}
.cookie-btn.reject {
  background: #fff;
  color: #20416A;
  border: 2px solid #E49C41;
}
.cookie-btn.setting {
  background: transparent;
  color: #E49C41;
  border: 2px solid #E49C41;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #20416A;
  color: #E49C41;
  box-shadow: none;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #E49C41;
  color: #fff;
}
.cookie-btn.setting:hover, .cookie-btn.setting:focus {
  background: #E49C41;
  color: #fff;
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%,-50%) scale(1);
  background: #fff;
  color: #20416A;
  border-radius: 18px;
  box-shadow: 0 10px 35px 0 rgba(32,65,106,0.22);
  padding: 34px 30px 28px 30px;
  z-index: 600;
  width: 90vw;
  max-width: 410px;
  display: flex;
  flex-direction: column;
  gap: 23px;
  opacity: 1;
  transition: opacity 0.18s, transform 0.32s cubic-bezier(.25,.86,.45,1.17);
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -40%) scale(0.96);
}
.cookie-modal h3 {
  font-size: 1.18rem;
  color: #20416A;
  margin-bottom: 8px;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 10px;
}
.cookie-preference {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}
.cookie-preference input[type="checkbox"] {
  accent-color: #E49C41;
  width: 22px;
  height: 22px;
  border-radius: 5px;
  margin-right: 2px;
  border: 1.7px solid #20416A;
}

.cookie-modal .close-modal {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 1.7rem;
  color: #20416A;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  transition: color 0.13s;
}
.cookie-modal .close-modal:hover {
  color: #E49C41;
}

/* ------------------------------------------------------- */
/* RESPONSIVE DESIGN */
@media (max-width:1200px) {
  .container { max-width: 98vw; }
}
@media (max-width:900px) {
  .feature-grid, .milestone-grid, .district-grid, .usp-grid {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  h1, .hero h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  .container { padding: 0 12px; }
  .hero { padding: 32px 0 24px 0; }
  .section, .legal, .thank-you { padding: 26px 6px; }
  .feature-item, .milestone-item, .district-item, .usp-item {
    min-width: 160px;
    padding: 16px 10px 13px 10px;
    gap: 10px;
  }
  .testimonial-card {
    padding: 16px 10px 14px 10px;
    max-width: 100%;
  }
  .features .feature-grid, .milestone-grid, .district-grid, .usp-grid {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .content-wrapper, .content-grid, .pros-cons-list, .service-grid, .faq-list {
    gap: 10px;
  }
  .footer-main-nav, .footer-legal-nav, .footer-contact-info {
    flex-direction: column;
    gap: 11px;
  }
  .footer-social-media {
    gap: 7px;
  }
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .mobile-menu {
    padding: 24px 13px 16px 13px;
  }
  .cookie-modal { padding: 18px 8px 18px 8px; }
}
@media (max-width: 540px) {
  .cookie-banner { flex-direction: column; gap: 14px; align-items: flex-start; }
  .cookie-banner-actions { width: 100%; gap: 10px; }
}

/* Spacing rules for consistency */
.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; }

/* Utility */
.hide { display: none !important; }
.d-block { display: block !important; }

/* Animate fade-in */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: none; }
}
.fade-in-up {
  animation: fadeInUp 0.8s cubic-bezier(.57,.29,.15,1.33) both;
}

/* Print support */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal { display: none !important; }
}
