/* RESET & BASE STYLES */
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
html, body { height: 100%; margin: 0; padding: 0; }
body {
  min-height: 100vh;
  background: #fff;
  color: #222;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: #2E4A7D; text-decoration: none; font-weight: 600; transition: color 0.2s; }
a:hover, a:focus { color: #F4B942; outline: none; }
ul, ol { margin: 0; padding: 0 0 0 24px; }
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  color: #2E4A7D;
  margin: 0 0 24px 0;
}
h1 { font-size: 2.5rem; line-height: 1.15; letter-spacing: -1px; }
h2 { font-size: 2rem; letter-spacing: -0.5px; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.15rem; }
p { margin: 0 0 20px 0; font-size: 1rem; }
strong { font-weight: bold; }

/* SPACING/CONTAINER CLASSES */
.container {
  width: 100%;
  max-width: 1220px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  margin-bottom: 24px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 18px rgba(46,74,125,0.06), 0 1px 2px rgba(46,74,125,0.04);
  padding: 24px;
}
.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: #E6F2F8;
  border-radius: 12px;
  margin-bottom: 24px;
  box-shadow: 0 2px 10px rgba(46,74,125,0.07);
  font-size: 1.08rem;
  color: #222; /* Ensure dark text for contrast */
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* HEADER */
header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(46,74,125,0.08);
  position: sticky;
  top: 0;
  z-index: 33;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 4px 0;
  color: #2E4A7D;
  letter-spacing: 0.02em;
  transition: color 0.2s;
  border-radius: 4px;
  position: relative;
}
.main-nav a.btn-primary { padding: 10px 22px; color: #fff; }
.main-nav a:not(.btn-primary):after {
  content: '';
  display: block;
  height: 3px;
  background: #F4B942;
  width: 0;
  margin-top: 2px;
  border-radius:2px;
  transition: .3s;
}
.main-nav a:not(.btn-primary):hover:after { width: 100%; }

/* HEADER LOGO */
header img { height: 42px; width: auto; margin-right: 16px; }

/* BUTTONS */
.btn-primary,
.button, .mobile-menu .btn-primary {
  display: inline-block;
  background: #2E4A7D;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  padding: 14px 32px;
  border-radius: 32px;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  box-shadow: 0 3px 18px rgba(46,74,125,0.12);
  transition: background .2s, box-shadow .2s, color .15s, transform .18s;
}
.btn-primary:hover, .btn-primary:focus {
  background: #F4B942;
  color: #222;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 6px 24px rgba(244,185,66,0.16);
  outline: none;
}
.button-invert {
  background: #fff;
  color: #2E4A7D;
  border: 2px solid #2E4A7D;
  font-weight: 700;
}
.button-invert:hover {
  background: #2E4A7D;
  color: #fff;
  border-color: #2E4A7D;
}

/* HERO */
.hero {
  background: linear-gradient(90deg, #E6F2F8 0%, #fff 100%);
  border-bottom: 4px solid #F4B942;
  margin-bottom: 40px;
  padding-top:48px;
  padding-bottom:48px
}
.hero .content-wrapper {
  align-items: flex-start;
}
.hero h1 { font-size: 2.8rem; margin-bottom: 20px; line-height: 1.12; color: #2E4A7D; }
.hero p { font-size: 1.18rem; color: #274066; font-weight: 500; }
.hero .btn-primary { margin: 18px 0 12px 0; }
.hero .supporting-text {
  color: #2E4A7D;
  font-size: .98rem;
  font-weight: 600;
  margin-top:10px;
}

/* FEATURE GRID, SERVICE CARD LIST, etc */
.feature-grid, .service-card-list, .modality-icons, .benefit-grid, .blog-post-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.feature-grid > div, .service-card-list > div, .benefit-grid > div, .modality-icons > div, .blog-post-list > div {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 18px rgba(46,74,125,0.09);
  padding: 28px 22px;
  min-width: 220px;
  flex: 1 1 230px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  border:2px solid #E6F2F8;
  min-height:220px;
  transition: box-shadow .19s, border-color .18s, transform .14s;
  font-size: 1.06rem;
}
.feature-grid > div:hover, .service-card-list > div:hover, .benefit-grid > div:hover, .blog-post-list > div:hover {
  box-shadow: 0 9px 32px rgba(46,74,125,0.18);
  border-color: #F4B942;
  transform: translateY(-6px) scale(1.04);
}
.feature-grid img, .modality-icons img {
  height: 44px;
  width: 44px;
}
.modality-icons {
  background:transparent;
  gap:24px;
}
.modality-icons > div { min-height:122px; align-items: center; text-align:center; justify-content:center; }
.modality-icons p {
  font-size:1.01rem;
  color:#2E4A7D;
}

/* BLOG TAGS */
.topic-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.topic-tags span {
  background: #F4B942;
  color: #2E4A7D;
  font-weight: 700;
  border-radius: 6px;
  padding: 4px 14px;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}

/* CTA */
.cta {
  background: #2E4A7D;
  color: #fff;
  border-radius: 24px;
  margin: 48px 0 0 0;
  padding: 48px 0 48px 0;
  box-shadow: 0 6px 26px rgba(46,74,125,0.10);
  text-align: center;
}
.cta .content-wrapper {
  align-items: center;
}
.cta h2 { color: #fff; font-size: 2.3rem; }
.cta p { color: #E6F2F8; font-size:1.12rem; }
.cta .btn-primary {
  background: #F4B942;
  color: #2E4A7D;
  margin-top: 18px;
  font-size: 1.05rem;
}
.cta .btn-primary:hover {
  background: #fff;
  color: #2E4A7D;
}

/* TESTIMONIAL SLIDER (even if not JS powered, style as cards in flex) */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}
.testimonial-slider .testimonial-card,
.content-wrapper > .testimonial-card {
  background: #E6F2F8;
  color: #2E4A7D;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(46,74,125,0.11);
  padding: 30px 28px 18px 28px;
  font-size: 1.08rem;
  font-style: italic;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow .18s;
}
.testimonial-slider .testimonial-card:hover, .testimonial-card:hover {
  box-shadow: 0 8px 18px rgba(46,74,125,0.18);
}
.testimonial-card span {
  font-style: normal;
  font-weight: 700;
  display: block;
  margin-top: 16px;
  color: #2E4A7D;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size:1rem;
}

/* FOOTER */
footer {
  background: #2E4A7D;
  color: #fff;
  padding: 38px 0 0 0;
  font-size:1rem;
  margin-top: 40px;
  border-top: 6px solid #F4B942;
}
footer .container {
  padding-top: 0;
  padding-bottom: 0;
}
.footer-main {
  display: flex;
  flex-direction: row;
  gap: 30px;
  align-items: center;
  justify-content: space-between;
  border-bottom:1px solid #E6F2F8;
  padding-bottom:18px;
  margin-bottom:14px;
}
.footer-main nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #F4B942;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.01em;
  transition: color .17s;
}
.footer-nav a:hover { color: #fff; text-decoration: underline; }
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  align-items: center;
  font-size: .98rem;
  color:#E6F2F8;
  margin-bottom: 16px;
}
.footer-contact img {
  height: 20px; width:20px; margin-right: 4px; display:inline-block;
}
.footer-social { display: flex; gap: 15px; margin-bottom:20px; }
.footer-social img { height: 30px; width:30px; }
footer small { color: #E6F2F8; display: block; text-align: center; margin-top: 20px; padding-bottom: 22px; }

/* CONTACT DETAILS */
.contact-details {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 20px 36px;
  margin: 30px 0 24px 0;
}
.contact-details > div {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.01rem;
  color: #2E4A7D;
  background: #E6F2F8;
  border-radius: 7px;
  padding: 6px 14px;
}
.map-embed {
  margin-top: 24px;
  background: #E6F2F8;
  border-radius: 14px;
  padding:18px;
  text-align:center;
  color:#2E4A7D;
  font-weight:700;
  font-size:1.08rem;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  background: #fff;
  box-shadow: 0 -6px 36px rgba(46,74,125,0.16);
  z-index: 2000;
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
  padding: 24px 18px 20px 18px;
  border-top: 4px solid #F4B942;
  animation: cookie-slide-in .7s cubic-bezier(.36,.56,0,1) 1;
}
@keyframes cookie-slide-in { from { transform: translateY(100%); opacity:0; } to { transform: none; opacity:1; } }
.cookie-banner p {
  font-size: 1rem;
  color: #2E4A7D;
  margin: 0;
  font-weight: 500;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.cookie-banner button, .cookie-banner .btn-primary {
  font-size: 1rem;
  background: #2E4A7D;
  color: #fff;
  border-radius: 22px;
  border: none;
  padding: 9px 20px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s, color .2s, transform .12s;
}
.cookie-banner .cookie-reject {
  background: #fff;
  color: #2E4A7D;
  border: 2px solid #2E4A7D;
}
.cookie-banner .cookie-reject:hover { background: #2E4A7D; color: #fff; }
.cookie-banner .cookie-settings {
  background: #F4B942;
  color: #2E4A7D;
}
.cookie-banner .cookie-settings:hover { background: #2E4A7D; color: #F4B942; }

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(46,74,125,0.16);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  animation: cookie-modal-fade .35s ease;
}
@keyframes cookie-modal-fade { from { opacity:0; } to { opacity:1; } }
.cookie-modal.active { display: flex; }
.cookie-modal-content {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 12px 64px rgba(46,74,125,0.25);
  padding: 38px 32px 28px 32px;
  min-width:340px; max-width:94vw;
  animation: cookie-modal-content-in .47s cubic-bezier(.36,.56,0,1);
}
@keyframes cookie-modal-content-in { from { transform: scale(.8); } to { transform:scale(1); } }
.cookie-modal-content h2 {
  font-size:1.39rem;
  color:#2E4A7D;
  margin-bottom:18px;
  font-family:'Montserrat',Arial,sans-serif;
  font-weight:800;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}
.cookie-category label {
  font-weight: 700;
  color:#2E4A7D;
  font-size:1rem;
}
.cookie-modal-content .cookie-actions {
  margin-top:24px;
  justify-content: flex-end;
}
.cookie-switch {
  appearance: none;
  width: 38px;
  height: 22px;
  background: #E6F2F8;
  border-radius: 12px;
  position: relative;
  outline: none;
  transition: background .2s;
  vertical-align:middle;
  cursor: pointer;
}
.cookie-switch:checked {
  background: #F4B942;
}
.cookie-switch:before {
  content: '';
  position: absolute;
  left: 3px; top: 3px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #2E4A7D;
  transition: transform .23s cubic-bezier(.6,0,.6,1.1);
}
.cookie-switch:checked:before {
  background: #fff;
  transform: translateX(16px);
}
.cookie-modal-close {
  position: absolute;
  top: 16px; right: 18px;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: #2E4A7D;
  cursor: pointer;
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  background: #F4B942;
  color: #2E4A7D;
  font-size: 2rem;
  padding: 8px 18px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  margin-left: 18px;
  transition: background .19s, color .19s;
  z-index: 300;
}
.mobile-menu-toggle:focus {
  outline: 3px solid #2E4A7D;
}
@media (max-width: 1024px) {
  .main-nav { gap: 16px; }
}
@media (max-width: 900px) {
  .main-nav { gap: 10px; }
}
@media (max-width: 860px) {
  .main-nav { gap: 6px; }
  header .container { padding-left: 12px; padding-right: 12px; }
}
@media (max-width: 768px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: block; }
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: #2E4A7D;
  color: #fff;
  z-index: 4100;
  transform: translateX(-100%);
  transition: transform .38s cubic-bezier(.57,.01,.38,1.09);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 48px;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  right: 22px; top: 20px;
  font-size: 2rem;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  z-index:2;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
  align-items: flex-start;
  margin-top: 32px;
  padding-left: 36px;
}
.mobile-nav a {
  color: #F4B942;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.015em;
  padding: 8px 0;
  border-radius: 7px;
  transition: background .16s, color .18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #fff;
  color: #2E4A7D;
  outline: none;
}

/* RESPONSIVE LAYOUTS */
@media (max-width: 1180px) {
  .container { max-width: 980px; }
}
@media (max-width: 900px) {
  .container { max-width: 770px; }
  .footer-main { flex-direction: column; align-items: flex-start; gap:12px; }
}
@media (max-width: 768px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.45rem; }
  .section { padding: 28px 6px; margin-bottom: 36px; }
  .hero { padding: 36px 0; }
  .cta {
    padding: 38px 0;
    border-radius: 18px;
  }
  .footer-nav { gap: 8px; }
  .feature-grid, .service-card-list, .modality-icons, .benefit-grid, .blog-post-list, .testimonial-slider {
    flex-direction: column;
    gap: 16px;
  }
  .feature-grid > div, .service-card-list > div, .benefit-grid > div, .blog-post-list > div {
    min-width: 0;
    width: 100%;
    min-height:140px;
    padding: 20px 12px;
  }
  .modality-icons > div { min-width: 0; width:100%; min-height:70px; }
  .content-wrapper { gap: 14px; }
  .text-image-section { flex-direction: column; gap: 20px; }
  .contact-details { flex-direction: column; gap: 14px; }
  .footer-contact { flex-direction: column; gap:7px; }
  .testimonial-slider { gap: 16px; }
  .card-container, .content-grid { flex-direction: column; gap: 14px; }
}
@media (max-width: 540px) {
  h1 { font-size:1.4rem; }
  .btn-primary, .button, .mobile-menu .btn-primary {
    padding: 11px 18px;
    font-size: .96rem;
  }
  .hero, .cta { padding: 18px 0; }
  .footer-nav { flex-direction: column; gap:6px; }
  .cookie-banner { flex-direction: column; gap:14px; padding: 10px 5px 10px 5px; font-size: .98rem; }
}

/* MISC / OTHER ELEMENTS */
::selection { background: #F4B942; color: #222; }
input, textarea, select {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 9px;
  border: 1.5px solid #E6F2F8;
  padding: 11px 16px;
  background: #fff;
  color: #2E4A7D;
  width: 100%;
  margin-bottom: 14px;
  transition: border .18s;
}
input:focus, textarea:focus, select:focus { border-color: #2E4A7D; outline: none; }

/* ACCESSIBILITY & MICROINTERACTIONS */
:focus-visible { outline:2.5px solid #F4B942; outline-offset: 2px; }
a:focus-visible, button:focus-visible { outline:2.5px solid #2E4A7D; background:#F4B94222; }
@media (hover: hover) {
  a, .btn-primary, .button, .mobile-nav a, .cookie-banner button { transition: background 0.2s, color 0.2s, box-shadow 0.2s, border 0.2s, outline .15s; }
}

/* GEOMETRIC & MODERN BOLD EFFECTS */
.card, .feature-grid > div, .service-card-list > div, .testimonial-card, .modality-icons > div, .benefit-grid > div, .blog-post-list > div, .cta, .map-embed, .cookie-modal-content {
  border-radius: 18px;
  box-shadow: 0 3px 18px rgba(46,74,125,0.08);
}

/* VISUAL HIERARCHY EXAMPLES */
h1 + p, h2 + p { font-size:1.1rem; }

/* LIST INSIDE INFO CARDS */
.feature-grid ul, .service-card-list ul, .benefit-grid ul, .blog-post-list ul {
  margin-left: 14px;
  margin-bottom: 0;
  padding-left: 14px;
  color: #2E4A7D;
}

/* ENSURE NO OVERLAP IN FLEX WRAPPED CARDS */
.card-container > *, .content-grid > *, .feature-grid > *, .testimonial-slider > *, .benefit-grid > *, .service-card-list > *, .blog-post-list > * {
  margin: 0;
}

/* HIDE FROM SCREENREADERS (JS) */
.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

/* --- END --- */