/* ---------------------------------------
   CSS Reset & Base
------------------------------------------ */
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 {
  font-size: 16px;
}
body {
  min-height: 100vh;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: 400;
  line-height: 1.75;
  color: #296740;
  background: #FFFAF0;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, picture, video, canvas, svg {
  display: inline-block;
  max-width: 100%;
  height: auto;
}
a {
  color: #296740;
  text-decoration: underline;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #00693e;
  text-decoration: none;
}
input, button, textarea, select {
  font: inherit;
  outline: none;
}
button, .cta-btn {
  cursor: pointer;
  border: none;
  appearance: none;
  background: none;
}

/*---------------------------------------
  Typography
---------------------------------------*/
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  margin-bottom: 16px;
  font-weight: 700;
  color: #296740;
  line-height: 1.15;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  font-weight: 600;
}
h4 { font-size: 1.125rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.95rem; }

/* Artistic headline effects */
h1, h2 {
  position: relative;
}
h1::after, h2::after {
  content: '';
  display: block;
  width: 40px;
  height: 4px;
  margin-top: 8px;
  border-radius: 2px;
  background: #8FBC8F;
}

p {
  margin-bottom: 16px;
  font-size: 1rem;
  color: #296740;
}
ul, ol {
  margin-left: 24px;
  margin-bottom: 16px;
  color: #296740;
}
li {
  margin-bottom: 8px;
  font-size: 1rem;
}
strong {
  font-weight: 700;
}

/* Featured/Decorative text */
.featured-tip h2 {
  color: #fff;
  background: #8FBC8F;
  padding: 6px 16px 6px 10px;
  border-radius: 20px 4px 20px 4px;
  display: inline-block;
  margin-bottom: 6px;
  font-size: 1.25rem;
  letter-spacing: 0.03em;
}

/*---------------------------------------
  Container & Sections
---------------------------------------*/
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 20px;
}
.text-section {
  padding: 18px 0;
}

/*---------------------------------------
  Header & Navigation
---------------------------------------*/
header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(41, 103, 64, 0.08);
  padding: 0;
  z-index: 20;
  border-bottom: 2px solid #EAEAEA;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 70px;
}
.logo img {
  height: 54px;
  width: auto;
  margin-right: 12px;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 26px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.01em;
  padding: 5px 10px;
  color: #296740;
  border-radius: 8px;
  position: relative;
  background: transparent;
  transition: background 0.15s, color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #8FBC8F;
  color: #fff;
}

/* Call to Action Button (desktop) */
.cta-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  background: #296740;
  color: #fff;
  font-size: 1.125rem;
  padding: 10px 28px;
  border-radius: 24px 6px 24px 6px;
  margin-left: 18px;
  border: 0;
  outline: none;
  box-shadow: 0 3px 20px rgba(41, 103, 64, 0.07);
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: background 0.18s, box-shadow 0.25s, transform 0.16s;
  position: relative;
  z-index: 1;
}
.cta-btn:hover, .cta-btn:focus {
  background: #8FBC8F;
  color: #296740;
  box-shadow: 0 8px 36px rgba(141,189,143,0.13);
  transform: translateY(-2px) scale(1.03);
}

/* Hamburger menu button */
.mobile-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #296740;
  background: #fff;
  border: 2px solid #8FBC8F;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  margin-left: 10px;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
  z-index: 55;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #8FBC8F;
  color: #fff;
}

/* Mobile menu overlay */
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(184,232,196, 0.98);
  z-index: 2000;
  transform: translateX(105%);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(.87,-0.41,.19,1.44), opacity 0.3s;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 26px 28px 16px 0;
  background: #296740;
  color: #fff;
  border: 0;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, color 0.15s;
  box-shadow: 0 4px 16px rgba(41,103,64,0.10);
  z-index: 2001;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #8FBC8F;
  color: #296740;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  align-items: flex-start;
  margin: 42px 0 0 38px;
  z-index: 2001;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  padding: 6px 18px;
  border-radius: 10px;
  color: #296740;
  background: transparent;
  transition: background 0.15s, color 0.12s;
  min-width: 180px;
  display: inline-block;
  outline: none;
}
.mobile-nav a:active, .mobile-nav a:hover, .mobile-nav a:focus {
  background: #296740;
  color: #fff;
}

/* Hide navigation on mobile */
@media (max-width: 960px) {
  .main-nav, .cta-btn {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 961px) {
  .mobile-menu {
    display: none !important;
  }
}

/*---------------------------------------
  Hero Section & Feature Grid
---------------------------------------*/
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: stretch;
  margin-bottom: 10px;
}
.feature-grid > div {
  background: #fff;
  border-radius: 22px 8px 22px 8px;
  box-shadow: 0 4px 22px rgba(141,189,143,0.10);
  padding: 28px 20px 22px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 230px;
  max-width: 320px;
  flex: 1 1 230px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.20s, transform 0.20s;
}
.feature-grid > div:hover {
  box-shadow: 0 8px 32px rgba(41,103,64,0.13);
  transform: translateY(-2px) scale(1.03);
}
.feature-grid img {
  width: 52px;
  height: 52px;
  margin-bottom: 8px;
  border-radius: 14px;
  background: #FFFAF0;
  box-shadow: 0 2px 8px rgba(141,189,143,0.08);
}

/*---------------------------------------
  Cards & Lists
---------------------------------------*/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(41,103,64,0.08);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 220px;
  padding: 24px 18px;
  transition: box-shadow 0.18s;
}
.card:hover {
  box-shadow: 0 10px 38px rgba(41,103,64,0.13);
}

/* List Grid for FAQ or Achievements */
.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;
}

/*---------------------------------------
  Testimonials
---------------------------------------*/
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 16px 40px 16px 8px;
  background: #fff;
  box-shadow: 0 4px 22px rgba(41,103,64,0.12);
  border-left: 6px solid #8FBC8F;
  max-width: 540px;
  min-width: 250px;
  word-break: break-word;
  transition: border-color 0.2s, box-shadow 0.20s;
}
.testimonial-card p {
  color: #222;
  font-size: 1.1rem;
  font-style: italic;
}
.testimonial-card span {
  color: #296740;
  font-weight: bold;
  font-size: 1rem;
  letter-spacing: 0.02em;
}
.testimonial-card .star-rating {
  color: #FFC107;
  font-size: 1.2rem;
  letter-spacing: 0.09em;
}

/* Card Grouping Flex (For Testimonials) */
.content-wrapper .testimonial-card + .testimonial-card {
  margin-left: 20px;
}

/*-----------------------------------------
  Cookie Consent Banner
-----------------------------------------*/
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #ffffff;
  color: #296740;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 -4px 24px rgba(41,103,64,0.13);
  padding: 16px 18px 12px 18px;
  gap: 16px;
  z-index: 3000;
  font-size: 1rem;
  animation: fadeInCookie 0.7s;
}
@keyframes fadeInCookie {
  0% { opacity: 0; transform: translateY(32px); }
  100% { opacity: 1; transform: translateY(0); }
}
.cookie-banner-buttons {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 6px;
}
.cookie-banner button {
  background: #8FBC8F;
  color: #296740;
  border: 0;
  border-radius: 19px 5px 19px 5px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 7px 24px;
  transition: background 0.19s, color 0.16s, box-shadow 0.20s;
  box-shadow: 0 2px 10px rgba(41,103,64,0.07);
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #296740;
  color: #fff;
}

/* Cookie modal overlay */
.cookie-modal {
  display: none;
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(41, 103, 64, 0.30);
  z-index: 4000;
  align-items: center;
  justify-content: center;
}
.cookie-modal.open {
  display: flex;
}
.cookie-modal-content {
  background: #fff;
  border-radius: 18px 8px 22px 8px;
  box-shadow: 0 8px 38px rgba(41,103,64,0.14);
  max-width: 420px;
  width: 95%;
  padding: 38px 32px 30px 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: slideCookieModal 0.4s;
}
@keyframes slideCookieModal {
  0% { opacity:0; transform: translateY(32px); }
  100% { opacity:1; transform: translateY(0); }
}
.cookie-modal-close {
  position: absolute;
  top: 18px; right: 18px;
  background: #296740;
  color: #fff;
  border: 0;
  border-radius: 50%;
  width: 34px; height: 34px;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.17s, color 0.13s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #8FBC8F;
  color: #296740;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.cookie-category input[type='checkbox'] {
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  border: 2px solid #8FBC8F;
  background: #FFFAF0;
  outline: none;
  position: relative;
  margin:0;
  cursor: pointer;
}
.cookie-category input[type='checkbox']:checked {
  background: #8FBC8F;
  border-color: #296740;
}
.cookie-category label {
  font-size: 1rem;
  color: #296740;
}
.cookie-category.essential label {
  font-style: italic;
  color: #bbae6a;
  opacity: 0.78;
}

/*---------------------------------------
  Footer
---------------------------------------*/
footer {
  background: #296740;
  color: #FFFAF0;
  padding: 38px 0 16px 0;
  margin-top: 32px;
}
footer .container {
  align-items: center;
  gap: 18px;
  flex-direction: row;
  justify-content: space-between;
}
.logo-footer img {
  height: 44px;
  width: auto;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}
.footer-nav a {
  color: #FFFAF0;
  text-decoration: underline;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  transition: color 0.14s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #8FBC8F;
  text-decoration: none;
}
footer p {
  color: #FFFAF0;
  font-size: 0.97rem;
  margin-bottom: 0;
}

/*---------------------------------------
  Miscellaneous Style for Artistic Effects
---------------------------------------*/
/* Funky underline to accent artistic style */
.text-section a:not(.cta-btn) {
  color: #296740;
  position: relative;
  transition: color 0.15s;
}
.text-section a:not(.cta-btn):hover::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -3px; height: 5px;
  background: #8FBC8F;
  z-index: 0;
  opacity: 0.5;
  border-radius: 3px;
}

/* Inputs and Form Controls */
input[type="search"] {
  font-size: 1rem;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  padding: 10px 16px;
  border: 2px solid #8FBC8F;
  border-radius: 12px 4px 12px 4px;
  background: #fff;
  color: #296740;
  margin-bottom: 14px;
  transition: border 0.19s;
  width: 100%;
  max-width: 420px;
}
input[type="search"]:focus {
  border-color: #296740;
  background: #FFFAF0;
}

/* Artistic Bullets for List */
ul li::marker {
  color: #8FBC8F;
  font-weight: bold;
}

ol {
  list-style: decimal inside;
}
ol > li::marker {
  color: #8FBC8F;
}

/*---------------------------------------
  Utility/Helper Classes
---------------------------------------*/
.mt-20 { margin-top: 20px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.gap-24 { gap: 24px; }
.gap-40 { gap: 40px; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.artistic-bg {
  background: #8FBC8F;
  color: #fff;
  padding: 14px 16px;
  border-radius: 14px 36px 14px 36px;
}

/*---------------------------------------
  Responsive
---------------------------------------*/
@media (max-width: 1140px) {
  .container {
    max-width: 98vw;
  }
}
@media (max-width: 960px) {
  .feature-grid {
    justify-content: center;
  }
  .footer-nav {
    gap: 12px;
  }
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.4rem;
  }
  .container {
    padding-left: 4vw;
    padding-right: 4vw;
  }
  .content-wrapper,
  .feature-grid,
  .card-container,
  .content-grid, .testimonial-cards {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 18px;
  }
  .feature-grid > div, .card {
    min-width: unset;
    max-width: 100%;
    width: 100%;
    padding: 16px 13px;
  }
  .section {
    margin-bottom: 32px;
    padding: 18px 4vw;
  }
  .testimonial-card {
    max-width: 100%;
  }
  .text-image-section {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 14px;
  }
}
@media (max-width: 440px) {
  html {
    font-size: 14px;
  }
  .logo img, .logo-footer img {
    height: 38px;
  }
  .mobile-menu-close, .mobile-menu-toggle {
    width: 36px;
    height: 36px;
    font-size: 1.4rem;
  }
}

/*---------------------------------------
  Subtle Animations/Micro-interactions
---------------------------------------*/
.card, .feature-grid > div, .testimonial-card { transition: box-shadow 0.22s, transform 0.19s; }
.card:active, .feature-grid > div:active, .testimonial-card:active {
  box-shadow: 0 2px 10px rgba(41,103,64,0.06);
  transform: scale(0.97);
}
.cta-btn, .cookie-banner button {
  transition: background 0.18s, color 0.18s, transform 0.14s, box-shadow 0.20s;
}
.cta-btn:active, .cookie-banner button:active {
  transform: scale(0.96);
  box-shadow: 0 2px 6px rgba(41,103,64,0.10);
}

/*---------------------------------------
  Accessibility
---------------------------------------*/
*:focus-visible {
  outline: 2px dashed #BCAE6C;
  outline-offset: 2px;
  background: rgba(245,245,220,0.16);
}

/*---------------------------------------
  Hide visually only
---------------------------------------*/
.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

/*---------------------------------------
  Artistic Creative Style Decorations
---------------------------------------*/
.section {
  /* Artistic overlapping leaf/funky brush shapes with pseudo-elements */
  position: relative;
}
.section::before {
  content: '';
  display: block;
  position: absolute;
  top: -32px;
  right: -16px;
  width: 98px;
  height: 70px;
  background: rgba(141,189,143,0.12);
  border-radius: 36% 58% 54% 58%/50% 70% 44% 68%;
  z-index: 0;
  pointer-events: none;
}
.section:nth-child(even)::before {
  left: -18px;
  right: auto;
  background: rgba(41,103,64,0.09);
  width:78px;
  height:53px;
}
.section>.container {
  position: relative;
  z-index: 1;
}

/*---------------------------------------
  End of CSS
---------------------------------------*/
