:root {
  /* Primary colors - split-complementary scheme */
  --primary-color: #2e7d32; /* Dark green */
  --primary-light: #4caf50; /* Medium green */
  --primary-lighter: #8bc34a; /* Light green */
  --primary-dark: #1b5e20; /* Darker green */
  
  /* Complementary colors */
  --accent-color: #d32f2f; /* Red */
  --accent-light: #f44336; /* Light red */
  --accent-dark: #b71c1c; /* Dark red */
  
  /* Split complementary */
  --secondary-color: #7b1fa2; /* Purple */
  --secondary-light: #9c27b0; /* Light purple */
  --secondary-dark: #4a148c; /* Dark purple */
  
  /* Neutral colors */
  --neutral-dark: #212121;
  --neutral-medium: #757575;
  --neutral-light: #e0e0e0;
  --neutral-lighter: #f5f5f5;
  
  /* Text colors */
  --text-dark: #212121;
  --text-medium: #424242;
  --text-light: #757575;
  --text-white: #ffffff;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  --gradient-accent: linear-gradient(135deg, var(--accent-color), var(--accent-light));
  --gradient-secondary: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Border radius */
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 16px;
  --border-radius-xl: 24px;
  --border-radius-circle: 50%;
  
  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-xxl: 5rem;
  
  /* Container max-width */
  --container-max-width: 1200px;
}

/* Typography */
body {
  font-family: 'Merriweather', serif;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-medium);
  background-color: var(--neutral-lighter);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

h1, .h1 {
  font-size: calc(2rem + 1.5vw);
  font-weight: 700;
}

h2, .h2 {
  font-size: calc(1.5rem + 1vw);
  font-weight: 700;
}

h3, .h3 {
  font-size: calc(1.25rem + 0.5vw);
  font-weight: 600;
}

h4, .h4 {
  font-size: calc(1.125rem + 0.25vw);
  font-weight: 600;
}

p {
  margin-bottom: 1.5rem;
}

.lead {
  font-size: calc(1.1rem + 0.2vw);
  line-height: 1.7;
}

.section-title {
  position: relative;
  margin-bottom: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.section-subtitle {
  font-size: calc(1rem + 0.1vw);
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto 2rem;
}

.title-underline {
  width: 80px;
  height: 4px;
  background: var(--gradient-primary);
  margin: 0 auto 1.5rem;
  border-radius: var(--border-radius-sm);
}

/* Base Styles */
a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

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

.text-white {
  color: var(--text-white) !important;
}

/* Button Styles */
.btn,
button:not(.navbar-toggler),
input[type='submit'] {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  border-radius: var(--border-radius-md);
  transition: all var(--transition-medium);
  overflow: hidden;
  z-index: 1;
  box-shadow: var(--shadow-sm);
}

.btn:hover,
button:not(.navbar-toggler):hover,
input[type='submit']:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn:active,
button:not(.navbar-toggler):active,
input[type='submit']:active {
  transform: translateY(0);
}

.btn::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.3) 10%, transparent 10.01%);
  background-repeat: no-repeat;
  background-position: 50%;
  transform: scale(10, 10);
  opacity: 0;
  transition: transform 0.5s, opacity 0.8s;
}

.btn:active::after {
  transform: scale(0, 0);
  opacity: 0.3;
  transition: 0s;
}

.btn-primary {
  background: var(--gradient-primary);
  border: none;
  color: white;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
  color: white;
}

.btn-outline-primary {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-outline-primary:hover {
  background: var(--primary-color);
  color: white;
}

.btn-outline-light {
  background: transparent;
  border: 2px solid white;
  color: white;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

/* Navbar */
.navbar {
  padding: 1rem 0;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-medium);
}

.navbar-brand img {
  transition: transform var(--transition-medium);
}

.navbar-nav .nav-link {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  padding: 0.5rem 1rem;
  color: var(--text-medium);
  transition: color var(--transition-fast);
  position: relative;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: all var(--transition-medium);
  transform: translateX(-50%);
}

.navbar-nav .nav-link:hover {
  color: var(--primary-color);
}

.navbar-nav .nav-link:hover::after {
  width: 80%;
}

.navbar-nav .nav-link.active {
  color: var(--primary-color);
}

.navbar-nav .nav-link.active::after {
  width: 80%;
}

/* Hero Section */
.hero-section {
  position: relative;
  overflow: hidden;
}

.hero-overlay {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7rem 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  z-index: 1;
}

.hero-overlay::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7));
  z-index: -1;
}

.hero-content {
  position: relative;
  z-index: 2;
  animation: fadeInUp 1s ease-out;
}

.hero-buttons {
  margin-top: 2rem;
}

.hero-buttons .btn {
  margin: 0.5rem;
}

/* Mission Section */
.mission-section {
  background-color: var(--neutral-lighter);
  padding: 5rem 0;
}

.image-container {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius-md);

  transition: transform var(--transition-medium);
}

.image-container:hover {
  transform: scale(1.02);
}

.mission-stats {
  margin-top: 2rem;
}

.stat-item {
  padding: 1.5rem;
  border-radius: var(--border-radius-md);
  background-color: white;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-medium);
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.stat-number {
  font-size: calc(1.5rem + 1vw);
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 0;
}

/* Gallery Section */
.gallery-section {
  background-color: white;
  padding: 5rem 0;
}

.gallery-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  border: none;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-medium);
}

.gallery-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.card-image {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform var(--transition-medium);
}

.gallery-card:hover .card-image img {
  transform: scale(1.05);
}

.card-content {
  padding: 1.5rem;
  text-align: center;
}

.card-content h3 {
  margin-bottom: 1rem;
  font-weight: 600;
  color: var(--text-dark);
}

/* Success Stories Section */
.success-stories-section {
  background-color: var(--neutral-lighter);
  padding: 5rem 0;
}

.timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background: var(--primary-light);
  transform: translateX(-50%);
  border-radius: var(--border-radius-sm);
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  top: 1.5rem;
  left: 50%;
  width: 20px;
  height: 20px;
  background: var(--primary-color);
  border-radius: 50%;
  transform: translateX(-50%);
  z-index: 1;
  box-shadow: var(--shadow-sm);
}

.timeline-content {
  position: relative;
  width: 45%;
  margin-left: auto;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-left: 0;
  margin-right: auto;
}

.timeline-content .card {
  border: none;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-medium);
}

.timeline-content .card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.timeline-date {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background-color: var(--primary-light);
  color: white;
  border-radius: var(--border-radius-sm);
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
}

/* External Resources Section */
.external-resources-section {
  background-color: white;
  padding: 5rem 0;
}

.resource-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  border: none;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-medium);
}

.resource-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.resource-card .card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.resource-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-medium);
}

.resource-card:hover .card-image img {
  transform: scale(1.05);
}

.resource-card .card-content {
  padding: 1.5rem;
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.resource-card .btn {
  margin-top: auto;
}

/* Webinars Section */
.webinars-section {
  background-color: var(--neutral-lighter);
  padding: 5rem 0;
}

.webinar-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  border: none;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-medium);
}

.webinar-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.webinar-card .card-image {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.webinar-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-medium);
}

.webinar-card:hover .card-image img {
  transform: scale(1.05);
}

.webinar-date {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background-color: white;
  color: var(--text-dark);
  border-radius: var(--border-radius-sm);
  box-shadow: var(--shadow-sm);
  z-index: 1;
}

.webinar-date .day {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}

.webinar-date .month {
  font-size: 0.875rem;
  text-transform: uppercase;
  font-weight: 600;
}

.webinar-card .card-content {
  padding: 1.5rem;
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Behind the Scenes Section */
.behind-scenes-section {
  background-color: white;
  padding: 5rem 0;
}

.behind-scenes-content {
  padding: 2rem;
}

.stats-container {
  margin-top: 2rem;
}

.stat-box {
  padding: 1.5rem;
  background-color: var(--neutral-lighter);
  border-radius: var(--border-radius-md);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-medium);
}

.stat-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.stat-box h4 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.stat-box p {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 0;
}

/* Contact Section */
.contact-section {
  background-color: var(--neutral-lighter);
  padding: 5rem 0;
}

.contact-info {
  padding: 2rem;
  background-color: white;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
}

.contact-map {
  width: 100%;
  height: 300px;
  border-radius: var(--border-radius-md);
  overflow: hidden;
}

.contact-form-container {
  padding: 2rem;
  background-color: white;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
}

.form-control, .form-select {
  padding: 0.75rem 1rem;
  border: 1px solid var(--neutral-light);
  border-radius: var(--border-radius-sm);
  transition: all var(--transition-fast);
}

.form-control:focus, .form-select:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 0.25rem rgba(76, 175, 80, 0.25);
}

/* Footer Section */
.footer-section {
  background-color: var(--neutral-dark);
  color: white;
  padding: 5rem 0 2rem;
}

.footer-section h4 {
  color: white;
  margin-bottom: 1.5rem;
  font-weight: 600;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-section h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: var(--primary-light);
  border-radius: var(--border-radius-sm);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--neutral-light);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: white;
  text-decoration: none;
}

.social-links a {
  color: var(--neutral-light);
  transition: color var(--transition-fast);
  font-weight: 600;
}

.social-links a:hover {
  color: white;
  text-decoration: none;
}

.newsletter-form .form-control {
  background-color: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
}

.newsletter-form .form-control::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.newsletter-form .btn {
  padding: 0.75rem 1.5rem;
}

.footer-section hr {
  border-color: rgba(255, 255, 255, 0.1);
}

/* Success Page */
.success-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  text-align: center;
  padding: 2rem;
}

.success-container {
  max-width: 600px;
  padding: 3rem;
  background-color: white;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-lg);
}

.success-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 2rem;
  background-color: var(--primary-light);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 2.5rem;
}

/* Privacy & Terms Pages */
.page-content {
  padding-top: 100px;
  padding-bottom: 5rem;
}

.page-content h1 {
  margin-bottom: 2rem;
}

.page-content h2 {
  margin-top: 3rem;
  margin-bottom: 1.5rem;
}

/* Utility Classes */
.text-primary {
  color: var(--primary-color) !important;
}

.text-accent {
  color: var(--accent-color) !important;
}

.bg-primary {
  background-color: var(--primary-color) !important;
}

.bg-accent {
  background-color: var(--accent-color) !important;
}

.bg-light {
  background-color: var(--neutral-lighter) !important;
}

.rounded {
  border-radius: var(--border-radius-md) !important;
}

.shadow {
  box-shadow: var(--shadow-md) !important;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

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

.fade-in {
  animation: fadeIn 1s ease-out;
}

.fade-in-up {
  animation: fadeInUp 1s ease-out;
}

.fade-in-down {
  animation: fadeInDown 1s ease-out;
}

/* Media Queries */
@media (max-width: 992px) {
  .timeline::before {
    left: 30px;
  }
  
  .timeline-dot {
    left: 30px;
  }
  
  .timeline-content {
    width: calc(100% - 60px);
    margin-left: 60px;
  }
  
  .timeline-item:nth-child(even) .timeline-content {
    margin-left: 60px;
    margin-right: 0;
  }
  
  .hero-overlay {
    padding: 5rem 0;
  }
}

@media (max-width: 768px) {
  .hero-overlay {
    padding: 4rem 0;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .behind-scenes-content {
    padding: 1.5rem;
  }
  
  .contact-info, .contact-form-container {
    padding: 1.5rem;
  }
  
  .footer-section {
    padding: 3rem 0 1.5rem;
  }
  
  .timeline-item {
    margin-bottom: 2rem;
  }
}

@media (max-width: 576px) {
  .hero-overlay {
    padding: 3rem 0;
  }
  
  .btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }
  
  .timeline-content .card-image img {
    height: 200px;
  }
  
  .resource-card .card-image,
  .webinar-card .card-image {
    height: 180px;
  }
  
  .stat-box {
    padding: 1rem;
  }
  
  .behind-scenes-content {
    padding: 1rem;
  }
  
  .contact-info, .contact-form-container {
    padding: 1rem;
  }
}