/* CSS RESET & BASE TYPOGRAPHY */
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 {
  font-family: 'Source Sans Pro', Arial, sans-serif;
  color: #244776;
  background: linear-gradient(142deg, #f3f8f3 0%, #f1f8f4 100%);
  min-height: 100vh;
  font-size: 16px;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
}
a {
  color: #244776;
  text-decoration: underline;
  transition: color .2s;
}
a:hover, a:focus {
  color: #9DC675;
}

/* CONTAINER AND FLEX LAYOUTS */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  padding: 0;
}

/* SECTION SPACING */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 768px) {
  section { padding: 32px 10px; margin-bottom: 40px; }
}

/* TYPOGRAPHY SCALE */
h1, .h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  font-size: 2.5rem;
  color: #244776;
  line-height: 1.12;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
@media (max-width: 600px) {
  h1, .h1 { font-size: 2rem; }
}
h2, .h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 2rem;
  color: #244776;
  margin-bottom: 8px;
  letter-spacing: -0.25px;
}
@media (max-width: 600px) {
  h2, .h2 { font-size: 1.5rem; }
}
h3, .h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.2rem;
  color: #244776;
  margin-bottom: 6px;
}

h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  color: #244776;
  margin-bottom: 4px;
}

p, ul, ol {
  font-size: 1rem;
  color: #244776;
  margin-bottom: 8px;
}

ul, ol {
  padding-left: 24px;
  margin-bottom: 8px;
}

strong {
  font-weight: bold;
}

blockquote {
  font-size: 1.12rem;
  color: #244776;
  font-style: italic;
  background: #f9f9fa;
  border-left: 4px solid #9DC675;
  padding: 16px 20px;
  margin: 0;
  border-radius: 8px;
  margin-bottom: 10px;
}

/* HERO & CTA */
.cta {
  display: inline-flex;
  align-items: center;
  background: #f9e97d;
  color: #244776;
  border: none;
  border-radius: 28px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  font-size: 1.1rem;
  padding: 12px 32px;
  margin-top: 14px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(36,71,118,0.11);
  transition: background .3s, color .2s, box-shadow .3s;
}
.cta.primary {
  background: linear-gradient(90deg,#244776 0%,#9DC675 100%);
  color: #fff;
  box-shadow: 0 3px 18px rgba(36,71,118,0.16);
}
.cta:hover, .cta:focus {
  background: #9DC675;
  color: #244776;
  box-shadow: 0 4px 25px rgba(36,71,118,0.17);
}
.cta.primary:hover, .cta.primary:focus {
  background: linear-gradient(90deg,#224468 0%,#82b85b 100%);
  color: #fff;
}

/* HEADER STYLES */
header {
  width: 100%;
  padding: 0 10px;
  background: linear-gradient(90deg,#244776 0%, #9DC675 120%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  position: relative;
  z-index: 99;
}
.logo-link img {
  display: block;
  height: 45px;
  margin: 10px 0;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 22px;
  transition: background .2s, color .2s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #f9e97d;
  color: #244776;
}
.main-nav .cta.primary {
  color: #244776;
  background: #f9e97d;
  font-weight: bold;
  margin-left: 10px;
}

/* MOBILE MENU BUTTON (BURGER) */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #fff;
  cursor: pointer;
  margin-left: 18px;
  z-index: 101;
  transition: color .2s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #F9E97D;
  color: #F9E97D;
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(120deg, #244776 80%, #9DC675 120%);
  z-index: 200;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.87,.13,.37,.87);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 32px 24px 24px 24px;
  width: 100vw;
  height: 100vh;
  box-shadow: -3px 0 24px rgba(36,71,118,0.15);
  visibility: hidden;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0%);
  visibility: visible;
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.3rem;
  align-self: flex-end;
  margin-bottom: 18px;
  cursor: pointer;
  transition: color .2s;
  z-index: 201;
}
.mobile-menu-close:focus {
  outline: 2px solid #f9e97d;
  color: #f9e97d;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 500;
  text-decoration: none;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color .2s;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #F9E97D;
  background: none;
}

/* --- Header Responsive --- */
@media (max-width: 1020px) {
  .main-nav { gap: 10px; }
  .main-nav a { font-size: 0.97rem; }
}
@media (max-width: 820px) {
  .main-nav a { font-size: 0.9rem; }
}
@media (max-width: 768px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: block; }
}


/* --- CONTENT LAYOUTS (FLEX ONLY!) --- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 16px;
}
@media (max-width: 900px) {
  .feature-grid { gap: 18px; }
}
@media (max-width: 768px) {
  .feature-grid {
    flex-direction: column;
    gap: 16px;
  }
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 3px 16px rgba(36,71,118,0.09);
  padding: 28px 24px;
  min-width: 250px;
  flex: 1 1 260px;
  margin-bottom: 20px;
  transition: box-shadow .2s, transform .18s;
  border: 1px solid #f1f1f4;
}
.feature-item img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}
.feature-item:hover, .feature-item:focus-within {
  box-shadow: 0 8px 32px rgba(36,71,118,0.16);
  transform: translateY(-2px) scale(1.01);
  border-color: #9DC67577;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}


/* TESTIMONIALS */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
}
@media (max-width: 900px) {
  .testimonial-slider { gap: 14px; }
}
@media (max-width: 768px) {
  .testimonial-slider {
    flex-direction: column;
    gap: 16px;
  }
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 24px;
  background: #F8FAFC;
  border-radius: 18px;
  min-width: 240px;
  box-shadow: 0 2px 12px rgba(36,71,118,0.11);
  border: 1px solid #f1f1f4;
  margin-bottom: 20px;
  transition: box-shadow .2s, border .2s;
  color: #244776;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 8px 34px rgba(36,71,118,0.12);
  border-color: #9DC67577;
}
.testimonial-card blockquote {
  background: none;
  border: none;
  padding: 0;
}
.testimonial-info {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #244776;
  opacity: 0.7;
  font-style: normal;
}
.rating-stars {
  color: #F9E97D;
  font-size: 1.15rem;
  letter-spacing: 0.05em;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
}

/* CARD CONTAINERS (flex only) */
.card-container, .card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  position: relative;
  margin-bottom: 20px;
  border-radius: 14px;
  box-shadow: 0 2px 9px rgba(36,71,118,0.10);
  background: #fff;
  transition: box-shadow .2s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 26px rgba(36,71,118,0.13);
}

/* FOOTER */
footer {
  background: linear-gradient(90deg,#244776 70%, #9DC675 110%);
  color: #fff;
  padding: 0;
  margin-top: 60px;
}
footer .container {
  padding: 0 0 0 0;
}
footer .content-wrapper {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  padding: 32px 0 16px 0;
}
footer .footer-brand {
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
footer .footer-brand img {
  width: 53px;
  margin-bottom: 8px;
}
footer .footer-brand p, footer .footer-brand a {
  color: #fff;
  font-size: 1rem;
  opacity: 0.95;
  text-decoration: none;
}
footer .footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 2 1 320px;
}
footer .footer-nav a {
  color: #F9E97D;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  text-decoration: none;
  opacity: 0.93;
  transition: color .2s;
}
footer .footer-nav a:hover, footer .footer-nav a:focus {
  color: #fff;
}
footer .footer-social {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
}
footer .footer-social img {
  width: 32px;
  transition: filter .2s, transform .15s;
}
footer .footer-social a:hover img {
  filter: brightness(1.25) drop-shadow(0 0 8px #f9e97d33);
  transform: scale(1.07);
}
@media (max-width: 900px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 28px;
    align-items: flex-start;
  }
  footer {
    font-size: 0.97rem;
  }
}

/* GLOBAL BUTTON/LINK MICRO-INTERACTIONS */
button, .cta, .mobile-menu-toggle, .mobile-menu-close {
  outline: none;
}
button:focus-visible, .cta:focus-visible, .mobile-menu-toggle:focus-visible, .mobile-menu-close:focus-visible {
  outline: 2px solid #f9e97d;
  outline-offset: 2px;
}

/* TEXT-IMAGE GAP SUPPORT (even if not in HTML, future-proof) */
.text-image-section img {
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(36,71,118,0.10);
}

/* COOKIE CONSENT BANNER & MODAL */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fffbed;
  border-top: 2px solid #F9E97D;
  box-shadow: 0 -2px 24px rgba(36,71,118,0.15);
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  padding: 18px 22px;
  z-index: 4000;
  opacity: 1;
  transition: opacity .35s, transform .4s;
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateY(18px);
  pointer-events: none;
}
.cookie-banner .cookie-banner-text {
  flex: 1 1 auto;
  font-size: 0.98rem;
  color: #244776;
}
.cookie-banner .cookie-banner-buttons {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-banner .cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  border: none;
  border-radius: 24px;
  background: #9DC675;
  color: #244776;
  font-size: 1rem;
  padding: 8px 22px;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.cookie-banner .cookie-btn.settings {
  background: #244776;
  color: #fff;
}
.cookie-banner .cookie-btn.reject {
  background: #f1f1f4;
  color: #244776;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: #F9E97D;
  color: #244776;
}
.cookie-banner .cookie-btn.settings:hover, .cookie-banner .cookie-btn.settings:focus {
  background: #9DC675;
  color: #244776;
}
@media (max-width: 650px) {
  .cookie-banner {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
    font-size: 0.98rem;
    padding: 16px 10px;
  }
  .cookie-banner .cookie-banner-buttons { flex-direction: column; gap: 8px; }
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  z-index: 4010;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(36,71,118,0.26);
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: auto;
  opacity: 1;
  transition: opacity .34s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  padding: 34px 24px 24px 24px;
  border-radius: 18px;
  box-shadow: 0 8px 48px rgba(36,71,118,0.18);
  width: 95%;
  max-width: 410px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  border: 2px solid #9DC675;
  animation: fadeInModal .35s;
}
@keyframes fadeInModal {
  from { opacity: 0; transform: scale(.97); }
  to { opacity: 1; transform: scale(1); }
}
.cookie-modal h2 {
  font-size: 1.2rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #244776;
}
.cookie-modal .cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  margin: 8px 0;
}
.cookie-modal .cookie-category label {
  font-size: 1rem;
  color: #244776;
}
.cookie-modal .cookie-toggle {
  width: 42px;
  height: 24px;
  background: #f1f1f4;
  border-radius: 14px;
  position: relative;
  cursor: pointer;
  transition: background .2s;
  margin-left: 4px;
}
.cookie-modal .cookie-toggle input {
  display: none;
}
.cookie-modal .cookie-toggle .slider {
  position: absolute;
  top: 2px; left: 2px;
  width: 20px; height: 20px;
  background: #9DC675;
  border-radius: 50%;
  transition: left .25s, background .25s;
}
.cookie-modal .cookie-toggle input:checked + .slider {
  left: 20px;
  background: #244776;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 10px;
}
.cookie-modal .cookie-btn {
  padding: 8px 19px;
}
.cookie-modal .cookie-close {
  position: absolute;
  right: 15px;
  top: 14px;
  background: none;
  border: none;
  font-size: 1.45rem;
  color: #244776;
  cursor: pointer;
  transition: color .2s;
}
.cookie-modal .cookie-close:hover, .cookie-modal .cookie-close:focus {
  color: #9DC675;
}

/* MISC & UTILITY */
hr {
  border: none;
  border-top: 1px solid #f1f1f4;
  margin: 30px 0;
}

/* Accessibility for skip links (if added in HTML) */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 1100;
  background: #F9E97D;
  color: #244776;
  border-radius: 8px;
  padding: 8px 16px;
  font-weight: bold;
  font-size: 1rem;
}
.skip-link:focus {
  left: 10px;
  top: 10px;
  width: auto;
  height: auto;
  outline: none;
}

/* FORMS (if added) */
input, select, textarea {
  font-family: 'Source Sans Pro', Arial, sans-serif;
  padding: 9px 12px;
  border-radius: 13px;
  border: 1px solid #d2dbe8;
  font-size: 1rem;
  box-shadow: 0 2px 8px rgba(36,71,118,0.06);
  margin-bottom: 12px;
}
input:focus, select:focus, textarea:focus {
  border-color: #9DC675;
  outline: 2px solid #F9E97D;
}

/* General spacing for between cards, sections, etc. */
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.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; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* RESPONSIVE RULES */
@media (max-width: 1100px) {
  .container { max-width: 95vw; }
}
@media (max-width: 768px) {
  .container { padding-left: 0; padding-right: 0; }
  .content-wrapper { gap: 18px; padding: 0; }
  .feature-item, .testimonial-card { padding: 17px 14px; }
  .footer-nav, .footer-social {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
  }
}
@media (max-width: 600px) {
  h1, .h1 { font-size: 1.5rem; }
  h2, .h2 { font-size: 1.12rem; }
  .footer-brand img { width: 40px; }
}
