/* ---------------------------
   CSS RESET & NORMALIZE
------------------------------ */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  background: #F6F7FA;
  color: #174378;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #1A9252;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #174378;
}
ul, ol {
  margin-left: 1.3em;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
}
h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: #174378;
  letter-spacing: -1px;
}
h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #174378;
}
h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #174378;
  margin-bottom: 6px;
}
subheadline,
.subheadline {
  font-size: 1.1rem;
  color: #1A9252;
  margin-bottom: 20px;
  display: block;
}
p {
  margin-bottom: 16px;
}
strong {
  font-weight: 700;
}

/* ---------------------------
   CONTAINERS & LAYOUTS
------------------------------ */
.container {
  width: 100%;
  max-width: 1190px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 20px;
  background: linear-gradient(90deg, rgba(26,146,82, 0.07) 0%, rgba(23,67,120,0.07) 100%);
  box-shadow: 0 6px 24px 0 rgba(23,67,120,0.06), 0 1.5px 5px 0 rgba(26,146,82,0.04);
}
@media (max-width: 900px) {
  .section {
    padding: 24px 6px;
    border-radius: 14px;
  }
}

/* ------ FLEX LAYOUTS (MANDATORY) ------ */
.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 0 rgba(23,67,120,.04); }
.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: #fafbfc; border-radius: 12px; box-shadow: 0 2px 12px rgba(23,67,120,0.06); margin-bottom: 20px; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* Custom Flex Layouts for actual content */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
}
.feature-grid > div {
  flex: 1 1 230px;
  background: #fff;
  border-radius: 14px;
  padding: 24px 18px 18px 18px;
  box-shadow: 0 1px 6px rgba(26,146,82,0.04), 0 1.5px 6px rgba(23,67,120,0.03);
  min-width: 210px;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
  transition: box-shadow .25s, transform .24s;
}
.feature-grid > div:hover {
  box-shadow: 0 4px 28px rgba(26,146,82,0.16);
  transform: translateY(-3px) scale(1.025);
}

.offer-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.offer-card {
  flex: 1 1 220px;
  background: #fff;
  border-radius: 14px;
  padding: 26px 18px 18px 18px;
  box-shadow: 0 2px 13px 0 rgba(23,67,120,0.06);
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  min-width: 190px;
  border: 2px solid transparent;
  transition: border 0.2s, box-shadow 0.2s, transform 0.23s;
}
.offer-card:hover {
  border-color: #1A9252;
  box-shadow: 0 6px 30px rgba(26,146,82,0.16);
  transform: translateY(-4px) scale(1.02);
}
.best-offer {
  background: linear-gradient(90deg, #1A9252 0%, #174378 100%);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 8px;
  padding: 4.5px 13px;
  position: absolute;
  top: 16px;
  right: 18px;
  letter-spacing: 0.5px;
  box-shadow: 0 1.5px 8px rgba(23,67,120,.09);
}

.team-bio {
  background: #fff;
  border-radius: 10px;
  padding: 20px 16px;
  margin-bottom: 20px;
  box-shadow: 0 2px 13px 0 rgba(23,67,120,0.04);
}
.team-values ul {
  list-style-type: disc;
  margin-left: 1.2em;
  margin-bottom: 0;
}
.certifications {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  background: #fff;
  border-radius: 10px;
  padding: 12px 18px;
  box-shadow: 0 1.5px 7px rgba(26,146,82,0.04);
}

/* FAQ List */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 16px;
}
.faq-list details {
  background: #fff;
  border-radius: 10px;
  padding: 13px 18px 10px 18px;
  box-shadow: 0 1px 4px rgba(23,67,120,0.07);
  position: relative;
  margin-bottom: 4px;
  transition: box-shadow 0.22s;
}
.faq-list details[open] {
  box-shadow: 0 4px 18px rgba(23,67,120,0.12);
}
.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 6px;
  outline: none;
  color: #174378;
}
.faq-search {
  margin-bottom: 18px;
}
.faq-search input {
  font-size: 1rem;
  border-radius: 8px;
  border: 1.3px solid #1A9252;
  padding: 7px 12px;
  width: 220px;
  transition: border .2s;
}
.faq-search input:focus {
  outline: none;
  border-color: #174378;
}

/*******************************************
   HEADER & NAVIGATION & CTA BUTTONS
*******************************************/
header {
  background: linear-gradient(90deg, #174378 60%, #1A9252 100%);
  box-shadow: 0 1.5px 12px rgba(23,67,120,0.06);
  z-index: 1002;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
  gap: 28px;
}
header a img {
  height: 40px;
}
.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  color: #F6F7FA;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.03rem;
  padding: 1px 2px;
  border-radius: 3px;
  font-weight: 500;
  transition: color 0.2s, background 0.2s;
}
.main-nav a:hover, .main-nav a.active {
  color: #1A9252;
  background: #F6F7FA;
}
.cta-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  background: linear-gradient(90deg, #1A9252 0%, #174378 100%);
  color: #fff;
  border: none;
  border-radius: 22px;
  padding: 10px 28px;
  font-size: 1.13rem;
  font-weight: 700;
  transition: background 0.22s, color 0.17s, box-shadow .17s, transform 0.20s;
  box-shadow: 0 1.5px 11px rgba(23,67,120,0.09);
  cursor: pointer;
  margin-left: 14px;
  text-align: center;
  display: inline-block;
  letter-spacing: 1px;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(90deg, #174378 0%, #1A9252 100%);
  color: #fff;
  box-shadow: 0 4px 16px #1A925211;
  transform: translateY(-2px) scale(1.04);
}

/***********************
   MOBILE MENU BUTTON
***********************/
.mobile-menu-toggle {
  display: none;
  justify-content: center;
  align-items: center;
  background: #fff;
  color: #174378;
  border: none;
  font-size: 2.1rem;
  border-radius: 16px;
  width: 46px;
  height: 46px;
  cursor: pointer;
  margin-left: 14px;
  z-index: 1200;
  transition: background .18s, color .19s;
}
.mobile-menu-toggle:hover {
  background: #1A9252;
  color: #fff;
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(17,37,54,0.97);
  z-index: 1200;
  transform: translateX(102vw);
  transition: transform 0.36s cubic-bezier(.67,.09,.67,.93);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 0;
  opacity: 1;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.1rem;
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 1300;
  cursor: pointer;
  transition: color .18s;
}
.mobile-menu-close:hover {
  color: #1A9252;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 36px;
  margin: 100px 0 0 32px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.37rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.7px;
  padding: 6px 0;
  border-radius: 5px;
  transition: background .19s, color .19s;
}
.mobile-nav a:hover {
  background: #1A9252;
  color: #fff;
}


/*************************
  HERO & KEY SECTIONS
*************************/
main > section:first-child {
  background: linear-gradient(90deg, #F6F7FA 60%, #EBF8F0 100%);
  box-shadow: 0 1.5px 8px #1A92520c;
  border-radius: 0 0 36px 36px;
  margin-bottom: 60px;
  padding: 54px 0 38px 0;
}
main > section:first-child .container {
  justify-content: center;
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* LAST CTA SECTION */
main > section:last-child .container {
  justify-content: center;
  align-items: center;
}
main > section:last-child { background: #fff; border-radius: 18px; box-shadow: 0 1.5px 11px #17437809; }

/* RATING SUMMARY */
.rating-summary {
  font-weight: 700;
  color: #1A9252;
  font-size: 1.2rem;
  margin: 14px 0 0 0;
}

/*------------------------------
  TESTIMONIALS
------------------------------*/
.testimonial-card {
  background: #fff;
  color: #174378;
  border-left: 5px solid #1A9252;
  box-shadow: 0 1.5px 13px #17437813;
  margin-bottom: 20px;
  font-size: 1.09rem;
  transition: box-shadow .18s, transform .21s;
  min-width: 230px;
  max-width: 700px;
  position: relative;
}
.testimonial-card:hover {
  box-shadow: 0 6px 24px rgba(26,146,82,0.11);
  transform: translateY(-2px) scale(1.011);
}
.testimonial-meta {
  color: #1A9252;
  font-size: .98rem;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
}

/**********************
   FORMS & INPUTS
***********************/
input, textarea, select {
  font-size: 1rem;
  border-radius: 8px;
  border: 1.2px solid #174378;
  padding: 8px 13px;
  margin-bottom: 14px;
  background: #fff;
  color: #174378;
  font-family: inherit;
  transition: border 0.19s;
}
input:focus, textarea:focus, select:focus {
  border-color: #1A9252;
  outline: none;
}
label {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 5px;
  color: #174378;
}

/*************************
   FOOTER
*************************/
footer {
  background: linear-gradient(90deg,#174378 60%,#1A9252 100%);
  color: #fff;
  padding: 32px 0 18px 0;
  margin-top: 70px;
}
.footer-nav {
  display: flex;
  gap: 22px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.footer-nav a {
  color: #fff;
  font-size: 1.02rem;
  font-family: 'Montserrat', Arial, sans-serif;
  opacity: .91;
}
.footer-nav a:hover {
  color: #1A9252;
  background: #fff;
  border-radius: 6px;
  padding: 1.5px 6px;
}
.footer-contact {
  text-align: center;
  color: #F6F7FA;
  font-size: 0.99rem;
  opacity: 0.94;
}

/***************************************
   RESPONSIVE MEDIA QUERIES
****************************************/
@media (max-width: 1100px) {
  .feature-grid, .offer-cards {
    gap: 16px;
  }
}
@media (max-width: 900px) {
  .feature-grid {
    flex-direction: column;
  }
  .offer-cards {
    flex-direction: column;
    gap: 12px;
  }
  .main-nav {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  .container {
    padding-left: 5px;
    padding-right: 5px;
  }
  header .container {
    flex-direction: row;
    gap: 8px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .section {
    padding: 22px 4px;
    margin-bottom: 38px;
  }
  .testimonial-card, .offer-card, .feature-grid > div {
    min-width: unset;
    width: 100%;
  }
  .content-grid, .card-container {
    flex-direction: column;
    gap: 20px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .footer-nav {
    gap: 12px;
  }
}
@media (max-width: 540px) {
  h1 { font-size: 1.4rem; }
  h2 { font-size: 1.1rem; }
  .section { padding: 11px 2.5vw; }
  .testimonial-card, .offer-card, .feature-grid > div {
    padding: 16px 7px 10px 7px;
  }
  .cta-btn {
    padding: 8px 16px;
    font-size: 1.01rem;
  }
}

/************************************
   COOKIE CONSENT & MODALS
*************************************/
.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, #1A9252 10%, #174378 90%);
  color: #fff;
  font-size: 1rem;
  padding: 20px 24px 18px 24px;
  z-index: 9999;
  box-shadow: 0 -6px 20px #17437815;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  border-radius: 17px 17px 0 0;
  animation: bannerEnter .56s cubic-bezier(.44,1.5,.4,1.0);
}
@keyframes bannerEnter {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner-buttons {
  display: flex;
  gap: 14px;
}
.cookie-btn, .cookie-btn-settings {
  background: #fff;
  color: #1A9252;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 7px 18px;
  margin-left: 0;
  cursor: pointer;
  transition: background .2s, color .2s, box-shadow .14s;
  box-shadow: 0 1px 8px #1A925213;
}
.cookie-btn:hover {
  background: #1A9252;
  color: #fff;
}
.cookie-btn.reject {
  color: #174378;
  background: #F6F7FA;
}
.cookie-btn.reject:hover {
  background: #174378;
  color: #fff;
}
.cookie-btn-settings {
  background: #F6F7FA;
  color: #174378;
}
.cookie-btn-settings:hover {
  background: #174378;
  color: #fff;
}

/****************** COOKIE MODAL ********************/
.cookie-modal-backdrop {
  position: fixed;
  z-index: 11000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(23,67,120,0.42);
  backdrop-filter: blur(2.5px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  animation: backdropFade .4s cubic-bezier(.90,.11,.29,.93);
}
@keyframes backdropFade {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 15px;
  max-width: 420px;
  width: 94vw;
  box-shadow: 0 8px 32px #17437828;
  padding: 38px 25px 25px 25px;
  position: relative;
  color: #174378;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: modalIn .27s cubic-bezier(.68,1.3,.4,1.0);
}
@keyframes modalIn {
  from { transform: translateY(90px) scale(.96); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.cookie-modal .close-modal {
  background: none;
  border: none;
  font-size: 2rem;
  color: #1A9252;
  position: absolute;
  right: 18px;
  top: 9px;
  cursor: pointer;
  transition: color .2s;
}
.cookie-modal .close-modal:hover {
  color: #174378;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.cookie-category input[type="checkbox"] {
  width: 17px;
  height: 17px;
  accent-color: #1A9252;
  margin: 0 3px 0 0;
}
.cookie-category .category-label {
  font-weight: 600;
  color: #174378;
}
.cookie-category .category-desc {
  font-size: .97rem;
  color: #666;
}
.cookie-category.essential input[type="checkbox"] {
  accent-color: #174378;
}
.cookie-category.essential .category-label {
  color: #1A9252;
  font-weight: 700;
}
.cookie-modal .cookie-btns {
  display: flex;
  gap: 15px;
  margin-top: 10px;
  align-items: flex-end;
  flex-direction: row;
  justify-content: flex-end;
}

/**********************************************
   MISC UTILS, SPACING, SHADOW & HIERARCHY
**********************************************/
.section, .feature-grid > div, .offer-card, .testimonial-card, .faq-list details, .team-bio, .certifications {
  margin-bottom: 20px;
}
.section:last-child, .feature-grid > div:last-child, .card:last-child, .offer-card:last-child, .testimonial-card:last-child { margin-bottom: 0; }
.gap-24 { gap: 24px; }
.gap-16 { gap: 16px; }
.gap-8  { gap: 8px; }
.rounded { border-radius: 12px; }
.shadow { box-shadow: 0 2px 14px #17437815; }

/**********************************************
   VISUAL & MICRO-INTERACTIONS
**********************************************/
button {
  cursor: pointer;
  font-family: inherit;
  transition: background 0.16s, color 0.18s;
}

.card,
.feature-grid > div,
.offer-card {
  transition: box-shadow .18s, transform .17s;
}
.card:hover,
.feature-grid > div:hover,
.offer-card:hover {
  box-shadow: 0 7px 24px #1A925216;
  transform: translateY(-2px) scale(1.015);
}

/**********************************************
   OVERRIDES, SPECIAL CASES, FIXES
**********************************************/
/* Accessibility: underline focus */
a:focus-visible {
  outline: 2px solid #1A9252;
  outline-offset: 2.5px;
  text-decoration: underline;
}
summary:focus-visible {
  outline: 2px solid #1A9252;
  outline-offset: 2px;
}

::-webkit-input-placeholder { color: #ADC5DD; }
:-moz-placeholder { color: #ADC5DD; }
::-moz-placeholder { color: #ADC5DD; }
:-ms-input-placeholder { color: #ADC5DD; }
::placeholder { color: #ADC5DD; }

/* Hide no-js mobile menu */
.mobile-menu { display: none; }
.mobile-menu.open { display: flex; }

/**********************************************
   PRINT SAFE COLORS FOR GRADIENTS
**********************************************/
@media print {
  header, footer, .section, .testimonial-card, .feature-grid > div, .offer-card {
    background: #fff !important;
    color: #000 !important;
    box-shadow: none !important;
  }
}
