/* ===========================
   CSS RESET & NORMALISE
   =========================== */
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, 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%;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
  height: 100%;
  scroll-behavior: smooth;
  background: #F3F6FA;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: #F3F6FA;
  color: #17406D;
  line-height: 1.6;
  font-size: 16px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

/* ===========================
   TYPOGRAPHY & HEADINGS
   =========================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #17406D;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.75rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 16px;
}
h4, h5, h6 {
  font-size: 1rem;
  margin-bottom: 12px;
}
p, ul, ol, li {
  font-size: 1rem;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #17406D;
  margin-bottom: 16px;
}
strong {
  font-weight: 700;
  color: #17406D;
}
a {
  color: #26B6A7;
  text-decoration: none;
  transition: color 0.18s linear;
  font-weight: 500;
}
a:hover, a:focus {
  color: #17406D;
  text-decoration: underline;
}

/* ===========================
   LAYOUT CONTAINERS
   =========================== */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 20px 0 rgba(23,64,109,0.07);
}

/* ============
   HEADER/BAR
   ============ */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 12px 0 rgba(23,64,109,0.04);
  position: relative;
  z-index: 2001;
}
header > .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
}
.logo img {
  height: 44px;
  width: auto;
  display: block;
}

.main-nav {
  display: flex;
  flex-direction: row;
  gap: 32px;
  align-items: center;
  margin-left: 24px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.05rem;
  color: #17406D;
  font-weight: 500;
  letter-spacing: 0.03em;
  position: relative;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.18s, color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #26B6A7;
  border-bottom: 2px solid #26B6A7;
}
.btn {
  outline: none;
  border: none;
  appearance: none;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 14px 32px;
  border-radius: 12px;
  font-size: 1rem;
  line-height: 1.1;
  transition: background 0.18s, color 0.18s, box-shadow 0.22s;
  cursor: pointer;
  display: inline-block;
  margin-left: 20px;
  box-shadow: 0 2px 7px 0 rgba(23,64,109,0.07);
}
.btn-primary {
  background: #17406D;
  color: #fff;
  border: 2px solid #17406D;
}
.btn-primary:hover, .btn-primary:focus {
  background: #26B6A7;
  color: #fff;
  border-color: #26B6A7;
  box-shadow: 0 2px 14px 0 rgba(38,182,167,0.10);
}

/* ===============
   MOBILE NAV MENU
   =============== */
.mobile-menu-toggle {
  display: none;
  background: #26B6A7;
  color: #fff;
  font-size: 2rem;
  border: none;
  border-radius: 10px;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2101;
  transition: background 0.18s;
  margin-left: 18px;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #17406D;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 6px 0 40px 4px rgba(23,64,109,0.05);
  z-index: 2200;
  transform: translateX(-100%);
  transition: transform 0.36s cubic-bezier(.77,.2,.05,1.0);
  visibility: hidden;
  opacity: 1;
}
.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
  transition: transform 0.34s cubic-bezier(.77,.2,.05,1.0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 20px 30px 18px 0;
  background: #26B6A7;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 2rem;
  width: 44px;
  height: 44px;
  cursor: pointer;
  transition: background 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #17406D;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-left: 36px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.35rem;
  color: #17406D;
  letter-spacing: 0.025em;
  padding: 10px 0 10px 5px;
  border-left: 4px solid transparent;
  transition: color 0.16s, border-color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #26B6A7;
  border-left: 4px solid #26B6A7;
  background: #F3F6FA;
  border-radius: 0 14px 14px 0;
}


/* Hide main-nav and show mobile on tablets & below */
@media (max-width: 992px) {
  .main-nav {
    display: none !important;
  }
  .btn.btn-primary {
    margin-left: 0;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 993px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/* ===================
   MAIN & LAYOUT
   =================== */
main {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 48px;
  margin-top: 0;
}
.section:not(:first-child) {
  margin-top: 28px;
}

/* =================================
   STRUCTURED & GEOMETRIC COMPONENTS
   ================================= */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 24px;
  width: 100%;
  align-items: stretch;
  justify-content: flex-start;
}
.feature-grid > div {
  background: #F3F6FA;
  border: 2.5px solid #E5EDF5;
  border-radius: 18px;
  flex: 1 1 260px;
  min-width: 270px;
  max-width: 360px;
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: 0 2px 14px 0 rgba(23,64,109,0.09);
  transition: box-shadow 0.18s, border-color 0.18s, transform 0.22s;
  margin-bottom: 20px;
  position: relative;
}
.feature-grid > div:hover, .feature-grid > div:focus-within {
  border-color: #26B6A7;
  box-shadow: 0 8px 36px 0 rgba(38,182,167,0.10);
  transform: translateY(-4px) scale(1.013);
}
.feature-grid img {
  width: 50px;
  height: 50px;
  margin-bottom: 18px;
  background: #fff;
  border-radius: 8px;
  border: 2px solid #E5EDF5;
  padding: 6px;
}
.feature-grid h3, .feature-grid h2 {
  font-size: 1.18rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  margin-bottom: 12px;
  color: #17406D;
  letter-spacing: 0.02em;
}
.feature-grid p {
  color: #17406D;
  margin-bottom: 12px;
}
.feature-grid span, .price {
  display: inline-block;
  color: #26B6A7;
  font-weight: 700;
  font-size: 1rem;
  margin-top: 10px;
  background: #E5EDF5;
  border-radius: 7px;
  padding: 3px 14px;
  letter-spacing:0.04em;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border: 1.5px solid #E5EDF5;
  border-radius: 18px;
  box-shadow: 0 2px 14px 0 rgba(23,64,109,0.09);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.18s, border-color 0.18s;
}
.card:hover, .card:focus-within {
  border-color: #26B6A7;
  box-shadow: 0 8px 36px 0 rgba(38,182,167,0.10);
}
.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;
}

/* ===============
   TESTIMONIALS
   =============== */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 30px;
  margin-top: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 30px 24px 30px;
  background: #fff;
  border: 2px solid #26B6A7;
  border-radius: 16px;
  min-width: 270px;
  max-width: 370px;
  box-shadow: 0 3px 16px 0 rgba(38,182,167,0.10);
  margin-bottom: 20px;
  transition: box-shadow 0.16s, border 0.16s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  border-color: #17406D;
  box-shadow: 0 8px 32px 0 rgba(23,64,109,0.11);
}
.testimonial-card .star-rating {
  font-size: 1.4rem;
  color: #26B6A7;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.testimonial-card p {
  color: #17406D;
  font-size: 1rem;
}
.testimonial-card .reviewer {
  color: #17406D;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  margin-top: 6px;
  font-size: 0.98rem;
}

/* FAQ / Q&A */
.faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.faq-list > div {
  background: #F3F6FA;
  border: 1px solid #E5EDF5;
  border-radius: 12px;
  padding: 18px 24px;
  flex: 1 1 290px;
  min-width: 290px;
  box-shadow: 0 2px 10px 0 rgba(23,64,109,0.06);
  margin-bottom: 20px;
}
.faq-list h3 {
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #17406D;
  margin-bottom: 10px;
  font-weight: 600;
}
.faq-list p {
  font-size: 0.97rem;
  color: #17406D;
}

/* Blog/Insights */
.blog-articles {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 25px;
}
.blog-articles article {
  background: #fff;
  border: 1px solid #E5EDF5;
  border-radius: 14px;
  box-shadow: 0 2px 13px 0 rgba(38,182,167,0.06);
  padding: 24px 22px 20px 22px;
  flex: 1 1 250px;
  min-width: 250px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
  transition: box-shadow 0.16s, border-color 0.18s;
}
.blog-articles article:hover, .blog-articles article:focus-within {
  border-color: #26B6A7;
  box-shadow: 0 8px 28px 0 rgba(23,64,109,0.09);
}
.blog-articles article h2 {
  font-size: 1.15rem;
  color: #17406D;
  margin-bottom: 6px;
}
.blog-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: #26B6A7;
  font-weight: 500;
}
.blog-filters a {
  color: #17406D;
  font-size: 0.99rem;
  padding: 2px 8px;
  border-radius: 6px;
  transition: background 0.16s, color 0.16s;
}
.blog-filters a:hover {
  background: #26B6A7;
  color: #fff;
}

/* Misc utility lists */
ul, ol {
  margin-bottom: 18px;
  padding-left: 22px;
}
ul li, ol li {
  margin-bottom: 8px;
  font-size: 1em;
  color: #17406D;
}

/* Contact */
.contact-intro {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}
.contact-map {
  margin-top: 18px;
  background: #F3F6FA;
  border-radius: 8px;
  padding: 16px 14px;
}

/* Team bios */
.team-bio {
  background: #F3F6FA;
  border: 1.5px solid #E5EDF5;
  border-radius: 14px;
  padding: 20px 22px;
  margin-bottom: 20px;
  box-shadow: 0 2px 9px 0 rgba(38,182,167,0.07);
  flex: 1 1 260px;
}

/* =============
   CTA Section
   ============= */
.section .btn.btn-primary,
.content-wrapper > .btn.btn-primary {
  margin-top: 22px;
}

/* ===============
   FOOTER
   =============== */
footer {
  width: 100%;
  background: #17406D;
  color: #fff;
  padding: 36px 0 28px 0;
  margin-top: 28px;
  box-shadow: 0 -2px 18px 0 rgba(23,64,109,0.02);
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 10px;
}
.footer-nav a {
  color: #26B6A7;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  letter-spacing: 0.02em;
  transition: color 0.14s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fff;
  text-decoration: underline;
}
.footer-info {
  font-size: 0.95rem;
  color: #F3F6FA;
  opacity: 0.87;
}

/* ==================
   COOKIE CONSENT
   ================== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  background: #fff;
  box-shadow: 0 -2px 24px 0 rgba(23,64,109,0.07);
  border-top: 2px solid #26B6A7;
  z-index: 3000;
  padding: 24px 20px 16px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  transition: transform 0.32s, opacity 0.21s;
}
.cookie-banner.hide {
  transform: translateY(130%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-title {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #17406D;
  margin-bottom: 4px;
  font-size: 1.07rem;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  padding: 8px 22px;
  border-radius: 8px;
  border: none;
  margin: 2px 6px;
  cursor: pointer;
  transition: background 0.16s, color 0.16s;
  font-weight: 600;
}
.cookie-accept {
  background: #26B6A7;
  color: #fff;
}
.cookie-accept:hover, .cookie-accept:focus {
  background: #17406D;
  color: #fff;
}
.cookie-reject {
  background: #fff;
  color: #17406D;
  border: 2px solid #17406D;
}
.cookie-reject:hover, .cookie-reject:focus {
  background: #E5EDF5;
}
.cookie-settings {
  background: #F3F6FA;
  color: #17406D;
  border: 1.5px solid #26B6A7;
}
.cookie-settings:hover, .cookie-settings:focus {
  background: #26B6A7;
  color: #fff;
}


/* COOKIE PREFERENCES MODAL */
.cookie-modal-overlay {
  position: fixed;
  z-index: 3010;
  top: 0; left: 0; right: 0; bottom: 0;
  width:100vw; height:100vh;
  background: rgba(23,64,109,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.22s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 40px 0 rgba(38,182,167,0.14);
  padding: 36px 24px 28px 24px;
  width: 90vw;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}
.cookie-modal h2 {
  margin-bottom: 12px;
  font-size: 1.35rem;
}
.cookie-modal .cookie-prefs-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-prefs-list .cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  margin-bottom: 2px;
}
.cookie-category label {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #17406D;
}
.cookie-category input[type=checkbox] {
  accent-color: #26B6A7;
  width: 22px;
  height: 22px;
  border-radius: 5px;
  border: 2px solid #17406D;
  margin-right: 10px;
}
.cookie-category input[disabled] {
  accent-color: #17406D;
  opacity: 0.75;
}
.cookie-modal .modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  margin-top: 14px;
}
.cookie-modal-close {
  position: absolute;
  top: 12px; right: 12px;
  background: #26B6A7;
  color: #fff;
  border: none;
  border-radius: 7px;
  font-size: 1.2rem;
  width: 34px;
  height: 34px;
  cursor: pointer;
  transition: background 0.15s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #17406D;
}

/* =====================
   RESPONSIVENESS (Mobile First)
   ===================== */
@media (max-width: 1200px) {
  .feature-grid {
    gap: 20px;
  }
  .card-container, .blog-articles, .content-grid, .faq-list, .testimonial-slider {
    gap: 16px;
  }
}
@media (max-width: 992px) {
  .container {
    max-width: 95vw;
    padding-left: 10px;
    padding-right: 10px;
  }
  .feature-grid > div, .card, .faq-list > div, .testimonial-card, .blog-articles article {
    min-width: 210px;
    max-width: unset;
    flex: 1 1 100%;
  }
}
@media (max-width: 768px) {
  body {
    font-size: 15px;
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.33rem;
  }
  .container {
    max-width: 100vw;
    padding: 0 4vw;
  }
  .main-nav {
    display: none !important;
  }
  .section {
    padding: 22px 8px;
    margin-bottom: 38px;
    border-radius: 13px;
  }
  .feature-grid {
    flex-direction: column;
    gap: 16px;
    min-width: unset;
  }
  .feature-grid > div {
    min-width: unset;
    max-width: unset;
    width: 100%;
    border-radius: 13px;
    padding: 18px 12px;
  }
  .card-container, .content-grid, .faq-list, .testimonial-slider, .blog-articles {
    flex-direction: column;
    gap: 14px;
  }
  .text-image-section  {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card {
    max-width: unset;
    min-width: unset;
    width: 100%;
    border-radius: 13px;
    padding: 14px 9px 18px 13px;
  }
  .card {
    min-width: unset;
    padding: 16px 10px;
    border-radius: 11px;
  }
  .faq-list > div {
    min-width: unset;
    border-radius: 8px;
    padding: 13px 7px;
  }
  .blog-articles article {
    min-width: unset;
    max-width: unset;
    border-radius: 8px;
    padding: 13px 7px 13px 11px;
  }
  footer {
    padding: 24px 0 18px 0;
  }
  .footer-nav {
    gap: 14px;
  }
}
@media (max-width: 500px) {
  .feature-grid > div, .card, .testimonial-card, .faq-list > div, .team-bio, .blog-articles article {
    border-radius: 6px !important;
    padding-left: 6px !important;
    padding-right: 6px !important;
  }
  .logo img {
    height: 32px;
  }
  .section {
    border-radius: 6px;
  }
  .container {
    padding: 0 2vw;
  }
  .cookie-banner {
    padding: 13px 7px 9px 7px;
  }
  .cookie-modal {
    border-radius: 7px;
    padding: 16px 7px 10px 7px;
  }
}

/* ============
   MICRO-ANIMATIONS
   ============ */
.btn,
.btn-primary,
.cookie-banner button,
.mobile-menu-toggle,
.mobile-menu-close,
.footer-nav a,
.main-nav a,
.feature-grid > div, 
.card, 
.testimonial-card,
.faq-list > div, 
.blog-articles article {
  transition: box-shadow 0.17s, border-color 0.12s, background 0.17s, color 0.13s, transform 0.16s;
}

/* Hide visually but accessible for screen readers */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(1px, 1px, 1px, 1px);
  border: 0 !important;
}

/* ===== FOCUS VISIBLE ===== */
*:focus-visible,
.btn:focus-visible,
.main-nav a:focus-visible,
.mobile-nav a:focus-visible,
.cookie-banner button:focus-visible,
.cookie-modal-close:focus-visible {
  outline: 2.5px dashed #26B6A7 !important;
  outline-offset: 1.5px;
}

/* SCROLLBAR Customisation */
::-webkit-scrollbar {
  width: 8px;
  background: #E5EDF5;
}
::-webkit-scrollbar-thumb {
  background: #26B6A7;
  border-radius: 4px;
}

/* ===========
   PRINT COLOR BACKUP
   =========== */
@media print {
  * {
    background: #fff !important;
    color: #000 !important;
  }
  header, footer, .cookie-banner, .mobile-menu, .cookie-modal-overlay {
    display: none !important;
  }
}
