/* 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;
  font-size: 100%;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: linear-gradient(135deg, #D1F2E2 0%, #ffffff 100%);
  color: #155940;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #17694A;
  text-decoration: none;
  transition: color 0.2s;
  font-weight: 500;
}
a:hover, a:focus {
  color: #155940;
  text-decoration: underline;
}
button, .cta-primary {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #17694A;
}
h1 {font-size: 2.25rem; margin-bottom: 20px;}
h2 {font-size: 1.6rem; margin-bottom: 18px;}
h3 {font-size: 1.2rem; margin-bottom: 10px;}
h4, h5, h6 {margin-bottom: 8px;}
p, ul, ol, address {
  font-size: 1rem;
  margin-bottom: 14px;
}
ul, ol {
  list-style: inside disc;
  margin-bottom: 20px;
}
li {
  margin-bottom: 8px;
}
strong {
  font-weight: 600;
}

/* CONTAINER & SPACING */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* HEADER & NAV */
header {
  background: linear-gradient(90deg, #D1F2E2 0%, #fff 100%);
  box-shadow: 0 2px 12px rgba(23,105,74,0.06);
  position: sticky;
  top: 0;
  z-index: 10;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
  gap: 8px;
}
.logo {
  display: flex;
  align-items: center;
  margin-right: 20px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  font-size: 1rem;
  padding: 8px 0;
  border-radius: 4px;
  transition: background 0.15s, color 0.15s;
  color: #17694A;
}
.main-nav a:hover,
.main-nav a:focus {
  background: #D1F2E2;
  color: #155940;
}
.main-nav .cta-primary {
  background: #17694A;
  color: #fff;
  padding: 8px 22px;
  border-radius: 22px;
  margin-left: 10px;
  box-shadow: 0 2px 8px rgba(23,105,74,0.1);
  transition: background 0.18s, color 0.18s, box-shadow 0.2s;
  border: none;
  outline: none;
  font-size: 1.06rem;
  font-weight: 700;
}
.main-nav .cta-primary:hover {
  background: #155940;
  color: #fff;
  box-shadow: 0 4px 12px rgba(21,89,64,0.12);
}
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: transparent;
  border: none;
  color: #17694A;
  margin-left: 16px;
  cursor: pointer;
  transition: color 0.18s;
}
.mobile-menu-toggle:focus {
  outline: none;
  color: #155940;
}

/* MOBILE MENU */
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  right: 0;
  width: 92vw;
  max-width: 360px;
  height: 100vh;
  background: #fff;
  box-shadow: -4px 0 28px rgba(23,105,74,0.18);
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(.66,.19,.3,1.16);
  z-index: 100;
  padding: 24px 22px 20px 22px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2rem;
  background: none;
  border: none;
  color: #17694A;
  margin-bottom: 14px;
  cursor: pointer;
  transition: color 0.15s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  color: #155940;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.mobile-nav a {
  font-size: 1.1rem;
  color: #17694A;
  padding: 12px 0;
  border-radius: 6px;
  transition: background 0.14s, color 0.14s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #D1F2E2;
  color: #155940;
}

@media (max-width: 1100px) {
  .main-nav {
    gap: 14px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 8px;
  }
  .main-nav .cta-primary {
    padding: 7px 13px;
    font-size: 1rem;
    margin-left: 2px;
  }
}
@media (max-width: 800px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}
/* Make sure mobile menu overlays everything */
@media (max-width: 800px) {
  .mobile-menu {
    display: flex;
  }
}

/* HERO SECTION */
.hero {
  background: linear-gradient(110deg, #D1F2E2 0%, #fff 70%);
  min-height: 320px;
  display: flex;
  align-items: center;
  margin-bottom: 60px;
  padding-top: 40px;
  padding-bottom: 40px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  height: 100%;
}
.hero .content-wrapper {
  gap: 20px;
}
.hero h1 {
  color: #17694A;
  font-size: 2.5rem;
  letter-spacing: -1px;
  margin-bottom: 16px;
}
.hero p {
  font-size: 1.15rem;
  color: #155940;
  margin-bottom: 32px;
}
.hero .cta-primary {
  background: linear-gradient(90deg, #17694A 60%, #155940 100%);
  color: #fff;
  box-shadow: 0 3px 16px rgba(23,105,74,0.12);
}
/* Sections */
.section, .features, .services, .about-home, .testimonials, .about, .contact-details, .confirmation, .legal {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* FEATURES SECTION */
.features .feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: stretch;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(21,89,64,0.07);
  padding: 28px 22px;
  min-width: 185px;
  flex: 1 0 185px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.feature-item img {
  width: 44px;
  height: 44px;
}
.feature-item h3 {
  font-size: 1.13rem;
  margin-bottom: 4px;
}
.feature-item p {
  color: #17694A;
  font-size: 1rem;
}
.feature-item:hover {
  box-shadow: 0 4px 20px rgba(21,89,64,0.11);
  transform: translateY(-4px) scale(1.018);
}

/* SERVICES SECTION */
.services .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.service-item {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 10px rgba(21,89,64,0.08);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 26px 22px 18px 22px;
  margin-bottom: 20px;
  min-width: 210px;
  flex: 1 0 210px;
  position: relative;
  transition: box-shadow 0.17s, transform 0.16s;
}
.service-item img {
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
}
.service-item h3 {
  margin-bottom: 4px;
}
.service-highlight {
  border: 2px solid #D1F2E2;
  box-shadow: 0 4px 16px rgba(23,105,74,0.10);
  z-index: 1;
}
.service-item:hover, .service-highlight:hover {
  box-shadow: 0 6px 24px rgba(23,105,74,0.13);
  transform: scale(1.018);
}
.service-price {
  background: #D1F2E2;
  color: #17694A;
  font-weight: 600;
  padding: 6px 18px;
  border-radius: 14px;
  font-size: 1rem;
  margin-top: 6px;
  align-self: flex-end;
}
.services .cta-primary {
  margin-top: 18px;
  align-self: flex-start;
}

/* ABOUT & TEXT SECTIONS */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(21,89,64,0.07);
  padding: 28px 22px;
}
.text-section ul {
  padding-left: 18px;
  margin-bottom: 18px;
}
.text-section li {
  list-style-type: disc;
}

/* ARTICLE TEASERS & TOPIC LIST */
.article-teasers {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 30px;
}
.article-teasers li {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2px 9px rgba(21,89,64,0.07);
  padding: 18px 16px 16px 18px;
}
.topic-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.topic-list li {
  background: #D1F2E2;
  color: #17694A;
  border-radius: 14px;
  padding: 6px 15px;
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 8px;
}
.topic-filter {
  background: #f8faf9;
  border-radius: 10px;
  padding: 12px 16px;
  box-shadow: 0 2px 6px rgba(21,89,64,0.04);
  margin-top: 6px;
}
.topic-filter strong {
  display: block;
  margin-bottom: 8px;
}
.topic-filter ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-left: 0;
  margin-bottom: 0;
}

/* TESTIMONIALS */
.testimonials {
  background: linear-gradient(85deg, #D1F2E2 0%, #fff 85%);
  padding-top: 54px;
  padding-bottom: 54px;
}
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 20px 18px 22px;
  margin-bottom: 20px;
  min-width: 230px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 10px rgba(21,89,64,0.10);
  transition: box-shadow 0.18s, transform 0.16s;
  max-width: 330px;
  flex: 1 0 230px;
}
.testimonial-card p {
  color: #155940;
  font-size: 1.08rem;
}
.testimonial-user {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #17694A;
  font-size: 1rem;
  font-weight: 700;
  opacity: 0.88;
  margin-top: 5px;
}
.testimonial-card:hover {
  box-shadow: 0 6px 22px rgba(21,89,64,0.14);
  transform: translateY(-2px) scale(1.011);
}

/* CONTACT & CONFIRMATION */
.contact-details, .confirmation {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 9px rgba(21,89,64,0.08);
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 40px 22px 36px 22px;
  margin-bottom: 60px;
}
.confirmation {
  text-align: center;
  align-items: center;
  margin-top: 60px;
}
.confirmation h1 {
  color: #17694A;
  margin-bottom: 12px;
}
.confirmation p {
  font-size: 1.08rem;
  margin-bottom: 28px;
  color: #155940;
}

/* LEGAL PAGES */
.legal {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(21,89,64,0.07);
}
.legal .text-section h2 {
  font-size: 1.15rem;
  margin-top: 16px;
}
.legal .text-section ul {margin-bottom: 20px;}
.legal .text-section li {list-style-type: disc; margin-bottom: 6px;}

/* FOOTER */
footer {
  background: linear-gradient(100deg, #17694A 0%, #155940 100%);
  color: #fff;
  padding-top: 32px;
  padding-bottom: 22px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 42px;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 270px;
}
.footer-contact a {
  color: #fff;
  text-decoration: underline;
}
.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-menu a {
  color: #fff;
  opacity: 0.9;
  font-size: 1rem;
  transition: opacity 0.15s;
}
.footer-menu a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* PRIMARY CTA BUTTONS */
.cta-primary {
  display: inline-block;
  background: linear-gradient(90deg, #17694A 60%, #155940 100%);
  color: #fff;
  font-weight: 700;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.07rem;
  border-radius: 26px;
  padding: 11px 33px;
  text-align: center;
  box-shadow: 0 3px 16px rgba(23,105,74,0.16);
  border: none;
  outline: none;
  margin-top: 8px;
  margin-bottom: 12px;
  transition: background 0.21s, color 0.17s, box-shadow 0.18s, transform 0.13s;
  cursor: pointer;
}
.cta-primary:hover, .cta-primary:focus {
  background: linear-gradient(90deg, #155940 60%, #17694A 100%);
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 24px rgba(21,89,64,0.18);
  text-decoration: none;
}

/* COOKIE BANNER */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  background: #fff;
  box-shadow: 0 -3px 16px rgba(23,105,74,0.16);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 26px 28px;
  min-height: 44px;
  font-size: 1.01rem;
  transition: transform 0.28s cubic-bezier(.69,.15,.27,1.05);
}
.cookie-banner.hide {
  transform: translateY(160%);
}
.cookie-banner .cookie-text {
  color: #155940;
  max-width: 460px;
  font-size: 1rem;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 18px;
}
.cookie-banner .cookie-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  border: none;
  outline: none;
  border-radius: 20px;
  padding: 8px 22px;
  cursor: pointer;
  transition: background 0.17s, color 0.17s, box-shadow 0.17s;
  margin: 0;
}
.cookie-btn.accept {
  background: #17694A;
  color: #fff;
  font-weight: 700;
}
.cookie-btn.accept:hover {
  background: #155940;
}
.cookie-btn.reject {
  background: #D1F2E2;
  color: #17694A;
  font-weight: 700;
}
.cookie-btn.reject:hover {
  background: #c4e9da;
}
.cookie-btn.settings {
  background: #fff;
  color: #17694A;
  border: 1.5px solid #D1F2E2;
}
.cookie-btn.settings:hover {
  background: #D1F2E2;
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(21, 89, 64, 0.22);
  z-index: 210;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.26s cubic-bezier(.69,.15,.27,1.05);
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 6px 27px rgba(21,89,64,0.15);
  max-width: 420px;
  width: 82vw;
  padding: 34px 28px 22px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  animation: cookie-popup 0.38s cubic-bezier(.69,.15,.27,1.05);
}
@keyframes cookie-popup {
  0% { transform: translateY(60px) scale(0.98); opacity: 0;}
  100% { transform: translateY(0) scale(1); opacity: 1;}
}
.cookie-modal h2 {
  font-size: 1.3rem;
  margin-bottom: 14px;
  color: #17694A;
}
.cookie-categories {
  width: 100%;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #F4FBF8;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 1rem;
}
.cookie-toggle {
  min-width: 42px;
  height: 24px;
  border-radius: 12px;
  background: #D1F2E2;
  position: relative;
  border: none;
  outline: none;
  margin-left: 16px;
  cursor: pointer;
  transition: background 0.16s;
}
.cookie-toggle[aria-checked="true"] {
  background: #17694A;
}
.cookie-toggle .cookie-toggle-circle {
  position: absolute;
  left: 4px;
  top: 3px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.20s;
}
.cookie-toggle[aria-checked="true"] .cookie-toggle-circle {
  left: 20px;
}
.cookie-pref-actions {
  display: flex;
  gap: 16px;
  margin-top: 12px;
  align-self: flex-end;
}
.cookie-pref-actions .cookie-btn {
  min-width: 80px;
}

/* CARDS, LAYOUTS & FLEX WRAPPERS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 2px 8px rgba(21,89,64,0.07);
  padding: 22px 18px;
  min-width: 200px;
  flex: 1 0 200px;
  transition: box-shadow 0.14s, transform 0.14s;
}
.card:hover {
  box-shadow: 0 4px 16px rgba(21,89,64,0.13);
  transform: scale(1.01);
}
.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;
}

/* SPACING BETWEEN ALL CONTENT CARDS/SECTIONS */
.section > *,
.features > *,
.services > *,
.about-home > *,
.testimonials > *,
.contact-details > *,
.confirmation > *,
.legal > * {
  margin-bottom: 20px;
}

/* ------------------- MEDIA QUERIES ------------------- */
@media (max-width: 900px) {
  h1 { font-size: 2.0rem;}
  .container {
    max-width: 98vw; padding-left: 10px; padding-right: 10px;
  }
  .hero {
    padding-top: 30px; padding-bottom: 26px;
  }
  .services .service-list, .features .feature-grid, .testimonial-slider {
    gap: 18px;
  }
  .service-item, .feature-item, .testimonial-card {
    min-width: 160px;
    padding: 19px 14px 14px 15px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 1.55rem; }
  h2 { font-size: 1.18rem; }
  .hero .container {
    padding-top: 15px; padding-bottom: 15px;
  }
  .hero {
    min-height: 180px;
    padding-top: 24px;
    padding-bottom: 16px;
  }
  .features .feature-grid, .services .service-list, .testimonial-slider, .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .section, .features, .services, .about-home, .testimonials, .about, .contact-details, .confirmation, .legal {
    padding: 24px 7vw;
    margin-bottom: 40px;
  }
  .card-container {
    flex-direction: column;
    gap: 14px;
  }
  .topic-list, .topic-filter ul {
    flex-direction: column;
    gap: 7px;
  }
  .footer-contact, .footer-menu { width: 100%; min-width: unset; }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .main-nav { display: none; }
  .mobile-menu-toggle {
    display: inline-block;
    margin-left: 6px;
  }
  footer .container {
    flex-direction: column;
    gap: 26px;
    padding-left: 6vw;
    padding-right: 6vw;
  }
}
@media (max-width: 500px) {
  html { font-size: 94%; }
  .section, .features, .services, .about-home, .testimonials, .about, .contact-details, .confirmation, .legal {
    padding: 18px 2vw;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 12px;
    padding: 18px 9px;
    font-size: 0.99rem;
  }
  .cookie-banner .cookie-actions {
    flex-direction: column; gap: 8px; align-items: flex-start;
  }
  .cookie-modal {
    padding: 13vw 5vw 17vw 5vw;
  }
}

/* SMOOTH TRANSITIONS FOR INTERACTIVE ELEMENTS */
a, button, .cta-primary, .feature-item, .service-item, .testimonial-card, .cookie-btn {
  transition: all 0.18s cubic-bezier(.45,.15,.35,1.25);
}

/* ACCESSIBILITY: FOCUS STYLES */
a:focus, button:focus, .cookie-btn:focus, .cta-primary:focus {
  outline: 2px solid #17694A;
  outline-offset: 2px;
  z-index: 2;
}

/* Hide elements class for JavaScript toggling */
.hide {
  display: none !important;
}

/* UTILITIES */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.text-center { text-align: center !important; }

/* End CSS */
