/* =======================================================
   CSS RESET & BASE NORMALIZATION
   ======================================================= */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #F6F8FB;
  color: #24332A;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
  border: 0;
}
ul, ol {
  padding-left: 1.6em;
}
a {
  color: #35694F;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #1E5C91;
  text-decoration: underline;
}
strong {
  font-weight: 700;
}
button, .btn-primary {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  font-size: 16px;
  border: none;
  outline: none;
  cursor: pointer;
}

/* =======================================================
   COLOR PALETTE – "Nature_Organic" Earthy Brand Colors
   ======================================================= */
:root {
  --color-primary: #1E5C91;
  --color-secondary: #F6F8FB;
  --color-accent: #E19C00;
  --color-green: #4EA161;
  --color-natural: #E5E3DA;
  --color-brown: #A08664;
  --color-bg: #FCFAF5;
  --color-foreground: #24332A;
  --color-shadow: 0 8px 24px 0 rgba(30, 92, 60, 0.06);
  --color-border: #D8DFD6;
}

/* =======================================================
   TYPOGRAPHY SCALE
   ======================================================= */
h1, .h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: #24332A;
  margin-bottom: 24px;
  line-height: 1.15;
  letter-spacing: -1px;
}
h2, .h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #1E5C91;
  margin-bottom: 20px;
  line-height: 1.2;
}
h3, .h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.375rem;
  font-weight: 600;
  color: #35694F;
  margin-bottom: 14px;
  line-height: 1.25;
}
h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #4EA161;
  margin-bottom: 8px;
}

p {
  margin-bottom: 16px;
}

blockquote.tagline-callout {
  font-family: 'Montserrat', sans-serif;
  background: #EAF1E4;
  color: #4EA161;
  border-left: 6px solid #4EA161;
  border-radius: 0 32px 32px 0;
  padding: 18px 30px 18px 20px;
  font-size: 1.25rem;
  font-style: italic;
  margin: 36px 0 36px 0;
  box-shadow: var(--color-shadow);
}

.text-section ul {
  margin-bottom: 20px;
  padding-left: 20px;
}
.text-section li {
  margin-bottom: 8px;
  font-size: 1rem;
}

/* ===============================
   CONTAINER & LAYOUT UTILS
   =============================== */
.container {
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  max-width: 1120px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FCFAF5;
  border-radius: 28px;
  box-shadow: var(--color-shadow);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--color-shadow);
  padding: 28px 20px 24px 20px;
  flex: 1 1 320px;
  min-width: 270px;
  transition: box-shadow 0.22s, transform 0.22s;
}
.card:hover { 
  box-shadow: 0 8px 32px 0 rgba(30,92,60,0.16);
  transform: translateY(-4px) scale(1.02);
  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: #F5FAF7;
  border-radius: 22px;
  box-shadow: var(--color-shadow);
  margin-bottom: 20px;
  transition: box-shadow 0.22s;
  border: 1.5px solid #D8DFD6;
  flex-direction: column;
  text-align: left;
}
.testimonial-card p {
  color: #24332A;
  font-size: 1.18rem;
  font-weight: 500;
  margin-bottom: 12px;
}
.testimonial-card strong {
  color: #1E5C91;
  font-size: 1rem;
}
.testimonial-card img {
  vertical-align: middle;
  width: 20px;
  margin-right: 2px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.features-section {
  background: #f3f7ef;
  border-radius: 24px;
  margin-bottom: 50px;
  padding: 36px 18px 36px 18px;
}

/* Features grid for home/courses
   (Used instead of forbidden CSS Grid) */
.feature-grid, .feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 28px;
}
.feature-grid > div, .feature-list > li {
  background: #F5FAF7;
  border-radius: 20px;
  box-shadow: var(--color-shadow);
  padding: 24px 20px 20px 20px;
  flex: 1 1 220px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 0;
  transition: box-shadow 0.18s, transform 0.18s;
}
.feature-grid > div img {
  width: 38px;
  height: 38px;
  margin-bottom: 8px;
}
.feature-grid > div:hover {
  box-shadow: 0 8px 24px 0 rgba(30,92,60,0.15);
  transform: translateY(-3px) scale(1.01);
  z-index: 2;
}

/* ===============================
   BUTTONS & LINKS
   =============================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  background: linear-gradient(97deg, #4EA161 44%, #E19C00 100%);
  border-radius: 55px;
  border: none;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  box-shadow: 0 3px 12px 0 rgba(78,161,97,.09);
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
  margin-top: 18px;
  margin-bottom: 10px;
  cursor: pointer;
  outline: none;
}
.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(97deg, #35694F 30%, #FFC843 100%);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 18px 0 rgba(30,92,60,0.21);
  color: #fff;
}

/* ===============================
   HEADER, NAVIGATION & BURGER MENU
   =============================== */
header {
  background: #FCFAF5;
  border-bottom: 1.5px solid #E5E3DA;
  box-shadow: 0 2px 16px 0 rgba(30,92,60,0.04);
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 100;
  min-height: 60px;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 32px;
  padding: 0 20px;
  max-width: 1120px;
}
.logo-link img {
  height: 48px;
  width: auto;
  border-radius: 14px;
  background: #EAF1E4;
  padding: 5px 8px;
}

nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
}
nav a {
  color: #24332A;
  font-weight: 500;
  padding: 7px 16px;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}
nav a:hover, nav a:focus {
  background: #EAF1E4;
  color: #1E5C91;
}

/* Hide/show navigation on mobile */
.mobile-menu-toggle {
  display: inline-flex;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #1E5C91;
  padding: 0 12px;
  align-items: center;
  cursor: pointer;
  border-radius: 8px;
  margin-left: 8px;
  transition: background 0.15s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #EAF1E4;
}
.mobile-menu {
  display: flex;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(36, 51, 42, 0.96);
  z-index: 999;
  flex-direction: column;
  transform: translateX(-105%);
  transition: transform 0.32s cubic-bezier(.42,.7,.46,1.19);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
  transition: transform 0.38s cubic-bezier(.12,.7,.30,1), opacity 0.18s;
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.3rem;
  margin: 18px 18px 0 0;
  padding: 2px 12px;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.15s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  background: #4EA161;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin-top: 32px;
  align-items: flex-start;
  padding-left: 30px;
}
.mobile-nav a {
  color: #FFF;
  font-size: 1.38rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background 0.14s, color 0.14s;
  min-width: 180px;
  margin-bottom: 2px;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #4EA161;
  color: #fff;
}

/* Hide navigation and show burger on small screens */
@media (max-width: 990px) {
  header nav {
    display: none;
  }
  .btn-primary {
    font-size: 1.05rem;
  }
  .mobile-menu-toggle {
    display: inline-flex !important;
  }
}
@media (min-width: 991px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
  header nav {
    display: flex !important;
  }
}

/* ===============================
   HERO SECTIONS
   =============================== */
.hero {
  background: linear-gradient(115deg, #EAF1E4 40%, #F6F8FB 100%);
  border-radius: 36px;
  box-shadow: 0 10px 34px 0 rgba(36, 51, 42, 0.08);
  margin-bottom: 60px;
  padding: 64px 0 48px 0;
}
.hero .container {
  align-items: stretch;
  padding: 0 20px;
}
.hero .content-wrapper {
  align-items: flex-start;
  max-width: 690px;
}
.hero h1 {
  color: #1E5C91;
  font-size: 2.8rem;
  margin-bottom: 18px;
  font-weight: 900;
}
.hero p {
  font-size: 1.18rem;
  color: #24332A;
  margin-bottom: 24px;
}

/* ===============================
   UTILITY SPACING
   =============================== */
.mt-2  { margin-top:  8px !important; }
.mt-3  { margin-top:  16px !important; }
.mt-4  { margin-top:  24px !important; }
.mt-5  { margin-top:  32px !important; }
.mb-2  { margin-bottom: 8px !important; }
.mb-3  { margin-bottom: 16px !important; }
.mb-4  { margin-bottom: 24px !important; }
.mb-5  { margin-bottom: 32px !important; }
.py-5  { padding-top: 32px !important; padding-bottom: 32px !important; }

/* ===============================
   MODALS, BANNERS
   =============================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  z-index: 10000;
  background: #FCFAF5;
  border-top: 2.5px solid #4EA161;
  box-shadow: 0 -8px 34px 0 rgba(34, 61, 31, 0.10);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 18px 16px;
  font-size: 1rem;
  transition: transform 0.27s cubic-bezier(.47,1.64,.41,.8), opacity 0.13s;
}
.cookie-banner[hidden] {
  display: none;
}
.cookie-banner-actions {
  display: flex;
  flex-direction: row;
  gap: 18px;
}
.cookie-banner button,
.cookie-banner .btn {
  padding: 9px 22px;
  font-size: 1rem;
  border-radius: 19px;
  border: none;
  background: #4EA161;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.17s, transform 0.15s;
  margin-left: 4px;
}
.cookie-banner .btn.settings {
  background: #E19C00;
}
.cookie-banner .btn.accept {
  background: #4EA161;
}
.cookie-banner .btn.reject {
  background: #A08664;
}
.cookie-banner .btn:hover {
  background: #35694F;
  transform: scale(1.04);
}

.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  width: 100vw; height: 100vh;
  background: rgba(30,92,60,.79);
  z-index: 10010;
  display: none;
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.active {
  display: flex;
}
.cookie-modal {
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 7px 36px 0 rgba(36,51,42,0.13);
  max-width: 400px;
  padding: 32px 28px 26px 28px;
  text-align: left;
  font-size: 1rem;
  color: #24332A;
  z-index: 10012;
  animation: fadeInUp 0.24s cubic-bezier(.57,1.73,.31,.62);
}
.cookie-modal h2 {
  font-size: 1.32rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #1E5C91;
  margin-bottom: 12px;
}
.cookie-toggle-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}
.cookie-toggle {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
}
.cookie-toggle input[type=checkbox] {
  accent-color: #4EA161;
  width: 20px;
  height: 20px;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  gap: 10px;
}

@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(20px) scale(0.98); }
  90% { opacity: 1; transform: translateY(-6px) scale(1.01); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* ===============================
   FOOTER
   =============================== */
footer {
  background: #E5E3DA;
  border-top: 1.5px solid #D8DFD6;
  padding: 36px 0 24px 0;
  font-size: 1rem;
}
footer .container {
  flex-direction: column;
  gap: 16px;
  align-items: center;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 18px;
}
footer nav a {
  color: #4EA161;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 7px;
  transition: background 0.17s, color 0.17s;
}
footer nav a:hover,footer nav a:focus {
  background: #F6F8FB;
  color: #1E5C91;
}
.brand-address {
  color: #35694F;
  font-size: .97rem;
  margin-bottom: 8px;
  text-align: center;
}
.brand-address img {
  vertical-align: middle;
  width: 17px;
  margin: 0 4px 0 0;
}
.copyright {
  color: #A08664;
  font-size: .95rem;
}

/* ===============================
   ORGANIC/"EARTHY" SHAPES AND TEXTURES
   =============================== */
.section, .features-section, .testimonial-card, .card, .feature-grid > div {
  border-radius: 24px 40px 36px 20px/28px 50px 32px 20px;
  /* mimic organic, soft wavy shapes */
  box-shadow: 0 3px 24px 0 rgba(34,61,31,0.07);
}

/* Optional subtle paper-like texture for backgrounds */
body, .section, .features-section, .hero {
  background-blend-mode: multiply;
  background-repeat: repeat;
}

/* ===============================
   RESPONSIVE DESIGN
   =============================== */
@media (max-width: 1020px) {
  .container {
    max-width: 95vw;
    padding: 0 12px;
  }
  .feature-grid,
  .content-grid,
  .card-container {
    gap: 16px;
  }
}
@media (max-width: 860px) {
  .hero .content-wrapper {
    max-width: 100%;
  }
  .feature-grid > div,
  .card {
    min-width: 160px;
    flex-basis: 98%;
  }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  .section,
  .features-section {
    padding: 30px 8px;
    margin-bottom: 36px;
  }
  .hero {
    padding: 38px 0 28px 0;
  }
  .hero h1 { font-size: 2rem; }
  .content-wrapper {
    padding: 0 2px;
  }
  .card,
  .testimonial-card,
  .feature-grid > div {
    padding: 18px 8px 16px 12px;
    min-width: 130px;
    font-size: 0.97rem;
  }
  .feature-grid {
    flex-direction: column;
    gap: 16px;
  }
  .feature-grid > div {
    flex-basis: 100%;
  }
  .content-grid, .card-container {
    flex-direction: column;
    gap: 12px;
  }
  .testimonial-card {
    flex-direction: column;
    padding: 14px;
    text-align: left;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 18px;
    font-size: 0.96rem;
    padding: 14px 6px 18px 6px;
  }
}
@media (max-width: 440px) {
  html { font-size: 14px; }
  h1, .h1 { font-size: 1.34rem; }
  h2, .h2 { font-size: 1.04rem; }
  h3, .h3 { font-size: .95rem; }
  .hero { padding: 16px 0 12px 0; }
  .btn-primary { font-size: .93rem; padding: 10px 16px; }
}

/* ===============================
   FOCUS STATES, ACCESSIBILITY, MICRO-INTERACTIONS
   =============================== */
a:focus, button:focus, .btn-primary:focus {
  outline: 2.5px solid #E19C00;
  outline-offset: 2.5px;
}
.card, .testimonial-card, .feature-grid > div {
  transition: box-shadow 0.2s, transform 0.16s;
}
.card:hover, .feature-grid > div:hover, .testimonial-card:hover {
  box-shadow: 0 8px 36px 0 rgba(78,161,97,0.13);
  transform: translateY(-3px) scale(1.01);
  z-index: 4;
}

/* ===============================
   FORMS (if any added in future)
   =============================== */
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  padding: 8px 12px;
  border: 1.5px solid #D8DFD6;
  border-radius: 9px;
  margin-bottom: 18px;
  width: 100%;
  background: #F6F8FB;
  box-shadow: none;
  outline: none;
  transition: border-color 0.13s;
}
input:focus, textarea:focus, select:focus {
  border-color: #4EA161;
  outline: 2px solid #E19C00;
}

label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #1E5C91;
  margin-bottom: 4px;
}

/* ===============================
   SPECIAL SECTIONS & MISC
   =============================== */
ul, ol {
  margin-bottom: 26px;
  font-size: 1rem;
  color: #24332A;
}
li {
  margin-bottom: 10px;
}

/* Icon in list items   */
ul li img, .text-section ul li img, .brand-address img {
  width: 19px;
  height: 19px;
  margin-right: 7px;
  vertical-align: text-bottom;
}

/* ===============================
   PRINT STYLES (SAFE RESET)
   =============================== */
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
  body { color: #000; background: #fff; }
  .container, .section, .features-section, .card, .feature-grid > div,
  .testimonial-card { box-shadow: none !important; border-radius: 0 !important; }
}
