/*! CSS RESET & NORMALIZE (MOBILE-FIRST) */
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 {
  height: 100%;
  font-size: 16px;
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  min-height: 100vh;
  background: #FAF7F4;
  color: #205C3E;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  border: 0;
  display: block;
}
a {
  color: #26734D;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #C07E1C;
  outline: none;
}
ul, ol {
  list-style: none;
}
strong { font-weight: bold; }
em { font-style: italic; }

/* BRAND COLORS & CSS VARS */
:root {
  --primary: #26734D;
  --primary-dark: #205C3E;
  --secondary: #F5F5F5;
  --secondary-real: #FFFFFF;
  --accent: #EA9F3E;
  --accent-dark: #C07E1C;
  --pastel-green: #D3EFE0;
  --pastel-peach: #FFF5EA;
  --pastel-lilac: #EEE7F6;
  --pastel-yellow: #FFF7DF;
  --gray-light: #EBEBEB;
  --gray-mid: #B0B9AF;
  --gray-dark: #6A7C6B;
  --shadow: 0 2px 12px 0 rgba(32, 92, 62, 0.07);
  --radius: 22px;
}

/* FONTS */
@import url('https://fonts.googleapis.com/css?family=Montserrat:600,700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #205C3E;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
}
h1 { font-size: 2.2rem; margin-bottom: 18px; }
h2 { font-size: 1.6rem; margin-bottom: 16px; }
h3 { font-size: 1.22rem; margin-bottom: 12px; font-weight: 600; }
h4 { font-size: 1.08rem; margin-bottom: 12px; font-weight: 500; }
h5, h6 { font-size: 1rem; margin-bottom: 8px; }
p {
  margin-bottom: 16px;
  font-size: 1rem;
}

/* LAYOUT: CONTAINER */
.container {
  width: 100%;
  max-width: 1280px;
  padding: 0 22px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

/* HEADER & NAVIGATION */
header {
  background: var(--pastel-lilac);
  box-shadow: 0 0 18px 0 rgba(50,48,79,0.03);
  border-bottom-left-radius: var(--radius);
  border-bottom-right-radius: var(--radius);
  margin-bottom: 10px;
}
header .container {
  flex-direction: row;
  align-items: center;
  padding-top: 18px;
  padding-bottom: 14px;
  gap: 18px;
  justify-content: space-between;
}
header a img {
  height: 50px; /* logo */
  margin-right: 25px;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
}
.main-nav a {
  padding: 7px 18px;
  border-radius: var(--radius);
  color: #26734D;
  transition: background 0.15s, color 0.15s;
  font-weight: 500;
}
.main-nav a.cta {
  background: var(--accent);
  color: #FFF;
  font-weight: bold;
  margin-left: 10px;
  box-shadow: 0 2px 10px 0 rgba(234,159,62,0.09);
  transition: background 0.18s;
}
.main-nav a:hover,.main-nav a:focus {
  background: var(--pastel-peach);
  color: var(--primary);
}
.main-nav a.cta:hover, .main-nav a.cta:focus {
  background: var(--accent-dark);
  color: #FFF;
}

/* MOBILE NAV */
.mobile-menu-toggle {
  background: var(--accent);
  color: #FFF;
  border: none;
  border-radius: 50%;
  width: 47px;
  height: 47px;
  font-size: 2rem;
  display: flex;
  align-items: center; justify-content: center;
  cursor: pointer;
  margin-left: 18px;
  box-shadow: 0 2px 10px 0 rgba(234,159,62,0.13);
  z-index: 99;
  transition: background 0.2s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #C07E1C;
}
.mobile-menu {
  position: fixed;
  top: 0; bottom: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(255,255,255,0.93);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(-105%);
  transition: transform .35s cubic-bezier(.6,0,.3,1);
  box-shadow: 0 4px 32px 0 rgba(85,85,100,0.12);
  padding: 0;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  border: none;
  font-size: 2.1rem;
  color: #26734D;
  background: var(--secondary-real);
  margin: 24px 0 12px 26px;
  align-self: flex-start;
  cursor: pointer;
  border-radius: 50%;
  width: 44px; height: 44px;
  transition: background 0.15s;
  box-shadow: 0 1px 3px 0 rgba(32, 115, 77, 0.11);
}
.mobile-menu-close:hover {
  background: var(--pastel-peach);
  color: var(--accent-dark);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 30px 40px;
  width: 90vw;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  color: #205C3E;
  padding: 14px 0 8px 0;
  transition: color 0.16s, background 0.15s;
  border-radius: var(--radius);
}
.mobile-nav a.cta {
  background: var(--accent);
  color: #FFF;
  text-align: center;
  font-weight: 700;
  margin-top: 10px;
  box-shadow: var(--shadow);
  padding: 14px;
  border-radius: 16px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--pastel-peach);
  color: var(--primary);
}
.mobile-nav a.cta:hover {
  background: var(--accent-dark);
  color: #fff;
}

/* Hide desktop nav & show mobile on small viewports */
@media (max-width: 1020px) {
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 1021px) {
  .mobile-menu-toggle, .mobile-menu {
    display: none !important;
  }
}

/* MAIN: HERO, SECTIONS, & GLOBAL SPACING */
main {
  width: 100%;
  margin-bottom: 40px;
}
.section,
.hero,
.features,
.services,
.testimonials,
.about,
.cta-section,
.contact-details {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: var(--radius);
  background: var(--pastel-peach);
  box-shadow: var(--shadow);
}
.hero {
  background: linear-gradient(140deg, var(--pastel-peach) 75%, var(--pastel-green) 100%);
  min-height: 238px;
  display: flex; align-items: center;
}
.hero h1 {
  color: var(--primary-dark);
  font-size: 2.7rem;
  margin-bottom: 20px;
}
@media (max-width: 570px) {
  .hero h1 {font-size: 2rem;}
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* FEATURE LISTS & ITEMS */
.features .content-wrapper ul,
.services .content-wrapper ul {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 8px;
}
.features .content-wrapper ul li,
.services .content-wrapper ul li {
  font-size: 1.08rem;
  background: var(--pastel-lilac);
  border-radius: 14px;
  padding: 18px 20px;
  color: var(--primary-dark);
  box-shadow: 0 2px 7px 0 rgba(146,170,176,0.06);
  margin-bottom: 0; /* gap handles it */
  transition: box-shadow 0.18s;
}
.features .content-wrapper ul li strong {
  font-weight: 700;
  color: var(--accent-dark);
}
.features .content-wrapper ul li:hover {
  box-shadow: 0 4px 18px 0 rgba(80,48,100,0.09);
}

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

/* CARDS & FLEX CONTAINERS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 22px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--pastel-lilac);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 22px;
  flex: 1 1 275px;
  min-width: 0;
  transition: box-shadow 0.18s;
}
.card:hover {
  box-shadow: 0 6px 32px 0 rgba(80,48,100,0.09);
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.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;
    gap: 22px;
  }
  .card-container,
  .content-grid,
  .features .content-wrapper ul,
  .services .content-wrapper ul {
    flex-direction: column;
    align-items: stretch;
  }
}

/* SERVICES (COURSE CARDS) */
.services .content-wrapper ul li {
  background: var(--pastel-green);
  border-left: 4px solid var(--accent);
  box-shadow: 0 2px 11px 0 rgba(32,115,77,0.10);
  font-size: 1rem;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.services .content-wrapper ul li .price {
  color: var(--accent-dark);
  font-weight: 700;
  font-size: 1.10rem;
  margin-bottom: 7px;
  margin-top: 5px;
}
.services .content-wrapper ul li a.cta {
  margin-top: 8px;
  width: fit-content;
}

/* CTA BUTTONS */
.cta {
  display: inline-block;
  background: linear-gradient(90deg, var(--accent) 80%, var(--accent-dark) 100%);
  color: #fff;
  padding: 13px 32px;
  border-radius: 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.10rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 16px 0 rgba(234,159,62,0.09);
  border: none;
  outline: none;
  cursor: pointer;
  margin-top: 7px;
  margin-bottom: 6px;
  transition: background 0.22s, color 0.13s, transform 0.12s;
}
.cta:hover,.cta:focus {
  background: var(--accent-dark);
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 36px 0 rgba(234,159,62,0.12);
}

/* TESTIMONIALS */
.testimonials {
  background: var(--pastel-yellow);
  box-shadow: var(--shadow);
}
.testimonials .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 15px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 14px 0 rgba(80,130,100,0.08);
  font-size: 1.06rem;
  color: #205C3E;
  min-width: 230px;
  max-width: 430px;
  line-height: 1.6;
  position: relative;
  flex: 1 1 240px;
  transition: box-shadow 0.22s;
}
.testimonial-card p {
  color: #205C3E;
  margin-bottom: 8px;
  font-style: italic;
}
.testimonial-card span {
  font-weight: 500;
  color: #8E7049;
  font-size: .98rem;
  margin-left: 0.5em;
}
.testimonial-card:hover {
  box-shadow: 0 7px 22px 0 rgba(80,130,100,0.16);
}
@media (max-width: 800px) {
  .testimonials .content-wrapper {
    flex-direction: column;
  }
  .testimonial-card { max-width: 100%; }
}

/* CTA SECTION */
.cta-section {
  background: linear-gradient(125deg, var(--pastel-green) 67%, var(--pastel-peach) 100%);
  text-align: center;
  padding: 44px 22px 48px 22px;
}
.cta-section h2 {
  margin-bottom: 12px;
  font-size: 1.67rem;
  color: var(--primary);
}
.cta-section p {
  margin-bottom: 20px;
  font-size: 1.09rem;
}
.cta-section .cta {
  margin-top: 16px;
  font-size: 1.18rem;
}

/* ABOUT & CONTACT */
.about .content-wrapper,
.contact-details .content-wrapper {
  gap: 16px;
}
.about ul {
  margin-top: 8px;
  margin-bottom: 2px;
  padding-left: 1.2em;
}
.about ul li {
  list-style: disc inside;
  margin-bottom: 6px;
}
.contact-details p {
  font-size: 1.08rem;
  margin-bottom: 7px;
}

/* FOOTER */
footer {
  background: var(--pastel-lilac);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 -2px 14px 0 rgba(120,100,140,0.04);
  padding: 32px 0 12px 0;
  width: 100%;
  margin-top: 10px;
}
footer .container {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  align-items: center;
  margin-bottom: 9px;
}
.footer-nav a {
  font-size: 0.95rem;
  color: #205C3E;
  padding: 6px 12px;
  border-radius: 10px;
  transition: background 0.11s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--pastel-peach);
  color: var(--accent);
}
footer p {
  font-size: .98rem;
  color: #8B8F9C;
  margin-bottom: 2px;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #fffbe6;
  box-shadow: 0 -2px 12px 0 rgba(100,90,30,0.09);
  border-top: 2px solid var(--accent);
  z-index: 3000;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 22px;
  padding: 20px 8vw 20px 8vw;
  font-size: 1.07rem;
  opacity: 1;
  transform: translateY(0);
  transition: transform .32s, opacity .32s;
}
.cookie-banner.hidden {
  opacity: 0;
  transform: translateY(122%);
  pointer-events: none;
}
.cookie-banner .cookie-text {
  flex: 1;
  color: #2B361A;
  font-size: 1.05rem;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  align-items: center;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.98rem;
  background: var(--pastel-peach);
  color: #205C3E;
  border: none;
  border-radius: 14px;
  padding: 10px 22px;
  cursor: pointer;
  margin: 0;
  font-weight: 600;
  box-shadow: 0 1px 6px 0 rgba(234,159,62,0.10);
  transition: background .17s, color .17s;
}
.cookie-banner button.accept {
  background: var(--accent);
  color: #fff;
}
.cookie-banner button.accept:hover, .cookie-banner button.accept:focus {
  background: var(--accent-dark);
  color: #fff;
}
.cookie-banner button.settings {
  background: var(--pastel-yellow);
  color: var(--accent-dark);
}
.cookie-banner button.settings:hover,
.cookie-banner button.settings:focus {
  background: var(--accent-dark);
  color: #fff;
}
.cookie-banner button.reject {
  background: var(--gray-light);
  color: var(--gray-dark);
}
.cookie-banner button.reject:hover {
  background: #fbe0e0;
  color: #A04B3C;
}
@media (max-width: 740px) {
  .cookie-banner {
    flex-direction: column;
    gap: 13px;
    padding: 19px 17px 18px 17px;
    font-size: .97rem;
    align-items: stretch;
  }
  .cookie-banner .cookie-actions {
    gap: 10px;
    flex-direction: column;
    align-items: flex-start;
  }
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal {
  position: fixed;
  left: 50%; top: 50%; transform: translate(-50%, -50%) scale(1);
  z-index: 4000;
  background: #fff;
  width: 96vw;
  max-width: 400px;
  border-radius: 20px;
  box-shadow: 0 5px 35px 0 rgba(80,48,100,0.07);
  padding: 36px 25px 22px 25px;
  opacity: 1;
  pointer-events: auto;
  transition: opacity .23s, transform .23s;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.95);
}
.cookie-modal h2 {
  color: var(--primary-dark);
  font-size: 1.30rem;
  margin-bottom: 6px;
}
.cookie-category-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 10px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
}
.cookie-category input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: var(--accent);
  cursor: pointer;
  margin-right: 8px;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 9px;
}
.cookie-modal button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border-radius: 12px;
  padding: 9px 16px;
  border: none;
  background: var(--pastel-peach);
  color: var(--primary-dark);
  cursor: pointer;
  font-size: 0.99rem;
  transition: background 0.17s, color 0.15s;
}
.cookie-modal button.save {
  background: var(--accent);
  color: #fff;
}
.cookie-modal button.save:hover,
.cookie-modal button.save:focus {
  background: var(--accent-dark);
  color: #fff;
}
.cookie-modal .close-modal-btn {
  position: absolute;
  right: 16px; top: 13px;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: var(--primary);
  cursor: pointer;
}

@media (max-width: 450px) {
  .cookie-modal {
    max-width: 98vw;
    padding: 17vw 5vw 7vw 5vw;
  }
  .cookie-modal h2 { font-size: 1.13rem; }
  .cookie-category-list { font-size: 0.97rem; }
}

/* SPACING & FLEXBOX ENFORCEMENT (MANDATORY CLASSES) */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* FORM ELEMENTS (IF ANY) */
input, select, textarea, button {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 12px;
  border: 1px solid var(--gray-light);
  padding: 8px 12px;
  outline: none;
  box-shadow: none;
  background: #fff;
  color: #205C3E;
  margin-bottom: 13px;
  transition: border-color 0.14s, box-shadow 0.13s;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 2px 11px 0 rgba(55,174,99,0.13);
}

::-webkit-input-placeholder { color: #7FA398; opacity: 1; }
::-moz-placeholder { color: #7FA398; opacity: 1; }
:-ms-input-placeholder { color: #7FA398; opacity: 1; }
::placeholder { color: #7FA398; opacity: 1; }

/* MICRO-INTERACTIONS */
button, .cta {
  transition: background 0.18s, color 0.16s, transform 0.15s, box-shadow 0.19s;
}
button:active, .cta:active {
  transform: translateY(2px) scale(0.98);
}

/* DREAMY PASTEL DECORATIONS (OPTIONAL) */
/* You can add simple background shapes as pseudo-elements, e.g. for hero section: */
.hero::before {
  content: '';
  position: absolute;
  left: -60px; top: -60px;
  width: 180px; height: 120px;
  background: var(--pastel-lilac);
  border-radius: 80px 80px 80px 120px;
  opacity: 0.35;
  z-index: 0;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  right: -82px; bottom: -50px;
  width: 160px; height: 120px;
  background: var(--pastel-green);
  border-radius: 90px 70px 100px 110px;
  opacity: 0.24;
  z-index: 0;
  pointer-events: none;
}
.hero, .hero .container, .hero .content-wrapper { position: relative; z-index: 1; }

/* RESPONSIVE TYPOGRAPHY AND LAYOUTS */
@media (max-width: 820px) {
  h1 { font-size: 1.52rem; }
  h2 { font-size: 1.17rem; }
  .section, .hero, .features, .services, .testimonials, .about, .cta-section, .contact-details {
    padding: 24px 6vw;
    margin-bottom: 34px;
  }
  .card { padding: 21px 13px; }
}
@media (max-width: 600px) {
  h1 { font-size: 1.18rem; margin-bottom: 13px; }
  h2 { font-size: 0.97rem; margin-bottom: 9px; }
  .section, .hero, .features, .services, .testimonials, .about, .cta-section, .contact-details {
    padding: 15px 5vw;
    margin-bottom: 25px;
  }
}
@media (max-width: 440px) {
  .footer-nav a { font-size: 0.87rem; padding: 3px 6px; }
  footer p { font-size: 0.85rem; }
  .cta-section .cta { font-size: 1rem; }
}

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

/* ENSURE NO GRID OR ABSOLUTE POSITIONING FOR CARDS/LAYOUTS! (ENFORCEMENT ALREADY IN STRUCTURE) */
