/* ========================
   CSS RESET / NORMALIZE
   ======================== */
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,
main, 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;
}
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.5;
  background: #F7F9FB;
  color: #23406E;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
ul, ol {
  list-style: none;
  padding: 0;
  margin: 0;
}
a {
  color: #23406E;
  text-decoration: none;
  transition: color 0.18s cubic-bezier(.4,0,.2,1);
}
a:hover, a:focus {
  color: #50B47B;
}
img {
  max-width: 100%;
  vertical-align: middle;
  border-style: none;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
}

/* ==============
   TYPOGRAPHY
   ============== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #23406E;
  font-weight: bold;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.12;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  line-height: 1.19;
  margin-bottom: 24px;
}
h3 {
  font-size: 1.25rem;
  line-height: 1.3;
  margin-bottom: 16px;
}
h4, h5, h6 {
  font-size: 1rem;
  margin-bottom: 12px;
}
p, li, blockquote {
  font-size: 1rem;
  margin-bottom: 12px;
  color: #23406E;
  font-family: 'Roboto', Arial, sans-serif;
}
blockquote {
  font-style: italic;
  color: #23406E;
  margin-bottom: 12px;
  border-left: 4px solid #50B47B;
  padding-left: 16px;
  background: #F7F9FB;
}
strong, b {
  font-weight: bold;
}

/* SPACING UTILITIES */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 32px 0 rgba(35,64,110,0.04);
}
.container {
  max-width: 1224px;
  margin: 0 auto;
  padding: 0 16px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

/* ================
   HEADER / NAV
   ================ */
header {
  background: linear-gradient(90deg, #23406E 0%, #50B47B 100%);
  color: #fff;
  position: relative;
  width: 100%;
  z-index: 5;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
}
.logo img {
  height: 44px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  gap: 24px;
}
.main-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  padding: 8px 0;
  position: relative;
  letter-spacing: 0.02em;
}
.main-nav a:after {
  content: '';
  display: block;
  height: 3px;
  border-radius: 2px;
  background: #50B47B;
  width: 0%;
  transition: width 0.2s cubic-bezier(.4,0,.2,1);
  margin-top: 4px;
}
.main-nav a:hover:after, .main-nav a:focus:after {
  width: 80%;
}

.btn-primary {
  padding: 12px 32px;
  background: linear-gradient(90deg, #50B47B 0%, #23406E 100%);
  color: #fff;
  border: none;
  border-radius: 32px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  box-shadow: 0 6px 24px 0 rgba(80,180,123,0.12);
  transition: background 0.18s cubic-bezier(.4,0,.2,1), box-shadow 0.18s;
  margin-left: 24px;
  cursor: pointer;
  display: inline-block;
  letter-spacing: 0.04em;
}
.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(90deg, #23406E 0%, #50B47B 100%);
  box-shadow: 0 10px 36px 0 rgba(35,64,110,0.18);
  color: #fff;
}

/* --- Mobile Navigation --- */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #fff;
  margin-left: 32px;
  z-index: 14;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 100vw;
  background: linear-gradient(110deg, #23406E 65%, #50B47B 100%);
  z-index: 20;
  overflow-y: auto;
  transition: transform 0.35s cubic-bezier(.42,0,.11,1);
  transform: translateX(100%);
  flex-direction: column;
  align-items: flex-start;
  padding: 32px 24px;
}
.mobile-menu.active {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.3rem;
  align-self: flex-end;
  color: #fff;
  margin-bottom: 28px;
  background: none;
  border: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  width: 100%;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.2rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 16px 0;
  border-bottom: 1px solid rgba(247,249,251,0.09);
  transition: color 0.18s;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #50B47B;
}


/* ==========================
   HERO SECTION
   ========================== */
.hero {
  background: linear-gradient(90deg, #F7F9FB 50%, #d3ecdf 100%);
  padding: 0;
  border-radius: 0 0 32px 32px;
  margin-bottom: 0;
  box-shadow: 0 3px 28px 0 rgba(35,64,110,0.04);
}
.hero .container {
  align-items: stretch;
  padding-top: 56px;
  padding-bottom: 56px;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 18px;
  padding-left: 0;
}
.hero h1 {
  color: #23406E;
  font-size: 2.8rem;
  margin-bottom: 8px;
}
.hero p {
  font-size: 1.14rem;
  color: #23406E;
  margin-bottom: 20px;
}
.hero .btn-primary {
  margin-top: 14px;
  margin-left: 0;
}

/* ================
   FEATURES & CARDS
   ================ */
.features, .services {
  background: #fff;
  border-radius: 16px;
  margin-bottom: 48px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 16px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #F7F9FB;
  border-radius: 14px;
  box-shadow: 0 2px 20px 0 rgba(35,64,110,0.06);
  padding: 26px 24px 20px 24px;
  flex: 1 1 240px;
  min-width: 215px;
  max-width: 320px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, background 0.18s;
  position: relative;
}
.feature-item img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}
.feature-item h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: #23406E;
}
.feature-item p {
  color: #23406E;
  font-size: 1rem;
  margin-bottom: 0;
}
.feature-item:hover, .feature-item:focus-within {
  background: #e3f3ec;
  box-shadow: 0 8px 32px 0 rgba(80,180,123,0.18);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.faq-item {
  background: #F7F9FB;
  border-radius: 12px;
  padding: 18px 16px;
  box-shadow: 0 2px 14px 0 rgba(35,64,110,0.06);
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.faq-item h3 {
  font-size: 1.12rem;
}

/* ===========================
   TESTIMONIALS
   =========================== */
.testimonials {
  background: transparent;
}
.testimonials .content-wrapper {
  gap: 30px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 3px 24px 0 rgba(35,64,110,0.10);
  border: 1px solid #e6f4ee;
  max-width: 720px;
  color: #23406E;
  transition: box-shadow 0.18s, border 0.18s;
}
.testimonial-card blockquote {
  font-size: 1.06rem;
  color: #23406E;
  border: none;
  padding-left: 0;
  background: transparent;
  margin: 0 0 6px 0;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
  font-size: 1.04rem;
  color: #23406E;
  font-family: 'Montserrat', Arial, sans-serif;
}
.testimonial-author span:last-child {
  font-size: 1.12rem;
  color: #50B47B;
  margin-top: 2px;
}
.testimonial-card:hover {
  box-shadow: 0 8px 36px 0 rgba(80,180,123,0.16);
  border: 1.5px solid #50B47B;
}

/* ================
   CONTACT SECTIONS
   ================ */
.contact .text-section,
.about .text-section {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 1rem;
  margin-bottom: 10px;
}
.contact .text-section img, .about .text-section img {
  margin-right: 8px;
  vertical-align: middle;
  height: 22px;
  width: auto;
}
.social-links {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 18px;
}
.social-links span {
  font-size: 1rem;
}
.social-links a img {
  height: 28px;
  filter: grayscale(0.2) contrast(0.95);
  transition: filter 0.2s;
}
.social-links a:hover img {
  filter: grayscale(0) contrast(1.18) brightness(1.15);
}

/*****************
   CARD CONTAINERS
 *****************/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 16px 0 rgba(80,180,123,0.07);
  margin-bottom: 20px;
  position: relative;
  padding: 20px 18px;
}
.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;
}

/***********************
   LISTS, UL, OL, ETC. 
 ***********************/
ul li, ol li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  color: #23406E;
  font-size: 1rem;
}
ul li img {
  position: absolute;
  left: 0;
  top: 1px;
  width: 19px;
  height: 19px;
  object-fit: contain;
}
ol {
  counter-reset: steps;
  margin-left: 0;
}
ol li {
  padding-left: 30px;
  counter-increment: steps;
}
ol li:before {
  content: counter(steps) '.';
  position: absolute;
  left: 0;
  color: #50B47B;
  font-weight: bold;
}

/***********************
    CTA & PARTNER LOGOS
 ***********************/
.cta {
  background: linear-gradient(90deg, #F7F9FB 0%, #e0f6ed 100%);
  border-radius: 18px;
  margin-bottom: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 130px;
  box-shadow: 0 2px 20px 0 rgba(80,180,123,0.08);
}
.cta .btn-primary {
  font-size: 1.12rem;
}
.partner-logos {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 22px;
  flex-wrap: wrap;
}
.partner-logos span {
  font-size: 1rem;
  color: #23406E;
  opacity: 0.80;
}

/***********************
    FOOTER
 ***********************/
footer {
  background: #23406E;
  color: #fff;
  padding: 32px 0 24px 0;
}
footer .container {
  flex-direction: column;
  gap: 26px;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 10px;
}
.footer-menu a {
  color: #fff;
  opacity: 0.95;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  transition: color 0.18s;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: #50B47B;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 6px;
}
.footer-brand img {
  height: 36px;
  width: auto;
}
.brand-info {
  color: #fff;
  font-size: 1.04rem;
  font-family: 'Montserrat', Arial, sans-serif;
  opacity: 0.86;
}

/***********************
    COOKIE BANNER
 ***********************/
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #23406E;
  color: #fff;
  box-shadow: 0 -3px 32px rgba(34,64,110,0.12);
  z-index: 40;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
  justify-content: center;
  padding: 20px 6vw;
  font-size: 1rem;
  animation: cookie-banner-drop 0.55s cubic-bezier(.54,0,.61,1.4);
}
@keyframes cookie-banner-drop {
  0% { transform: translateY(100%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  margin-bottom: 0;
  color: #fff;
  flex: 2 1 250px;
  line-height: 1.46;
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
}
.cookie-banner button {
  padding: 10px 26px;
  border-radius: 32px;
  font-size: 1rem;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  cursor: pointer;
  background: #fff;
  color: #23406E;
  box-shadow: 0 2px 8px 0 rgba(80,180,123,0.08);
  transition: background 0.18s,color 0.18s;
}
.cookie-banner .btn-accept {
  background: #50B47B;
  color: #fff;
}
.cookie-banner .btn-accept:hover, .cookie-banner .btn-accept:focus {
  background: #23406E;
  color: #fff;
}
.cookie-banner .btn-reject {
  background: #fff;
  color: #23406E;
  border: 1.5px solid #50B47B;
}
.cookie-banner .btn-reject:hover, .cookie-banner .btn-reject:focus {
  background: #F7F9FB;
}
.cookie-banner .btn-settings {
  background: #fff;
  color: #23406E;
  border: 1.5px solid #23406E;
}
.cookie-banner .btn-settings:hover, .cookie-banner .btn-settings:focus {
  background: #F7F9FB;
}

/***********************
  COOKIE MODAL
 ***********************/
.cookie-modal-backdrop {
  display: none;
  position: fixed;
  z-index: 100;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(35,64,110,0.32);
  justify-content: center;
  align-items: center;
  animation: cookie-modal-bg-fade 0.2s ease;
}
@keyframes cookie-modal-bg-fade {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal-backdrop.active {
  display: flex;
}
.cookie-modal {
  background: #fff;
  color: #23406E;
  border-radius: 20px;
  box-shadow: 0 6px 36px 0 rgba(34,64,110,0.18);
  padding: 38px 24px 22px 24px;
  width: 90vw;
  max-width: 440px;
  z-index: 200;
  animation: cookie-modal-pop 0.25s cubic-bezier(.36,1.7,.6,1.01);
}
@keyframes cookie-modal-pop {
  0% { transform: scale(0.98) translateY(30px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.5rem;
  margin-bottom: 18px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1.08rem;
  margin-bottom: 15px;
}
.cookie-category input[type="checkbox"] {
  accent-color: #50B47B;
  width: 20px;
  height: 20px;
}
.cookie-modal .cookie-actions {
  display: flex;
  gap: 18px;
  margin-top: 28px;
}

/***********************
   MEDIA QUERIES
 ***********************/
@media (max-width: 1350px){
  .container { max-width: 1000px; }
}
@media (max-width: 1050px){
  .container { max-width: 88vw; }
  .feature-grid { gap: 18px; }
  .feature-item { min-width: 155px; max-width: 265px; padding: 22px 14px; }
}
@media (max-width: 850px){
  .container { max-width: 98vw; }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  header .container {
    flex-direction: row;
    align-items: center;
    gap: 0;
    min-height: 68px;
  }
  .main-nav {
    display: none;
  }
  .btn-primary {
    margin-left: 0;
    margin-top: 0;
    font-size: 1rem;
    padding: 11px 20px;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .hero {
    padding-bottom: 0;
    border-radius: 0 0 24px 24px;
  }
  .feature-grid {
    flex-direction: column;
    gap: 16px;
  }
  .feature-item {
    margin-bottom: 16px;
    min-width: 0;
    max-width: 100%;
    width: 100%;
    padding: 14px 12px;
  }
  .section {
    padding: 28px 6px;
    margin-bottom: 36px;
    border-radius: 10px;
  }
  .card-container {
    flex-direction: column;
    gap: 12px;
  }
  .card {
    margin-bottom: 12px;
    padding: 14px 8px;
    border-radius: 10px;
  }
  .testimonial-card {
    flex-direction: column;
    padding: 16px 10px;
    border-radius: 12px;
  }
  .content-grid {
    flex-direction: column;
    gap: 12px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  .cta {
    border-radius: 10px;
    min-height: 80px;
    margin-bottom: 36px;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
    padding: 22px 8vw 22px 5vw;
    font-size: 0.98rem;
  }
  .cookie-banner .cookie-btns {
    width: 100%;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-start;
  }
}
@media (max-width: 520px) {
  h1 { font-size: 1.56rem; }
  h2 { font-size: 1.12rem; }
  .hero .container {
    padding-top: 24px;
    padding-bottom: 24px;
  }
  footer .container {
    gap: 14px;
    padding-left: 4px;
  }
}

/************************
  SCROLLBAR STYLES
*************************/
::-webkit-scrollbar {
  width: 12px;
  background: #F7F9FB;
}
::-webkit-scrollbar-thumb {
  background: #e3f3ec;
  border-radius: 6px;
}

/************************
   MICRO-INTERACTIONS
*************************/
.btn-primary, .cookie-banner button, .cookie-modal .cookie-actions button {
  outline: none;
  transition: background 0.15s, box-shadow 0.16s, color 0.16s, border 0.16s;
}
.btn-primary:focus, .cookie-banner button:focus, .cookie-modal .cookie-actions button:focus {
  box-shadow: 0 0 0 2px #50B47B;
}

/************************
    CUSTOM FONTS
*************************/
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  src: local('Montserrat'), local('Montserrat-Regular'), url('https://fonts.gstatic.com/s/montserrat/v20/JTUQjIg1_i6t8kCHKm45_cJD3gnD-w.ttf') format('truetype');
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: local('Roboto'), local('Roboto-Regular'), url('https://fonts.gstatic.com/s/roboto/v30/KFOmCnqEu92Fr1Mu4mxM.ttf') format('truetype');
}

/************************
  ADDITIONAL UTILS
*************************/
.text-section {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.team-highlight {
  background: #e3f3ec;
  border-radius: 10px;
  padding: 9px 14px;
  font-family: 'Roboto', Arial, sans-serif;
  color: #23406E;
  font-size: 1.02rem;
  margin-bottom: 16px;
}

/*****************************
    A11Y - FOCUS STYLES
*****************************/
a:focus, button:focus {
  outline: 2px solid #50B47B;
  outline-offset: 2px;
}

/****************************
      ENSURE SPACINGS
****************************/
.features, .about, .services, .testimonials, .contact, .cta, .contact-form {
  margin-bottom: 60px;
}
.features .content-wrapper, .about .content-wrapper, .services .content-wrapper, .testimonials .content-wrapper, .contact .content-wrapper, .cta .content-wrapper, .contact-form .content-wrapper {
  gap: 22px;
}

/************************************************
  (OPTIONAL DEMO) HOW TO SHOW / HIDE COOKIE MODAL
*************************************************/
/*
Add .active to .cookie-modal-backdrop to show modal.
Cookie consent bar: shown by default, or with .active.
*/
