/* --------------------------
   1. CSS 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, main, 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 {
  scroll-behavior: smooth;
}
body {
  line-height: 1.6;
  color: #22424B;
  background: #f8e9d8;
  font-family: 'Open Sans', Arial, sans-serif;
  min-height: 100vh;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}
:focus {
  outline: 2px solid #278455;
  outline-offset: 2px;
}

/* --------------------------
   2. ROOT VARS (NATURE ORGANIC)
-------------------------- */
:root {
  --primary: #278455; /* Green Main */
  --primary-dark: #246f49;
  --secondary: #22424B; /* Deep Nature Blue-Green */
  --accent: #f8e9d8; /* Sand/Light Peach */
  --bg: #f4f1ec; /* Off-white / paper */
  --organic-brown: #927C62;
  --organic-leaf: #7bb97c;
  --organic-moss: #546E46;
  --white: #ffffff;
  --shadow: 0 4px 16px rgba(34, 66, 75, 0.10), 0 1.5px 5px rgba(39, 132, 85, 0.05);
  --radius-soft: 18px;
  --radius-oval: 999px;
  --text: #22424B;
  --text-dark: #1c2b26;
  --text-light: #648c6a;
  --font-display: 'Montserrat', 'Open Sans', Arial, sans-serif;
  --font-body: 'Open Sans', Arial, sans-serif;
  --transition: all 0.22s cubic-bezier(.37,1.15,.43,1);
}

/* --------------------------
   3. TYPOGRAPHY/NATURE
-------------------------- */
h1 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin-bottom: 16px;
}
h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--organic-moss);
  font-weight: 600;
  margin-bottom: 16px;
  line-height: 1.1;
}
h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--secondary);
  font-weight: 600;
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--primary-dark);
}
p, ul, ol, li, a, button {
  font-family: var(--font-body);
  color: var(--text);
  font-size: 1rem;
  font-weight: 400;
}
p {
  margin-bottom: 16px;
}
a {
  text-underline-offset: 2px;
}
strong {
  font-weight: 600;
  color: var(--primary-dark);
}
.text-section ul, .content-wrapper ul, ul {
  padding-left: 0;
  margin-bottom: 16px;
  list-style: none;
}
.text-section ul li, .content-wrapper ul li, ul li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 12px;
  font-size: 1.05em;
}
.text-section ul li:before, .content-wrapper ul li:before, ul li:before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 14px;
  height: 14px;
  background: var(--primary);
  border-radius: 40% 60% 48% 52%/51% 49% 73% 27%;
  opacity: 0.16;
}
.text-section ul li img, .content-wrapper ul li img {
  width: 24px;
  height: 24px;
  margin-right: 12px;
  vertical-align: middle;
  display: inline-block;
  filter: grayscale(0) brightness(1) saturate(1.2);
}

/* --------------------------
   4. LAYOUT: SECTIONS & CONTAINERS
-------------------------- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--bg);
  border-radius: var(--radius-soft);
  box-shadow: var(--shadow);
}
.container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 0 auto;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--white);
  border-radius: var(--radius-soft);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  padding: 28px 22px;
  position: relative;
  min-width: 260px;
  flex: 1 1 240px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}
.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;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 20px;
  padding: 20px;
  background: var(--white);
  box-shadow: 0 2px 16px rgba(39, 132, 85, 0.055);
  border-radius: var(--radius-soft);
  margin-bottom: 20px;
  min-width: 240px;
  max-width: 400px;
  border-left: 5px solid var(--primary);
}
.testimonial-card p {
  margin-bottom: 4px;
}
.testimonial-card span {
  color: var(--primary);
  font-size: 1.3em;
  font-weight: 700;
}
/* Ensure readable testimonials (dark text on light bg) */
.testimonial-card,
.testimonial-card * {
  color: #22424B;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--accent);
  border-radius: 22px;
  padding: 28px 24px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}
.services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.services-list > div {
  flex: 1 1 260px;
  min-width: 240px;
  background: var(--white);
  border-radius: var(--radius-soft);
  box-shadow: var(--shadow);
  padding: 28px 22px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  transition: box-shadow var(--transition), transform var(--transition);
}
.services-list > div:hover {
  box-shadow: 0 8px 32px rgba(39, 132, 85, 0.11);
  transform: translateY(-3px) scale(1.015);
}
/* For course/call to action buttons below lists */
.services-list a {
  color: var(--primary);
  font-weight: 600;
  margin-top: 8px;
  transition: color var(--transition);
}
.services-list a:hover {
  color: var(--organic-leaf);
  text-decoration: underline;
}

/* --------------------------
   5. NAVIGATION & HEADER
-------------------------- */
header {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(34,66,75,0.05);
  border-bottom-left-radius: 40px 18px;
  border-bottom-right-radius: 80px 40px;
  margin-bottom: 16px;
}
.main-navigation {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 26px;
  justify-content: flex-start;
  padding: 16px 8px 10px 10px;
  font-family: var(--font-display);
}
.main-navigation a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--secondary);
  padding: 7px 10px;
  border-radius: var(--radius-oval);
  transition: background var(--transition), color var(--transition);
}
.main-navigation a:hover {
  background: var(--accent);
  color: var(--primary-dark);
}
.main-navigation img {
  height: 38px;
  width: auto;
  margin-right: 18px;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-display);
  border-radius: var(--radius-oval);
  padding: 10px 30px;
  margin-left: 8px;
  box-shadow: 0 3px 10px rgba(39, 132, 85, 0.08);
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: 0.1px;
  border: none;
  cursor: pointer;
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--organic-leaf);
  color: var(--secondary);
  box-shadow: 0 7px 28px rgba(34,66,75,0.11);
  transform: translateY(-2px) scale(1.018);
}

/* --------------------------
   6. MOBILE MENU/BURGER
-------------------------- */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.1rem;
  padding: 10px 18px;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-oval);
  box-shadow: 0 4px 14px rgba(39, 132, 85, 0.07);
  position: absolute;
  top: 18px;
  right: 16px;
  z-index: 1030;
  transition: background var(--transition), box-shadow var(--transition);
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--organic-leaf);
  color: var(--secondary);
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--accent);
  z-index: 2000;
  padding-top: 40px;
  transform: translateX(-102vw);
  transition: transform 0.33s cubic-bezier(.5,1.8,.4,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: 0 7px 64px rgba(39, 132, 85, 0.11);
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.5rem;
  color: var(--secondary);
  background: var(--accent);
  border-radius: 50%;
  position: absolute;
  top: 12px;
  right: 19px;
  z-index: 2100;
  padding: 6px 14px;
  transition: background var(--transition), color var(--transition);
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: var(--organic-leaf);
  color: var(--primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin-top: 40px;
  padding-left: 30px;
}
.mobile-nav a {
  display: block;
  padding: 14px 16px;
  border-radius: var(--radius-oval);
  font-size: 1.18rem;
  font-weight: 500;
  min-width: 180px;
  background: none;
  color: var(--secondary);
  transition: background var(--transition), color var(--transition);
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--primary);
  color: var(--white);
}

@media (min-width: 1000px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}
@media (max-width: 999px) {
  .main-navigation {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex !important;
  }
}

/* --------------------------
   7. FOOTER
-------------------------- */
footer {
  background: var(--accent);
  padding: 40px 0 0 0;
  margin-top: 50px;
  border-top-left-radius: 64px 24px;
  border-top-right-radius: 46px 24px;
  box-shadow: 0 -2px 20px rgba(34,66,75,0.06);
}
footer .container {
  padding-bottom: 16px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 150px;
}
footer nav a {
  color: var(--primary-dark);
  font-size: 1.05rem;
  font-family: var(--font-body);
  opacity: 0.92;
  border-radius: var(--radius-oval);
  padding: 4px 12px;
  transition: color var(--transition), background var(--transition);
}
footer nav a:hover, footer nav a:focus {
  background: var(--organic-leaf);
  color: var(--white);
}
footer .text-section {
  font-size: 0.97rem;
  color: var(--organic-brown);
}
footer strong {
  letter-spacing: 0.5px;
  color: var(--primary-dark)!important;
}

/* --------------------------
   8. COOKIE CONSENT BANNER & MODAL
-------------------------- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5000;
  width: 100vw;
  background: var(--white);
  color: var(--text-dark);
  box-shadow: 0 -3px 18px rgba(39, 132, 85, 0.07);
  padding: 28px 18px 22px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  border-top: 1.5px solid var(--organic-leaf);
  animation: cookie-in-bottom 0.7s cubic-bezier(.5,1.65,.38,.86);
}
@keyframes cookie-in-bottom {
  0% { opacity: 0; transform: translateY(60px); }
  100% { opacity: 1; transform: translateY(0); }
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 6px;
}
.cookie-banner button {
  font-size: 1rem;
  padding: 9px 26px;
  border-radius: var(--radius-oval);
  margin-right: 2px;
  font-weight: 600;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.cookie-banner .accept {
  background: var(--primary);
  color: var(--white);
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: var(--organic-leaf);
  color: var(--secondary);
  transform: scale(1.04);
}
.cookie-banner .reject {
  background: var(--organic-brown);
  color: var(--white);
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #ab9379;
  color: var(--white);
  transform: scale(1.03);
}
.cookie-banner .settings {
  background: var(--accent);
  color: var(--primary);
  border: 1.3px solid var(--primary);
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: var(--organic-leaf);
  color: var(--white);
  border-color: var(--organic-leaf);
  transform: scale(1.04);
}

.cookie-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  padding: 36px 30px 24px 30px;
  background: var(--white);
  border-radius: 26px;
  box-shadow: 0 10px 86px rgba(34,66,75,0.18);
  transform: translate(-50%, -60%) scale(0.95);
  min-width: 300px;
  max-width: 94vw;
  z-index: 5999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(.55,1.58,.45,0.98),transform 0.35s cubic-bezier(.75,2,.01,0.6);
}
.cookie-modal.active {
  opacity: 1;
  pointer-events: all;
  transform: translate(-50%, -50%) scale(1);
}
.cookie-modal h4 {
  font-size: 1.33rem;
  margin: 0 0 10px 0;
  color: var(--primary-dark);
}
.cookie-modal .category {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 15px;
}
.cookie-modal .category input[type=checkbox] {
  width: 22px;
  height: 22px;
  accent-color: var(--primary);
  cursor: pointer;
}
.cookie-modal .category label {
  font-size: 1.08rem;
  font-weight: 500;
}
.cookie-modal .category.disabled label {
  color: #8ab093;
}
.cookie-modal .footer {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  margin-top: 16px;
}
.cookie-modal button {
  font-size: 1rem;
  padding: 9px 24px;
  border-radius: var(--radius-oval);
  margin-right: 2px;
  font-weight: 600;
}
.cookie-modal .accept {
  background: var(--primary);
  color: var(--white);
}
.cookie-modal .accept:hover {
  background: var(--organic-leaf);
}
.cookie-modal .reject {
  background: var(--organic-brown);
  color: var(--white);
}
.cookie-modal .save {
  background: var(--organic-leaf);
  color: var(--white);
}
.cookie-modal .close {
  background: var(--accent);
  color: var(--primary);
  border: 1.1px solid var(--primary);
}
.cookie-modal .close:hover {
  background: var(--primary);
  color: var(--white);
}

/* Backdrop for modal */
.cookie-overlay {
  position: fixed;
  z-index: 5998;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(34,66,75,0.16);
  backdrop-filter: blur(1.5px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(.51,1.4,.26,0.98);
}
.cookie-overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* --------------------------
   9. INTERACTIVE ELEMENTS
-------------------------- */
a, button, .btn-primary, .main-navigation a, .mobile-nav a {
  transition: var(--transition);
}
.card, .feature-item, .testimonial-card {
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover, .feature-item:hover, .testimonial-card:hover {
  box-shadow: 0 8px 34px rgba(34,66,75,0.15);
  transform: translateY(-2px) scale(1.01);
}

/* Micro-interactions for testimonials */
.testimonial-card:hover {
  border-left-color: var(--organic-leaf);
  background: #f6fdf7;
}
.testimonial-card:active {
  transform: scale(0.98);
}

/* --------------------------
   10. SPACING & ORGANIC SHAPES
-------------------------- */
.section, .services-list > div, .feature-item, .testimonial-card {
  margin-bottom: 20px;
}
.gap-large {
  gap: 32px !important;
}

/* Organic decoration (example) */
.organic-deco {
  position: absolute;
  display: block;
  width: 78px;
  height: 78px;
  background: var(--organic-leaf);
  border-radius: 51% 49% 64% 36%/65% 41% 59% 35%;
  opacity: 0.14;
  z-index: 1;
  pointer-events: none;
}

/* --------------------------
   11. RESPONSIVE DESIGN
-------------------------- */
@media (max-width: 992px) {
  .container {
    padding: 0 10px;
  }
  .content-wrapper,
  .services-list,
  .card-container,
  .content-grid {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .feature-item,
  .testimonial-card,
  .section,
  .services-list > div {
    min-width: unset;
    max-width: unset;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.3rem;
  }
  h3 {
    font-size: 1.1rem;
  }
  .section {
    padding: 28px 7px;
  }
  .container {
    max-width: 98vw;
  }
  .text-image-section, .content-grid, .services-list, .content-wrapper {
    flex-direction: column !important;
    gap: 18px;
    align-items: stretch;
  }
  .main-navigation, .footer .content-wrapper {
    flex-direction: column;
    gap: 18px;
  }
  header {
    padding: 0;
    border-bottom-left-radius: 24px 11px;
    border-bottom-right-radius: 38px 13px;
  }
  footer {
    border-top-left-radius: 36px 18px;
    border-top-right-radius: 32px 14px;
  }
}
@media (max-width: 540px) {
  h1 {
    font-size: 1.35rem;
    margin-bottom: 12px;
  }
  h2 {
    font-size: 1.11rem;
    margin-bottom: 10px;
  }
  p, ul li, .services-list a, .btn-primary {
    font-size: 0.98rem !important;
  }
  .section {
    margin-bottom: 38px;
    padding: 18px 4px;
  }
  .testimonial-card, .feature-item {
    padding: 18px 8px;
  }
  .services-list > div, .card {
    padding: 18px 9px;
  }
  .footer .content-wrapper, .content-wrapper {
    gap: 10px;
  }
}

/* --------------------------
   12. PRINT FRIENDLY
-------------------------- */
@media print {
  *, *:before, *:after {
    color: #111 !important;
    background: #fff !important;
    box-shadow: none !important;
  }
  header, .mobile-menu, .cookie-banner, .cookie-modal, .cookie-overlay, footer {
    display: none !important;
  }
}

/* End of CSS */