/* 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;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.5;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #22313a;
  background: linear-gradient(135deg, #eaf5fb 0%, #f7fcfa 100%);
  min-height: 100vh;
  font-size: 16px;
  /* fallback for gradient_modern but with soft solid BGs */
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto Slab', Georgia, serif;
  color: #1A567D;
  font-weight: 700;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.4rem;
  margin-bottom: 24px;
  letter-spacing: -1px;
}
h2 {
  font-size: 1.8rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 14px;
}
h4, h5, h6 {
  font-size: 1.1rem;
}
p, ul, ol {
  margin-bottom: 18px;
  color: #263446;
}
ul, ol {
  padding-left: 22px;
  margin-bottom: 24px;
}
li {
  margin-bottom: 10px;
}
a {
  color: #26A35B;
  text-decoration: none;
  transition: color 0.2s;
  font-weight: 600;
}
a:hover {
  color: #1A567D;
  text-decoration: underline;
}
strong {
  color: #1A567D;
}

/* GLOBAL CONTAINERS & SECTIONS */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 16px;
}
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 14px 0 rgba(26,86,125,0.07);
  position: relative;
}
main > section {
  background: #fff;
  box-shadow: 0 2px 14px 0 rgba(26,86,125,0.05);
  border-radius: 20px;
  margin-bottom: 60px;
}

/* FLEX WRAPPERS */
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  background: #f7fcfa;
  border-radius: 16px;
  box-shadow: 0 1px 8px 0 rgba(38,163,91,0.10);
  padding: 28px 24px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1 1 280px;
}
.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: 20px;
  margin-bottom: 20px;
  border-radius: 16px;
  background: #FAFAFA;
  box-shadow: 0 2px 8px 0 rgba(26,86,125,0.08);
  border-left: 5px solid #26A35B;
  max-width: 500px;
}
.testimonial-card blockquote {
  font-size: 1.12rem;
  color: #263446;
  font-style: italic;
  margin-bottom: 10px;
  line-height: 1.7;
}
.testimonial-card p {
  color: #444;
  font-size: 1rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.98rem;
  margin: 18px 0 18px 0;
  color: #1A567D;
}
.footer-social {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-top: 6px;
}
.footer-social a img {
  width: 28px;
  height: 28px;
}

/* HEADER/NAV */
header {
  width: 100%;
  box-shadow: 0 3px 12px 0 rgba(26,86,125,0.05);
  background: linear-gradient(93deg, #eaf2fb 0%, #edf8f4 100%);
  z-index: 12;
}
.main-nav {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px 16px;
  font-size: 1.08rem;
}
.main-nav .logo img {
  height: 38px;
  margin-right: 10px;
  vertical-align: middle;
  display: inline-block;
}
.main-nav a {
  color: #1A567D;
  padding: 6px 10px;
  border-radius: 7px;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover, .main-nav a.active {
  background: #d2f1df;
  color: #26A35B;
}
.main-nav .cta.primary {
  background: #26A35B;
  color: #fff;
  font-weight: bold;
  border-radius: 999px;
  box-shadow: 0 1px 8px 0 rgba(38,163,91,0.13);
  padding: 8px 22px;
  transition: background 0.25s, color 0.2s, box-shadow 0.2s;
  border: none;
}
.main-nav .cta.primary:hover {
  background: #1A567D;
  color: #fff;
  box-shadow: 0 3px 16px 0 rgba(26,86,125,0.13);
}

/* CTA BUTTONS (Also for .cta everywhere) */
.cta, a.cta {
  display: inline-block;
  background: #1A567D;
  color: #fff;
  border-radius: 999px;
  font-weight: bold;
  padding: 10px 30px;
  font-size: 1.1rem;
  margin-top: 8px;
  margin-bottom: 8px;
  box-shadow: 0 2px 14px 0 rgba(26,86,125,0.08);
  border: none;
  cursor: pointer;
  transition: background 0.22s, box-shadow 0.18s;
}
.cta.primary, a.cta.primary {
  background: #26A35B;
  color: #fff;
  box-shadow: 0 2px 18px 0 rgba(38,163,91,0.09);
}
.cta.primary:hover, a.cta.primary:hover {
  background: #1A567D;
  color: #fff;
  box-shadow: 0 6px 20px 0 rgba(26,86,125,0.11);
}
.cta:hover, a.cta:hover {
  background: #185172;
}

button.cta, input[type=submit].cta {
  border: none;
  outline: none;
}

/* TAGS */
.tag {
  display: inline-block;
  background: #eafbee;
  color: #26A35B;
  font-size: 0.9rem;
  padding: 3px 13px;
  border-radius: 12px;
  margin-right: 6px;
  margin-top: 3px;
}

/* TABLES */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 22px;
  font-size: 1.03rem;
  background: #f4f8fd;
  border-radius: 10px;
  overflow: hidden;
}
table th, table td {
  padding: 13px 8px;
  border-bottom: 1px solid #e3eeef;
}
thead {
  background: #26A35B;
  color: #fff;
}
table th:last-child, table td:last-child {
  text-align: right;
}
table tr:last-child td {
  border-bottom: none;
}
tbody tr:hover {
  background: #d2f1df;
  transition: background 0.18s;
}

/* ICONS WITHIN LISTS */
li img {
  vertical-align: middle;
  margin-right: 7px;
  width: 24px;
  height: 24px;
}

/* FOOTER */
footer {
  background: linear-gradient(91deg, #eaf2fb 0%, #edf8f4 100%);
  padding: 40px 16px 16px 16px;
  box-shadow: 0 -2px 12px 0 rgba(26,86,125,0.04);
}
footer .container {
  padding: 0;
}
footer nav.footer-nav a {
  color: #1A567D;
  margin: 0 1px;
  font-size: 0.97rem;
}
footer nav.footer-nav a:hover {
  color: #26A35B;
}
footer img {
  height: 40px;
  margin-bottom: 14px;
}
footer p, footer address {
  color: #444;
  font-size: 0.98rem;
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  background: #fff;
  color: #1A567D;
  border: 2px solid #1A567D;
  border-radius: 13px;
  font-size: 2rem;
  width: 44px;
  height: 44px;
  cursor: pointer;
  position: absolute;
  top: 9px; right: 18px;
  z-index: 22;
  transition: background 0.18s, box-shadow 0.16s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #d2f1df;
  box-shadow: 0 2px 8px rgba(38,163,91,0.14);
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(26,86,125,0.94);
  z-index: 999;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transition: transform 0.36s cubic-bezier(.74,.41,.26,.93), opacity 0.19s;
  transform: translateX(100vw);
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
  animation: mobileMenuFadeIn 0.3s;
}
@keyframes mobileMenuFadeIn {
  from { opacity: 0; transform: translateX(100vw); }
  to { opacity: 1; transform: translateX(0); }
}
.mobile-menu-close {
  background: #fff;
  color: #1A567D;
  border: 2px solid #26A35B;
  border-radius: 12px;
  font-size: 2.1rem;
  margin: 22px 0 24px 20px;
  width: 52px;
  height: 52px;
  align-self: flex-start;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.12s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  background: #ecffe9;
  box-shadow: 0 2px 8px rgba(38,163,91,0.14);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-left: 32px;
  margin-top: 16px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.45rem;
  font-weight: bold;
  padding: 10px 6px;
  border-radius: 9px;
  transition: background 0.13s, color 0.16s;
  line-height: 1.4;
  margin-bottom: 4px;
  min-width: 172px;
}
.mobile-nav a:active, .mobile-nav a:focus, .mobile-nav a:hover {
  background: #26A35B;
  color: #fff;
  outline: none;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
  .main-nav {
    max-width: 950px;
    flex-wrap: wrap;
    gap: 11px;
  }
  .container {
    max-width: 98vw;
  }
}
@media (max-width: 900px) {
  .main-nav {
    font-size: 1rem;
    gap: 7px;
  }
  .container {
    max-width: 96vw;
  }
}
@media (max-width: 768px) {
  body {
    font-size: 15px;
  }
  
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .container {
    padding: 0 6px;
  }
  .content-wrapper {
    gap: 16px;
  }
  .testimonial-card {
    max-width: 99vw;
    font-size: 1rem;
  }
  .section, section {
    padding: 30px 6px;
    margin-bottom: 36px;
    border-radius: 10px;
  }
  .text-image-section, 
  .content-grid {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 16px;
  }
  .card-container {
    flex-direction: column;
    gap: 12px;
  }
  footer .content-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .footer-social {
    margin-bottom: 16px;
  }
}
@media (max-width: 480px) {
  h1 {
    font-size: 1.4rem;
  }
  h2 {
    font-size: 1.18rem;
  }
  .cta, a.cta {
    font-size: 1rem;
    padding: 8px 22px;
  }
}

/* SPACING & FLEXIFY */
.section, section, .card, .testimonial-card, .content-wrapper, .content-grid, .card-container, .text-image-section, .feature-item {
  margin-bottom: 20px;
}
.content-wrapper > *:not(:last-child) {
  margin-bottom: 16px;
}

/* MICRO-INTERACTIONS & TRANSITIONS */
.cta, a.cta, .main-nav a, .mobile-nav a {
  transition: background 0.18s, color 0.17s, box-shadow 0.13s;
}
.card:hover, .testimonial-card:hover {
  box-shadow: 0 4px 24px 0 rgba(26,86,125,0.16);
  transition: box-shadow 0.21s;
  transform: translateY(-2px) scale(1.012);
}
li, .feature-item, .text-section > * {
  transition: color 0.11s, background 0.12s;
}
ul li:hover, ol li:hover {
  background: #eafbee;
  color: #1A567D;
  border-radius: 9px;
}

/* --------- COOKIE BANNER --------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #fff;
  box-shadow: 0 -2px 16px 0 rgba(26,86,125,0.13);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 20px 12px 16px 12px;
  z-index: 99999;
  font-size: 1rem;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  animation: cookieSlideIn 0.44s cubic-bezier(.61,1.41,.44,.97);
}
@keyframes cookieSlideIn {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  color: #263446;
}
.cookie-btn-group {
  display: flex;
  gap: 12px;
  margin-top: 2px;
}
.cookie-btn {
  padding: 8px 20px;
  background: #1A567D;
  color: #fff;
  border: none;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s, color 0.12s;
}
.cookie-btn.primary {
  background: #26A35B;
}
.cookie-btn.settings {
  background: #fff;
  color: #1A567D;
  border: 1.5px solid #1A567D;
}
.cookie-btn:hover, .cookie-btn.settings:hover {
  background: #185172;
  color: #fff;
}
.cookie-btn.primary:hover {
  background: #1A567D;
}
.cookie-banner .cookie-btn.reject {
  background: #fff;
  color: #26A35B;
  border: 1.5px solid #26A35B;
}
.cookie-btn.reject:hover {
  color: #fff;
  background: #26A35B;
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal {
  position: fixed;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(38,86,125,0.32);
  z-index: 100001;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  opacity: 1;
  animation: fadeModalIn 0.26s;
}
@keyframes fadeModalIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal-content {
  background: #fff;
  border-radius: 14px;
  padding: 32px 26px 22px 26px;
  min-width: 310px; max-width: 96vw;
  max-width: 420px;
  box-shadow: 0 8px 32px 0 rgba(26,86,125,0.16);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.cookie-modal-content h2 {
  color: #1A567D;
  font-size: 1.24rem;
  margin-bottom: 14px;
}
.cookie-modal-content ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 18px;
  width: 100%;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 8px;
}
.cookie-category input[type=checkbox] {
  width: 21px;
  height: 21px;
  accent-color: #26A35B;
}
.cookie-category label {
  font-size: 1rem;
  color: #22313a;
  font-weight: 600;
}
.cookie-modal-content .cookie-actions {
  display: flex;
  gap: 12px;
  margin-top: 8px;
  width: 100%;
  justify-content: flex-end;
}
.cookie-modal-close {
  background: transparent;
  border: none;
  color: #22313a;
  font-size: 1.8rem;
  position: absolute;
  top: 18px;
  right: 28px;
  cursor: pointer;
  transition: color 0.12s;
}
.cookie-modal-close:hover {
  color: #26A35B;
}

@media (max-width: 568px) {
  .cookie-modal-content { padding: 18px 6px 13px 14px; }
}

/* ACCESSIBILITY FOCUS */
a:focus-visible, .cta:focus-visible, .cookie-btn:focus-visible, .mobile-nav a:focus-visible {
  outline: 2px solid #26A35B;
  outline-offset: 1px;
}

/* Utility classes for spacing */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-24 { margin-top: 24px !important; }
.mb-24 { margin-bottom: 24px !important; }
.mt-40 { margin-top: 40px !important; }
/* END CSS */
