/* ------------------ 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;
  scroll-behavior: smooth;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #443E3B;
  background-color: #F5F7F2;
  min-height: 100vh;
  line-height: 1.6;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
*, *:before, *:after {
  box-sizing: inherit;
}
a {
  color: #467a41;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #A9C23F;
  outline: none;
}
ul, ol {
  list-style: none;
}
strong {
  font-weight: bold;
}

/* BRAND FONTS */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto Slab', Georgia, serif;
  color: #1D263B;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; font-weight: 700; margin-bottom: 20px; }
h2 { font-size: 2rem; font-weight: 700; margin-bottom: 16px; }
h3 { font-size: 1.5rem; font-weight: 600; margin-bottom: 12px; }
h4, h5, h6 { font-weight: 600; }

p, li, blockquote {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #443E3B;
}
.lead {
  font-size: 1.25rem;
  color: #3A5131;
  margin-bottom: 14px;
  font-weight: 500;
}

/* NATURE/ORGANIC STYLES */
:root {
  --primary: #1D263B;
  --secondary: #E3EAF5;
  --accent: #A9C23F;
  --green-700: #467a41;
  --green-500: #7db870;
  --earth-100: #F5F7F2;
  --earth-200: #E7EBE0;
  --earth-300: #CCDAC1;
  --earth-brown: #C29F73;
}

/* Layout Containers & SPACING */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 24px 0 rgba(95,114,89,0.08);
}
@media (max-width: 900px) {
  .section { padding: 24px 8px; }
}

/* FLEX LAYOUTS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 2px 20px 0 rgba(95,114,89,0.07);
  transition: box-shadow 0.15s, transform 0.15s;
  display: flex;
  flex-direction: column;
}
.card:hover {
  box-shadow: 0 6px 28px 0 rgba(67,113,70,0.11);
  transform: translateY(-2px) 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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
  }
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #F5F7F2;
  padding: 24px;
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 rgba(39,50,26,0.09);
  min-width: 275px;
  max-width: 410px;
  flex: 1;
}
.testimonial-info {
  font-size: 0.93rem;
  color: #557144;
  font-weight: 500;
  margin-top: 8px;
  letter-spacing: 0.01em;
}
@media (max-width: 900px) {
  .testimonial-card {
    min-width: 200px;
    max-width: 100%;
    padding: 18px 10px;
  }
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ------------------ HEADER ------------------ */
header {
  background: var(--earth-100);
  box-shadow: 0 2px 8px 0 rgba(60,81,45,0.04);
  position: relative;
  z-index: 100;
  padding-top: 5px;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
  gap: 28px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.main-nav a {
  color: #385649;
  font-size: 1rem;
  font-weight: 500;
  padding: 7px 16px;
  border-radius: 12px;
  transition: background 0.15s, color 0.14s;
}
.main-nav a:hover,
.main-nav a.active {
  background: var(--earth-300);
  color: var(--primary);
}
.cta-btn {
  background: linear-gradient(88deg, var(--accent), var(--green-700) 88%);
  color: #fff;
  font-family: 'Roboto Slab', serif;
  font-weight: 700;
  font-size: 1.07rem;
  letter-spacing: 0.01em;
  border: none;
  padding: 10px 38px;
  border-radius: 25px;
  box-shadow: 0 1px 5px 0 rgba(85,135,62,0.12);
  cursor: pointer;
  transition: background 0.15s, box-shadow 0.14s, transform 0.15s;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(88deg, #95B02C, #749A28 85%);
  color: #fff;
  box-shadow: 0 4px 16px 0 rgba(85,135,62,0.18);
  transform: translateY(-2px) scale(1.03);
  outline: none;
}

/* MOBILE MENU (BURGER) */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #467a41;
  cursor: pointer;
  margin-left: 10px;
  z-index: 202;
  position: relative;
  padding: 3px 12px;
  border-radius: 10px;
  transition: background 0.12s;
}
.mobile-menu-toggle:focus {
  background: var(--earth-200);
}
@media (max-width: 950px) {
  .main-nav, .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; 
  width: 100vw; height: 100vh;
  background: rgba(245,247,242, 0.97);
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.7,0,0.3,1);
  z-index: 3002;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.3rem;
  color: var(--green-700);
  align-self: flex-end;
  margin: 24px 24px 0 0;
  cursor: pointer;
  z-index: 3010;
  transition: color 0.15s;
  border-radius: 8px;
  padding: 3px 13px;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--accent);
  background: var(--earth-200);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  padding: 40px 32px 32px 32px;
}
.mobile-nav a {
  font-size: 1.2rem;
  color: #384d3b;
  font-weight: 600;
  border-radius: 15px;
  padding: 15px 20px;
  margin-right: 5px;
  background: none;
  transition: background 0.14s, color 0.13s;
  text-align: left;
}
.mobile-nav a:active, .mobile-nav a:hover {
  background: #e3eaf5;
  color: var(--accent);
}

/* Hide overflow when mobile menu open */
body.mobile-menu-open {
  overflow: hidden;
}

/* ------------------- HOMEPAGE FEATURES ------------------- */
.feature-grid, .feature-list, .learning-outcomes {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-bottom: 16px;
}
.feature-grid li, .feature-list li, .learning-outcomes li {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--earth-200);
  border-radius: 16px;
  padding: 17px 20px;
  font-size: 1.05rem;
  font-weight: 500;
  color: #3A5131;
  flex: 1 1 214px;
  box-shadow: 0 1px 6px rgba(53,75,40,0.05);
  transition: background 0.15s, box-shadow 0.13s;
}
.feature-grid li img, .feature-list li img {
  width: 42px; height: 42px; flex: none;
}
.feature-grid li:hover, .feature-list li:hover {
  background: #d3e6c2;
  box-shadow: 0 2px 16px rgba(120,164,92,0.12);
}
@media (max-width: 700px) {
  .feature-grid, .feature-list, .learning-outcomes {
    flex-direction: column;
    gap: 20px;
  }
}

.services-list, .service-package, .price-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.services-list {
  margin-top: 8px;
}
.service-item {
  flex: 1 1 290px;
  min-width: 260px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 1px 10px 0 rgba(65,91,51,0.07);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  transition: box-shadow 0.14s, transform 0.14s;
}
.service-item:hover {
  box-shadow: 0 6px 32px 0 rgba(145,172,61,0.15);
  transform: translateY(-2px);
}
.price {
  margin-top: 10px;
  color: var(--accent);
  font-weight: 700;
  font-size: 1.15rem;
}

/* Testimonial slider/list (homepage and course page) */
.testimonial-slider, .testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-bottom: 10px;
}
@media (max-width: 1000px) {
  .testimonial-slider, .testimonial-list {flex-direction: column; gap: 18px;}
}

/* ------------------- COURSE & WORKSHOP MODULES ------------------- */
.module-overview, .workshop-agenda, .step-by-step, .faq-brief, .faq-snippet {
  background: var(--earth-200);
  border-radius: 14px;
  padding: 20px 18px;
  margin-top: 5px;
  margin-bottom: 16px;
  box-shadow: 0 1px 8px 0 rgba(111,128,72,0.07);
}
.module-overview ol, .workshop-agenda ol, .step-by-step ol {
  margin-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.highlight {
  background: var(--earth-300);
  color: #2B4632;
  font-weight: 700;
  padding: 14px 20px;
  border-radius: 13px;
  margin: 14px 0 10px 0;
  font-size: 1.06rem;
}

/* Contact + Info Lists */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 18px;
  color: #3A5131;
}
.map-placeholder {
  background: var(--earth-200);
  min-height: 90px;
  border-radius: 12px;
  color: #688252;
  padding: 16px 14px;
  margin-top: 6px;
}

.thankyou-message {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: var(--earth-200);
  border-radius: 16px;
  padding: 22px 16px;
  color: #306031;
  font-size: 1.08rem;
}

/* --------------- FOOTER --------------- */
footer {
  background: #DEE8D7;
  margin-top: 48px;
  font-size: 1rem;
  color: #30412e;
}
footer .container {
  padding: 0 20px;
}
footer .content-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 28px;
  padding: 32px 0 18px 0;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 13px;
  min-width: 165px;
}
.footer-nav a {
  color: #30412e;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 9px;
  padding: 5px 9px;
  transition: background 0.13s, color 0.14s;
}
.footer-nav a:hover {
  background: var(--accent);
  color: #fff;
}
.footer-contact {
  font-size: 0.98rem;
  color: #54734e;
  margin-top: 9px;
}
.footer-contact a {
  color: #54734e;
  text-decoration: underline;
}
.footer-contact a:hover { color: #A9C23F; }
.footer-social {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: 8px;
  margin-top: 2px;
}
.footer-social a img {
  width: 28px; height: 28px;
  filter: grayscale(0.5) contrast(1);
  transition: filter 0.15s;
}
.footer-social a:hover img {
  filter: brightness(1.1) grayscale(0);
}
@media (max-width: 830px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

/* ----------------- COOKIES ----------------- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  background: #fff;
  color: #33512e;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 9000;
  box-shadow: 0 -1px 16px 0 rgba(58, 65, 31, 0.08);
  padding: 22px 12px 20px 16px;
  gap: 14px;
  font-size: 1rem;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  transition: transform 0.37s cubic-bezier(0.62,0.1,0.42,1);
  transform: translateY(0);
}
.cookie-banner.hide {
  transform: translateY(120%);
  pointer-events: none;
}
.cookie-banner p {
  color: #33512e;
  margin-bottom: 7px;
}
.cookie-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.cookie-btn {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  padding: 9px 25px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  margin-right: 4px;
  transition: background 0.14s, color 0.14s, box-shadow 0.12s;
  margin-bottom: 4px;
}
.accept-btn {
  background: var(--accent);
  color: #fff;
  font-weight: bold;
  box-shadow: 0 1px 7px 0 rgba(180,200,70,0.11);
}
.accept-btn:hover, .accept-btn:focus {
  background: #89A632;
}
.reject-btn {
  background: #E3EAF5;
  color: #325100;
  border: 1px solid #c1caad;
}
.reject-btn:hover, .reject-btn:focus { background: #f7faf0; color: #6A8513; }
.cookie-settings-btn {
  background: #fff;
  color: #325100;
  border: 1px solid #b7ccad;
}
.cookie-settings-btn:hover, .cookie-settings-btn:focus { background: #f7faf0; color:#6A8513; }

/* Cookie modal */
.cookie-modal {
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(34,38,18,0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10040;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.25s;
}
.cookie-modal.open {
  visibility: visible;
  opacity: 1;
}
.cookie-preferences {
  background: #fff;
  min-width: 320px;
  max-width: 96vw;
  padding: 34px 20px 26px 23px;
  border-radius: 17px;
  box-shadow: 0 6px 48px 0 rgba(95,114,89,0.16);
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
}
.cookie-modal-close {
  position: absolute;
  top: 4px; right: 8px;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #467A41;
  cursor: pointer;
  border-radius: 8px;
  padding: 3px 12px;
  transition: background 0.12s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: var(--earth-200);
  color: var(--accent);
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 8px;
}
.cookie-category-label {
  font-size: 1.05rem;
  font-weight: 500;
  color: #385649;
}
.cookie-toggle {
  appearance: none;
  width: 39px; height: 20px;
  border-radius: 15px;
  background: #dde7cf;
  position: relative;
  outline: none;
  transition: background 0.16s;
}
.cookie-toggle:checked {
  background: var(--accent);
}
.cookie-toggle:before {
  content: "";
  display: block;
  width: 17px; height: 17px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  left: 2px; top: 1.5px;
  box-shadow: 0 1px 6px rgba(44,54,32,0.07);
  transition: left 0.18s;
}
.cookie-toggle:checked:before {
  left: 20px;
}
.cookie-category[aria-disabled='true'] .cookie-toggle {
  background: #a6ad93;
  cursor: not-allowed;
}
.cookie-category[aria-disabled='true'] .cookie-toggle:before {
  background: #d0d6c0;
}

.cookie-preferences-actions {
  display: flex;
  gap: 24px;
  margin-top: 12px;
}

/* ------------- BUTTONS ------------- */
button, .btn {
  font-family: 'Open Sans', Arial, sans-serif;
  transition: background 0.14s, color 0.14s, box-shadow 0.14s;
  cursor: pointer;
}

/* ------------- MISC ------------- */
.text-section {
  background: var(--earth-100);
  border-radius: 13px;
  padding: 16px 16px 12px 16px;
  box-shadow: 0 1px 5px 0 rgba(85,135,62,0.07);
}

/* FAQ Styles */
.faq-brief ul, .faq-snippet ul {
  padding-left: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-brief p, .faq-snippet p {margin-bottom: 7px;}

/* ------------- ORGANIC ACCENTS ------------- */
section, .section {
  background-image: url("../assets/bg-organic-leaf2.svg"), url("../assets/bg-organic-wave.svg");
  background-repeat: no-repeat, no-repeat;
  background-position: right bottom, left top;
  background-size: 160px 140px, 180px 90px;
}
@media (max-width: 960px) {
  section, .section {background-size: 105px 63px, 90px 45px;}
}

.card, .service-item, .testimonial-card, .text-section, .faq-brief, .faq-snippet, .module-overview, .highlight {
  /* Slight organic ("asymmetric") border radius for variety */
  border-radius: 18px 10px 15px 22px/13px 23px 16px 15px;
}

/* Organic shadow for cards */
.card, .service-item, .testimonial-card, .feature-list li, .feature-grid li {
  box-shadow: 0 2px 12px 0 rgba(95,114,89,0.08);
}

/* Subtle hover scaling for interactive cards */
.card:hover, .service-item:hover, .feature-list li:hover, .feature-grid li:hover {
  transform: scale(1.017);
  z-index: 2;
}

/* -------------- RESPONSIVE ADAPTATION -------------- */
@media (max-width: 768px) {
  .container {
    padding: 0 9px;
  }
  .content-wrapper {
    gap: 15px;
  }
  .section {
    padding: 23px 4px;
    margin-bottom: 32px;
  }
  .services-list, .card-container, .feature-grid, .feature-list, .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .feature-grid li,.feature-list li, .service-item, .testimonial-card {
    padding: 12px 10px;
  }
}
@media (max-width: 510px) {
  h1 { font-size: 1.59rem; }
  h2 { font-size: 1.23rem; }
  h3 { font-size: 1.04rem; }
}

/* -------------- TRANSITIONS & ANIMATION -------------- */
.card, .service-item, .feature-list li, .feature-grid li, .testimonial-card, .cta-btn {
  transition: box-shadow 0.18s, background 0.18s, transform 0.16s;
}
.mobile-menu, .cookie-banner, .cookie-modal {
  transition: transform 0.37s cubic-bezier(0.62,0.1,0.42,1), opacity 0.24s;
}

/* ------------- VISUAL HIERARCHY & CONTRAST ------------- */

/* Testimonials: Ensure dark text on light bg for contrast */
.testimonial-card p {
  color: #283B23;
  font-size: 1.08rem;
  font-style: italic;
  font-weight: 400;
}
.testimonial-info {
  color: #557144;
  font-weight: bold;
}

/* ------------- ORGANIC SHAPED DECORATIVE ELEMENTS -------------- */
/* Decorative z-index to keep backgrounds behind content */
.section, section {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

/* Possibly add data-decorative elements via ::after for more organic style if needed */

/* ------------- OTHER UTILITIES ------------- */

/* Hide visually but keep accessible */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* Visually separated (used for vertical rhythm in some places) */
.vspace {
  height: 24px;
  width: 100%;
}

/* Prevent content overlapping */
.card + .card, .service-item + .service-item,
.feature-grid li + .feature-grid li,
.testimonial-card + .testimonial-card,
.section + .section {
  margin-top: 20px;
}

/* -------------- PRINT -------------- */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cta-btn { display: none !important; }
  body { background: #fff; color: #222; }
}
