/* 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,
menu, 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;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.6;
  background: #F5F4F1;
  color: #124368;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #124368;
  text-decoration: none;
  transition: color 0.20s;
}
a:focus,
a:hover {
  color: #38A694;
  outline: none;
}
ul, ol {
  margin-left: 20px;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, Helvetica, sans-serif;
  color: #124368;
  font-weight: 700;
  letter-spacing: -0.5px;
}
h1 {
  font-size: 2.75rem;
  margin-bottom: 24px;
  line-height: 1.2;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

p, ul, ol {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1.06rem;
  color: #1c2430;
}
strong {
  color: #124368;
  font-weight: 700;
}

/* LAYOUT CONTAINERS */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px 0 rgba(18, 67, 104, 0.09);
}

/* HEADER/NAVIGATION */
header {
  width: 100%;
  background: linear-gradient(92deg, #124368 60%, #297c6c 100%);
  box-shadow: 0 2px 12px 0 rgba(18,67,104,0.06);
  position: relative;
  z-index: 100;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
}
.logo {
  display: flex;
  align-items: center;
  margin-right: 32px;
}
.logo img {
  height: 44px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 20px;
  margin-right: 28px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #fff;
  transition: color 0.2s;
  padding: 6px 8px;
  border-radius: 6px;
  position: relative;
}
.main-nav a:focus, .main-nav a:hover {
  color: #38A694;
  background: rgba(56,166,148,0.06);
}
.btn-primary {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  background: linear-gradient(90deg, #38A694 60%, #297c6c 100%);
  color: #fff;
  padding: 12px 28px;
  margin-left: 20px;
  font-size: 1rem;
  border: none;
  border-radius: 25px;
  box-shadow: 0 2px 10px 0 rgba(56,166,148,0.09);
  cursor: pointer;
  transition: background 0.25s, box-shadow 0.18s, transform 0.16s;
  display: inline-block;
}
.btn-primary:focus, .btn-primary:hover {
  background: linear-gradient(90deg, #297c6c 60%, #38A694 100%);
  box-shadow: 0 4px 18px 0 rgba(41,124,108,0.12);
  color: #fff;
  transform: translateY(-2px) scale(1.04);
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.1em;
  color: #fff;
  margin-left: 16px;
  cursor: pointer;
  z-index: 2301;
  transition: color 0.18s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  color: #38A694;
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(100deg, #124368 78%, #297c6c 100%);
  z-index: 2501;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 0 0 0 0;
  transform: translateX(100vw);
  transition: transform 0.28s cubic-bezier(.7,1.6,.32,.99);
  box-shadow: -8px 0 32px 0 rgba(18,67,104,0.16);
  overflow-y: auto;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.1em;
  margin: 24px 24px 0 0;
  cursor: pointer;
  transition: color 0.18s;
  align-self: flex-end;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #38A694;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  padding: 40px 32px;
  gap: 18px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255,255,255,0.09);
  width: 100%;
  display: block;
  transition: background 0.13s, color 0.18s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  color: #38A694;
  background: rgba(56,166,148,0.07);
}

/* HERO / SECTION CONTAINERS */
section {
  margin-bottom: 60px;
  padding: 40px 0 0 0;
  background: none;
}

.features-grid, .card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card-container {
  margin-bottom: 20px;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 10px 0 rgba(18,67,104,0.06);
  margin-bottom: 20px;
  position: relative;
  padding: 24px 28px;
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 28px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 18px 0 rgba(41,124,108,0.13);
  margin-bottom: 24px;
  border-left: 6px solid #38A694;
  min-width: 270px;
  max-width: 400px;
}
.testimonials-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 32px;
  align-items: stretch;
  margin-top: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #F5F4F1;
  border-radius: 15px;
  box-shadow: 0 1px 7px 0 rgba(18,67,104,0.06);
  padding: 24px 20px 22px 20px;
  min-width: 230px;
  flex: 1 1 210px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature-item:hover {
  box-shadow: 0 4px 16px 0 rgba(56,166,148,0.12);
  transform: translateY(-3px) scale(1.03);
}
.feature-item img {
  height: 40px;
  width: 40px;
  object-fit: contain;
}

/* BLOG POSTS & TAGS */
.blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 26px;
}
.blog-post {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 6px 0 rgba(18,67,104,0.07);
  padding: 24px 22px 18px 22px;
  min-width: 240px;
  flex: 1 1 220px;
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
}
.blog-post h3 {
  font-size: 1.11rem;
}
.tag {
  display: inline-block;
  background: #38A694;
  color: #fff;
  font-size: 0.87rem;
  border-radius: 14px;
  padding: 2px 13px;
  margin-top: 8px;
  margin-right: 7px;
}

.blog-tags {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

/* TEXT SECTIONS */
.text-section {
  margin-bottom: 18px;
}
.text-section ul,
.text-section ol {
  margin-top: 8px;
  margin-bottom: 10px;
}
.text-section h3 {
  margin-top: 18px;
}

/* FOOTER */
footer {
  background: linear-gradient(94deg, #124368 80%, #297c6c 100%);
  color: #fff;
  padding: 40px 0 0 0;
  margin-top: 60px;
}
footer .container {
  flex-direction: column;
  gap: 25px;
  align-items: flex-start;
  padding: 0 20px 32px 20px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 60px;
  margin-bottom: 18px;
  margin-top: 8px;
  flex-wrap: wrap;
  width: 100%;
}
.footer-main-menu, .footer-legal-menu {
  display: flex;
  flex-direction: row;
  gap: 28px;
  flex-wrap: wrap;
}
.footer-main-menu a,
.footer-legal-menu a {
  color: #fff;
  font-size: 0.98rem;
  padding: 4px 4px;
  transition: color 0.18s;
}
.footer-main-menu a:hover, .footer-main-menu a:focus,
.footer-legal-menu a:hover, .footer-legal-menu a:focus {
  color: #38A694;
}
.legal-text {
  color: #F5F4F1;
  font-size: 0.93rem;
  margin-top: 16px;
  line-height: 1.4;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  background: #fff;
  color: #124368;
  box-shadow: 0 -2px 18px 0 rgba(18,67,104,0.07);
  z-index: 4000;
  padding: 22px 22px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  justify-content: space-between;
  animation: cookieBannerSlideIn 0.45s cubic-bezier(.67,1.7,.13,.98);
}
@keyframes cookieBannerSlideIn {
  from { transform: translateY(60px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner__text {
  font-size: 0.99rem;
  line-height: 1.55;
  margin-right: 20px;
  flex: 1 1 auto;
}
.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  border-radius: 21px;
  padding: 7px 20px;
  margin: 0 2px;
  border: none;
  cursor: pointer;
  transition: background 0.18s, color 0.15s, box-shadow 0.17s;
  box-shadow: 0 1px 4px 0 rgba(56,166,148, 0.11);
}
.cookie-btn.accept {
  background: #38A694;
  color: #fff;
  font-weight: 700;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #297c6c;
}
.cookie-btn.reject {
  background: #F5F4F1;
  color: #124368;
  font-weight: 600;
  border: 1px solid #38A694;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #ebf7f4;
}
.cookie-btn.settings {
  background: #fff;
  color: #297c6c;
  font-weight: 600;
  border: 1.5px solid #297c6c;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #ebf7f4;
}

/* COOKIE MODAL */
.cookie-modal__overlay {
  position: fixed;
  inset: 0;
  background: rgba(52,62,75,0.36);
  z-index: 4100;
  display: none;
  align-items: center;
  justify-content: center;
}
.cookie-modal__overlay.active {
  display: flex;
  animation: modalFadeIn 0.25s cubic-bezier(.61,1.3,.22,.93);
}
@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  padding: 36px 32px 26px 32px;
  border-radius: 18px;
  max-width: 410px;
  min-width: 220px;
  color: #124368;
  box-shadow: 0 4px 32px 0 rgba(18,67,104,0.15);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: cookieModalPopIn 0.27s cubic-bezier(.51,1.1,.32,.95);
}
@keyframes cookieModalPopIn {
  from { transform: scale(0.96); opacity:0; }
  to {   transform: scale(1); opacity:1; }
}
.cookie-modal h2 {
  font-size: 1.19rem;
  margin-bottom: 7px;
}
.cookie-modal__close {
  position: absolute;
  top: 18px;
  right: 22px;
  background: none;
  border: none;
  font-size: 1.45em;
  color: #297c6c;
  cursor: pointer;
}
.cookie-toggle-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  margin-bottom: 14px;
}
.cookie-toggle-row label {
  flex: 1 1 auto;
  font-size: 1rem;
  font-weight: 500;
}
/* Custom Toggle Switch (for categories) */
.cookie-switch {
  appearance: none;
  -webkit-appearance: none;
  width: 39px;
  height: 20px;
  border-radius: 13px;
  background: #F5F4F1;
  outline: none;
  position: relative;
  cursor: pointer;
  border: 1.4px solid #38A694;
  transition: background 0.16s;
}
.cookie-switch:checked {
  background: #38A694;
}
.cookie-switch:before {
  content: '';
  display: block;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  left: 0.9px; top: 0.7px;
  box-shadow: 0 1px 2px rgba(18,67,104,0.08);
  transition: left 0.18s;
}
.cookie-switch:checked:before {
  left: 18px;
}
.cookie-switch[disabled],
.cookie-switch[aria-disabled="true"] {
  opacity: 0.7;
  cursor: not-allowed;
}

/* GENERIC BUTTONS/LINKS */
button, .btn, .btn-primary {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  cursor: pointer;
  outline: none;
}

/* UTILITIES */
.mt-40 { margin-top: 40px !important; }
.mb-40 { margin-bottom: 40px !important; }
.mt-24 { margin-top: 24px !important; }
.mb-24 { margin-bottom: 24px !important; }

/* RESPONSIVE DESIGN - MOBILE FIRST */
@media (max-width: 1024px) {
  .container {
    max-width: 98vw;
  }
  .footer-nav {
    gap: 18px;
    flex-direction: column;
  }
  header .container {
    gap: 8px;
    flex-wrap: wrap;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 12px;
    font-size: 0.98rem;
  }
  .btn-primary {
    margin-left: 10px;
    font-size: 0.97rem;
    padding: 10px 20px;
  }
  .footer-main-menu, .footer-legal-menu {
    gap: 15px;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 2.02rem;
  }
  h2 {
    font-size: 1.4rem;
  }
  header .container {
    flex-wrap: wrap;
    gap: 0;
  }
  .main-nav {
    display: none;
  }
  .btn-primary {
    margin-left: 0;
    font-size: 1rem;
    width: 100%;
    max-width: 320px;
    margin-top: 10px;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .features-grid, .card-container, .blog-list {
    flex-direction: column;
    gap: 18px;
  }
  .testimonials-slider {
    flex-direction: column;
    gap: 18px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 12px;
  }
  .footer-main-menu, .footer-legal-menu {
    flex-direction: column;
    gap: 7px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 20px 12px;
  }
  .cookie-banner__actions {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }
  .content-grid, .text-image-section {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 18px !important;
  }
}
@media (max-width: 560px) {
  h1 {
    font-size: 1.33rem;
    margin-bottom: 14px;
  }
  h2 {
    font-size: 1.08rem;
    margin-bottom: 12px;
  }
  .container {
    padding: 0 8px;
  }
  .btn-primary {
    width: 100%;
    padding: 11px 0;
    font-size: 1rem;
  }
  .feature-item {
    min-width: unset;
    padding: 14px 13px;
  }
  .card {
    padding: 14px 13px;
  }
  .testimonial-card {
    padding: 14px 13px;
    max-width: 98vw;
  }
  .cookie-modal {
    max-width: 94vw;
    padding: 22px 10px 16px 10px;
  }
}

/* -------- ACCESSIBILITY -------- */
:focus {
  outline: 2px solid #297c6c;
  outline-offset: 2px;
}

/* ------ SEPARATORS / DETAILS STYLE ------ */
div.hr {
  height: 1px;
  width: 100%;
  background: #38A694;
  opacity: 0.09;
  margin: 25px 0;
  border-radius: 2px;
}

/* ------ ICON LISTS ------ */
.text-section ul li img {
  vertical-align: middle;
  margin-right: 8px;
  height: 20px;
  width: 20px;
}

/* ------ MICRO-INTERACTIONS ------ */
.card, .feature-item, .testimonial-card, .blog-post, .btn-primary, .cookie-btn, .main-nav a, .footer-main-menu a, .footer-legal-menu a, .mobile-nav a {
  transition: box-shadow 0.14s, color 0.16s, background 0.14s, transform 0.12s;
}

/* ------ VISUAL HIERARCHY ------ */
h1 + p {
  margin-top: -13px;
  margin-bottom: 18px;
  font-size: 1.22rem;
  color: #297c6c;
}
h2 + p,
h3 + p {
  margin-top: -8px;
  color: #297c6c;
}

/* ------ SPECIAL: FOR TESTIMONIAL CARD CONTRAST ------ */
.testimonial-card p, .testimonial-card span, .testimonial-card strong {
  color: #124368 !important;
}

/* ------ SPECIAL: MARGIN BETWEEN CARDS/COMPONENTS ------ */
.card, .testimonial-card, .feature-item, .blog-post {
  margin-bottom: 20px !important;
}
.content-wrapper > * + * {
  margin-top: 18px;
}

/* ------ PRINT OPTIMIZATION ------ */
@media print {
  header, footer, .mobile-menu, .cookie-banner { display: none !important; }
  body { background: #fff !important; color: #124368 !important; }
}
