/* -----------------------
   CSS RESET & BASE STYLES
------------------------- */
html, body, div, section, article, aside, header, footer, main, nav, ul, ol, li, h1, h2, h3, h4, h5, h6, p, a, img, figure, figcaption, blockquote, dl, dt, dd, button, input, textarea, select, label, span {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border: 0;
  vertical-align: baseline;
}
html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #FCFCFC;
  color: #222E5D;
  min-height: 100vh;
  line-height: 1.65;
  letter-spacing: 0.02em;
  display: flex;
  flex-direction: column;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
button, .cta {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
}
ul, ol {
  list-style-position: inside;
}
/* Set up container and wrappers for layout */
.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* --------------------
   TYPOGRAPHY GEOMETRIC
--------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #222E5D;
  line-height: 1.12;
  margin-bottom: 8px;
}
h1 {
  font-size: 2.75rem;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.4rem;
}
h4 {
  font-size: 1.125rem;
}
.subheadline {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.25rem;
  color: #197C76;
  margin-bottom: 16px;
}
strong {
  font-weight: 700;
}

/* ------------------
   SECTION SPACING
------------------- */
section {
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
  background: transparent;
}

/* ------------------
   HEADER & NAVIGATION
------------------- */
header {
  width: 100%;
  background: #222E5D;
  box-shadow: 0 2px 12px 0 rgba(34,46,93,0.08);
  position: relative;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  padding: 20px 0;
  justify-content: flex-start;
}
.main-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
}
.main-nav a:hover:not(.cta), .main-nav a:focus:not(.cta) {
  background: #197C76;
  color: #FFE082;
}
.main-nav a.cta {
  background: #FFE082;
  color: #222E5D;
  border-radius: 32px;
  font-size: 1rem;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(34,46,93,0.04);
  padding: 10px 22px;
  margin-left: auto;
  transition: background 0.22s, color 0.22s, box-shadow 0.22s;
}
.main-nav a.cta:hover, .main-nav a.cta:focus {
  background: #197C76;
  color: #fff;
  box-shadow: 0 4px 16px 0 rgba(34,46,93,0.14);
}
.main-nav img {
  height: 42px;
  margin-right: 18px;
}
/* Hamburger for mobile */
.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2rem;
  color: #FFE082;
  cursor: pointer;
  position: absolute;
  right: 28px;
  top: 18px;
  z-index: 51;
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
}
/* Hidden by default, will enable via media query */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #222E5D;
  box-shadow: 4px 0 24px rgba(25,124,118,0.15);
  transform: translateX(-100%);
  transition: transform 0.33s cubic-bezier(.55,.01,.14,1);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 24px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: #FFE082;
  font-size: 2.2rem;
  border: none;
  position: absolute;
  right: 28px;
  top: 18px;
  cursor: pointer;
  z-index: 1002;
  padding: 4px 10px;
  border-radius: 50%;
  transition: background 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #FFE08222;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 54px;
  padding-left: 30px;
}
.mobile-nav a {
  color: #FFE082;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  padding: 16px 0;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #197C76;
}

/* -----------------------------
   HERO, CTA, AND MAIN CATEGORIES
------------------------------- */
.hero {
  background: #fff;
  display: flex;
  align-items: center;
  min-height: 320px;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 6px 24px 0 rgba(34,46,93,0.06);
  margin-bottom: 0;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero .content-wrapper {
  gap: 18px;
}
.cta, .content-wrapper .cta {
  background: #FFE082;
  color: #222E5D;
  border-radius: 32px;
  padding: 12px 30px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.12rem;
  text-align: center;
  box-shadow: 0 2.5px 8px rgba(25,124,118,0.07);
  display: inline-block;
  margin-top: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.19s, color 0.19s, box-shadow 0.19s, transform 0.15s;
}
.cta:hover,
.cta:focus {
  background: #197C76;
  color: #fff;
  box-shadow: 0 6px 22px 0 rgba(34,46,93,0.15);
  transform: translateY(-2px) scale(1.025);
}

/* ----------------------
   FEATURES, SERVICES, CARDS
------------------------ */
.features {
  background: #F6FAFD;
  border-radius: 0 0 16px 16px;
  padding-bottom: 64px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 32px;
  justify-content: space-between;
}
.feature {
  flex: 1 1 210px;
  min-width: 220px;
  max-width: 280px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px 0 rgba(25,124,118,0.06);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 28px 22px 20px 22px;
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
  margin-bottom: 20px;
}
.feature img {
  width: 44px;
  height: 44px;
  margin-bottom: 10px;
}
.feature:hover {
  box-shadow: 0 10px 40px 0 rgba(25,124,118,0.16);
  transform: translateY(-3px) scale(1.027);
}
/features h3 {
  font-size: 1.225rem;
  margin-bottom: 8px;
}

/* Service List & Items */
.services {
  background: #fff;
}
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.service {
  background: #F6FAFD;
  border: 2.5px solid #222E5D12;
  border-radius: 14px;
  box-shadow: 0 1px 8px 0 rgba(25,124,118,0.05);
  padding: 22px 18px 18px 18px;
  min-width: 200px;
  flex: 1 1 200px;
  max-width: 270px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  transition: background 0.17s, border-color 0.17s, box-shadow 0.17s;
}
.service:hover {
  background: #fff;
  border-color: #197C76;
  box-shadow: 0 4px 18px 0 rgba(34,46,93,0.11);
}
.service strong {
  display: block;
  color: #197C76;
  margin-top: 10px;
}

/* -----------
   TESTIMONIALS
------------- */
.testimonials {
  background: #ffffff;
  border-top: 3px solid #197C7611;
  border-radius: 0 0 22px 22px;
  box-shadow: 0 4px 16px 0 rgba(34,46,93,0.04);
}
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 32px;
  justify-content: space-between;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  background: #F6FAFD;
  color: #222E5D;
  padding: 20px 22px;
  border-radius: 20px;
  border: 1.5px solid #222E5D16;
  box-shadow: 0 1.5px 10px 0 rgba(25,124,118,0.09);
  min-width: 260px;
  flex: 1 1 280px;
  max-width: 340px;
  font-size: 1.05rem;
  position: relative;
  margin-bottom: 20px;
}
.testimonial-card p {
  font-size: 1.09rem;
  color: #197C76;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 2px;
}
.testimonial-card span {
  color: #222E5D;
  font-size: 0.98rem;
  font-weight: 600;
  opacity: 0.92;
}
.testimonial-card:before {
  content: '\201C';
  position: absolute;
  top: 16px;
  left: 12px;
  font-family: serif;
  font-size: 3.2rem;
  color: #FFE08244;
  z-index: 0;
  pointer-events: none;
}

/* --------------
   FOOTER LAYOUT
---------------- */
footer {
  background: #222E5D;
  color: #fff;
  width: 100%;
  padding: 30px 0 18px 0;
  margin-top: auto;
}
footer .container {
  display: flex;
  flex-direction: column;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 16px;
}
.footer-nav a {
  color: #FFE082;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  transition: color 0.2s;
  padding: 0 8px;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #197C76;
}
.contact-short {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 0.98rem;
  color: #fff;
}
.contact-short img {
  height: 19px;
  width: 19px;
  margin-right: 6px;
  vertical-align: middle;
}
.social-media {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 10px;
}
.social-media img {
  height: 28px;
  width: 28px;
  opacity: 0.93;
  transition: opacity 0.18s;
  cursor: pointer;
}
.social-media img:hover, .social-media img:focus {
  opacity: 1;
}

/* --------------
   POLICY TEXTS
---------------- */
.policy-text {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.05rem;
  color: #222E5D;
  background: #fff;
  padding: 30px 24px 24px 24px;
  border-radius: 16px;
  box-shadow: 0 1.5px 8px rgba(25,124,118,0.07);
  margin-top: 8px;
  margin-bottom: 20px;
}
.policy-text ul {
  margin-top: 12px;
  margin-bottom: 14px;
  padding-left: 18px;
}
.policy-text li {
  margin-bottom: 8px;
  list-style: disc;
}

/* --------------
   GENERIC SPACING CLASSES
---------------- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1.5px 10px rgba(34,46,93,0.09);
  margin-bottom: 20px;
  position: relative;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --------------
   ADDITIONAL UTILITY
---------------- */
.text-section {
  margin-bottom: 22px;
}
.text-section ul {
  margin-top: 10px;
  margin-bottom: 8px;
  padding-left: 20px;
}
.text-section li {
  margin-bottom: 6px;
}

/* --------------
   RESPONSIVE DESIGN (MOBILE FIRST)
---------------- */
@media (max-width: 1024px) {
  .feature-grid, .service-list, .testimonial-list, .content-grid {
    flex-wrap: wrap;
    gap: 16px;
  }
  .footer-nav, .social-media, .contact-short {
    flex-direction: column;
    align-items: flex-start;
  }
  .main-nav {
    flex-wrap: wrap;
    gap: 16px;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 12px;
  }
  .content-wrapper {
    gap: 22px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .feature-grid, .service-list, .testimonial-list, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .feature, .service, .testimonial-card {
    max-width: 100%;
    min-width: 0;
  }
  .footer-nav {
    flex-direction: column;
    gap: 14px;
    margin-bottom: 20px;
  }
  footer .content-wrapper {
    flex-direction: column;
    gap: 20px;
  }
  .contact-short {
    flex-direction: column;
    gap: 8px;
  }
  .hero {
    border-radius: 18px 18px 0 0;
    min-height: 190px;
    padding: 22px 0;
  }
  .hero h1 {
    font-size: 2rem;
  }
}
@media (max-width: 520px) {
  h1 {
    font-size: 1.5rem;
  }
  .hero, section {
    padding: 24px 0;
    margin-bottom: 30px;
  }
  .feature, .service {
    padding: 15px;
  }
  .footer-nav {
    font-size: 0.95rem;
  }
  .testimonial-card {
    padding: 14px;
  }
}

/* ------------------------------
   COOKIE CONSENT BANNER & MODAL
-------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 2000;
  background: #fff;
  color: #222E5D;
  box-shadow: 0 -2px 22px 0 rgba(34,46,93,0.16);
  padding: 18px 12vw 18px 12vw;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  border-top: 2px solid #FFE082;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  transition: transform 0.29s cubic-bezier(.54,.01,.23,1);
}
.cookie-banner.hide {
  transform: translateY(140%);
}
.cookie-banner .cookie-text {
  flex: 2 0 280px;
  min-width: 170px;
  margin-right: 16px;
}
.cookie-banner .cookie-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  flex: 1 1 220px;
  min-width: 160px;
}
.cookie-banner button,
.cookie-banner .cookie-accept, .cookie-banner .cookie-reject, .cookie-banner .cookie-settings {
  padding: 8px 20px;
  border-radius: 28px;
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  margin: 0;
  transition: background 0.16s, color 0.16s, box-shadow 0.16s;
  outline: none;
}
.cookie-banner .cookie-accept {
  background: #197C76;
  color: #fff;
}
.cookie-banner .cookie-accept:hover, .cookie-banner .cookie-accept:focus {
  background: #222E5D;
  color: #FFE082;
}
.cookie-banner .cookie-reject {
  background: #EEE;
  color: #222E5D;
}
.cookie-banner .cookie-reject:hover, .cookie-banner .cookie-reject:focus {
  background: #FFE082;
  color: #222E5D;
}
.cookie-banner .cookie-settings {
  background: #FFE082;
  color: #222E5D;
}
.cookie-banner .cookie-settings:hover, .cookie-banner .cookie-settings:focus {
  background: #197C76;
  color: #fff;
}

/* Cookie Modal */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 2200;
  right: 0;
  left: 0;
  top: 0;
  bottom: 0;
  background: rgba(34,46,93,0.42);
  align-items: center;
  justify-content: center;
  transition: background 0.22s;
}
.cookie-modal-overlay.open {
  display: flex;
}
.cookie-modal {
  background: #fff;
  color: #222E5D;
  border-radius: 18px;
  max-width: 400px;
  width: 95vw;
  padding: 36px 28px 28px 28px;
  box-shadow: 0 9px 38px 0 rgba(34,46,93,0.22);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.08rem;
  animation: modalIn 0.32s cubic-bezier(.61,.09,.36,1);
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.89) translateY(65px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.cookie-modal h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.22rem;
  color: #197C76;
  font-weight: 700;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 13px;
  right: 17px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #222E5D;
  cursor: pointer;
  padding: 3px 7px;
  border-radius: 50%;
  transition: background 0.16s;
}
.cookie-modal .cookie-modal-close:hover, .cookie-modal .cookie-modal-close:focus {
  background: #FFE08244;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 12px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1rem;
}
.cookie-modal .cookie-category .switch {
  margin-left: auto;
  display: flex;
  align-items: center;
}
.cookie-modal .cookie-category input[type="checkbox"] {
  width: 36px;
  height: 20px;
  accent-color: #197C76;
  border-radius: 8px;
}
.cookie-modal .cookie-category.essential {
  color: #222E5D;
  font-weight: bold;
  opacity: 1;
}
.cookie-modal .cookie-category.essential .switch {
  opacity: 0.39;
  pointer-events: none;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
}
.cookie-modal .cookie-accept, .cookie-modal .cookie-reject {
  padding: 8px 22px;
  border-radius: 22px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  font-weight: 600;
  cursor: pointer;
}
.cookie-modal .cookie-accept {
  background: #197C76;
  color: #fff;
  transition: background 0.16s;
}
.cookie-modal .cookie-accept:hover, .cookie-modal .cookie-accept:focus {
  background: #222E5D;
  color: #FFE082;
}
.cookie-modal .cookie-reject {
  background: #F6FAFD;
  color: #222E5D;
}
.cookie-modal .cookie-reject:hover, .cookie-modal .cookie-reject:focus {
  background: #FFE082;
  color: #222E5D;
}
/* Animate cookie banner (show/hide) */
@media (max-width: 500px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 2vw;
    gap: 10px;
    font-size: 0.98rem;
  }
  .cookie-banner .cookie-btn-group {
    gap: 7px;
    width: 100%;
  }
}

/* --------------
   FORM ELEMENTS
---------------- */
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1.3px solid #197C76cc;
  background: #fff;
  outline: none;
  transition: border-color 0.15s;
  min-width: 70px;
  min-height: 38px;
}
input:focus, textarea:focus, select:focus {
  border-color: #FFE082;
}
button {
  cursor: pointer;
}

/* --------------
   MICRO-INTERACTIONS
---------------- */
.feature, .service, .testimonial-card, .card {
  transition: box-shadow 0.22s, transform 0.22s, border-color 0.14s;
}
li {
  transition: background 0.14s, color 0.14s;
}
li:hover {
  background: #F6FAFD;
  color: #197C76;
}
/* Animate card hover effect */
.card:hover, .card:focus {
  box-shadow: 0 6px 28px 0 #197C7618;
  border-color: #197C76;
  transform: translateY(-3px) scale(1.017);
}
/* Link underline effect for lists in policies */
.policy-text a {
  color: #197C76;
  text-decoration: underline;
  transition: color 0.17s;
}
.policy-text a:hover, .policy-text a:focus {
  color: #FFE082;
}

/* --------------
   GEOMETRIC/STRUCTURED ELEMENTS
---------------- */
section.hero {
  border-radius: 0 0 28px 28px;
  box-shadow: 0 10px 40px 0 #197C761c;
  background: #fff;
  border-top: 3.5px solid #197C76;
  border-bottom: 3.5px solid #FFE08255;
}
.features, .services {
  border-radius: 18px;
  border: 2px solid #197C7615;
}
section {
  position: relative;
  z-index: 1;
}
section.cta {
  background: #197C76;
  border-radius: 22px;
  margin-bottom: 55px;
}
section.cta .cta {
  margin-top: 10px;
  background: #FFE082;
  color: #222E5D;
}
section.cta .cta:hover, section.cta .cta:focus {
  background: #fff;
  color: #197C76;
}

/* --------------
   ACCESSIBILITY/FOCUS
---------------- */
:focus-visible {
  outline: 2.5px solid #FFE082;
  outline-offset: 2px;
}

/* --------------
   PRINT / SELECTION
---------------- */
::selection {
  background: #197C76cc;
  color: #fff;
}

/*******************************************
 * END OF CSS *
 *******************************************/
