/* ============================================
   SparkFrost Institute - Nature Organic Design
   Comprehensive CSS Styles
   Design Style: Nature-inspired organic design
   ============================================ */

/* ============================================
   CSS RESET & BASE STYLES
   ============================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.7;
  color: #3A3A3A;
  background-color: #F8F6F3;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: 100%;
}

/* ============================================
   TYPOGRAPHY - NATURE ORGANIC STYLE
   ============================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Georgia', serif;
  font-weight: 700;
  line-height: 1.3;
  color: #2C5530;
  margin-bottom: 20px;
}

h1 {
  font-size: 48px;
  letter-spacing: -0.5px;
}

h2 {
  font-size: 36px;
  letter-spacing: -0.3px;
}

h3 {
  font-size: 24px;
}

h4 {
  font-size: 20px;
}

p {
  margin-bottom: 16px;
  color: #4A4A4A;
}

strong {
  font-weight: 600;
  color: #2C5530;
}

/* ============================================
   LAYOUT CONTAINERS
   ============================================ */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

header {
  background: linear-gradient(135deg, #F8F6F3 0%, #E8E6E1 100%);
  padding: 20px 0;
  box-shadow: 0 2px 8px rgba(44, 85, 48, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 2px solid #A8C5A0;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.logo img {
  height: 50px;
  width: auto;
  filter: drop-shadow(0 2px 4px rgba(44, 85, 48, 0.15));
}

.main-nav {
  display: flex;
  gap: 32px;
  align-items: center;
  flex-wrap: wrap;
}

.main-nav a {
  font-weight: 500;
  color: #2C5530;
  font-size: 16px;
  padding: 8px 0;
  position: relative;
  transition: color 0.3s ease;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #6B9B6E 0%, #A8C5A0 100%);
  transition: width 0.3s ease;
}

.main-nav a:hover {
  color: #6B9B6E;
}

.main-nav a:hover::after {
  width: 100%;
}

.header-cta {
  display: flex;
  align-items: center;
}

/* ============================================
   MOBILE MENU - REQUIRED
   ============================================ */

.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 2000;
  background: linear-gradient(135deg, #6B9B6E 0%, #4A7A4D 100%);
  color: #FFFFFF;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 24px;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(44, 85, 48, 0.25);
  transition: all 0.3s ease;
  border: 2px solid #A8C5A0;
}

.mobile-menu-toggle:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(44, 85, 48, 0.35);
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: linear-gradient(180deg, #F8F6F3 0%, #E8E6E1 100%);
  z-index: 2001;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -4px 0 20px rgba(44, 85, 48, 0.15);
  overflow-y: auto;
  border-left: 3px solid #A8C5A0;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #6B9B6E;
  color: #FFFFFF;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border: 2px solid #A8C5A0;
}

.mobile-menu-close:hover {
  background: #4A7A4D;
  transform: rotate(90deg);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  padding: 80px 30px 30px;
  gap: 8px;
}

.mobile-nav a {
  padding: 16px 20px;
  color: #2C5530;
  font-weight: 500;
  font-size: 18px;
  border-radius: 12px;
  transition: all 0.3s ease;
  background: transparent;
  border: 1px solid transparent;
}

.mobile-nav a:hover,
.mobile-nav a:active {
  background: rgba(168, 197, 160, 0.2);
  border-color: #A8C5A0;
  transform: translateX(8px);
}

/* ============================================
   BUTTONS - ORGANIC NATURE STYLE
   ============================================ */

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, #6B9B6E 0%, #4A7A4D 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(107, 155, 110, 0.3);
  border-color: #A8C5A0;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(107, 155, 110, 0.4);
  background: linear-gradient(135deg, #4A7A4D 0%, #2C5530 100%);
}

.btn-secondary {
  background: #FFFFFF;
  color: #2C5530;
  border: 2px solid #A8C5A0;
  box-shadow: 0 2px 8px rgba(44, 85, 48, 0.1);
}

.btn-secondary:hover {
  background: rgba(168, 197, 160, 0.15);
  border-color: #6B9B6E;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(44, 85, 48, 0.15);
}

/* ============================================
   HERO SECTIONS
   ============================================ */

.hero {
  background: linear-gradient(135deg, #E8F5E9 0%, #C8E6C9 50%, #A8C5A0 100%);
  padding: 80px 20px;
  text-align: center;
  border-radius: 0 0 50px 50px;
  position: relative;
  overflow: hidden;
  margin-bottom: 60px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(168, 197, 160, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(107, 155, 110, 0.2) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  color: #2C5530;
  margin-bottom: 24px;
  text-shadow: 0 2px 4px rgba(255, 255, 255, 0.5);
}

.hero-subtitle {
  font-size: 20px;
  color: #4A4A4A;
  margin-bottom: 32px;
  line-height: 1.6;
}

.breadcrumb {
  margin-top: 24px;
  font-size: 14px;
  color: #6B9B6E;
}

.breadcrumb a {
  color: #6B9B6E;
  transition: color 0.3s ease;
}

.breadcrumb a:hover {
  color: #2C5530;
}

/* ============================================
   CTA BUTTONS SECTION
   ============================================ */

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 24px;
}

.trust-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 32px;
  font-size: 14px;
  color: #4A7A4D;
  font-weight: 500;
}

.trust-badges span {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ============================================
   CARDS & GRIDS - FLEXBOX ONLY
   ============================================ */

.services-grid,
.courses-grid,
.benefits-grid,
.values-grid,
.stats-grid,
.testimonials-grid,
.links-grid,
.formats-grid,
.options-grid,
.categories-grid,
.trust-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 40px;
}

.service-card,
.course-card,
.benefit,
.value,
.link-card,
.format,
.option,
.category-card,
.trust-item {
  flex: 1 1 calc(33.333% - 24px);
  min-width: 280px;
  background: #FFFFFF;
  padding: 32px 24px;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(44, 85, 48, 0.08);
  transition: all 0.3s ease;
  border: 2px solid #E8E6E1;
  margin-bottom: 20px;
}

.service-card:hover,
.course-card:hover,
.link-card:hover,
.format:hover,
.option:hover,
.category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 24px rgba(44, 85, 48, 0.15);
  border-color: #A8C5A0;
}

.service-card h3,
.course-card h3,
.benefit h3,
.value h3 {
  color: #2C5530;
  margin-bottom: 16px;
  font-size: 22px;
}

.service-card p,
.course-card p {
  color: #4A4A4A;
  margin-bottom: 20px;
  line-height: 1.7;
}

.price {
  font-size: 28px;
  font-weight: 700;
  color: #6B9B6E;
  margin: 20px 0;
  font-family: 'Montserrat', serif;
}

.service-card img,
.benefit img,
.format img,
.option img,
.category-card img {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  opacity: 0.8;
}

/* ============================================
   STATS SECTION
   ============================================ */

.stats {
  background: linear-gradient(135deg, #C8E6C9 0%, #A8C5A0 100%);
  padding: 60px 20px;
  border-radius: 30px;
  margin-bottom: 60px;
}

.stat {
  flex: 1 1 calc(25% - 24px);
  min-width: 200px;
  text-align: center;
  padding: 24px;
  margin-bottom: 20px;
}

.stat-number {
  font-size: 48px;
  font-weight: 700;
  color: #2C5530;
  margin-bottom: 12px;
  font-family: 'Montserrat', serif;
}

.stat-label {
  font-size: 16px;
  color: #4A4A4A;
  font-weight: 500;
}

/* ============================================
   TESTIMONIALS - FLEXBOX WITH PROPER CONTRAST
   ============================================ */

.testimonials {
  background: #F8F6F3;
  padding: 60px 20px;
  margin-bottom: 60px;
}

.testimonials h2 {
  text-align: center;
  margin-bottom: 48px;
  color: #2C5530;
}

.testimonials-grid-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.testimonial-card {
  flex: 1 1 calc(50% - 24px);
  min-width: 300px;
  background: #FFFFFF;
  padding: 32px;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(44, 85, 48, 0.1);
  border: 2px solid #E8E6E1;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.testimonial-card .rating {
  color: #D4A855;
  font-size: 20px;
  margin-bottom: 12px;
}

.testimonial-card p {
  font-size: 16px;
  line-height: 1.7;
  color: #3A3A3A;
  font-style: italic;
  margin-bottom: 16px;
}

.testimonial-card .author {
  color: #2C5530;
  font-weight: 600;
  font-style: normal;
  padding-top: 16px;
  border-top: 2px solid #E8E6E1;
}

.testimonial-card .author strong {
  display: block;
  margin-bottom: 4px;
  color: #2C5530;
}

.social-proof {
  color: #6B9B6E;
  font-size: 14px;
  margin-top: 8px;
}

/* ============================================
   FEATURED STORIES
   ============================================ */

.featured-story {
  background: #FFFFFF;
  padding: 40px;
  border-radius: 20px;
  margin-bottom: 32px;
  box-shadow: 0 4px 16px rgba(44, 85, 48, 0.1);
  border-left: 5px solid #6B9B6E;
}

.featured-story h2 {
  color: #2C5530;
  margin-bottom: 16px;
}

.story-context,
.story-result {
  margin-bottom: 16px;
  color: #4A4A4A;
}

.featured-story blockquote {
  font-size: 18px;
  font-style: italic;
  color: #3A3A3A;
  padding: 24px;
  background: rgba(168, 197, 160, 0.1);
  border-radius: 12px;
  margin: 24px 0;
  border-left: 4px solid #A8C5A0;
}

/* ============================================
   BLOG SECTION
   ============================================ */

.blog-featured {
  margin-bottom: 60px;
}

.featured-post {
  background: linear-gradient(135deg, #E8F5E9 0%, #C8E6C9 100%);
  padding: 48px;
  border-radius: 24px;
  box-shadow: 0 6px 20px rgba(44, 85, 48, 0.12);
}

.category {
  display: inline-block;
  padding: 6px 16px;
  background: #6B9B6E;
  color: #FFFFFF;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.blog-card {
  flex: 1 1 calc(33.333% - 24px);
  min-width: 300px;
  background: #FFFFFF;
  padding: 28px;
  border-radius: 16px;
  box-shadow: 0 3px 10px rgba(44, 85, 48, 0.08);
  transition: all 0.3s ease;
  border: 2px solid #E8E6E1;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(44, 85, 48, 0.15);
  border-color: #A8C5A0;
}

.blog-card h3 {
  color: #2C5530;
  font-size: 20px;
  margin: 8px 0;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: #6B9B6E;
  margin-top: 12px;
}

.excerpt {
  font-size: 16px;
  line-height: 1.6;
  color: #4A4A4A;
}

.link-arrow {
  color: #6B9B6E;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  transition: all 0.3s ease;
}

.link-arrow:hover {
  color: #2C5530;
  transform: translateX(4px);
}

/* ============================================
   COURSES DETAILED
   ============================================ */

.course-item {
  background: #FFFFFF;
  padding: 40px;
  border-radius: 20px;
  margin-bottom: 32px;
  box-shadow: 0 4px 16px rgba(44, 85, 48, 0.1);
  border: 2px solid #E8E6E1;
}

.course-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}

.course-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.duration,
.level {
  padding: 8px 16px;
  background: rgba(168, 197, 160, 0.2);
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  color: #2C5530;
  border: 1px solid #A8C5A0;
}

.course-highlights {
  background: rgba(232, 245, 233, 0.5);
  padding: 24px;
  border-radius: 12px;
  margin: 24px 0;
  border-left: 4px solid #6B9B6E;
}

.course-highlights h3 {
  color: #2C5530;
  margin-bottom: 16px;
  font-size: 18px;
}

.course-highlights ul {
  list-style: none;
}

.course-highlights li {
  padding: 8px 0 8px 28px;
  position: relative;
  color: #4A4A4A;
}

.course-highlights li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #6B9B6E;
  font-weight: 700;
  font-size: 18px;
}

/* ============================================
   FORMS - CONTACT
   ============================================ */

.form-wrapper {
  max-width: 600px;
  margin: 40px auto 0;
  background: #FFFFFF;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(44, 85, 48, 0.1);
  border: 2px solid #E8E6E1;
}

.form-field {
  margin-bottom: 24px;
}

.form-field label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #2C5530;
  font-size: 14px;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #E8E6E1;
  border-radius: 12px;
  font-size: 16px;
  transition: all 0.3s ease;
  background: #FFFFFF;
  color: #3A3A3A;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: #A8C5A0;
  box-shadow: 0 0 0 3px rgba(168, 197, 160, 0.1);
}

.form-field textarea {
  resize: vertical;
  min-height: 120px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-weight: 400;
  color: #4A4A4A;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  width: auto;
  margin-top: 4px;
}

.checkbox-label a {
  color: #6B9B6E;
  text-decoration: underline;
}

.form-note {
  font-size: 13px;
  color: #6B9B6E;
  margin-top: 12px;
}

/* ============================================
   CTA BANNERS
   ============================================ */

.cta-banner {
  background: linear-gradient(135deg, #C8E6C9 0%, #A8C5A0 100%);
  padding: 60px 40px;
  border-radius: 30px;
  text-align: center;
  margin: 60px 0;
  box-shadow: 0 6px 24px rgba(44, 85, 48, 0.15);
}

.cta-banner h2 {
  color: #2C5530;
  margin-bottom: 16px;
}

.cta-banner p {
  font-size: 18px;
  color: #4A4A4A;
  margin-bottom: 32px;
}

.cta-center {
  text-align: center;
  margin-top: 40px;
}

/* ============================================
   FOOTER
   ============================================ */

footer {
  background: linear-gradient(135deg, #2C5530 0%, #4A7A4D 100%);
  color: #E8E6E1;
  padding: 60px 20px 24px;
  margin-top: 80px;
  border-top: 4px solid #6B9B6E;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col {
  flex: 1 1 calc(20% - 40px);
  min-width: 200px;
}

.footer-col img {
  max-width: 150px;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
}

.footer-col .tagline {
  font-style: italic;
  color: #C8E6C9;
  margin-bottom: 12px;
  font-weight: 500;
}

.footer-col h4 {
  color: #A8C5A0;
  margin-bottom: 16px;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-col p {
  color: #E8E6E1;
  font-size: 14px;
  line-height: 1.7;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col a {
  color: #E8E6E1;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-col a:hover {
  color: #A8C5A0;
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(168, 197, 160, 0.3);
  color: #C8E6C9;
  font-size: 14px;
}

/* ============================================
   404 PAGE
   ============================================ */

.hero-404 {
  background: linear-gradient(135deg, #E8F5E9 0%, #C8E6C9 100%);
  padding: 100px 20px;
  text-align: center;
  border-radius: 30px;
  margin-bottom: 60px;
}

.error-code {
  font-size: 120px;
  font-weight: 700;
  color: #A8C5A0;
  font-family: 'Montserrat', serif;
  margin-bottom: 24px;
  text-shadow: 2px 2px 4px rgba(44, 85, 48, 0.1);
}

.error-content h1 {
  color: #2C5530;
  margin-bottom: 16px;
}

/* ============================================
   THANK YOU PAGE
   ============================================ */

.hero-thankyou {
  background: linear-gradient(135deg, #E8F5E9 0%, #C8E6C9 100%);
  padding: 80px 20px;
  text-align: center;
  border-radius: 30px;
  margin-bottom: 60px;
}

.success-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  background: #6B9B6E;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-icon img {
  width: 50px;
  height: 50px;
  filter: brightness(0) invert(1);
}

.actions-grid,
.steps-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 40px;
}

.action-card,
.step {
  flex: 1 1 calc(33.333% - 24px);
  min-width: 280px;
  background: #FFFFFF;
  padding: 32px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(44, 85, 48, 0.1);
  transition: all 0.3s ease;
  border: 2px solid #E8E6E1;
  margin-bottom: 20px;
}

.action-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(44, 85, 48, 0.15);
  border-color: #A8C5A0;
}

.action-card img,
.step img {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
}

/* ============================================
   LEGAL PAGES
   ============================================ */

.legal-content {
  max-width: 900px;
  margin: 0 auto;
}

.legal-text {
  background: #FFFFFF;
  padding: 48px;
  border-radius: 20px;
  box-shadow: 0 4px 16px rgba(44, 85, 48, 0.1);
  border: 2px solid #E8E6E1;
}

.legal-text h2 {
  color: #2C5530;
  margin-top: 40px;
  margin-bottom: 20px;
  padding-top: 24px;
  border-top: 2px solid #E8E6E1;
}

.legal-text h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.legal-text h3 {
  color: #4A7A4D;
  margin-top: 24px;
  margin-bottom: 12px;
  font-size: 18px;
}

.legal-text p {
  color: #4A4A4A;
  margin-bottom: 16px;
  line-height: 1.8;
}

.legal-text ul {
  list-style: disc;
  margin-left: 24px;
  margin-bottom: 16px;
}

.legal-text li {
  margin-bottom: 8px;
  color: #4A4A4A;
  line-height: 1.7;
}

.last-updated {
  font-size: 14px;
  color: #6B9B6E;
  font-style: italic;
  margin-top: 8px;
}

/* ============================================
   NEWSLETTER SIGNUP
   ============================================ */

.newsletter-signup {
  background: linear-gradient(135deg, #E8F5E9 0%, #C8E6C9 100%);
  padding: 60px 40px;
  border-radius: 30px;
  text-align: center;
  margin-bottom: 60px;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 500px;
  margin: 24px auto;
  flex-wrap: wrap;
  justify-content: center;
}

.email-input {
  flex: 1 1 300px;
  padding: 14px 20px;
  border: 2px solid #A8C5A0;
  border-radius: 50px;
  font-size: 16px;
  background: #FFFFFF;
}

.email-input:focus {
  outline: none;
  border-color: #6B9B6E;
  box-shadow: 0 0 0 3px rgba(107, 155, 110, 0.1);
}

.benefits {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  font-size: 14px;
  color: #2C5530;
}

.privacy-note {
  font-size: 12px;
  color: #6B9B6E;
  margin-top: 16px;
}

/* ============================================
   COOKIE CONSENT BANNER - REQUIRED
   ============================================ */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #2C5530 0%, #4A7A4D 100%);
  color: #FFFFFF;
  padding: 24px;
  box-shadow: 0 -4px 20px rgba(44, 85, 48, 0.3);
  z-index: 1999;
  transform: translateY(100%);
  transition: transform 0.4s ease;
  border-top: 3px solid #A8C5A0;
}

.cookie-banner.active {
  transform: translateY(0);
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-text {
  flex: 1 1 400px;
  font-size: 14px;
  line-height: 1.6;
}

.cookie-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.cookie-btn-accept {
  background: #A8C5A0;
  color: #2C5530;
  border-color: #C8E6C9;
}

.cookie-btn-accept:hover {
  background: #C8E6C9;
  transform: translateY(-2px);
}

.cookie-btn-reject {
  background: transparent;
  color: #FFFFFF;
  border-color: #FFFFFF;
}

.cookie-btn-reject:hover {
  background: rgba(255, 255, 255, 0.1);
}

.cookie-btn-settings {
  background: transparent;
  color: #A8C5A0;
  border-color: #A8C5A0;
}

.cookie-btn-settings:hover {
  background: rgba(168, 197, 160, 0.1);
}

/* ============================================
   COOKIE PREFERENCES MODAL
   ============================================ */

.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(44, 85, 48, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 20px;
}

.cookie-modal.active {
  display: flex;
}

.modal-content {
  background: #FFFFFF;
  padding: 40px;
  border-radius: 24px;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 8px 32px rgba(44, 85, 48, 0.3);
  border: 3px solid #A8C5A0;
}

.modal-content h2 {
  color: #2C5530;
  margin-bottom: 24px;
}

.cookie-category {
  padding: 20px;
  background: rgba(232, 245, 233, 0.5);
  border-radius: 12px;
  margin-bottom: 16px;
  border: 2px solid #E8E6E1;
}

.cookie-category h3 {
  color: #2C5530;
  margin-bottom: 8px;
  font-size: 18px;
}

.cookie-category p {
  font-size: 14px;
  color: #4A4A4A;
  margin-bottom: 12px;
}

.cookie-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
}

.toggle-switch {
  position: relative;
  width: 50px;
  height: 26px;
  background: #E8E6E1;
  border-radius: 50px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.toggle-switch.active {
  background: #6B9B6E;
}

.toggle-switch::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  background: #FFFFFF;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.toggle-switch.active::after {
  transform: translateX(24px);
}

.modal-buttons {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}

/* ============================================
   TIMELINE
   ============================================ */

.timeline {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 40px;
}

.milestone {
  flex: 1 1 calc(20% - 24px);
  min-width: 150px;
  padding: 20px;
  background: rgba(168, 197, 160, 0.15);
  border-radius: 12px;
  text-align: center;
  border: 2px solid #A8C5A0;
  color: #2C5530;
  font-weight: 600;
  margin-bottom: 20px;
}

/* ============================================
   LOCATION FEATURES
   ============================================ */

.location-features {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
}

.location-features span {
  padding: 8px 16px;
  background: rgba(168, 197, 160, 0.2);
  border-radius: 20px;
  font-size: 14px;
  color: #2C5530;
  border: 1px solid #A8C5A0;
}

/* ============================================
   SOCIAL BUTTONS
   ============================================ */

.social-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 24px;
}

.social-btn {
  padding: 12px 24px;
  background: #6B9B6E;
  color: #FFFFFF;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid #A8C5A0;
}

.social-btn:hover {
  background: #4A7A4D;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(44, 85, 48, 0.2);
}

/* ============================================
   SECTION SUBTITLE
   ============================================ */

.section-subtitle {
  text-align: center;
  font-size: 18px;
  color: #4A4A4A;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   RESPONSIVE DESIGN - MOBILE FIRST
   ============================================ */

@media (max-width: 768px) {
  /* Mobile menu toggle */
  .mobile-menu-toggle {
    display: flex;
  }
  
  .main-nav {
    display: none;
  }
  
  .header-cta {
    display: none;
  }
  
  /* Typography adjustments */
  h1 {
    font-size: 32px;
  }
  
  h2 {
    font-size: 28px;
  }
  
  h3 {
    font-size: 20px;
  }
  
  /* Hero section */
  .hero {
    padding: 60px 20px;
  }
  
  .hero-subtitle {
    font-size: 18px;
  }
  
  /* CTA buttons */
  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  
  .btn {
    width: 100%;
    text-align: center;
  }
  
  /* Grids to single column */
  .services-grid,
  .courses-grid,
  .benefits-grid,
  .values-grid,
  .testimonials-grid-layout,
  .links-grid,
  .formats-grid,
  .options-grid {
    flex-direction: column;
  }
  
  .service-card,
  .course-card,
  .benefit,
  .value,
  .testimonial-card,
  .link-card,
  .format,
  .option,
  .blog-card,
  .action-card,
  .step {
    flex: 1 1 100%;
  }
  
  /* Stats grid */
  .stats-grid {
    flex-direction: column;
  }
  
  .stat {
    flex: 1 1 100%;
  }
  
  /* Footer */
  .footer-content {
    flex-direction: column;
  }
  
  .footer-col {
    flex: 1 1 100%;
  }
  
  /* Forms */
  .form-wrapper {
    padding: 24px;
  }
  
  /* Legal content */
  .legal-text {
    padding: 24px;
  }
  
  /* Newsletter */
  .newsletter-form {
    flex-direction: column;
  }
  
  .email-input {
    flex: 1 1 100%;
  }
  
  /* Cookie banner */
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-buttons {
    justify-content: center;
  }
  
  /* Modal */
  .modal-content {
    padding: 24px;
  }
  
  /* Timeline */
  .timeline {
    flex-direction: column;
  }
  
  .milestone {
    flex: 1 1 100%;
  }
  
  /* 404 error code */
  .error-code {
    font-size: 80px;
  }
  
  /* Course header */
  .course-header {
    flex-direction: column;
  }
  
  .course-meta {
    width: 100%;
  }
}

@media (max-width: 480px) {
  /* Further mobile adjustments */
  h1 {
    font-size: 28px;
  }
  
  h2 {
    font-size: 24px;
  }
  
  .container {
    padding: 0 16px;
  }
  
  section {
    padding: 32px 16px;
  }
  
  .btn {
    padding: 12px 24px;
    font-size: 15px;
  }
  
  .mobile-menu {
    width: 100%;
  }
  
  .stat-number {
    font-size: 36px;
  }
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
  .mobile-menu-toggle,
  .mobile-menu,
  .cookie-banner,
  .cookie-modal,
  header,
  footer,
  .cta-banner,
  .newsletter-signup {
    display: none;
  }
  
  body {
    background: white;
    color: black;
  }
  
  a {
    text-decoration: underline;
  }
}

/* ============================================
   ACCESSIBILITY IMPROVEMENTS
   ============================================ */

:focus-visible {
  outline: 3px solid #6B9B6E;
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ============================================
   ANIMATION UTILITIES
   ============================================ */

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.6s ease forwards;
}

/* ============================================
   END OF STYLESHEET
   ============================================ */