/* --- 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, 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 {
  min-height: 100vh;
  background: #fff;
  color: #1C3664;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.66;
  -webkit-font-smoothing: antialiased;
  font-smoothing: antialiased;
  letter-spacing: 0.01em;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  padding-left: 1.5em;
  margin-bottom: 1em;
}
a {
  color: #1C3664;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #2C8C62;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #1C3664;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.18;
}
h1 {
  font-size: 2.25rem; /* 36px */
}
h2 {
  font-size: 1.5rem; /* 24px */
}
h3 {
  font-size: 1.125rem; /* 18px */
  font-weight: 600;
}
h4, h5, h6 {
  font-size: 1rem;
}
p {
  margin-bottom: 16px;
  font-size: 1rem;
  color: #1C3664;
}

/* --- BASIC LAYOUT --- */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

main {
  padding-bottom: 40px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
}

.feature-grid > div {
  flex: 1 1 220px;
  background: #F2F6FF;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(28,54,100,0.05);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 24px 20px 28px 20px;
  transition: box-shadow 0.25s, transform 0.2s;
}
.feature-grid > div:hover {
  box-shadow: 0 6px 28px rgba(44,140,98,0.08);
  transform: translateY(-2px) scale(1.02);
}
.feature-grid img {
  width: 36px;
  height: 36px;
  margin-bottom: 8px;
  opacity: 0.88;
}

/* --- HERO --- */
.hero {
  background: #F2F6FF;
  border-radius: 0 0 32px 32px;
  padding: 48px 0 44px 0;
  margin-bottom: 40px;
  box-shadow: 0 2px 24px 0 rgba(28,54,100,0.07);
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 20px;
}
.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 12px;
}
.hero p {
  font-size: 1.25rem;
  color: #1C3664;
  max-width: 600px;
  margin-bottom: 20px;
}

/* --- BUTTONS --- */
.cta-button {
  display: inline-block;
  background: #2C8C62;
  color: #fff;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 13px 32px;
  border-radius: 22px;
  border: none;
  box-shadow: 0 2px 8px 0 rgba(44,140,98,0.10);
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.22s, transform 0.2s;
  margin-top: 8px;
}
.cta-button:hover, .cta-button:focus {
  background: #1C3664;
  color: #fff;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 32px rgba(28,54,100,0.09);
  outline: none;
}

/* --- NAVIGATION --- */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border-bottom: 1px solid #F2F6FF;
  padding: 18px 0 16px 0;
  position: relative;
  z-index: 100;
}
header a img {
  height: 38px;
  margin-right: 26px;
  display: block;
}
header nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #1C3664;
  padding: 6px 14px;
  border-radius: 9px;
  transition: background 0.17s, color 0.18s;
}
header nav a:hover, header nav a:focus {
  background: #2C8C62;
  color: #fff;
}
/* Hide burger & mobile menu by default desktop */
.mobile-menu-toggle {
  display: none;
}

/* --- MOBILE NAVIGATION --- */
.mobile-menu {
  position: fixed;
  z-index: 1100;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  transform: translateX(100%);
  transition: transform 0.37s cubic-bezier(.74,.1,.18,1.03);
  box-shadow: -8px 0 32px rgba(28,54,100,0.13);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 38px 28px 28px 28px;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: all;
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: #1C3664;
  position: absolute;
  top: 14px;
  right: 20px;
  cursor: pointer;
  z-index: 12;
  transition: color 0.2s;
  line-height: 1;
}
.mobile-menu-close:hover, .mobile-menu-close:focus { color: #2C8C62; }
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 56px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  color: #1C3664;
  padding: 12px 0;
  border-radius: 7px;
  transition: background 0.18s, color 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #2C8C62;
  color: #fff;
}

/* --- RESPONSIVE NAVIGATION --- */
@media (max-width: 900px) {
  header nav {
    display: none;
  }
  .cta-button {
    margin-left: 0 !important;
  }
  .mobile-menu-toggle {
    display: block;
    background: none;
    border: none;
    color: #2C8C62;
    font-size: 2rem;
    margin-left: 8px;
    cursor: pointer;
    transition: color 0.2s;
    padding: 3px 8px;
    border-radius: 8px;
  }
  .mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
    color: #1C3664;
    background: #E7EEF8;
  }
}
@media (max-width: 480px) {
  .mobile-nav {
    margin-top: 38px;
    font-size: 1.04rem;
  }
}

/* --- TABLES --- */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
  font-size: 1rem;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(28,54,100,0.05);
}
thead {
  background: #F2F6FF;
}
th, td {
  padding: 14px 12px;
  text-align: left;
  border-bottom: 1px solid #E7EEF8;
  color: #1C3664;
}
thead th {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.025rem;
  font-weight: 600;
}
tbody tr:last-child td {
  border-bottom: none;
}

/* --- TESTIMONIALS --- */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(28,54,100,0.06);
  max-width: 380px;
  min-width: 220px;
  transition: box-shadow 0.21s, transform 0.16s;
  border: 1px solid #F2F6FF;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 8px 30px rgba(44,140,98,0.09);
  transform: translateY(-1px) scale(1.01);
}
.testimonial-stars {
  color: #2C8C62;
  font-size: 1.32rem;
  letter-spacing: 0.18em;
  font-family: 'Montserrat', Arial, sans-serif;
}
.testimonial-author {
  color: #1C3664;
  font-weight: 500;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  opacity: 0.75;
}

/* --- FLEXBOX LAYOUTS --- */
.card-container, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #F2F6FF;
  border-radius: 13px;
  box-shadow: 0 2px 10px rgba(28,54,100,0.04);
  padding: 24px 20px;
  transition: box-shadow 0.18s, transform 0.14s;
}
.card:hover, .card:focus {
  box-shadow: 0 8px 22px rgba(44,140,98,0.08);
  transform: translateY(-2px) scale(1.01);
}
.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;
}

/* --- FOOTER --- */
footer {
  margin-top: 60px;
  padding: 36px 0 32px 0;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-top: 1px solid #F2F6FF;
}
footer img {
  height: 32px;
  margin-bottom: 12px;
}
footer nav {
  display: flex;
  gap: 18px;
  margin-bottom: 16px;
}
footer nav a {
  color: #1C3664;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  opacity: 0.84;
  transition: color 0.19s;
}
footer nav a:hover {
  color: #2C8C62;
}
.footer-contact {
  font-size: 0.97rem;
  color: #1C3664;
  opacity: 0.75;
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
}
.footer-contact img {
  height: 16px;
  width: 16px;
  margin-right: 6px;
  opacity: 0.74;
  display: inline-block;
  vertical-align: middle;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-consent-banner {
  position: fixed;
  z-index: 1500;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  color: #1C3664;
  border-top: 1px solid #E7EEF8;
  box-shadow: 0 -2px 22px rgba(28,54,100,0.07);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 28px 12px 18px 12px;
  gap: 32px;
  flex-wrap: wrap;
  opacity: 1;
  transition: transform 0.33s cubic-bezier(.86,.11,.35,1), opacity 0.33s;
}
.cookie-consent-banner.hide {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
.cookie-consent-text {
  max-width: 420px;
  font-size: 1rem;
  margin-right: 12px;
}
.cookie-buttons {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}
.cookie-btn {
  border: none;
  border-radius: 17px;
  padding: 9px 22px;
  font-size: 0.96rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  background: #2C8C62;
  color: #fff;
  cursor: pointer;
  margin-right: 2px;
  box-shadow: 0 2px 10px rgba(44,140,98,0.10);
  transition: background 0.17s, color 0.21s, transform 0.18s;
}
.cookie-btn.secondary {
  background: #F2F6FF;
  color: #1C3664;
  border: 1px solid #E7EEF8;
  box-shadow: none;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #1C3664;
  color: #fff;
  transform: translateY(-2px) scale(1.02);
  outline: none;
}
.cookie-btn.secondary:hover, .cookie-btn.secondary:focus {
  background: #2C8C62;
  color: #fff;
}

/* --- COOKIE MODAL --- */
.cookie-modal-overlay {
  position: fixed;
  z-index: 1510;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(28,54,100,0.13);
  opacity: 1;
  transition: opacity 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 36px rgba(28,54,100,0.18);
  padding: 38px 28px 28px 28px;
  max-width: 430px;
  width: 94%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
}
.cookie-modal h2 {
  font-size: 1.295rem;
  margin-bottom: 14px;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #F2F6FF;
  padding: 12px 16px;
  border-radius: 9px;
  margin-bottom: 9px;
}
.cookie-toggle {
  width: 42px;
  height: 25px;
  background: #E7EEF8;
  border-radius: 14px;
  position: relative;
  appearance: none;
  outline: none;
  cursor: pointer;
  transition: background 0.2s;
}
.cookie-toggle:checked {
  background: #2C8C62;
}
.cookie-toggle::before {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 19px;
  height: 19px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s;
  box-shadow: 0 1px 4px rgba(28,54,100,0.09);
}
.cookie-toggle:checked::before {
  transform: translateX(17px);
}
.cookie-modal-close {
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 1.44rem;
  color: #1C3664;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  border-radius: 8px;
  transition: background 0.18s, color 0.14s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #E7EEF8;
  color: #2C8C62;
}

/* --- MISC ELEMENTS & INTERACTIONS --- */
ul, ol {
  margin-bottom: 16px;
}
ul li, ol li {
  margin-bottom: 8px;
  font-size: 1rem;
  color: #1C3664;
}
ul li:last-child, ol li:last-child {
  margin-bottom: 0;
}

hr {
  border: none;
  border-top: 1px solid #E7EEF8;
  margin: 32px 0;
}

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

/* --- TRANSITIONS ON INTERACTIVE ELEMENTS --- */
button, .cta-button, .cookie-btn, .mobile-menu-toggle, .mobile-menu-close {
  transition: background 0.17s, color 0.14s, box-shadow 0.17s, transform 0.12s;
}

/* --- RESPONSIVENESS --- */
@media (max-width: 1000px) {
  .container {
    padding: 0 10px;
    max-width: 98vw;
  }
  .feature-grid,
  .card-container,
  .content-grid {
    gap: 15px;
  }
  .section {
    padding: 32px 10px;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 8px;
  }
  .section {
    margin-bottom: 38px;
    padding: 28px 4px;
  }
  .feature-grid > div, .card {
    min-width: 92vw;
    max-width: 98vw;
    padding: 18px 13px;
  }
  .feature-grid {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card {
    max-width: 98vw;
  }
  .text-image-section, .content-wrapper {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 18px;
  }
  .content-grid {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 640px) {
  .hero {
    padding: 26px 0 17px 0;
    border-radius: 0 0 18px 18px;
  }
  h1 {
    font-size: 1.28rem;
  }
  h2 {
    font-size: 1.11rem;
  }
  h3 {
    font-size: 0.99rem;
  }
  .feature-grid > div {
    padding: 14px 7px 18px 7px;
    font-size: 0.97rem;
  }
  .testimonial-card {
    padding: 13px;
  }
  .cookie-consent-banner {
    padding: 16px 6px 10px 6px;
    gap: 8px;
    flex-direction: column;
    align-items: flex-start;
  }
  .cookie-consent-text {
    max-width: 95vw;
    margin-right: 0;
    margin-bottom: 8px;
  }
  .cookie-modal {
    padding: 18px 6px 18px 6px;
  }
}
@media (max-width: 430px) {
  .footer-contact {
    font-size: 0.88rem;
  }
  footer nav {
    gap: 7px;
  }
}

/* --- COOKIE CATEGORIES (for modal description) --- */
.cookie-modal-category .category-desc {
  font-size: 0.95rem;
  color: #1C3664;
  margin-left: 10px;
  opacity: 0.65;
}

/* --- UTILITIES --- */
.hide {
  display: none !important;
}
.visible {
  display: block !important;
}

/* --- PRINT --- */
@media print {
  header, footer, .mobile-menu, .cookie-consent-banner, .cookie-modal-overlay { display: none !important; }
}

/* --- CUSTOM FONT IMPORTS (FALLBACKS ALLOWED ON SERVER) --- */
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,500,600,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');