/* ================================================================================
   CSS Reset & Base 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;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
  background: #F6F7F2;
}
*, *:before, *:after { box-sizing: inherit; }
body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #2B2F23;
  background: #F6F7F2; /* subtle light earth base */
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  overscroll-behavior: none;
}
img {
  max-width: 100%;
  display: block;
  border: none;
}
a {
  color: #379C66;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #215841;
}
ul, ol {
  margin-left: 20px;
}
strong {
  font-weight: 700;
  color: #1A3766;
}

/* =============================================================================
   Typography / Headlines
============================================================================= */
h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', 'Arial Rounded MT Bold', Arial, sans-serif;
  color: #1A3766;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  line-height: 1.15;
}
h1 { font-size: 2.5rem; font-weight: 700; margin-bottom: 20px; }
h2 { font-size: 2rem; font-weight: 600; margin-bottom: 18px; }
h3 { font-size: 1.5rem; font-weight: 600; margin-bottom: 12px; color: #27684E; }
h4 { font-size: 1.125rem; font-weight: 500; margin-bottom: 10px; color:#3D331A; }

p {
  margin-bottom: 17px;
  color: #3e4534;
  word-break: break-word;
}
.text-link {
  color: #379C66;
  text-decoration: underline;
}
.text-link:hover { color: #215841; }

/* =============================================================================
   Containers, Section Spacing, Layout Patterns
============================================================================= */
.container {
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  /* Fluid spacing for desktop */
  padding: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 4px 32px rgba(56,74,40,0.04);
}

/* Specific section backgrounds for nature/organic character */
.hero {
  background: #E5EFE6 url('../assets/bg-leaf.svg') no-repeat right bottom/220px;
  border-radius: 0 0 40px 40px;
  margin-bottom: 60px;
  padding-top: 32px;
  padding-bottom: 32px;
  /* subtle organic shape */
}
.features,
.services,
.cta,
.news-teaser,
.benefits,
.info,
.updates,
.form,
.confirmation,
.legal {
  margin-bottom: 60px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 2px 16px rgba(56,74,40,0.07);
}
/* create gentle color for testimonials */
.testimonials {
  background: #F9FAF6;
  padding-bottom: 50px;
  border-radius: 32px;
  margin-bottom: 60px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 2px 10px rgba(81,98,71,0.04);
  transition: box-shadow 0.28s cubic-bezier(.23,1,.32,1);
  padding: 24px 20px;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(55,156,102,0.16);
  z-index: 2;
}
.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;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 1px 12px rgba(56, 74, 40, 0.045);
  margin-bottom: 20px;
  border-left: 6px solid #379C66;
  max-width: 560px;
  transition: box-shadow 0.18s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 24px rgba(55, 156, 102, 0.12);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}
.footer-top, .footer-bottom {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-bottom: 20px;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
  color: #425336;
  font-size: 1rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 18px;
}
.footer-nav a { font-size: 1rem; color: #379C66; font-weight: 500; }
.footer-nav a:hover { color: #1A3766; }

footer {
  background: #EDE9E2;
  border-radius: 34px 34px 0 0;
  box-shadow: 0 -2px 24px rgba(81,98,71,0.05);
  padding: 32px 0 20px 0;
}
.tagline {
  color: #379C66;
  font-size: 1.125rem;
  font-style: italic;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-left: 6px;
}

/* =============================================================================
   Navbar & Header
============================================================================= */
header {
  background: #fff;
  box-shadow: 0 3px 24px rgba(76,110,89,0.04);
  border-radius: 0 0 32px 32px;
  z-index: 50;
  position: relative;
  padding-top: 8px;
  margin-bottom: 30px;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.logo img {
  display: block;
  height: 54px;
  width: auto;
  transition: transform .18s;
}
.logo:hover img {
  transform: scale(1.06) rotate(-2deg);
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  color: #1A3766;
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 10px;
  transition: background 0.18s, color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #fff;
  background: #379C66;
}
.btn {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 30px;
  padding: 12px 32px;
  border: none;
  background: #379C66;
  color: #fff;
  font-weight: 700;
  margin-left: 15px;
  box-shadow: 0 2px 8px rgba(55,156,102,0.09);
  cursor: pointer;
  transition: background .16s, box-shadow .2s;
  position: relative;
  outline: none;
}
.btn-primary {
  background: #379C66;
  color: #fff;
  border: 1.5px solid #1A3766;
}
.btn-primary:hover, .btn-primary:focus {
  background: #1A3766;
  color: #fff;
  box-shadow: 0 4px 18px rgba(55,156,102,0.18);
}

/* Subtle organic button variants */
.btn[disabled] {
  background: #B8C4AC;
  color: #F3F5F7;
  cursor: not-allowed;
  border-color: #ced7c1;
}

.text-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 0;
}

/* =============================================================================
   TABLES (schedule.html)
============================================================================= */
table {
  border-collapse: collapse;
  width: 100%;
  margin: 20px 0 28px 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(55,156,102,0.06);
  background: #F6FAF5;
}
thead {
  background: #E5EFE6;
}
th, td {
  padding: 13px 12px;
  text-align: left;
}
th {
  color: #1A3766;
  font-size: 1.1rem;
  border-bottom: 2px solid #C7D6CB;
}
td {
  font-size: 1rem;
  border-bottom: 1px solid #E3EAE1;
  color: #37533E;
}
tr:last-child td {
  border-bottom: none;
}
.legend {
  font-size: 0.95rem;
  margin: 20px 0;
  color: #277547;
}
.notice-board {
  background: #F3F5F7;
  border-left: 5px solid #B8C4AC;
  padding: 14px 18px;
  border-radius: 9px;
  margin: 16px 0 10px 0;
}

/* =============================================================================
   Cards & Testimonial Styling
============================================================================= */
.testimonials h2 {
  margin-bottom: 28px;
}

.testimonial-card p {
  font-size: 1.1rem;
  color: #205632;
  font-style: italic;
}
.testimonial-card strong {
  font-size: 1rem;
  color: #1A3766;
  font-weight: 700;
  margin-left: 14px;
  letter-spacing: 0.1px;
}

/* =============================================================================
   Forms (Form Section Substitute Styling)
============================================================================= */
.form ul {
  padding-left: 0;
  margin-left: 0;
  list-style: disc inside none;
}
.form ul li {
  margin-bottom: 10px;
  color: #206A3F;
}
.form p strong { color: #1A3766; }

/* =============================================================================
   Responsive & Mobile
============================================================================= */
@media (max-width: 1024px) {
  .container { max-width: 94vw; }
  header .container { gap: 8px; }
}
@media (max-width: 768px) {
  .container {
    padding: 0 10px;
  }
  header .container {
    flex-direction: row;
    gap: 3px;
  }
  .main-nav {
    display: none; /* hide main nav on mobile */
  }
  .footer-nav, .footer-contact {
    flex-wrap: wrap;
    gap: 8px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card { flex-direction: column; gap: 7px; max-width: 100%; }
}
@media (max-width: 600px) {
  header .container {
    padding: 5px 5px 5px 8px;
    gap: 4px;
  }
  .logo img { height: 40px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  .section, .hero, .testimonials, .cta, .features {
    padding: 23px 5px;
    border-radius: 17px;
    margin-bottom: 30px;
  }
  footer {
    padding: 15px 0 8px 0;
    border-radius: 17px 17px 0 0;
  }
  .content-wrapper {
    padding: 0 0 15px 0;
  }
}

/* =============================================================================
   Hamburger Menu (Mobile)
============================================================================= */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #379C66;
  margin-left: 14px;
  padding: 6px 10px;
  border-radius: 11px;
  cursor: pointer;
  z-index: 110;
  transition: background 0.16s, color 0.18s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #E6F2E8;
  color: #205632;
}

@media (max-width: 990px) {
  .mobile-menu-toggle {
    display: block;
  }
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(242, 247, 239, 0.98);
  z-index: 1200;
  transform: translateX(-100%);
  transition: transform 0.38s cubic-bezier(.65,.13,.45,1.22);
  overflow-y: auto;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  font-size: 2.3rem;
  background: none;
  border: none;
  color: #1A3766;
  align-self: flex-end;
  margin: 18px 28px 8px 0;
  cursor: pointer;
  z-index: 1240;
  transition: color .18s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: #379C66;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 12px 32px 24px 32px;
  gap: 24px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.18rem;
  padding: 10px 8px 10px 0;
  color: #215841;
  border-radius: 11px;
  font-weight: 600;
  letter-spacing: 0.2px;
  transition: background .14s, color .16s;
  width: 98vw;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: #EDE9E2;
  color: #379C66;
}

/* Hide scrollbars in overlay (but allow scrolling content) */
.mobile-menu::-webkit-scrollbar { width: 0px; background: transparent; }

/* =============================================================================
   Cookie Consent Banner & Modal
============================================================================= */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #3C4C34;
  color: #fff;
  padding: 22px 16px 22px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 38px;
  z-index: 2000;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -2px 16px rgba(44,46,28,0.13);
  animation: cookieSlideIn 0.66s cubic-bezier(.59,.01,.35,1.25);
}
@keyframes cookieSlideIn {
  from {transform: translateY(100%); opacity:0;}
  to {transform: translateY(0); opacity:1;}
}
.cookie-banner-text {
  flex: 1 1 340px;
  font-size: 1rem;
  color: #fff;
}
.cookie-banner-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-btn {
  background: #379C66;
  color: #fff;
  font-weight: 700;
  padding: 10px 28px;
  border: none;
  border-radius: 99px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.14s, box-shadow 0.18s;
  box-shadow: 0 2px 9px rgba(54,147,99,0.07);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #1A3766;
  color: #fff;
}
.cookie-btn.cookie-btn-secondary {
  background: #E5EFE6;
  color: #215841;
  border: 1.2px solid #379C66;
}
.cookie-btn.cookie-btn-secondary:hover, .cookie-btn.cookie-btn-secondary:focus {
  background: #D6E6D9;
  color: #1A3766;
}

/* Cookie Preferences Modal */
.cookie-modal {
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%) scale(0.92);
  z-index: 2100;
  min-width: 320px; max-width: 90vw;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 48px rgba(56,74,40,0.19);
  padding: 34px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.32s, transform 0.36s;
  animation: cookieModalIn 0.4s cubic-bezier(.47,.01,.42,1.28);
}
@keyframes cookieModalIn {
  from {opacity:0; transform:translate(-50%, -60%) scale(0.78);}
  to {opacity:1; transform:translate(-50%, -50%) scale(1);}
}
.cookie-modal-close {
  position: absolute;
  top: 18px; right: 17px;
  background: none;
  border: none;
  color: #379C66;
  font-size: 2rem;
  cursor: pointer;
  transition: color 0.18s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #1A3766;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 13px 0;
  border-bottom: 1px solid #E6ECE6;
}
.cookie-category:last-child { border-bottom: none; }
.cookie-category-label {
  font-size: 1.1rem;
  color: #1A3766;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
}
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 44px; height: 26px;
}
.toggle-switch input {
  opacity: 0; width: 0; height: 0;
}
.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #E5EFE6;
  border-radius: 20px;
  transition: background .24s;
}
.toggle-switch input:checked + .toggle-slider {
  background: #379C66;
}
.toggle-slider:before {
  position: absolute;
  content: "";
  height: 20px; width: 20px;
  left: 3px; bottom: 3px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(95,156,102,0.09);
  transition: transform .19s;
}
.toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(18px);
}

/* Cookie Modal - Category disabled (for Essential) */
.cookie-category.essential .cookie-category-label { color: #B8C4AC; }
.cookie-category.essential .toggle-switch { pointer-events: none; opacity: .56; }

/* Modal Overlay */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(44,46,28,0.47);
  z-index: 2099;
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    gap: 12px;
    padding: 16px 6px;
    font-size: 0.97rem;
    border-radius: 18px 18px 0 0;
  }
  .cookie-modal {
    padding: 26px 7px;
    font-size: 0.98rem;
  }
}

/* =============================================================================
   Misc/Other Classes
============================================================================= */
.section, .features, .services, .cta, .news-teaser, .benefits, .info, .updates, .form, .confirmation, .legal {
  margin-bottom: 60px !important;
}

::-selection {
  background: #CAEDD7;
  color: #1A3766;
}

/* Decorative shapes for nature/organic accent (using clip-path & background) */
.section, .hero, .features, .testimonials {
  position: relative;
  overflow: hidden;
}
.section:before, .hero:before, .testimonials:before {
  content: "";
  position: absolute;
  bottom: -30px;
  right: -62px;
  width: 140px;
  height: 140px;
  background: #CAEDD7;
  opacity: 0.23;
  border-radius: 45% 55% 40% 60%/60% 40% 60% 40%;
  pointer-events: none;
  z-index: 1;
}
.testimonials:before {
  width: 176px; height: 120px; left: -36px; bottom: -20px; right: initial;
  border-radius: 60% 40% 30% 70%/40% 60% 60% 40%; background: #F8E8C2; opacity:.13;
}
.hero:before {
  width: 220px; height: 130px; left: -20px; right: initial; bottom: -24px;
  border-radius: 40% 60% 55% 45%/45% 55% 40% 60%; background: #B8C4AC; opacity: .18;
}

@media (max-width:640px) {
  .section:before, .hero:before, .testimonials:before {
    display: none;
  }
}

/* =============================================================================
   Focus & Accessibility
============================================================================= */
:focus-visible {
  outline: 2.5px dotted #379C66;
  outline-offset: 2px;
}

/* =============================================================================
   Utility
============================================================================= */
.mt-0 { margin-top: 0!important; }
.mb-0 { margin-bottom: 0!important; }
.mt-16 { margin-top: 16px!important; }
.mb-16 { margin-bottom: 16px!important; }

/* =============================================================================
   Hide elements if needed
============================================================================= */
.visually-hidden { position: absolute !important; height: 1px; width: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* END OF CSS */
