/* ========================= CSS RESET & NORMALIZATION ========================= */
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;
}

article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  min-height: 100vh;
  background: #F5F7FB;
  color: #234a81;
}

ol, ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
input, button, textarea, select {
  font: inherit;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* =============== BRAND FONTS (assume font-face loaded elsewhere) =============== */
body {
  font-family: 'Open Sans', Arial, sans-serif;
  background: #F5F7FB;
  color: #18417E;
  font-size: 16px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', Arial, sans-serif;
  color: #18417E;
  margin-bottom: 12px;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
}
h2 {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.25;
}
h3 {
  font-size: 1.35rem;
  font-weight: 600;
}
h4, h5, h6 {
  font-size: 1.15rem;
  font-weight: 500;
}
p, li, address {
  font-size: 1rem;
  color: #234a81;
  line-height: 1.65;
}
strong {
  font-weight: bold;
}

/* =============== GLOBAL CONTAINER & WRAPPER =============== */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

/* ========================== SPACING & FLEXBOX PATTERNS ========================= */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 2px 20px rgba(24,65,126,0.05), 0 1.5px 6px rgba(150,168,195,0.09);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(24,65,126,0.08);
  padding: 26px 24px;
  transition: box-shadow 0.22s;
}
.card:hover {
  box-shadow: 0 6px 28px rgba(24,65,126,0.17);
}
.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;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(24,65,126,0.08);
  margin-bottom: 20px;
  border: 1.5px solid #f2f3f7;
  position: relative;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* =============== REUSABLE UTILITY CLASSES =============== */
.mt-20 { margin-top: 20px !important; }
.mb-20 { margin-bottom: 20px !important; }
.mt-40 { margin-top: 40px !important; }
.mb-40 { margin-bottom: 40px !important; }

/* =================== GRADIENT & MODERN EFFECTS =================== */
.hero,
.cta-area {
  background: linear-gradient(90deg, #18417E 0%, #3769C6 90%, #FFA930 120%);
  color: #fff;
  border-radius: 0 0 48px 48px;
  box-shadow: 0px 12px 24px rgba(24,65,126,0.11);
}
.hero .container,
.cta-area .container {
  padding-top: 50px;
  padding-bottom: 50px;
}
.hero h1, .hero p,
.cta-area h2, .cta-area p {
  color: #fff;
}
.cta-area {
  margin-bottom: 0;
  margin-top: 60px;
}

/* =============== MAIN NAVIGATION & HEADER =============== */
header {
  background: #fff;
  border-bottom: 1px solid #e1e5ee;
  width: 100%;
  box-shadow: 0 2px 12px rgba(24,65,126,0.05);
  z-index: 901;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  padding: 14px 0 10px 0;
  min-height: 64px;
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.04rem;
}
.main-nav a {
  padding: 10px 14px;
  color: #18417E;
  border-radius: 6px;
  font-weight: 500;
  transition: background 0.18s, color 0.18s;
  position: relative;
}
.main-nav a:hover,
.main-nav a:focus {
  background: #F5F7FB;
  color: #3769C6;
}
.main-nav .cta-button {
  background: #FFA930;
  color: #18417E;
  border-radius: 999px;
  padding: 10px 26px;
  margin-left: 12px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(255,169,48,0.14);
  transition: background 0.22s, color 0.18s, box-shadow 0.24s;
}

.main-nav .cta-button:hover,
.main-nav .cta-button:focus {
  background: #ffb950;
  color: #18417E;
  box-shadow: 0 6px 18px rgba(255,169,48,0.24);
}

header img {
  height: 36px;
  width: auto;
  margin-right: 8px;
  vertical-align: middle;
}

/* =============== MOBILE NAVIGATION =============== */
.mobile-menu-toggle {
  display: none;
  background: #FFA930;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 2rem;
  padding: 8px 16px;
  margin-left: auto;
  cursor: pointer;
  z-index: 1001;
  transition: background 0.16s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #3769C6;
  background: #3769C6;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 98vw;
  max-width: 390px;
  background: #fff;
  box-shadow: -4px 0 24px rgba(24,65,126,0.09);
  z-index: 1200;
  transform: translateX(102%);
  transition: transform 0.32s cubic-bezier(.8,.24,0,1);
  display: flex;
  flex-direction: column;
  padding: 30px 24px 24px 24px;
  gap: 12px;
  border-top-left-radius: 24px;
  border-bottom-left-radius: 24px;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: #FFA930;
  color: #18417E;
  border: none;
  border-radius: 8px;
  font-size: 1.7rem;
  cursor: pointer;
  padding: 8px 12px;
  margin-bottom: 18px;
  transition: background 0.17s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #ffb950;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: stretch;
  margin-top: 10px;
}
.mobile-nav a {
  padding: 14px 8px;
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.1rem;
  border-radius: 6px;
  margin-bottom: 3px;
  color: #18417E;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F5F7FB;
  color: #3769C6;
}

/* Hide main-nav and show mobile toggle on mobile */
@media (max-width: 990px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    position: absolute;
    right: 20px;
    top: 14px;
  }
}
@media (min-width: 991px) {
  .mobile-menu { display: none!important; }
  .mobile-menu-toggle { display: none!important; }
}

/* =============== HERO + CTA =============== */
.hero {
  padding: 60px 0 40px 0;
  min-height: 340px;
  position: relative;
}
.hero .container {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 22px;
}
.hero .cta-button {
  margin-top: 22px;
}
.hero h1 {
  color: #fff;
  font-size: 2.5rem;
}
.hero p {
  color: #fff;
  font-size: 1.25rem;
  font-family: 'Open Sans', Arial, sans-serif;
}

.cta-area .container {
  display: flex;
  align-items: center;
  flex-direction: column;
}
.cta-area h2 {
  color: #fff;
}

/* =============== BUTTONS =============== */
.cta-button {
  font-family: 'Oswald', Arial, sans-serif;
  display: inline-block;
  background: #FFA930;
  color: #18417E;
  padding: 13px 34px;
  border-radius: 999px;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: none;
  box-shadow: 0 2px 16px rgba(255,169,48,0.14);
  outline: none;
  cursor: pointer;
  transition: background 0.24s, color 0.18s, box-shadow 0.24s;
}
.cta-button:hover, .cta-button:focus {
  background: #ffb950;
  color: #18417E;
  box-shadow: 0 7px 30px rgba(255,169,48,0.19);
  text-decoration: none;
}

/* =============== FEATURE SECTIONS =============== */
.features, .feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}
.features .feature, .feature-grid .feature {
  flex: 1 1 220px;
  min-width: 210px;
  max-width: 260px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(24,65,126,0.07);
  padding: 26px 18px 28px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  transition: box-shadow 0.23s;
}
.features .feature:hover, .feature-grid .feature:hover {
  box-shadow: 0 7px 24px rgba(24,65,126,0.19);
}
.feature img {
  height: 48px;
  margin-bottom: 12px;
}

/* =============== TESTIMONIALS / REVIEWS =============== */
.testimonials-preview, .customer-testimonials {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(24,65,126,0.045);
  margin-bottom: 60px;
  padding: 32px 18px 32px 18px;
}
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  flex: 1 1 320px;
  background: #fff;
  color: #234a81;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(24,65,126,0.08);
  border: 1.5px solid #e1e5ee;
  margin-bottom: 20px;
  padding: 28px 20px 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.testimonial-card blockquote {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1.13rem;
  color: #18417E;
  line-height: 1.45;
  margin-bottom: 8px;
  font-style: italic;
}
.testimonial-meta {
  font-size: 1rem;
  color: #234a81;
  font-weight: 600;
}
.testimonial-meta span {
  color: #FFA930;
  margin-left: 4px;
}

/* =============== SERVICES SECTION =============== */
.services-main .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.services-main .service-block {
  flex: 1 1 230px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(24,65,126,0.08);
  padding: 32px 20px 28px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  border: 1.5px solid #f2f3f7;
  min-width: 200px;
  min-height: 250px;
  transition: box-shadow 0.23s;
}
.services-main .service-block img {
  height: 46px;
  margin-bottom: 8px;
}
.services-main .service-block:hover {
  box-shadow: 0 7px 24px rgba(24,65,126,0.14);
}

.benefit-highlight {
  margin-top: 30px;
  background: #ffeeeb;
  border-radius: 10px;
  padding: 18px 22px;
  color: #18417E;
  box-shadow: 0 1px 5px rgba(255,169,48,0.08);
  font-weight: 500;
}

/* =============== ABOUT TEAM/VALUES =============== */
.about-team ul, .about-values ul {
  margin-top: 14px;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.about-team ul li, .about-values ul li {
  font-size: 1.04rem;
  color: #234a81;
}

/* =============== LEARNING / FAQ / ARTICLE CARDS =============== */
.article-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 18px;
}
.downloadable-checklists ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.downloadable-checklists img {
  height: 20px;
  width: 20px;
  margin-right: 8px;
  display: inline-block;
  vertical-align: middle;
}
.faq-accordion, .faq-accordion-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
}
.faq-accordion h3, .faq-accordion-list h2 {
  margin-bottom: 7px;
  color: #18417E;
  font-size: 1.12rem;
}
.faq-accordion p, .faq-accordion-list p {
  color: #234a81;
  font-size: 1rem;
}

/* =============== CONTACT & MAP SECTIONS =============== */
.contact-section .contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin: 16px 0 24px 0;
}
.contact-section .text-section {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  color: #18417E;
}
.contact-section .text-section img {
  height: 24px;
  width: 24px;
}

/* =============== THANK YOU SECTION =============== */
.thank-you-section .text-section ul {
  margin-left: 24px;
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* =============== FOOTER =============== */
footer {
  background: #18417E;
  color: #fff;
  padding: 36px 0 24px 0;
  font-family: 'Open Sans', Arial, sans-serif;
  margin-top: 48px;
}
footer .container {
  display: flex;
  justify-content: center;
}
footer .content-wrapper {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 48px;
  width: 100%;
  justify-content: space-between;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.footer-nav a {
  color: #fff;
  opacity: 0.85;
  font-size: 0.99rem;
  transition: opacity 0.17s;
}
.footer-nav a:hover, .footer-nav a:focus {
  opacity: 1;
  text-decoration: underline;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.footer-contact img {
  height: 32px;
  margin-bottom: 5px;
}
footer address, footer address a {
  color: #fff;
  font-size: 1rem;
  line-height: 1.55;
  opacity: 0.92;
}

/* =============== COOKIE CONSENT BANNER ================= */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1400;
  background: #fff;
  border-radius: 22px 22px 0 0;
  box-shadow: 0 -2px 16px rgba(24,65,126,0.09);
  padding: 22px 18px 18px 24px;
  max-width: 540px;
  width: 97vw;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  transition: transform 0.33s cubic-bezier(.8,.24,0,1), opacity 0.24s;
  font-size: 1rem;
}
.cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 14px;
}
.cookie-banner button {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.1rem;
  border: none;
  border-radius: 10px;
  background: #F5F7FB;
  color: #18417E;
  padding: 8px 22px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s, color 0.14s;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #FFA930;
  color: #18417E;
}
.cookie-banner .cookie-accept {
  background: #FFA930;
  color: #18417E;
  font-weight: bold;
  transition: background 0.21s;
}
.cookie-banner .cookie-accept:hover, .cookie-banner .cookie-accept:focus {
  background: #ffb950;
}

/* ================ COOKIE PREFERENCES MODAL ================== */
.cookie-modal {
  position: fixed;
  z-index: 1500;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(24,65,126,0.14);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-modal.hide { display: none; }
.cookie-modal-content {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(24,65,126,0.18);
  padding: 36px 26px 24px 26px;
  max-width: 420px;
  width: 97vw;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  position: relative;
}
.cookie-modal-content h2 {
  font-family: 'Oswald', Arial, sans-serif;
  color: #18417E;
  font-size: 1.34rem;
  margin-bottom: 7px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 11px;
  width: 100%;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1.5px solid #F5F7FB;
}
.cookie-category:last-child {
  border-bottom: none;
}
.cookie-category label {
  color: #234a81;
  font-size: 1rem;
}
.cookie-category input[type="checkbox"] {
  accent-color: #FFA930;
  width: 21px;
  height: 21px;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 15px; right: 16px;
  background: none;
  border: none;
  color: #234a81;
  font-size: 1.5rem;
  cursor: pointer;
}
.cookie-modal .cookie-modal-close:hover {
  color: #FFA930;
}

/* =============== GENERAL ANIMATION & EFFECTS =============== */
a, button, .cta-button, .mobile-menu, .cookie-banner, .card, .feature, .service-block {
  transition: all 0.23s cubic-bezier(.79,.14,0,1.01);
}

/* =============== RESPONSIVE STYLES =============== */
@media (max-width: 1100px) {
  .footer-contact {
    gap: 8px;
  }
  .content-wrapper, .footer-nav {
    gap: 14px;
  }
}
@media (max-width: 990px) {
  .footer-contact {
    margin-bottom: 22px;
  }
  .footer-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
  }
  footer .content-wrapper {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}
@media (max-width: 900px) {
  .features, .feature-grid, .services-main .service-list, .testimonial-list {
    gap: 14px;
  }
}
@media (max-width: 790px) {
  .features, .feature-grid, .services-main .service-list, .testimonial-list {
    flex-direction: column;
    gap: 22px;
    align-items: stretch;
  }
  .main-nav {
    gap: 6px;
  }
  .container {
    padding: 0 6px;
  }
}
@media (max-width: 768px) {
  .section {
    margin-bottom: 32px;
    padding: 26px 7px;
  }
  .text-image-section, .content-grid {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .container {
    padding-left: 3vw;
    padding-right: 3vw;
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.35rem;
  }
  .hero, .cta-area {
    border-radius: 0 0 28px 28px;
    padding: 26px 0 12px 0;
  }
  .cta-area .container, .hero .container {
    padding-top: 24px;
    padding-bottom: 24px;
  }
  .about-team ul, .about-values ul, .downloadable-checklists ul {
    gap: 7px;
  }
  .footer-contact address {
    font-size: 0.95rem;
  }
}
@media (max-width: 600px) {
  . testimonial-card, .card, .service-block, .feature {
    padding: 17px 7px;
    border-radius: 11px;
  }
  h1 {
    font-size: 1.27rem;
  }
  .cookie-banner {
    padding: 18px 6px 16px 6px;
    max-width: 99vw;
    font-size: 0.96rem;
  }
  .cookie-modal-content {
    padding: 24px 8px 14px 8px;
  }
  .main-nav img, header img {
    height: 27px;
  }
}

/* =============== OVERRIDE AUTOFILL BG ON CHROME =============== */
input:-webkit-autofill, textarea:-webkit-autofill, select:-webkit-autofill {
  box-shadow: 0 0 0px 1000px #fff inset;
  -webkit-text-fill-color: #18417E;
}

/* END OF CSS */
