/* CSS Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: #2a2a2a;
  background: #ffffff;
  overflow-x: hidden;
}

/* Vibrant Energetic Color Palette */
:root {
  --primary-color: #FF1744;
  --primary-dark: #C4001D;
  --primary-light: #FF5C7A;
  --secondary-color: #00E5FF;
  --secondary-dark: #00B8D4;
  --secondary-light: #6EFFFF;
  --accent-yellow: #FFD600;
  --accent-orange: #FF6D00;
  --accent-purple: #D500F9;
  --accent-green: #00E676;
  --dark-bg: #1a1a1a;
  --light-bg: #ffffff;
  --text-dark: #1a1a1a;
  --text-light: #ffffff;
  --gray-100: #f5f5f5;
  --gray-200: #e0e0e0;
  --gray-300: #bdbdbd;
  --shadow-sm: 0 2px 8px rgba(255, 23, 68, 0.1);
  --shadow-md: 0 4px 16px rgba(255, 23, 68, 0.15);
  --shadow-lg: 0 8px 32px rgba(255, 23, 68, 0.2);
  --gradient-primary: linear-gradient(135deg, #FF1744 0%, #FF6D00 100%);
  --gradient-secondary: linear-gradient(135deg, #00E5FF 0%, #D500F9 100%);
  --gradient-accent: linear-gradient(135deg, #FFD600 0%, #00E676 100%);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 16px;
}

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

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

h3 {
  font-size: 24px;
}

h4 {
  font-size: 18px;
}

p {
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 1.7;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--primary-dark);
  transform: translateY(-1px);
}

ul {
  margin-bottom: 16px;
  padding-left: 24px;
}

li {
  margin-bottom: 8px;
}

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

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

/* Buttons - Vibrant & Energetic */
.btn {
  display: inline-block;
  padding: 16px 32px;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  border-radius: 50px;
  border: 3px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--text-light);
  border-color: var(--primary-color);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 24px rgba(255, 23, 68, 0.3);
  color: var(--text-light);
}

.btn-secondary {
  background: var(--gradient-secondary);
  color: var(--text-dark);
  border-color: var(--secondary-color);
}

.btn-secondary:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 24px rgba(0, 229, 255, 0.3);
  color: var(--text-dark);
}

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

.btn-outline:hover {
  background: var(--gradient-primary);
  color: var(--text-light);
  transform: translateY(-3px) scale(1.05);
}

/* Header - Dynamic & Bold */
header {
  background: var(--light-bg);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 4px solid var(--primary-color);
}

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

.logo img {
  height: 60px;
  width: auto;
  transition: transform 0.3s ease;
}

.logo:hover img {
  transform: scale(1.1) rotate(3deg);
}

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

.main-nav a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--text-dark);
  padding: 8px 0;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
}

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

.main-nav a:hover,
.main-nav a.active {
  color: var(--primary-color);
}

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

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 2000;
  background: var(--gradient-primary);
  color: var(--text-light);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
  transform: scale(1.1) rotate(90deg);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background: var(--gradient-primary);
  z-index: 1999;
  padding: 80px 32px 32px;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
  transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  overflow-y: auto;
}

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

.mobile-menu-close {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.2);
  color: var(--text-light);
  border: 2px solid var(--text-light);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.mobile-menu-close:hover {
  background: var(--text-light);
  color: var(--primary-color);
  transform: rotate(90deg);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mobile-nav a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--text-light);
  padding: 12px 0;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.mobile-nav a:hover {
  padding-left: 12px;
  color: var(--accent-yellow);
  border-bottom-color: var(--accent-yellow);
}

/* Hero Section - High Energy */
.hero {
  background: var(--gradient-primary);
  color: var(--text-light);
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.3) 0%, transparent 70%);
  animation: pulse 4s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.3) 0%, transparent 70%);
  animation: pulse 6s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.2); opacity: 0.8; }
}

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

.hero h1 {
  color: var(--text-light);
  font-size: 56px;
  margin-bottom: 24px;
  animation: slideInDown 0.8s ease-out;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
}

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

.hero-subtitle {
  font-size: 20px;
  margin-bottom: 32px;
  color: var(--text-light);
  animation: slideInUp 0.8s ease-out 0.2s both;
}

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

.hero-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
  animation: fadeIn 0.8s ease-out 0.4s both;
}

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

.trust-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 600;
  animation: fadeIn 0.8s ease-out 0.6s both;
}

.trust-indicator img {
  width: 32px;
  height: 32px;
}

/* Hero Variants */
.hero-about,
.hero-courses,
.hero-schedule,
.hero-instructors,
.hero-contact,
.thank-you-hero,
.legal-hero {
  background: var(--gradient-secondary);
  color: var(--text-dark);
  padding: 60px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-about::before,
.hero-courses::before,
.hero-schedule::before,
.hero-instructors::before,
.hero-contact::before,
.thank-you-hero::before,
.legal-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  left: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 23, 68, 0.2) 0%, transparent 70%);
  animation: pulse 5s ease-in-out infinite;
}

.hero-about h1,
.hero-courses h1,
.hero-schedule h1,
.hero-instructors h1,
.hero-contact h1,
.thank-you-hero h1,
.legal-hero h1 {
  color: var(--text-dark);
  position: relative;
  z-index: 1;
}

.last-updated,
.effective-date {
  font-size: 14px;
  color: var(--text-dark);
  font-weight: 600;
  opacity: 0.8;
}

/* Section Spacing */
.section,
section {
  padding: 60px 20px;
  margin-bottom: 0;
  position: relative;
}

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

/* Features Section - Dynamic Grid */
.features {
  background: var(--gray-100);
  position: relative;
}

.features h2 {
  text-align: center;
  margin-bottom: 48px;
  color: var(--primary-color);
}

.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
}

.feature-card {
  background: var(--light-bg);
  padding: 32px;
  border-radius: 20px;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: all 0.4s ease;
  border: 3px solid transparent;
  flex: 1 1 300px;
  max-width: 350px;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  opacity: 0;
  transition: all 0.5s ease;
  z-index: 0;
}

.feature-card:hover::before {
  left: 0;
  opacity: 0.1;
}

.feature-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 16px 40px rgba(255, 23, 68, 0.25);
  border-color: var(--primary-color);
}

.feature-card img {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  filter: drop-shadow(0 4px 8px rgba(255, 23, 68, 0.3));
  transition: transform 0.4s ease;
  position: relative;
  z-index: 1;
}

.feature-card:hover img {
  transform: scale(1.2) rotate(10deg);
}

.feature-card h3 {
  margin-bottom: 16px;
  color: var(--primary-color);
  position: relative;
  z-index: 1;
}

.feature-card p {
  color: #555;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

/* Courses Grid - Vibrant Cards */
.courses-preview,
.courses-catalog {
  background: var(--light-bg);
}

.courses-preview h2,
.courses-catalog h2 {
  text-align: center;
  margin-bottom: 48px;
  color: var(--primary-color);
}

.courses-grid,
.courses-grid-full {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  margin-bottom: 40px;
}

.course-card,
.course-card-detailed {
  background: var(--light-bg);
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--shadow-md);
  transition: all 0.4s ease;
  border: 3px solid transparent;
  flex: 1 1 320px;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  overflow: hidden;
}

.course-card::before,
.course-card-detailed::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.2) 0%, transparent 70%);
  transition: all 0.5s ease;
}

.course-card:hover::before,
.course-card-detailed:hover::before {
  top: -20%;
  right: -20%;
  width: 300px;
  height: 300px;
}

.course-card:hover,
.course-card-detailed:hover {
  transform: translateY(-10px);
  box-shadow: 0 16px 40px rgba(0, 229, 255, 0.25);
  border-color: var(--secondary-color);
}

.course-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.course-header h3 {
  flex: 1;
  margin-bottom: 0;
  color: var(--primary-color);
}

.course-level,
.course-badge {
  background: var(--gradient-accent);
  color: var(--text-dark);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.course-details,
.course-meta-full {
  position: relative;
  z-index: 1;
}

.course-details p,
.course-description {
  color: #555;
  margin-bottom: 20px;
}

.course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
}

.course-meta span,
.meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.course-meta img,
.meta-item img {
  width: 20px;
  height: 20px;
}

.course-meta-full {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.meta-item {
  background: var(--gray-100);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  color: #666;
}

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

/* Statistics Section - Bold Numbers */
.statistics {
  background: var(--gradient-primary);
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}

.statistics::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.2) 0%, transparent 70%);
  animation: pulse 8s ease-in-out infinite;
}

.statistics h2 {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 48px;
}

.stats-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
}

.stat-card {
  text-align: center;
  padding: 32px;
  flex: 1 1 220px;
  max-width: 280px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  border: 3px solid rgba(255, 255, 255, 0.2);
  transition: all 0.4s ease;
  position: relative;
  z-index: 1;
}

.stat-card:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-10px) scale(1.05);
  border-color: var(--accent-yellow);
}

.stat-number {
  font-size: 56px;
  font-weight: 800;
  color: var(--accent-yellow);
  margin-bottom: 8px;
  font-family: 'Montserrat', sans-serif;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
}

.stat-label {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stat-card p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
}

/* Testimonials - Vibrant Cards */
.testimonials {
  background: var(--gray-100);
}

.testimonials h2 {
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 48px;
}

.testimonials-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
}

.testimonial-card {
  background: var(--light-bg);
  padding: 32px;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  flex: 1 1 320px;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border: 3px solid transparent;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: 20px;
  font-size: 120px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  color: rgba(255, 23, 68, 0.1);
  z-index: 0;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 16px 40px rgba(255, 23, 68, 0.2);
  border-color: var(--primary-color);
}

.testimonial-rating {
  display: flex;
  gap: 4px;
  position: relative;
  z-index: 1;
}

.testimonial-rating span {
  color: var(--accent-yellow);
  font-size: 24px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.testimonial-content {
  position: relative;
  z-index: 1;
}

.testimonial-content p {
  color: var(--text-dark);
  font-style: italic;
  line-height: 1.7;
  font-size: 15px;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
  z-index: 1;
}

.testimonial-author strong {
  color: var(--primary-color);
  font-size: 16px;
  font-weight: 700;
}

.testimonial-author span {
  color: #666;
  font-size: 14px;
}

.course-taken,
.instructor-mentioned {
  color: var(--secondary-color);
  font-weight: 600;
  font-size: 13px;
}

/* CTA Section - High Impact */
.cta-section {
  background: var(--gradient-secondary);
  color: var(--text-dark);
  text-align: center;
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  bottom: -50%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 23, 68, 0.2) 0%, transparent 70%);
  animation: pulse 6s ease-in-out infinite;
}

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

.cta-content h2 {
  color: var(--text-dark);
  margin-bottom: 24px;
  font-size: 40px;
}

.cta-content p {
  font-size: 18px;
  margin-bottom: 32px;
  color: var(--text-dark);
}

.cta-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Contact Info Section */
.contact-info-section {
  background: var(--gray-100);
}

.contact-info-section h2 {
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 48px;
}

.contact-info-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
}

.contact-info-card {
  background: var(--light-bg);
  padding: 32px;
  border-radius: 20px;
  text-align: center;
  box-shadow: var(--shadow-md);
  flex: 1 1 240px;
  max-width: 280px;
  transition: all 0.4s ease;
  border: 3px solid transparent;
}

.contact-info-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.contact-info-card img {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  filter: drop-shadow(0 4px 8px rgba(255, 23, 68, 0.3));
}

.contact-info-card h3 {
  color: var(--primary-color);
  margin-bottom: 12px;
}

.contact-info-card p {
  color: #555;
  font-size: 15px;
}

/* Footer - Bold & Vibrant */
footer {
  background: var(--dark-bg);
  color: var(--text-light);
  padding: 60px 20px 20px;
  border-top: 5px solid var(--primary-color);
}

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

.footer-brand {
  flex: 1 1 300px;
  max-width: 400px;
}

.footer-brand img {
  height: 50px;
  margin-bottom: 20px;
}

.tagline {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  flex: 1 1 400px;
  justify-content: space-between;
}

.footer-column {
  flex: 1 1 150px;
}

.footer-column h4 {
  color: var(--accent-yellow);
  margin-bottom: 20px;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-column nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  transition: all 0.3s ease;
}

.footer-column a:hover {
  color: var(--accent-yellow);
  padding-left: 8px;
}

.footer-column p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 1.6;
}

.footer-column p a {
  color: var(--secondary-color);
}

.footer-column p a:hover {
  color: var(--accent-yellow);
}

.footer-bottom {
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

/* About Page Styles */
.about-story,
.mission-vision,
.values,
.achievements,
.community-impact {
  padding: 60px 20px;
}

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

.content-wrapper h2 {
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 32px;
}

.story-content p {
  margin-bottom: 24px;
  color: #555;
  line-height: 1.8;
}

.mission-vision-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  margin-top: 40px;
}

.mission-card,
.vision-card {
  background: var(--light-bg);
  padding: 40px;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  flex: 1 1 400px;
  max-width: 500px;
  border: 3px solid transparent;
  transition: all 0.4s ease;
}

.mission-card:hover,
.vision-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-color);
  box-shadow: var(--shadow-lg);
}

.mission-card img,
.vision-card img {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
}

.mission-card h3,
.vision-card h3 {
  color: var(--primary-color);
  margin-bottom: 16px;
}

.mission-card p,
.vision-card p {
  color: #555;
  line-height: 1.7;
}

.values-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  margin-top: 40px;
}

.value-card {
  background: var(--light-bg);
  padding: 32px;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  flex: 1 1 300px;
  max-width: 350px;
  text-align: center;
  border: 3px solid transparent;
  transition: all 0.4s ease;
}

.value-card:hover {
  transform: translateY(-10px) scale(1.03);
  border-color: var(--secondary-color);
  box-shadow: var(--shadow-lg);
}

.value-card img {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  filter: drop-shadow(0 4px 8px rgba(255, 23, 68, 0.3));
}

.value-card h3 {
  color: var(--primary-color);
  margin-bottom: 16px;
}

.value-card p {
  color: #555;
  line-height: 1.7;
  text-align: left;
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 40px auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50px;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--gradient-primary);
}

.timeline-item {
  display: flex;
  gap: 32px;
  margin-bottom: 48px;
  position: relative;
}

.timeline-year {
  width: 100px;
  height: 100px;
  background: var(--gradient-primary);
  color: var(--text-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  font-family: 'Montserrat', sans-serif;
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.timeline-content {
  background: var(--light-bg);
  padding: 24px;
  border-radius: 15px;
  box-shadow: var(--shadow-md);
  flex: 1;
  border: 3px solid transparent;
  transition: all 0.4s ease;
}

.timeline-content:hover {
  border-color: var(--primary-color);
  transform: translateX(10px);
}

.timeline-content h3 {
  color: var(--primary-color);
  margin-bottom: 12px;
}

.timeline-content p {
  color: #555;
  line-height: 1.7;
}

.impact-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  font-size: 18px;
  color: #555;
  line-height: 1.8;
}

.impact-areas {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 40px;
}

.impact-area {
  background: var(--light-bg);
  padding: 32px;
  border-radius: 15px;
  box-shadow: var(--shadow-md);
  border-left: 5px solid var(--primary-color);
  transition: all 0.4s ease;
}

.impact-area:hover {
  transform: translateX(10px);
  box-shadow: var(--shadow-lg);
}

.impact-area h3 {
  color: var(--primary-color);
  margin-bottom: 16px;
}

.impact-area p {
  color: #555;
  line-height: 1.7;
}

/* Courses Page Styles */
.course-categories {
  background: var(--gray-100);
}

.categories-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  margin-top: 40px;
}

.category-card {
  background: var(--light-bg);
  padding: 32px;
  border-radius: 20px;
  text-align: center;
  box-shadow: var(--shadow-md);
  flex: 1 1 280px;
  max-width: 320px;
  border: 3px solid transparent;
  transition: all 0.4s ease;
}

.category-card:hover {
  transform: translateY(-10px) scale(1.05);
  border-color: var(--secondary-color);
  box-shadow: var(--shadow-lg);
}

.category-card img {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  filter: drop-shadow(0 4px 8px rgba(0, 229, 255, 0.3));
}

.category-card h3 {
  color: var(--primary-color);
  margin-bottom: 12px;
}

.category-card p {
  color: #555;
  line-height: 1.7;
}

.course-features {
  background: var(--light-bg);
}

.feature-item {
  background: var(--gray-100);
  padding: 24px;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  transition: all 0.4s ease;
  border: 3px solid transparent;
}

.feature-item:hover {
  background: var(--light-bg);
  border-color: var(--accent-yellow);
  transform: translateY(-5px);
}

.feature-item img {
  width: 50px;
  height: 50px;
}

.feature-item h3 {
  color: var(--primary-color);
  margin-bottom: 8px;
}

.feature-item p {
  color: #555;
  line-height: 1.7;
}

.learning-paths {
  background: var(--gray-100);
}

.paths-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  margin-top: 40px;
}

.path-card {
  background: var(--light-bg);
  padding: 32px;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  flex: 1 1 320px;
  max-width: 380px;
  border: 3px solid transparent;
  transition: all 0.4s ease;
}

.path-card:hover {
  transform: translateY(-10px);
  border-color: var(--accent-purple);
  box-shadow: var(--shadow-lg);
}

.path-card h3 {
  color: var(--primary-color);
  margin-bottom: 12px;
}

.path-card p {
  color: #555;
  margin-bottom: 20px;
}

.path-courses {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.path-courses li {
  padding: 8px 0;
  padding-left: 24px;
  position: relative;
  color: #555;
}

.path-courses li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-green);
  font-weight: 700;
  font-size: 18px;
}

.path-duration {
  display: inline-block;
  background: var(--gradient-accent);
  color: var(--text-dark);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 700;
}

.enrollment-process {
  background: var(--light-bg);
}

.process-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  margin-top: 40px;
  margin-bottom: 40px;
}

.step {
  flex: 1 1 240px;
  max-width: 280px;
  text-align: center;
  position: relative;
}

.step-number {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  color: var(--text-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 800;
  font-family: 'Montserrat', sans-serif;
  margin: 0 auto 20px;
  box-shadow: var(--shadow-md);
  transition: all 0.4s ease;
}

.step:hover .step-number {
  transform: scale(1.2) rotate(360deg);
}

.step h3 {
  color: var(--primary-color);
  margin-bottom: 12px;
}

.step p {
  color: #555;
  line-height: 1.7;
}

.enrollment-cta {
  text-align: center;
}

.faq {
  background: var(--gray-100);
}

.faq-list {
  max-width: 900px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.faq-item {
  background: var(--light-bg);
  padding: 28px;
  border-radius: 15px;
  box-shadow: var(--shadow-md);
  border-left: 5px solid var(--primary-color);
  transition: all 0.4s ease;
}

.faq-item:hover {
  transform: translateX(10px);
  box-shadow: var(--shadow-lg);
}

.faq-item h3 {
  color: var(--primary-color);
  margin-bottom: 12px;
  font-size: 18px;
}

.faq-item p {
  color: #555;
  line-height: 1.7;
}

/* Schedule Page Styles */
.schedule-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  margin-top: 40px;
}

.schedule-card {
  background: var(--light-bg);
  padding: 32px;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  flex: 1 1 340px;
  max-width: 400px;
  border: 3px solid transparent;
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.schedule-card:hover {
  transform: translateY(-10px);
  border-color: var(--accent-green);
  box-shadow: var(--shadow-lg);
}

.schedule-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}

.schedule-header h3 {
  flex: 1;
  color: var(--primary-color);
  margin-bottom: 0;
}

.seats-badge {
  background: var(--gradient-accent);
  color: var(--text-dark);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
}

.schedule-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.detail-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.detail-row img {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin-top: 2px;
}

.detail-row div {
  flex: 1;
}

.detail-row strong {
  color: var(--primary-color);
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
}

.session-types,
.schedule-info {
  background: var(--gray-100);
}

.session-types-grid,
.info-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  margin-top: 40px;
}

.session-type-card,
.info-card {
  background: var(--light-bg);
  padding: 32px;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  flex: 1 1 280px;
  max-width: 320px;
  text-align: center;
  border: 3px solid transparent;
  transition: all 0.4s ease;
}

.session-type-card:hover,
.info-card:hover {
  transform: translateY(-10px);
  border-color: var(--secondary-color);
  box-shadow: var(--shadow-lg);
}

.session-type-card img,
.info-card img {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
}

.session-type-card h3,
.info-card h3 {
  color: var(--primary-color);
  margin-bottom: 16px;
}

.session-type-card p,
.info-card p {
  color: #555;
  line-height: 1.7;
  margin-bottom: 12px;
}

.session-meta {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 2px solid var(--gray-200);
}

.session-meta span {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 14px;
}

.custom-schedule-cta {
  max-width: 700px;
  margin: 40px auto 0;
  text-align: center;
  background: var(--light-bg);
  padding: 32px;
  border-radius: 15px;
  box-shadow: var(--shadow-md);
}

.custom-schedule-cta p {
  margin-bottom: 20px;
  color: #555;
  line-height: 1.7;
}

/* Instructors Page Styles */
.instructors-grid-section {
  background: var(--gray-100);
}

.instructors-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  margin-top: 40px;
}

.instructor-card {
  background: var(--light-bg);
  padding: 32px;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  flex: 1 1 340px;
  max-width: 400px;
  border: 3px solid transparent;
  transition: all 0.4s ease;
}

.instructor-card:hover {
  transform: translateY(-10px);
  border-color: var(--accent-purple);
  box-shadow: var(--shadow-lg);
}

.instructor-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--primary-color);
  box-shadow: var(--shadow-md);
}

.instructor-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.instructor-card h3 {
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 8px;
}

.instructor-title {
  text-align: center;
  color: var(--secondary-color);
  font-weight: 600;
  margin-bottom: 20px;
  font-size: 16px;
}

.instructor-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
  padding: 16px;
  background: var(--gray-100);
  border-radius: 10px;
}

.instructor-meta span {
  font-size: 14px;
  color: #555;
}

.instructor-meta strong {
  color: var(--primary-color);
}

.instructor-bio {
  color: #555;
  line-height: 1.7;
  margin-bottom: 16px;
}

.courses-taught {
  padding-top: 16px;
  border-top: 2px solid var(--gray-200);
  font-size: 14px;
  color: #555;
}

.courses-taught strong {
  color: var(--primary-color);
}

.instructor-qualifications {
  background: var(--light-bg);
}

.qualifications-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  margin-top: 40px;
}

.qualification-card {
  background: var(--gray-100);
  padding: 32px;
  border-radius: 20px;
  text-align: center;
  flex: 1 1 300px;
  max-width: 350px;
  border: 3px solid transparent;
  transition: all 0.4s ease;
}

.qualification-card:hover {
  background: var(--light-bg);
  transform: translateY(-10px);
  border-color: var(--accent-green);
  box-shadow: var(--shadow-lg);
}

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

.qualification-card h3 {
  color: var(--primary-color);
  margin-bottom: 16px;
}

.qualification-card p {
  color: #555;
  line-height: 1.7;
  text-align: left;
}

.teaching-methodology {
  background: var(--gray-100);
}

.methodology-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  font-size: 18px;
  color: #555;
  line-height: 1.8;
}

.methodology-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.methodology-item {
  background: var(--light-bg);
  padding: 28px;
  border-radius: 15px;
  box-shadow: var(--shadow-md);
  border-left: 5px solid var(--secondary-color);
  transition: all 0.4s ease;
}

.methodology-item:hover {
  transform: translateX(10px);
  box-shadow: var(--shadow-lg);
}

.methodology-item h3 {
  color: var(--primary-color);
  margin-bottom: 12px;
}

.methodology-item p {
  color: #555;
  line-height: 1.7;
}

.join-team {
  background: var(--light-bg);
}

.join-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  font-size: 18px;
  color: #555;
  line-height: 1.8;
}

.requirements {
  max-width: 700px;
  margin: 0 auto 40px;
}

.requirements h3 {
  color: var(--primary-color);
  margin-bottom: 20px;
  text-align: center;
}

.requirements ul {
  background: var(--gray-100);
  padding: 24px 24px 24px 48px;
  border-radius: 15px;
}

.requirements li {
  color: #555;
  line-height: 1.7;
  margin-bottom: 12px;
}

.join-cta {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.join-cta .btn {
  margin-bottom: 20px;
}

.contact-email {
  color: #555;
  font-size: 15px;
}

.contact-email a {
  color: var(--primary-color);
  font-weight: 600;
}

/* Contact Page Styles */
.contact-main {
  background: var(--gray-100);
}

.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  margin-top: 40px;
}

.contact-form-section,
.contact-info-section {
  flex: 1 1 400px;
}

.contact-form-section h2,
.contact-info-section h2 {
  color: var(--primary-color);
  margin-bottom: 20px;
}

.contact-form-section p,
.contact-info-section p {
  color: #555;
  line-height: 1.7;
  margin-bottom: 24px;
}

.form-notice {
  background: var(--light-bg);
  padding: 24px;
  border-radius: 15px;
  border-left: 5px solid var(--accent-yellow);
  box-shadow: var(--shadow-md);
}

.form-notice p {
  color: #555;
  line-height: 1.7;
  margin-bottom: 0;
}

.form-notice strong {
  color: var(--primary-color);
}

.form-notice a {
  color: var(--primary-color);
  font-weight: 600;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-detail-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.contact-detail-item img {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.contact-detail-item h3 {
  color: var(--primary-color);
  margin-bottom: 8px;
  font-size: 18px;
}

.contact-detail-item p {
  color: #555;
  line-height: 1.7;
  margin-bottom: 8px;
}

.contact-detail-item a {
  color: var(--primary-color);
  font-weight: 600;
}

.detail-note {
  font-size: 14px;
  color: #777;
  margin-top: 8px;
}

.map-section {
  background: var(--light-bg);
}

.map-container {
  max-width: 900px;
  margin: 40px auto 0;
}

.map-placeholder {
  background: var(--gray-100);
  padding: 48px;
  border-radius: 15px;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.map-placeholder p {
  color: #555;
  line-height: 1.8;
  margin-bottom: 16px;
}

.contact-methods {
  background: var(--gray-100);
}

.methods-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  margin-top: 40px;
}

.method-card {
  background: var(--light-bg);
  padding: 32px;
  border-radius: 20px;
  text-align: center;
  box-shadow: var(--shadow-md);
  flex: 1 1 280px;
  max-width: 320px;
  border: 3px solid transparent;
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.method-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-color);
  box-shadow: var(--shadow-lg);
}

.method-card img {
  width: 70px;
  height: 70px;
  margin: 0 auto;
}

.method-card h3 {
  color: var(--primary-color);
  margin-bottom: 8px;
}

.method-card p {
  color: #555;
  line-height: 1.7;
  margin-bottom: 8px;
}

.visit-hours {
  font-weight: 600;
  color: var(--primary-color);
}

.faq-preview {
  background: var(--light-bg);
}

.faq-preview-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  margin-top: 40px;
}

.faq-preview-item {
  background: var(--gray-100);
  padding: 28px;
  border-radius: 15px;
  flex: 1 1 320px;
  max-width: 380px;
  border-left: 5px solid var(--primary-color);
  transition: all 0.4s ease;
}

.faq-preview-item:hover {
  transform: translateX(10px);
  box-shadow: var(--shadow-md);
}

.faq-preview-item h3 {
  color: var(--primary-color);
  margin-bottom: 12px;
  font-size: 18px;
}

.faq-preview-item p {
  color: #555;
  line-height: 1.7;
}

.office-hours-detail {
  background: var(--gray-100);
}

.hours-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  margin-top: 40px;
  margin-bottom: 40px;
}

.hours-card {
  background: var(--light-bg);
  padding: 32px;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  flex: 1 1 280px;
  max-width: 350px;
  text-align: center;
  border: 3px solid transparent;
  transition: all 0.4s ease;
}

.hours-card:hover {
  transform: translateY(-10px);
  border-color: var(--accent-green);
  box-shadow: var(--shadow-lg);
}

.hours-card h3 {
  color: var(--primary-color);
  margin-bottom: 12px;
}

.hours-time {
  font-size: 18px;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 16px;
}

.hours-card p {
  color: #555;
  line-height: 1.7;
}

.appointment-note {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  background: var(--light-bg);
  padding: 24px;
  border-radius: 15px;
  box-shadow: var(--shadow-md);
}

.appointment-note p {
  color: #555;
  line-height: 1.7;
  margin-bottom: 0;
}

/* Thank You Page Styles */
.thank-you-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  position: relative;
  z-index: 1;
}

.success-icon img {
  width: 120px;
  height: 120px;
  animation: bounceIn 0.8s ease-out;
}

@keyframes bounceIn {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.confirmation-details {
  background: var(--light-bg);
}

.steps-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  margin-top: 40px;
  margin-bottom: 40px;
}

.step-item {
  flex: 1 1 280px;
  max-width: 320px;
  text-align: center;
}

.step-icon img {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
}

.step-item h3 {
  color: var(--primary-color);
  margin-bottom: 12px;
}

.step-item p {
  color: #555;
  line-height: 1.7;
}

.response-time {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
  background: var(--gray-100);
  border-radius: 15px;
}

.response-time p {
  color: #555;
  line-height: 1.7;
  margin-bottom: 0;
}

.next-steps {
  background: var(--gray-100);
}

.suggestions-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  margin-top: 40px;
}

.suggestion-card {
  background: var(--light-bg);
  padding: 32px;
  border-radius: 20px;
  text-align: center;
  box-shadow: var(--shadow-md);
  flex: 1 1 260px;
  max-width: 300px;
  border: 3px solid transparent;
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.suggestion-card:hover {
  transform: translateY(-10px);
  border-color: var(--secondary-color);
  box-shadow: var(--shadow-lg);
}

.suggestion-card img {
  width: 70px;
  height: 70px;
  margin: 0 auto;
}

.suggestion-card h3 {
  color: var(--primary-color);
  margin-bottom: 8px;
}

.suggestion-card p {
  color: #555;
  line-height: 1.7;
  margin-bottom: 16px;
}

.urgent-contact {
  background: var(--light-bg);
}

.contact-options {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  margin-top: 40px;
}

.contact-option {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  flex: 1 1 280px;
  max-width: 350px;
  background: var(--gray-100);
  padding: 24px;
  border-radius: 15px;
  transition: all 0.4s ease;
}

.contact-option:hover {
  background: var(--light-bg);
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.contact-option img {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.contact-option h3 {
  color: var(--primary-color);
  margin-bottom: 8px;
}

.contact-option p {
  color: #555;
  line-height: 1.7;
  margin-bottom: 4px;
}

.social-follow {
  background: var(--gray-100);
}

.social-links {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.social-links p {
  color: #555;
  line-height: 1.7;
  margin-bottom: 16px;
}

.social-note {
  font-size: 14px;
  color: #777;
}

.return-home {
  background: var(--light-bg);
}

.return-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.return-content h2 {
  color: var(--primary-color);
  margin-bottom: 24px;
}

/* Legal Pages Styles */
.legal-content {
  background: var(--light-bg);
}

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

.legal-section h2 {
  color: var(--primary-color);
  margin-bottom: 20px;
  margin-top: 40px;
}

.legal-section h3 {
  color: var(--secondary-color);
  margin-bottom: 16px;
  margin-top: 24px;
}

.legal-section p,
.legal-section li {
  color: #555;
  line-height: 1.8;
}

.legal-section ul {
  margin-bottom: 20px;
  padding-left: 32px;
}

.legal-section li {
  margin-bottom: 12px;
}

/* Cookie Consent Banner */
#cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--gradient-primary);
  color: var(--text-light);
  padding: 24px 20px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  z-index: 10000;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

#cookie-consent-banner.show {
  transform: translateY(0);
}

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

.cookie-consent-text {
  flex: 1 1 400px;
}

.cookie-consent-text p {
  color: var(--text-light);
  margin-bottom: 8px;
  line-height: 1.6;
}

.cookie-consent-text a {
  color: var(--accent-yellow);
  text-decoration: underline;
  font-weight: 600;
}

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

.cookie-btn {
  padding: 12px 24px;
  border-radius: 30px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cookie-btn-accept {
  background: var(--accent-yellow);
  color: var(--text-dark);
  border-color: var(--accent-yellow);
}

.cookie-btn-accept:hover {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
  transform: scale(1.05);
}

.cookie-btn-reject {
  background: transparent;
  color: var(--text-light);
  border-color: var(--text-light);
}

.cookie-btn-reject:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

.cookie-btn-settings {
  background: var(--secondary-color);
  color: var(--text-dark);
  border-color: var(--secondary-color);
}

.cookie-btn-settings:hover {
  background: var(--secondary-dark);
  border-color: var(--secondary-dark);
  transform: scale(1.05);
}

/* Cookie Settings Modal */
#cookie-settings-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 10001;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(5px);
}

#cookie-settings-modal.show {
  display: flex;
}

.cookie-modal-content {
  background: var(--light-bg);
  max-width: 600px;
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
  max-height: 90vh;
  overflow-y: auto;
  animation: modalSlideIn 0.4s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.cookie-modal-header {
  background: var(--gradient-primary);
  color: var(--text-light);
  padding: 24px;
  border-radius: 20px 20px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cookie-modal-header h2 {
  color: var(--text-light);
  margin-bottom: 0;
}

.cookie-modal-close {
  background: rgba(255, 255, 255, 0.2);
  color: var(--text-light);
  border: 2px solid var(--text-light);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cookie-modal-close:hover {
  background: var(--text-light);
  color: var(--primary-color);
  transform: rotate(90deg);
}

.cookie-modal-body {
  padding: 32px 24px;
}

.cookie-category {
  margin-bottom: 24px;
  padding: 20px;
  background: var(--gray-100);
  border-radius: 15px;
  border-left: 4px solid var(--primary-color);
}

.cookie-category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.cookie-category-header h3 {
  color: var(--primary-color);
  margin-bottom: 0;
  font-size: 18px;
}

.cookie-toggle {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
}

.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gray-300);
  transition: 0.4s;
  border-radius: 26px;
}

.cookie-toggle-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 4px;
  bottom: 4px;
  background: white;
  transition: 0.4s;
  border-radius: 50%;
}

.cookie-toggle input:checked + .cookie-toggle-slider {
  background: var(--accent-green);
}

.cookie-toggle input:checked + .cookie-toggle-slider:before {
  transform: translateX(24px);
}

.cookie-toggle input:disabled + .cookie-toggle-slider {
  opacity: 0.5;
  cursor: not-allowed;
}

.cookie-category p {
  color: #555;
  line-height: 1.7;
  margin-bottom: 0;
  font-size: 14px;
}

.cookie-modal-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--gray-200);
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

/* Responsive Design */
@media (max-width: 768px) {
  /* Typography adjustments */
  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 24px;
  }

  h3 {
    font-size: 20px;
  }

  /* Header adjustments */
  .main-nav,
  .header-cta {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .mobile-menu {
    display: block;
  }

  /* Hero adjustments */
  .hero h1 {
    font-size: 36px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .hero-cta {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta .btn {
    width: 100%;
  }

  /* Grid adjustments */
  .features-grid,
  .courses-grid,
  .courses-grid-full,
  .stats-grid,
  .testimonials-grid,
  .contact-info-grid,
  .footer-links {
    gap: 24px;
  }

  /* Card adjustments */
  .feature-card,
  .course-card,
  .course-card-detailed,
  .stat-card,
  .testimonial-card,
  .contact-info-card {
    max-width: 100%;
  }

  /* Timeline adjustments */
  .timeline::before {
    left: 30px;
  }

  .timeline-year {
    width: 60px;
    height: 60px;
    font-size: 16px;
  }

  .timeline-item {
    gap: 20px;
  }

  /* Footer adjustments */
  .footer-content {
    gap: 32px;
  }

  .footer-links {
    gap: 32px;
  }

  /* Contact page adjustments */
  .contact-grid {
    gap: 32px;
  }

  /* Cookie consent adjustments */
  .cookie-consent-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-consent-buttons {
    width: 100%;
  }

  .cookie-btn {
    flex: 1;
    min-width: 100px;
  }

  /* Modal adjustments */
  .cookie-modal-content {
    max-height: 85vh;
  }

  .cookie-modal-header {
    padding: 20px;
  }

  .cookie-modal-body {
    padding: 24px 20px;
  }

  .cookie-modal-footer {
    padding: 16px 20px;
    flex-direction: column;
  }

  .cookie-modal-footer .cookie-btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  /* Further mobile optimizations */
  .container {
    padding: 0 16px;
  }

  h1 {
    font-size: 28px;
  }

  h2 {
    font-size: 22px;
  }

  .btn {
    padding: 14px 24px;
    font-size: 14px;
  }

  .hero {
    padding: 60px 20px;
  }

  .section,
  section {
    padding: 48px 20px;
  }

  .stat-number {
    font-size: 40px;
  }

  .cta-content h2 {
    font-size: 28px;
  }

  .cookie-consent-buttons {
    flex-direction: column;
  }

  .cookie-btn {
    width: 100%;
  }
}