/*! 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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F5F7FA;
  color: #2D4057;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border: none;
}
a {
  color: #2D4057;
  text-decoration: none;
  transition: color 0.18s;
}
a:hover, a:focus {
  color: #3C8D4D;
}
ul, ol {
  margin-left: 1.25em;
  margin-bottom: 1em;
}
li {
  margin-bottom: 0.5em;
}
table { border-collapse: collapse; width: 100%; }
th, td { padding: 12px 8px; border-bottom: 1px solid #d6dbe5; }
th { background: #e5eaf0; text-align: left; }

/*! Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #2D4057;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; line-height: 1.1; margin-bottom: 16px; }
h2 { font-size: 2rem; line-height: 1.2; margin-bottom: 14px; }
h3 { font-size: 1.3rem; line-height: 1.3; margin-bottom: 10px; }
h4 { font-size: 1.1rem; margin-bottom: 8px; }
p, .text-section, small, label {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #313e4d;
}
p { margin-bottom: 16px; }
strong, b { font-weight: 700; }
small { font-size: 0.89rem; color: #6a7a98; }

/*! Layout Containers */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}
.content-wrapper {
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(45, 64, 87, 0.07);
}
h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
}

/*! Header & Navigation */
header {
  background: #fff;
  box-shadow: 0 1px 10px rgba(45,64,87,.06);
  padding: 0;
  position: relative;
  z-index: 101;
}
header .container {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
header img { max-height: 48px; margin-right: 26px; }
nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 7px 13px;
  border-radius: 8px;
  color: #2D4057;
  transition: background 0.2s, color 0.2s;
}
nav a:hover, nav a:focus {
  background: #e5eaf0;
  color: #3C8D4D;
}
.cta.primary {
  background: #2D4057;
  color: #fff !important;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 10px 28px;
  border-radius: 24px;
  font-weight: 700;
  letter-spacing: 0.03em;
  box-shadow: 0 4px 14px -8px #2D405733;
  border: none;
  cursor: pointer;
  transition: background 0.17s, color 0.17s, box-shadow 0.17s;
}
.cta.primary:hover, .cta.primary:focus {
  background: #3C8D4D;
  color: #fff;
  box-shadow: 0 6px 18px -8px #3C8D4D22;
}
.cta.secondary {
  background: #3C8D4D;
  color: #fff !important;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 10px 24px;
  border-radius: 24px;
  font-weight: 600;
  border: none;
  box-shadow: 0 4px 12px -8px #3C8D4D33;
  transition: background 0.17s;
}
.cta.secondary:hover, .cta.secondary:focus {
  background: #256d39;
  color: #fff;
}
.cta {
  display: inline-block;
  margin: 12px 0 0 0;
  text-align: center;
  line-height: 1.2;
  cursor: pointer;
  outline: none;
  text-decoration: none !important;
}

/*! Hero Section */
.hero {
  background: linear-gradient(94deg, #F5F7FA 60%, #e5eaf0 100%);
  margin-bottom: 60px;
  padding: 64px 0 36px 0;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
}
.hero h1 {
  font-size: 2.1rem;
  color: #2D4057;
  margin-bottom: 8px;
}
.hero p {
  font-size: 1.18rem;
  color: #425367;
  margin-bottom: 12px;
}

/*! Card & Feature Sections */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1px 8px rgba(45,64,87,0.08);
  padding: 28px 22px 22px 22px;
  margin-bottom: 20px;
  flex: 1 1 300px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 260px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 8px 24px rgba(45,64,87,0.13);
  transform: translateY(-4px) scale(1.012);
  z-index:2;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 16px;
}

/*! Content Lists & Grids */
.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;
  margin-bottom: 48px;
}

/*! Testimonials */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #e5eaf0;
  color: #2D4057;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px 0 #2D405711;
  font-style: italic;
  position: relative;
}
.testimonial-card p {
  flex: 1 1 0%;
  font-size: 1.08rem;
  color: #2D4057;
  margin-bottom: 8px;
}
.testimonial-card strong {
  font-style: normal;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #3C8D4D;
  margin-left: 14px;
}

/*! FAQ Section */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin: 12px 0 24px 0;
}
.faq-list h2 {
  font-size: 1.18rem;
  color: #2D4057;
  margin-bottom: 6px;
}
.faq-list p { color: #3b4255; }

/*! Table Styling */
table {
  border-radius: 10px;
  overflow: hidden;
  background: #f8fafc;
  margin: 24px 0;
  box-shadow: 0 1px 6px #2d405714;
}
th { background: #e5eaf0; }
td { background: #fff; }

/*! CTA Banner (Contact callout) */
.contact-cta,.cta {
  background: #2D4057;
  color: #fff;
  border-radius: 16px;
  margin-bottom: 60px;
  box-shadow: 0 4px 16px -8px #2D405744;
  padding: 38px 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-cta h2,.cta h2 {
  color: #fff;
}
.contact-cta p,.cta p { color: #e5eaf0; }
.contact-cta .cta, .cta .cta {
  background: #3C8D4D;
  color: #fff !important;
  margin-top: 18px;
}
.contact-cta .cta:hover, .cta .cta:hover {
  background: #256d39;
}

/*! Footer */
footer {
  background: #e5eaf0;
  padding: 32px 0;
  font-size: 1rem;
  color: #425367;
  margin-top: 62px;
}
footer .container {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 48px 32px;
  justify-content: space-between;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
footer nav a {
  font-size: 0.99rem;
  color: #243045;
  padding: 0;
  background: transparent;
}
footer nav a:hover, footer nav a:focus {
  color: #3C8D4D;
  background: transparent;
}
footer img {
  max-height: 42px;
  margin-bottom: 8px;
  margin-right: 0;
}
footer .text-section { max-width: 270px; }

/*! Burger Mobile Menu */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 24px;
  right: 28px;
  z-index: 200;
  width: 48px;
  height: 48px;
  background: #2D4057;
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 2rem;
  cursor: pointer;
  transition: background 0.18s;
  box-shadow: 0 3px 12px 0 #2d405714;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #3C8D4D;
  color: #fff;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; height: 100vh; width: 100vw;
  background: #2D4057;
  color: #fff;
  z-index: 210;
  padding-top: 0;
  transform: translateX(-100vw);
  transition: transform 0.32s cubic-bezier(.77,.2,.13,.91);
  box-shadow: 0 10px 64px -10px #2D4057aa;
}
.mobile-menu.open {
  transform: translateX(0);
  transition: transform 0.38s cubic-bezier(.77,.2,.13,.91);
}
.mobile-menu-close {
  align-self: flex-end;
  background: #3C8D4D;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 1.8rem;
  margin: 22px 28px 12px 0;
  padding: 4px 16px;
  cursor: pointer;
  transition: background 0.17s;
  z-index: 220;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #256d39;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
  padding: 36px 36px 24px 36px;
  width: 100%;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.18rem;
  font-weight: 600;
  padding: 9px 0 9px 2px;
  transition: color 0.17s, background 0.17s;
  border-radius: 6px;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  color: #3C8D4D;
  background: #e5eaf055;
}

/*! Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  color: #2D4057;
  border-top: 1.5px solid #e5eaf0;
  box-shadow: 0 -2px 18px 0 #2D405711, 0 -1px 0 #2d405720;
  z-index: 2200;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 12px 20px 12px;
  gap: 22px;
  font-size: 1rem;
  animation: cookieFadeIn 0.5s;
}
@keyframes cookieFadeIn {
  0% { opacity: 0; transform: translateY(100%); }
  100% { opacity: 1; transform: translateY(0); }
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.cookie-banner button {
  outline: none;
  border: none;
  padding: 10px 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 8px;
  font-weight: 600;
  margin-right: 4px;
  transition: background 0.17s, color 0.17s;
  cursor: pointer;
  box-shadow: 0 1px 6px #2D405711;
}
.cookie-banner .accept {
  background: #3C8D4D;
  color: #fff;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #256d39;
}
.cookie-banner .reject {
  background: #e5eaf0;
  color: #2D4057;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #2D4057;
  color: #fff;
}
.cookie-banner .settings {
  background: #2D4057;
  color: #fff;
}
.cookie-banner .settings:focus, .cookie-banner .settings:hover {
  background: #3C8D4D;
  color: #fff;
}

/*! Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(45,64,87,0.32);
  display: flex;
  align-items: center; justify-content: center;
  z-index: 2300;
  animation: cookieModalFade 0.18s;
}
@keyframes cookieModalFade {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #2D4057;
  border-radius: 16px;
  box-shadow: 0 6px 40px 0 #2D405733;
  padding: 32px 36px 28px 36px;
  min-width: 320px;
  max-width: 98vw;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: cookiePopIn 0.23s;
}
@keyframes cookiePopIn {
  from { transform: scale(.93) translateY(36px); opacity: 0; }
  to   { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal-close {
  align-self: flex-end;
  background: transparent;
  color: #2D4057;
  border: none;
  font-size: 2rem;
  margin-top: -16px;
  margin-right: -6px;
  cursor: pointer;
  padding: 2px 11px 0 11px;
  border-radius: 6px;
  transition: background 0.15s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #e5eaf0;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 7px;
}
.cookie-category label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.13rem;
  color: #2D4057;
  user-select: none;
}
.cookie-category input[type=checkbox] {
  width: 22px; height: 22px;
  accent-color: #3C8D4D;
  margin-right: 7px;
}
.cookie-category input[disabled] {
  opacity: 0.45;
}
.cookie-modal .accept {
  margin-top: 10px;
}

/*! Responsive Layout */
@media (max-width: 1100px) {
  .container { max-width: 94vw; }
  header .container { flex-wrap: wrap; gap: 16px; }
  footer .container { flex-direction: column; gap: 30px; }
}
@media (max-width: 900px) {
  .hero {
    padding: 36px 0 20px 0;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  .hero .container {
    flex-direction: column;
    gap: 20px;
  }
  .section, .contact-cta, .cta {
    padding: 24px 8px;
    margin-bottom: 36px;
  }
  .container { padding: 0 8px; }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
  header .container {
    flex-direction: row;
    gap: 8px;
    flex-wrap: wrap;
    min-height: 56px;
  }
  nav { display: none; }
  .cta.primary {
    min-width: 122px;
    padding: 8px 12px;
    font-size: 0.97rem;
  }
  .mobile-menu-toggle {
    display: block;
  }
  footer .container {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}
@media (max-width: 500px) {
  .hero h1 { font-size: 1.37rem; }
  .section, .contact-cta, .cta { padding: 13px 2vw; }
  table th, table td { font-size: 0.97rem; padding: 8px 3px; }
}
/*! Animate focus-visible for accessibility */
a:focus, button:focus, .cta:focus, .mobile-menu-toggle:focus, .mobile-menu-close:focus {
  outline: 2px solid #3C8D4D;
  outline-offset: 2px;
}
/*! Hide mobile menu when not visible */
.mobile-menu {
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  pointer-events: auto;
  opacity: 1;
}
/*! Hide navigation on small screens */
@media (max-width: 768px) {
  nav {
    display: none !important;
  }
}
/*! Show header nav on desktop, burger on mobile */
@media (min-width: 769px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}
/*! Misc spacing and utility */
p:last-child, .text-section:last-child, ul:last-child {
  margin-bottom: 0;
}
@media (max-width: 430px) {
  .cookie-modal { min-width: unset; font-size: 15px; padding: 13px 6px; }
  .cookie-modal .accept, .cookie-modal .reject, .cookie-modal .settings { font-size: 0.99rem; }
}
/*! Hide cookie modal by default */
.cookie-modal-overlay { display: none; }
.cookie-modal-overlay.active { display: flex; }
/*! Modules for possible fade out */
.cookie-banner.hide { animation: cookieFadeOut 0.45s forwards; }
@keyframes cookieFadeOut { to { opacity: 0; transform: translateY(80px);} }
