/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #54805f;
  --primary-light: #7fb069;
  --primary-dark: #3d5f47;
  --secondary: #e5f4cb;
  --dark: #0a0f0d;
  --dark-secondary: #0f1612;
  --dark-tertiary: #1a1f1d;
  --text-primary: #ffffff;
  --text-secondary: #b8c5bd;
  --text-muted: #8a9690;
  --border: rgba(84, 128, 95, 0.2);
  --border-light: rgba(84, 128, 95, 0.1);
}

/* Enhanced Light Mode Styles */
body.light-mode {
  --dark: #ffffff;
  --dark-secondary: #f8faf9;
  --dark-tertiary: #f1f4f2;
  --text-primary: #54805f; /* CHANGED FROM #1a2f21 to #54805f */
  --text-secondary: #4a5f55;
  --text-muted: #6b7f76;
  --border: rgba(84, 128, 95, 0.25);
  --border-light: rgba(84, 128, 95, 0.15);
  
  /* Additional light mode specific variables */
  --shadow-light: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-medium: 0 8px 40px rgba(0, 0, 0, 0.12);
  --shadow-large: 0 20px 60px rgba(0, 0, 0, 0.15);
  --card-bg: rgba(255, 255, 255, 0.8);
  --card-bg-hover: rgba(255, 255, 255, 0.95);
}
/* Light Mode Specific Enhancements */
body.light-mode .header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

body.light-mode .header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

body.light-mode .nav a {
  color: var(--text-primary);
}

body.light-mode .nav a:hover {
  color: var(--primary);
}

body.light-mode .btn-ghost {
  color: var(--text-primary);
  border: 1px solid var(--border);
}

body.light-mode .btn-ghost:hover {
  background: rgba(84, 128, 95, 0.05);
  border-color: var(--primary);
}

body.light-mode .theme-toggle {
  background: rgba(84, 128, 95, 0.08);
  border: 1px solid var(--border);
  color: var(--text-primary);
}

body.light-mode .theme-toggle:hover {
  background: rgba(84, 128, 95, 0.15);
  border-color: var(--primary);
}

body.light-mode .hero::before {
  background: radial-gradient(circle at 30% 50%, rgba(84, 128, 95, 0.08) 0%, transparent 50%);
}

body.light-mode .hero-badge {
  background: rgba(84, 128, 95, 0.08);
  border: 1px solid var(--border);
  color: var(--text-secondary);
}

body.light-mode .hero-description {
  color: var(--text-secondary);
}

body.light-mode .btn-secondary-large {
  border: 2px solid var(--border);
  color: var(--text-primary);
  background: transparent;
}

body.light-mode .btn-secondary-large:hover {
  background: rgba(84, 128, 95, 0.08);
  border-color: var(--primary);
}

body.light-mode .floating-card {
  background: var(--card-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-medium);
}

body.light-mode .floating-card:hover {
  background: var(--card-bg-hover);
  box-shadow: var(--shadow-large);
}

body.light-mode .trusted-by {
  background: var(--dark-secondary);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

body.light-mode .client-logo {
  color: var(--text-muted);
  opacity: 0.7;
}

body.light-mode .client-logo:hover {
  opacity: 1;
  color: var(--text-primary);
}

/* Services Section Light Mode */
body.light-mode .services {
  background: var(--dark);
}

body.light-mode .service-card {
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-light);
}

body.light-mode .service-card:hover {
  background: var(--card-bg-hover);
  border-color: var(--border);
  box-shadow: var(--shadow-large);
  transform: translateY(-8px);
}

body.light-mode .service-icon {
  background: rgba(84, 128, 95, 0.08);
}

body.light-mode .service-card:hover .service-icon {
  background: rgba(84, 128, 95, 0.15);
}

body.light-mode .service-description,
body.light-mode .service-features li {
  color: var(--text-secondary);
}

/* Stats Section Light Mode */
body.light-mode .stats-section {
  background: var(--dark-secondary);
}

body.light-mode .stat-card {
  background: rgba(84, 128, 95, 0.05);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-light);
}

body.light-mode .stat-card:hover {
  background: rgba(84, 128, 95, 0.08);
  border-color: var(--border);
  box-shadow: var(--shadow-medium);
}

/* Courses Section Light Mode */
body.light-mode .courses-section {
  background: var(--dark);
}

body.light-mode .course-card {
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-light);
}

body.light-mode .course-card:hover {
  background: var(--card-bg-hover);
  border-color: var(--border);
  box-shadow: var(--shadow-large);
}

body.light-mode .course-meta .course-level,
body.light-mode .course-meta .course-duration {
  background: rgba(84, 128, 95, 0.08);
  color: var(--text-secondary);
}

body.light-mode .course-description,
body.light-mode .course-stat {
  color: var(--text-secondary);
}

body.light-mode .course-stats {
  border-bottom: 1px solid var(--border-light);
}

/* Blog Section Light Mode */
body.light-mode .blog-section {
  background: var(--dark-secondary);
}

body.light-mode .blog-card {
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-light);
}

body.light-mode .blog-card:hover {
  background: var(--card-bg-hover);
  border-color: var(--border);
  box-shadow: var(--shadow-large);
}

body.light-mode .blog-excerpt {
  color: var(--text-secondary);
}

body.light-mode .blog-footer {
  border-top: 1px solid var(--border-light);
}

body.light-mode .author-role {
  color: var(--text-muted);
}

/* Process Section Light Mode */
body.light-mode .process-section {
  background: var(--dark);
}

body.light-mode .process-timeline::before {
  background: var(--border);
}

body.light-mode .step-number {
  background: rgba(84, 128, 95, 0.08);
  border: 2px solid var(--primary);
}

body.light-mode .process-step:hover .step-number {
  background: rgba(84, 128, 95, 0.15);
}

body.light-mode .step-description {
  color: var(--text-secondary);
}

/* Testimonials Section Light Mode */
body.light-mode .testimonials-section {
  background: var(--dark-secondary);
}

body.light-mode .testimonial-card {
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-light);
}

body.light-mode .testimonial-card:hover {
  background: var(--card-bg-hover);
  border-color: var(--border);
  box-shadow: var(--shadow-medium);
}

body.light-mode .testimonial-content {
  color: var(--text-secondary);
}

body.light-mode .author-avatar-large {
  background: rgba(84, 128, 95, 0.1);
}

/* CTA Section Light Mode */
body.light-mode .cta-section {
  background: linear-gradient(135deg, rgba(84, 128, 95, 0.08), rgba(84, 128, 95, 0.04));
}

body.light-mode .cta-section::before {
  background: radial-gradient(circle at 70% 30%, rgba(229, 244, 203, 0.1) 0%, transparent 50%);
}

body.light-mode .cta-description {
  color: var(--text-secondary);
}

body.light-mode .btn-ghost-large {
  border: 2px solid var(--border);
  color: var(--text-primary);
}

body.light-mode .btn-ghost-large:hover {
  background: rgba(84, 128, 95, 0.08);
  border-color: var(--primary);
}

/* Footer Light Mode */
body.light-mode .footer {
  background: var(--dark-secondary);
}

body.light-mode .footer-logo-bg {
  opacity: 0.05;
}

body.light-mode .footer-column ul li a {
  color: var(--text-secondary);
}

body.light-mode .footer-column ul li a:hover {
  color: var(--primary);
}

body.light-mode .footer-description {
  color: var(--text-secondary);
}

body.light-mode .social-link {
  background: rgba(84, 128, 95, 0.08);
  border: 1px solid var(--border);
  color: var(--text-primary);
}

body.light-mode .social-link:hover {
  background: rgba(84, 128, 95, 0.15);
  border-color: var(--primary);
}

body.light-mode .footer-bottom {
  border-top: 1px solid var(--border-light);
  color: var(--text-muted);
}

body.light-mode .footer-legal a {
  color: var(--text-muted);
}

body.light-mode .footer-legal a:hover {
  color: var(--primary);
}

/* Mobile Menu Light Mode */
body.light-mode .mobile-menu {
  background: rgba(255, 255, 255, 0.98);
}

body.light-mode .mobile-menu-close {
  color: var(--text-primary);
}

body.light-mode .mobile-menu-close:hover {
  background: rgba(84, 128, 95, 0.1);
}

body.light-mode .mobile-nav-link {
  color: var(--text-primary);
}

body.light-mode .mobile-nav-link:hover {
  color: var(--primary);
}

body.light-mode .theme-toggle-mobile {
  background: rgba(84, 128, 95, 0.08);
  border: 1px solid var(--border);
  color: var(--text-primary);
}

body.light-mode .theme-toggle-mobile:hover {
  background: rgba(84, 128, 95, 0.15);
  border-color: var(--primary);
}

body.light-mode .btn-ghost-mobile {
  border: 2px solid var(--border);
  color: var(--text-primary);
}

body.light-mode .btn-ghost-mobile:hover {
  border-color: var(--primary);
  background: rgba(84, 128, 95, 0.08);
}

/* Announcement Bar Light Mode */
body.light-mode .announcement-bar {
  background: linear-gradient(90deg, var(--primary-dark), var(--primary));
}

/* Loading Screen Light Mode */
body.light-mode .loader {
  background: var(--dark);
}

body.light-mode .loader-bar {
  background: rgba(0, 0, 0, 0.1);
}

body.light-mode .loader-text {
  color: var(--text-secondary);
}

/* Enhanced typography for light mode */
body.light-mode {
  font-weight: 450; /* Slightly lighter for better readability in light mode */
}

body.light-mode .section-title,
body.light-mode .section-subtitle,
body.light-mode .hero-title {
  font-weight: 700; /* Maintain strong headings */
}

/* Improved contrast for accessibility */
body.light-mode .text-primary {
  color: var(--text-primary) !important;
}

body.light-mode .text-secondary {
  color: var(--text-secondary) !important;
}

body.light-mode .text-muted {
  color: var(--text-muted) !important;
}

/* Enhanced focus states for accessibility */
body.light-mode a:focus,
body.light-mode button:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* Smooth transitions for all interactive elements */
body.light-mode * {
  transition: background-color 0.3s ease, 
              border-color 0.3s ease, 
              color 0.3s ease, 
              box-shadow 0.3s ease,
              transform 0.3s ease;
}

/* Print styles for light mode */
@media print {
  body.light-mode {
    --text-primary: #000000;
    --text-secondary: #333333;
    --text-muted: #666666;
    background: white !important;
    color: black !important;
  }
  
  body.light-mode .service-card,
  body.light-mode .course-card,
  body.light-mode .blog-card,
  body.light-mode .testimonial-card {
    background: white !important;
    border: 1px solid #ddd !important;
    box-shadow: none !important;
  }
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  /* Added smooth transition for theme switching */
  transition: background-color 0.4s ease, color 0.4s ease;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Hero Section Light Mode Improvements */
body.light-mode .hero-badge {
  background: rgba(84, 128, 95, 0.1);
  border: 1px solid rgba(84, 128, 95, 0.3);
  color: var(--text-secondary);
}

body.light-mode .badge-dot {
  background: var(--primary);
}

body.light-mode .hero-title {
  color: var(--text-primary);
}

body.light-mode .hero-title .title-word {
  color: var(--text-primary);
}

body.light-mode .gradient-text {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

body.light-mode .hero-description {
  color: var(--text-secondary);
}

body.light-mode .stat-number-small {
  color: var(--primary);
}

body.light-mode .stat-label-small {
  color: var(--text-muted);
}

/* Floating Cards Light Mode */
body.light-mode .floating-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(84, 128, 95, 0.2);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

body.light-mode .card-label {
  color: var(--text-secondary);
}

body.light-mode .card-badge {
  background: rgba(84, 128, 95, 0.15);
  color: var(--primary);
}

body.light-mode .chart-line {
  stroke: var(--primary);
}

body.light-mode .chart-fill {
  fill: rgba(84, 128, 95, 0.1);
}

body.light-mode .metric-value {
  color: var(--text-primary);
}

body.light-mode .metric-label {
  color: var(--text-secondary);
}

body.light-mode .metric-icon {
  color: var(--primary);
}

/* Add gradient definition for chart fill */
body.light-mode .chart-svg {
  /* Ensure the gradient is defined for light mode */
}

/* If you need to add a specific gradient for light mode */
body.light-mode .chart-svg {
  /* You can add a linearGradient definition here if needed */
}
/* Loading Screen */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--dark);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.loader-logo {
  height: 60px;
  opacity: 0;
  animation: fadeIn 1s ease forwards 0.5s;
}

.loader-percentage {
  font-size: 4rem;
  font-weight: 700;
  color: var(--primary);
  font-variant-numeric: tabular-nums;
}

.loader-bar {
  width: 300px;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
}

.loader-progress {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  width: 0%;
  transition: width 0.1s ease;
  border-radius: 4px;
}

.loader-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
  opacity: 0;
  animation: fadeIn 1s ease forwards 1s;
}

/* Announcement Bar */
.announcement-bar {
  background: linear-gradient(90deg, var(--primary-dark), var(--primary));
  padding: 0.75rem 2rem;
  text-align: center;
  position: relative;
  z-index: 999;
}

.announcement-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
}

.announcement-link {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.3s ease;
}

.announcement-link:hover {
  opacity: 0.8;
}

/* Header */
.header {

  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem 0;
  background: rgba(10, 15, 13, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  z-index: 998;
  transition: transform 0.3s ease, background 0.3s ease;
  margin-top: 48px;
}

.header.scrolled {
  background: rgba(10, 15, 13, 0.95);
}

.header.hidden {
  transform: translateY(-100%);
}

.header-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 40px;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav a {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.nav a:hover {
  color: var(--primary);
}

.nav a:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border: none;
  padding: 0.625rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.3s ease;
}

.btn-ghost:hover {
  color: var(--primary);
}

.btn-primary {
  background: var(--primary);
  color: var(--dark);
  padding: 0.625rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: inline-block;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(84, 128, 95, 0.3);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.3s ease;
}

/* Added full-screen mobile menu overlay styles */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(10, 15, 13, 0.98);
  backdrop-filter: blur(20px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-content {
  position: relative;
  width: 100%;
  max-width: 500px;
  padding: 2rem;
}

.mobile-menu-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 2rem;
  cursor: pointer;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.3s ease, transform 0.3s ease;
}

.mobile-menu-close:hover {
  background: rgba(84, 128, 95, 0.2);
  transform: rotate(90deg);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 3rem;
}

.mobile-nav-link {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 2rem;
  font-weight: 700;
  padding: 1rem 0;
  display: flex;
  align-items: center;
  gap: 1rem;
  opacity: 0;
  transform: translateX(-50px);
  transition: color 0.3s ease, padding-left 0.3s ease;
}

.mobile-menu.active .mobile-nav-link {
  animation: slideInLeft 0.5s ease forwards;
}

.mobile-menu.active .mobile-nav-link:nth-child(1) {
  animation-delay: 0.1s;
}
.mobile-menu.active .mobile-nav-link:nth-child(2) {
  animation-delay: 0.2s;
}
.mobile-menu.active .mobile-nav-link:nth-child(3) {
  animation-delay: 0.3s;
}
.mobile-menu.active .mobile-nav-link:nth-child(4) {
  animation-delay: 0.4s;
}
.mobile-menu.active .mobile-nav-link:nth-child(5) {
  animation-delay: 0.5s;
}
.mobile-menu.active .mobile-nav-link:nth-child(6) {
  animation-delay: 0.6s;
}

@keyframes slideInLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.mobile-nav-link:hover {
  color: var(--primary);
  padding-left: 1rem;
}

.mobile-nav-link i {
  font-size: 1.5rem;
  width: 40px;
}

.mobile-menu-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  opacity: 0;
  transform: translateY(30px);
}

.mobile-menu.active .mobile-menu-actions {
  animation: fadeInUp 0.5s ease forwards 0.7s;
}

.theme-toggle-mobile {
  background: rgba(84, 128, 95, 0.1);
  border: 1px solid var(--border);
  color: var(--text-primary);
  padding: 1rem 1.5rem;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.theme-toggle-mobile:hover {
  background: rgba(84, 128, 95, 0.2);
  border-color: var(--primary);
}

.theme-toggle-mobile i {
  font-size: 1.25rem;
}

.btn-ghost-mobile {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--border);
  padding: 1rem 1.5rem;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.btn-ghost-mobile:hover {
  border-color: var(--primary);
  background: rgba(84, 128, 95, 0.1);
}

.btn-primary-mobile {
  background: var(--primary);
  color: var(--dark);
  padding: 1rem 1.5rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: block;
}

.btn-primary-mobile:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(84, 128, 95, 0.3);
}

/* Added theme toggle button styles for desktop */
.theme-toggle {
  background: rgba(84, 128, 95, 0.1);
  border: 1px solid var(--border);
  color: var(--text-primary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.theme-toggle:hover {
  background: rgba(84, 128, 95, 0.2);
  border-color: var(--primary);
  transform: rotate(20deg);
}

.theme-toggle i {
  font-size: 1rem;
  transition: transform 0.3s ease;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 50%, rgba(84, 128, 95, 0.15) 0%, transparent 50%);
  animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

.hero-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(84, 128, 95, 0.1);
  border: 1px solid var(--border);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards 0.5s;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.title-line {
  display: block;
  overflow: hidden;
}

.title-word {
  display: inline-block;
  margin-right: 0.3em;
  opacity: 0;
  transform: translateY(100px);
  animation: wordReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.title-word:nth-child(1) {
  animation-delay: 0.7s;
}
.title-word:nth-child(2) {
  animation-delay: 0.8s;
}
.title-word:nth-child(3) {
  animation-delay: 0.9s;
}
.title-word:nth-child(4) {
  animation-delay: 1s;
}
.title-word:nth-child(5) {
  animation-delay: 1.1s;
}

@keyframes wordReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards 1.3s;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards 1.5s;
}

.btn-primary-large {
  background: var(--primary);
  color: var(--dark);
  padding: 1rem 2rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary-large::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.btn-primary-large:hover::before {
  left: 100%;
}

.btn-primary-large:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(84, 128, 95, 0.4);
}

.btn-secondary-large {
  background: transparent;
  color: var(--text-primary);
  padding: 1rem 2rem;
  border: 2px solid var(--border);
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: border-color 0.3s ease, background 0.3s ease;
  display: inline-block;
}

.btn-secondary-large:hover {
  border-color: var(--primary);
  background: rgba(84, 128, 95, 0.1);
}

.btn-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.btn-primary-large:hover .btn-icon {
  transform: translateX(4px);
}

.hero-stats {
  display: flex;
  gap: 3rem;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards 1.7s;
}

.stat-item-small {
  display: flex;
  flex-direction: column;
}

.stat-number-small {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-label-small {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Hero Visual */
.hero-visual {
  position: relative;
  height: 500px;
  opacity: 0;
  animation: fadeIn 1s ease forwards 1.9s;
}

.floating-card {
  position: absolute;
  background: rgba(15, 22, 18, 0.8);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: float 6s ease-in-out infinite;
}

.card-1 {
  top: 0;
  left: 0;
  width: 280px;
  animation-delay: 0s;
}

.card-2 {
  top: 50%;
  right: 0;
  width: 240px;
  animation-delay: 1s;
}

.card-3 {
  bottom: 0;
  left: 20%;
  width: 220px;
  animation-delay: 2s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.card-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.card-badge {
  background: rgba(84, 128, 95, 0.2);
  color: var(--primary);
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.875rem;
  font-weight: 600;
}

.card-chart {
  height: 100px;
}

.chart-svg {
  width: 100%;
  height: 100%;
}

.chart-line {
  fill: none;
  stroke: var(--primary);
  stroke-width: 2;
  stroke-linecap: round;
}

.chart-fill {
  fill: url(#gradient);
  opacity: 0.2;
}

.metric-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.metric-icon {
  font-size: 2rem;
}

.metric-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.metric-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* Trusted By Section */
.trusted-by {
  padding: 4rem 2rem;
  background: var(--dark-secondary);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.trusted-text {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.logo-marquee {
  overflow: hidden;
  position: relative;
}

.logo-track {
  display: flex;
  gap: 4rem;
  animation: marquee 30s linear infinite;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.client-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-muted);
  white-space: nowrap;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.client-logo:hover {
  opacity: 1;
}

/* Services Section */
.services {
  padding: 8rem 2rem;
  background: var(--dark);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-title.visible {
  opacity: 1;
  transform: translateY(0);
}

.section-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.section-subtitle.visible {
  opacity: 1;
  transform: translateY(0);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.service-card {
  background: rgba(15, 22, 18, 0.5);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 2.5rem;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
}

.service-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--border);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: rgba(84, 128, 95, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease, background 0.3s ease;
}

.service-icon svg {
  width: 28px;
  height: 28px;
  color: var(--primary);
}

.service-card:hover .service-icon {
  transform: scale(1.1);
  background: rgba(84, 128, 95, 0.2);
}

.service-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.service-description {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.service-features {
  list-style: none;
  margin-bottom: 1.5rem;
}

.service-features li {
  color: var(--text-secondary);
  font-size: 0.95rem;
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.service-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

.service-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.3s ease;
}

.service-link:hover {
  gap: 1rem;
}

.link-icon {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.service-link:hover .link-icon {
  transform: translateX(4px);
}

/* Stats Section */
.stats-section {
  padding: 6rem 2rem;
  background: var(--dark-secondary);
}

.stats-grid-large {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
}

.stat-card {
  text-align: center;
  padding: 2rem;
  background: rgba(84, 128, 95, 0.05);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  transition: transform 0.3s ease, border-color 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
}

.stat-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  border-color: var(--border);
}

.stat-number-large {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label-large {
  font-size: 1.125rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.stat-sublabel {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Courses Section */
.courses-section {
  padding: 8rem 2rem;
  background: var(--dark);
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.course-card {
  background: rgba(15, 22, 18, 0.5);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
}

.course-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.course-card:hover {
  transform: translateY(-8px);
  border-color: var(--border);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.course-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.course-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.course-card:hover .course-image img {
  transform: scale(1.05);
}

.course-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--primary);
  color: var(--dark);
  padding: 0.375rem 0.875rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
}

.course-badge.new {
  background: #e74c3c;
  color: white;
}

.course-content {
  padding: 2rem;
}

.course-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.course-level,
.course-duration {
  font-size: 0.875rem;
  color: var(--text-muted);
  padding: 0.25rem 0.75rem;
  background: rgba(84, 128, 95, 0.1);
  border-radius: 12px;
}

.course-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.course-description {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.course-stats {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-light);
}

.course-stat {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.stat-icon {
  width: 16px;
  height: 16px;
  color: var(--primary);
}

.course-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.course-price {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.price-current {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
}

.price-original {
  font-size: 1.125rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.btn-course {
  background: var(--primary);
  color: var(--dark);
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: inline-block;
}

.btn-course:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(84, 128, 95, 0.3);
}

.section-cta {
  text-align: center;
  margin-top: 3rem;
}

/* Blog Section */
.blog-section {
  padding: 8rem 2rem;
  background: var(--dark-secondary);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.blog-card {
  background: rgba(15, 22, 18, 0.5);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
}

.blog-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.blog-card.featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.blog-card:hover {
  transform: translateY(-8px);
  border-color: var(--border);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.blog-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.blog-card.featured .blog-image {
  height: 100%;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
  transform: scale(1.05);
}

.blog-category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--primary);
  color: var(--dark);
  padding: 0.375rem 0.875rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
}

.blog-content {
  padding: 2rem;
}

.blog-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.blog-date,
.blog-read-time {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.blog-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.blog-card.featured .blog-title {
  font-size: 2rem;
}

.blog-excerpt {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.blog-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
}

.blog-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(84, 128, 95, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--primary);
  font-size: 0.875rem;
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-weight: 600;
  font-size: 0.95rem;
}

.author-role {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.blog-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.3s ease;
}

.blog-link:hover {
  gap: 1rem;
}

/* Process Section */
.process-section {
  padding: 8rem 2rem;
  background: var(--dark);
}

.process-timeline {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

.process-timeline::before {
  content: "";
  position: absolute;
  left: 40px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.process-step {
  display: flex;
  gap: 2rem;
  margin-bottom: 4rem;
  position: relative;
  opacity: 0;
  transform: translateX(-30px);
}

.process-step.visible {
  opacity: 1;
  transform: translateX(0);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.process-step:hover .step-number {
  transform: scale(1.1);
  background: rgba(84, 128, 95, 0.2);
}

.step-number {
  width: 80px;
  height: 80px;
  background: rgba(84, 128, 95, 0.1);
  border: 2px solid var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease, background 0.3s ease;
}

.process-step:hover .step-number {
  transform: scale(1.1);
  background: rgba(84, 128, 95, 0.2);
}

.step-content {
  flex: 1;
  padding-top: 1rem;
}

.step-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.step-description {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 1.05rem;
}

/* Testimonials Section */
.testimonials-section {
  padding: 8rem 2rem;
  background: var(--dark-secondary);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: rgba(15, 22, 18, 0.5);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 2rem;
  opacity: 0;
  transform: translateY(30px);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.testimonial-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  border-color: var(--border);
}

.testimonial-rating {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
}

.star-icon {
  width: 20px;
  height: 20px;
  color: #fbbf24;
}

.testimonial-content {
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar-large {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(84, 128, 95, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--primary);
}

/* CTA Section */
.cta-section {
  padding: 8rem 2rem;
  background: linear-gradient(135deg, rgba(84, 128, 95, 0.1), rgba(84, 128, 95, 0.05));
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 70% 30%, rgba(229, 244, 203, 0.05) 0%, transparent 50%);
  animation: pulse 10s ease-in-out infinite alternate;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(30px);
}

.cta-title.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.cta-description {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(30px);
}

.cta-description.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s ease 0.2s, transform 0.8s ease 0.2s;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  opacity: 0;
  transform: translateY(30px);
}

.cta-actions.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s ease 0.4s, transform 0.8s ease 0.4s;
}

.btn-ghost-large {
  background: transparent;
  color: var(--text-primary);
  padding: 1rem 2rem;
  border: 2px solid var(--border);
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: border-color 0.3s ease, background 0.3s ease;
  display: inline-block;
}

.btn-ghost-large:hover {
  border-color: var(--primary);
  background: rgba(84, 128, 95, 0.1);
}

/* Footer */
.footer {
  background: var(--dark-secondary);
  padding: 4rem 2rem 2rem;
  position: relative;
  overflow: hidden;
}

/* Added animated logo background in footer */
.footer-logo-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.03;
  pointer-events: none;
  z-index: 0;
}

.footer-logo-animated {
  width: 600px;
  height: auto;
  animation: rotateAndScale 20s ease-in-out infinite;
}

@keyframes rotateAndScale {
  0%,
  100% {
    transform: rotate(0deg) scale(1);
  }
  25% {
    transform: rotate(90deg) scale(1.2);
  }
  50% {
    transform: rotate(180deg) scale(1);
  }
  75% {
    transform: rotate(270deg) scale(1.2);
  }
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  max-width: 1280px;
  margin: 0 auto 3rem;
  position: relative;
  z-index: 1;
}

.footer-column h3 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 0.8rem;
}

.footer-column ul li a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease, padding-left 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-column ul li a:hover {
  color: var(--primary);
  padding-left: 0.5rem;
}

.footer-column ul li a i {
  font-size: 0.75rem;
  transition: transform 0.3s ease;
}

.footer-column ul li a:hover i {
  transform: translateX(3px);
}

.footer-logo {
  height: 50px;
  margin-bottom: 1.5rem;
}

.footer-description {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 300px;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(84, 128, 95, 0.1);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  text-decoration: none;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.social-link:hover {
  background: rgba(84, 128, 95, 0.2);
  border-color: var(--primary);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
  color: var(--text-secondary);
  font-size: 0.9rem;
  position: relative;
  z-index: 1;
}

.footer-legal {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1rem;
}

.footer-legal a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: var(--primary);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-visual {
    height: 400px;
  }

  .hero-title {
    font-size: 3.5rem;
  }

  .services-grid,
  .courses-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-card.featured {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav,
  .header-actions .btn-ghost,
  .header-actions .btn-primary {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .header-actions .theme-toggle {
    display: flex;
  }

  .hero {
    padding: 6rem 1.5rem 3rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-visual {
    height: 300px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }

  .services,
  .stats-section,
  .courses-section,
  .blog-section,
  .process-section,
  .testimonials-section,
  .cta-section {
    padding: 4rem 1.5rem;
  }

  .services-grid,
  .courses-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid-large {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .process-timeline::before {
    left: 20px;
  }

  .process-step {
    gap: 1rem;
  }

  .step-number {
    width: 60px;
    height: 60px;
    font-size: 1.25rem;
  }

  .step-title {
    font-size: 1.25rem;
  }

  .cta-title {
    font-size: 2rem;
  }

  .cta-description {
    font-size: 1rem;
  }

  .cta-actions {
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-logo-animated {
    width: 400px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .floating-card {
    display: none;
  }

  .hero-visual {
    display: none;
  }

  .stat-number-large {
    font-size: 2.5rem;
  }

  .stats-grid-large {
    grid-template-columns: 1fr;
  }

  .footer-logo-animated {
    width: 300px;
  }
}
/* Hero Background Slideshow */
.hero-background-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-background-slideshow .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-background-slideshow .slide.active {
    opacity: 0.15; /* Very subtle opacity */
}

.hero-background-slideshow .slide-1 {
    background-image: url('https://lightmgroup.com/uploads/blogs/1762290467_Leadership%20Lessons%20From%20LIGHTMGROUP%20Guiding%20Teams%20With%20Purpose.png');
}

.hero-background-slideshow .slide-2 {
    background-image: url('https://lightmgroup.com/uploads/blogs/1762291036_The%20Innovation%20Mindset%20How%20LIGHTMGROUP%20Turns%20Ideas%20Into%20Impact.png');
}

.hero-background-slideshow .slide-3 {
    background-image: url('https://lightmgroup.com/uploads/blogs/1760925010_Driving%20Rwanda%E2%80%99s%20Digital%20Transformation%20How%20LIGHTMGROUP%20Empowers%20Businesses.jpg');
}

/* Light mode adjustments for background slides */
body.light-mode .hero-background-slideshow .slide.active {
    opacity: 0.08; /* Even more subtle in light mode */
}

/* Ensure your existing hero gradients still work */
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(84, 128, 95, 0.15) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite;
    z-index: 1; /* Ensure it stays above the background images */
}

/* Light mode gradient adjustment */
body.light-mode .hero::before {
    background: radial-gradient(circle at 30% 50%, rgba(84, 128, 95, 0.08) 0%, transparent 50%);
}

/* Make sure hero content stays on top */
.hero-grid {
    position: relative;
    z-index: 2;
}

/* Trusted By Section Improvements */
.trusted-by {
    padding: 5rem 2rem;
    background: var(--dark-secondary);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.trusted-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.trusted-text {
    font-size: 1.25rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin: 0;
}

.trusted-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(84, 128, 95, 0.1);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    min-width: 120px;
}

.trusted-count {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.trusted-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

/* Logo Marquee Improvements */
.logo-marquee {
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
    margin: 2rem 0;
}

.logo-marquee::before,
.logo-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
}

.logo-marquee::before {
    left: 0;
    background: linear-gradient(90deg, var(--dark-secondary) 0%, transparent 100%);
}

.logo-marquee::after {
    right: 0;
    background: linear-gradient(270deg, var(--dark-secondary) 0%, transparent 100%);
}

.logo-track {
    display: flex;
    gap: 4rem;
    animation: marquee 40s linear infinite;
    will-change: transform;
}

.logo-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.logo-item:hover {
    transform: translateY(-5px);
    border-color: var(--border);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.company-logo {
    height: 30px;
    width: auto;
    filter: grayscale(100%) brightness(2);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.logo-item:hover .company-logo {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
    transform: scale(1.1);
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Trusted Footer */
.trusted-footer {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border-light);
}

.trusted-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.trusted-stat {
    text-align: center;
    padding: 1.5rem;
    background: rgba(84, 128, 95, 0.05);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.trusted-stat:hover {
    transform: translateY(-3px);
    border-color: var(--border);
    background: rgba(84, 128, 95, 0.1);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}


/* Added explicit color for h2 and section titles in light mode */
body.light-mode h2,
body.light-mode .section-title {
  color: var(--text-primary);
}

body.light-mode .section-subtitle {
  color: var(--text-secondary);
}

body.light-mode .hero-title {
  color: var(--text-primary);
}

body.light-mode .service-title,
body.light-mode .course-title,
body.light-mode .blog-title,
body.light-mode .step-title,
body.light-mode .cta-title,
body.light-mode .stat-label-large {
  color: var(--text-primary);
}

/* Light Mode Adjustments */
body.light-mode .trusted-by {
    background: var(--dark-secondary);
}

body.light-mode .trusted-badge {
    background: rgba(84, 128, 95, 0.08);
    border: 1px solid var(--border);
}

body.light-mode .logo-marquee::before {
    background: linear-gradient(90deg, var(--dark-secondary) 0%, transparent 100%);
}

body.light-mode .logo-marquee::after {
    background: linear-gradient(270deg, var(--dark-secondary) 0%, transparent 100%);
}

body.light-mode .logo-item {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--border-light);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

body.light-mode .logo-item:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: var(--border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

body.light-mode .company-logo {
    filter: grayscale(100%) brightness(0.5);
    opacity: 0.6;
}

body.light-mode .logo-item:hover .company-logo {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
}

body.light-mode .trusted-stat {
    background: rgba(84, 128, 95, 0.08);
    border: 1px solid var(--border-light);
}

body.light-mode .trusted-stat:hover {
    background: rgba(84, 128, 95, 0.12);
    border-color: var(--border);
}

/* Responsive Design */
@media (max-width: 768px) {
    .trusted-header {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .trusted-text {
        font-size: 1.1rem;
    }
    
    .logo-item {
        padding: 0.75rem 1.5rem;
    }
    
    .company-logo {
        height: 25px;
    }
    
    .trusted-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    .logo-marquee::before,
    .logo-marquee::after {
        width: 50px;
    }
}

@media (max-width: 480px) {
    .trusted-by {
        padding: 3rem 1rem;
    }
    
    .logo-track {
        gap: 2rem;
    }
    
    .logo-item {
        padding: 0.5rem 1rem;
    }
    
    .company-logo {
        height: 20px;
    }
}

/* Add these to your light mode styles section */

/* Headings Light Mode */
body.light-mode h1,
body.light-mode h2,
body.light-mode h3,
body.light-mode h4,
body.light-mode h5,
body.light-mode h6 {
  color: var(--text-primary);
}

/* Specific heading styles for light mode */
body.light-mode .service-title,
body.light-mode .course-title,
body.light-mode .blog-title,
body.light-mode .step-title,
body.light-mode .cta-title,
body.light-mode .footer-column h3 {
  color: var(--text-primary);
}

/* Section titles and subtitles */
body.light-mode .section-title,
body.light-mode .section-subtitle {
  color: var(--text-primary);
}

/* Hero title specific */
body.light-mode .hero-title,
body.light-mode .hero-title .title-word {
  color: var(--text-primary);
}

/* Testimonial author name */
body.light-mode .author-name {
  color: var(--text-primary);
}

/* Blog author name */
body.light-mode .blog-author .author-name {
  color: var(--text-primary);
}

/* Course card titles */
body.light-mode .course-content .course-title {
  color: var(--text-primary);
}

/* Service card titles */
body.light-mode .service-card .service-title {
  color: var(--text-primary);
}

/* Process step titles */
body.light-mode .process-step .step-title {
  color: var(--text-primary);
}

/* Footer column headings */
body.light-mode .footer-column h3 {
  color: var(--primary);
}

/* CTA section heading */
body.light-mode .cta-content .cta-title {
  color: var(--text-primary);
}

/* Stats labels */
body.light-mode .stat-label-large {
  color: var(--text-primary);
}

/* Trusted section text */
body.light-mode .trusted-text {
  color: var(--text-secondary);
}

/* Card labels and badges */
body.light-mode .card-label {
  color: var(--text-secondary);
}

body.light-mode .card-badge {
  color: var(--primary);
}

/* Add these specific heading overrides */
body.light-mode h2:not(.section-title):not(.service-title):not(.course-title):not(.blog-title):not(.step-title):not(.cta-title),
body.light-mode h3:not(.footer-column h3) {
  color: var(--text-primary) !important;
}

/* Ensure all headings in content areas get proper color */
body.light-mode .service-card h2,
body.light-mode .service-card h3,
body.light-mode .course-card h2,
body.light-mode .course-card h3,
body.light-mode .blog-card h2,
body.light-mode .blog-card h3,
body.light-mode .testimonial-card h3,
body.light-mode .testimonial-card h4 {
  color: var(--text-primary);
}

/* Mobile menu headings */
body.light-mode .mobile-nav-link {
  color: var(--text-primary);
}

/* Footer legal text */
body.light-mode .footer-bottom {
  color: var(--text-muted);
}

/* Announcement bar text */
body.light-mode .announcement-bar {
  color: var(--text-primary);
}

body.light-mode .announcement-link {
  color: var(--text-primary);
}

/* Loading screen text */
body.light-mode .loader-percentage {
  color: var(--primary);
}

body.light-mode .loader-text {
  color: var(--text-secondary);
}

/* User Menu Styles */
.user-menu {
    position: relative;
    display: inline-block;
}

.user-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 50px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.user-btn:hover {
    border-color: #3b82f6;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.15);
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.user-name {
    font-weight: 600;
    color: #374151;
    font-size: 14px;
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    width: 300px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    overflow: hidden;
}

.user-menu:hover .user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-info {
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-bottom: 1px solid #e5e7eb;
}

.user-fullname {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 4px;
    color: white;
}

.user-email {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    opacity: 0.9;
}

.user-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    color: #4b5563;
    text-decoration: none;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f8fafc;
    font-weight: 500;
}

.user-dropdown-item:hover {
    background: #f8fafc;
    color: #3b82f6;
    transform: translateX(4px);
}

.user-dropdown-item i {
    width: 18px;
    text-align: center;
    color: #6b7280;
    transition: color 0.2s ease;
}

.user-dropdown-item:hover i {
    color: #3b82f6;
}

.user-dropdown-item.logout {
    color: #ef4444;
    border-bottom: none;
}

.user-dropdown-item.logout:hover {
    background: #fef2f2;
    color: #dc2626;
}

.user-dropdown-item.logout:hover i {
    color: #dc2626;
}

.user-dropdown-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #e5e7eb, transparent);
    margin: 8px 20px;
}

/* Mobile User Menu Styles */
.mobile-user-section {
    padding: 0;
    margin-top: 20px;
}

.mobile-user-info {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    margin: -20px -20px 20px -20px;
}

.mobile-user-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 24px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.mobile-user-name {
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 4px;
    color: white;
}

.mobile-user-email {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    opacity: 0.9;
}

.mobile-user-menu {
    margin-bottom: 20px;
}

.mobile-user-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    color: #374151;
    text-decoration: none;
    border-bottom: 1px solid #f3f4f6;
    transition: all 0.2s ease;
    font-weight: 500;
    font-size: 16px;
}

.mobile-user-item:hover {
    background: #f8fafc;
    color: #3b82f6;
    padding-left: 24px;
}

.mobile-user-item i {
    width: 20px;
    text-align: center;
    color: #6b7280;
    font-size: 18px;
}

.mobile-user-item:hover i {
    color: #3b82f6;
}

.mobile-logout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 20px;
    background: #fef2f2;
    color: #dc2626;
    border: 2px solid #fecaca;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    margin: 20px;
    width: calc(100% - 40px);
}

.mobile-logout-btn:hover {
    background: #fee2e2;
    border-color: #fca5a5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.15);
}

/* Responsive Design */
@media (max-width: 768px) {
    .user-btn .user-name {
        display: none;
    }
    
    .user-btn {
        padding: 8px;
        border-radius: 50%;
        width: 48px;
        height: 48px;
        justify-content: center;
    }
    
    .user-avatar {
        width: 32px;
        height: 32px;
        font-size: 14px;
        margin: 0;
    }
    
    .user-dropdown {
        width: 280px;
        right: -10px;
    }
}

/* Animation for dropdown */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.user-menu:hover .user-dropdown {
    animation: slideDown 0.3s ease-out;
}



