* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Inter', sans-serif;
  background: #ffffff;
  color: #1e1e2f;
  line-height: 1.6;
  scroll-behavior: smooth;
  transition: background 0.5s cubic-bezier(0.4, 0, 0.2, 1), color 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.container { max-width: 1280px; margin: 0 auto; padding: 0 2rem; }

/* Estilo corregido: La G ahora hereda bien el degradado, es grande y no desaparece */
.first-letter {
  font-size: 2.6rem;
  font-weight: 800;
  vertical-align: middle;
  line-height: 1;
}

/* Navegación */
.navbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.2rem 2rem; background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(15px); position: sticky; top: 0;
  z-index: 100; border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: background 0.5s, border-color 0.5s;
}
.logo-container { display: flex; align-items: center; gap: 1rem; text-decoration: none; }

/* Logo de la barra de navegación configurado a 65px */
.logo-img { height: 65px; width: auto; object-fit: contain; transition: filter 0.5s; }

.logo-text {
  font-size: 1.9rem; font-weight: 800; letter-spacing: -0.5px;
  background: linear-gradient(135deg, #b8860b, #d4af37);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  display: inline-flex; align-items: center;
  transition: background 0.5s;
}
.nav-links { display: flex; gap: 2.5rem; align-items: center; }
.nav-links a { text-decoration: none; color: #334155; font-weight: 500; transition: color 0.3s; }
.nav-links a:hover { color: #b8860b; }
.btn-primary {
  background: linear-gradient(135deg, #b8860b, #d4af37); color: white !important;
  padding: 0.7rem 1.8rem; border-radius: 40px; font-weight: 600;
  box-shadow: 0 8px 18px rgba(184, 134, 11, 0.25); transition: all 0.3s ease;
  display: inline-block; border: none; text-decoration: none; cursor: pointer;
}
.btn-primary:hover {
  background: linear-gradient(135deg, #9a7209, #c5a028); transform: translateY(-2px);
  box-shadow: 0 14px 22px rgba(184, 134, 11, 0.35);
}

/* Animaciones CSS */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-in { animation: fadeInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards; opacity: 0; }
.delay-1 { animation-delay: 0.2s; }

/* Hero */
.hero { display: flex; align-items: center; justify-content: space-between; gap: 3rem; padding: 4rem 0 6rem; }
.hero-content { flex: 1; min-width: 300px; }
.hero-badge {
  background: #fef9e7; color: #b8860b; font-weight: 600; font-size: 0.9rem;
  padding: 0.4rem 1.2rem; border-radius: 50px; display: inline-block;
  margin-bottom: 1.5rem; border: 1px solid #f5e6b8;
  transition: background 0.5s, border-color 0.5s, color 0.5s;
}
.hero-content h1 { font-size: 3.8rem; font-weight: 800; line-height: 1.15; margin-bottom: 1.5rem; color: #0f172a; transition: color 0.5s; }
.highlight {
  background: none;
  font-weight: 800;
  color: inherit;
  transition: color 0.5s;
}
.highlight:hover {
  color: #b8860b;
}
.hero-description { font-size: 1.2rem; color: #475569; margin-bottom: 2.2rem; max-width: 500px; transition: color 0.5s; }
.hero-stats { display: flex; gap: 2.5rem; margin: 2.5rem 0 2rem; }
.stat h3 { font-size: 2.2rem; font-weight: 800; color: #0f172a; transition: color 0.5s; }
.stat p { color: #64748b; font-size: 0.95rem; font-weight: 500; transition: color 0.5s; }
.hero-image {
  flex: 1; max-width: 500px; background: linear-gradient(160deg, #fef9e7, #fdf5d6);
  border-radius: 40px; padding: 5rem; display: flex; justify-content: center;
  align-items: center; border: 1px solid #f5e6b8; position: relative;
  transition: background 0.5s, border-color 0.5s;
}
.hero-image i { font-size: 12rem; color: #d4af37; filter: drop-shadow(0 20px 25px rgba(184, 134, 11, 0.3)); opacity: 0.9; transition: transform 0.3s, color 0.5s; }
.hero-image:hover i { transform: scale(1.05) rotate(5deg); }

/* Carrusel de Imágenes Reales */
.carousel-section { margin: 5rem 0; }
.section-title { text-align: center; margin-bottom: 3rem; }
.section-title h2 { font-size: 2.5rem; font-weight: 700; color: #0f172a; transition: color 0.5s; }
.section-title p { color: #475569; font-size: 1.1rem; margin-top: 0.5rem; transition: color 0.5s; }
.carousel-container { position: relative; max-width: 1100px; margin: 0 auto; overflow: hidden; border-radius: 32px; box-shadow: 0 25px 40px -15px rgba(0,0,0,0.15); background-color: #f1f5f9; transition: background-color 0.5s, box-shadow 0.5s; }
.carousel-slides { display: flex; transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94); width: 100%; }
.carousel-slide { min-width: 100%; position: relative; height: 500px; overflow: hidden; }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; transition: filter 0.5s ease; }
.slide-caption { position: absolute; bottom: 2rem; left: 2rem; right: 2rem; background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(10px); color: white; padding: 0.8rem 1.5rem; border-radius: 50px; font-weight: 600; border-left: 4px solid #d4af37; transition: background 0.5s; max-width: max-content; }
.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); background: white; border: none; width: 50px; height: 50px; border-radius: 50%; box-shadow: 0 12px 24px rgba(0,0,0,0.12); cursor: pointer; font-size: 1.2rem; color: #b8860b; transition: all 0.3s; z-index: 20; }
.carousel-btn:hover { background: #b8860b; color: white; transform: translateY(-50%) scale(1.1); }
.prev-btn { left: 20px; } .next-btn { right: 20px; }
.carousel-dots { display: flex; justify-content: center; gap: 0.8rem; margin-top: 1.5rem; }
.dot { width: 12px; height: 12px; border-radius: 50%; background: #d4af37; opacity: 0.3; cursor: pointer; transition: all 0.3s; border: none; }
.dot.active { opacity: 1; width: 35px; border-radius: 20px; background: #b8860b; }

/* Características / Beneficios */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-bottom: 5rem; }
.feature-card { background: #fff; padding: 2.5rem; border-radius: 24px; border: 1px solid #f1f5f9; transition: background 0.5s, border-color 0.5s, transform 0.3s; }
.feature-card:hover { border-color: #f5e6b8; background: #fef9e7; transform: translateY(-5px); }
.feature-card i { font-size: 2rem; color: #b8860b; margin-bottom: 1.5rem; transition: color 0.5s; }
.feature-card h3 { font-size: 1.3rem; margin-bottom: 0.8rem; color: #0f172a; transition: color 0.5s; }
.feature-card p { color: #475569; font-size: 0.95rem; transition: color 0.5s; }

/* Cursos */
.courses-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; margin: 2rem 0 5rem; }
.course-card { background: #ffffff; border: 1px solid #f1f5f9; border-radius: 24px; padding: 2.5rem 1.8rem; transition: background 0.5s, border-color 0.5s, transform 0.4s ease, box-shadow 0.4s; box-shadow: 0 4px 12px rgba(0,0,0,0.02); }
.course-card:hover { transform: translateY(-10px); box-shadow: 0 25px 35px -10px rgba(184, 134, 11, 0.15); border-color: #f5e6b8; }
.icon-circle { background: #fef9e7; width: 60px; height: 60px; border-radius: 18px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; color: #b8860b; font-size: 1.8rem; transition: transform 0.3s, background 0.5s, color 0.5s; }
.course-card:hover .icon-circle { transform: scale(1.1) rotate(5deg); background: #b8860b; color: white; }
.course-card h3 { font-size: 1.4rem; margin-bottom: 1rem; color: #0f172a; transition: color 0.5s; }
.course-card p { color: #475569; margin-bottom: 1.5rem; font-size: 0.95rem; transition: color 0.5s; }
.text-link { color: #b8860b; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 0.4rem; transition: gap 0.2s, color 0.5s; }
.text-link:hover { gap: 0.7rem; color: #9a7209; }

/* Programas: adultos y niños */
.programs-grid {
 grid-template-columns: repeat(2, minmax(0, 1fr));
 align-items: stretch;
}
.program-card {
 display: flex;
 align-items: center;
 gap: 1.25rem;
 min-height: 190px;
 box-sizing: border-box;
 padding: 2rem;
 border-radius: 24px;
 border: 1px solid #f1f5f9;
 border-left: 1px solid #f1f5f9;
 background: #f8fafc;
}
.course-card.program-card:hover {
 border-color: #f1f5f9;
}
.program-card-content {
 min-width: 0;
}
.program-card .icon-circle {
 flex: 0 0 60px;
 margin-bottom: 0;
}
.program-card:hover {
 transform: translateY(-6px);
}
.program-card.program-card-expanded { align-items: flex-start; }
.program-card-expanded .icon-circle { margin-top: .25rem; }
.program-details-toggle {
 display: inline-flex;
 align-items: center;
 margin: 0 0 1rem;
 padding: .55rem .85rem;
 border: 1px solid #d4af37;
 border-radius: 8px;
 background: #fef9e7;
 color: #8a5b00;
 font: inherit;
 font-weight: 700;
 cursor: pointer;
 transition: background .2s, color .2s, border-color .2s;
}
.program-details-toggle:hover {
 border-color: #b8860b;
 background: #b8860b;
 color: #fff;
}
.program-details-toggle:focus-visible {
 outline: 3px solid #b8860b;
 outline-offset: 3px;
}
.program-details {
 margin: 0 0 1rem;
 padding: .85rem 1rem;
 border: 1px solid #f1e6c6;
 border-radius: 12px;
 background: #fff;
}
.program-details[hidden] { display: none; }
.program-details p {
 margin: 0 0 .65rem;
 font-size: .9rem;
}
.program-details p:last-child { margin-bottom: 0; }
.program-level-list {
 margin: 0;
 padding-left: 1.1rem;
 color: #475569;
 font-size: .9rem;
}
.program-level-list li + li { margin-top: .35rem; }
.program-level-list strong { color: #8a5b00; }

/* Sección de Testimonios */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin: 4rem 0; }
.testimonial-card { background: #f8fafc; padding: 2rem; border-radius: 24px; border-left: 4px solid #d4af37; box-shadow: 0 4px 12px rgba(0,0,0,0.01); transition: background 0.5s, border-color 0.5s; }
.testimonial-card p { font-style: italic; color: #475569; margin-bottom: 1.5rem; transition: color 0.5s; }
.student-info { display: flex; align-items: center; gap: 1rem; }
.student-info i { color: #d4af37; font-size: 1.8rem; transition: color 0.5s; }
.student-name { font-weight: 700; color: #0f172a; font-size: 0.95rem; transition: color 0.5s; }

/* Formulario de Registro Elegante */
.booking-section { background: #f8fafc; border-radius: 40px; padding: 4rem 2rem; margin: 5rem 0; border: 1px solid #e2e8f0; transition: background 0.5s, border-color 0.5s; text-align: center; }
.booking-container { max-width: 600px; margin: 0 auto; background: white; padding: 3rem; border-radius: 24px; box-shadow: 0 20px 40px rgba(0,0,0,0.05); transition: background 0.5s; }
.form-group { margin-bottom: 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; text-align: left; }
.form-group label { font-weight: 600; color: #334155; font-size: 0.95rem; transition: color 0.5s; }
.form-group input, .form-group select, .form-group textarea { padding: 0.8rem 1rem; border-radius: 12px; border: 1px solid #cbd5e1; font-family: inherit; font-size: 1rem; transition: background 0.5s, border-color 0.5s, color 0.5s; width: 100%; }
.form-group textarea { resize: vertical; min-height: 7rem; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: #b8860b; box-shadow: 0 0 0 4px #fef9e7; }
.pre-registration-note { margin: 0; color: #64748b; font-size: .85rem; text-align: left; }
.pre-registration-status { min-height: 1.25rem; margin: .5rem 0 0; color: #15803d; font-size: .9rem; text-align: left; }
.pre-registration-status.is-error { color: #dc2626; }
.booking-container button:disabled { cursor: wait; opacity: .7; }

/* ===== NUEVAS REGLAS PARA VALIDACIONES EN TIEMPO REAL ===== */
.required {
  color: #dc2626;
  font-weight: bold;
  margin-left: 2px;
}

.error-message-input {
  display: none;
  color: #dc2626;
  font-size: 0.7rem;
  margin-top: 0.3rem;
  margin-left: 0.5rem;
  font-weight: 500;
}

.error-message-input.show {
  display: block;
}

.input-error {
  border-color: #dc2626 !important;
  background-color: #fef2f2 !important;
}

.input-error:focus {
  border-color: #dc2626 !important;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1) !important;
}

/* Modo oscuro para validaciones */
body.dark-theme .error-message-input {
  color: #fca5a5;
}

body.dark-theme .input-error {
  border-color: #fca5a5 !important;
  background-color: #450a0a !important;
}
/* ===== FIN DE LAS NUEVAS REGLAS ===== */

/* FAQ Section */
.faq-section { margin: 5rem 0; }
.faq-container { max-width: 800px; margin: 0 auto; }
details { background: white; margin-bottom: 1rem; border-radius: 16px; box-shadow: 0 4px 6px rgba(0,0,0,0.02); overflow: hidden; border: 1px solid #e2e8f0; transition: background 0.5s, border-color 0.5s; }
details:hover { border-color: #b8860b; }
summary { padding: 1.5rem; font-weight: 600; color: #0f172a; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; font-size: 1.1rem; transition: color 0.5s; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '\f078'; font-family: 'Font Awesome 5 Free'; font-weight: 900; color: #b8860b; transition: transform 0.3s, color 0.5s; }
details[open] summary::after { transform: rotate(180deg); }
details p { padding: 0 1.5rem 1.5rem; color: #475569; transition: color 0.5s; }

/* CTA y Footer */
.cta-section { background: linear-gradient(135deg, #b8860b 0%, #d4af37 100%); border-radius: 40px; padding: 5rem 2.5rem; margin: 5rem 0; text-align: center; color: white; box-shadow: 0 20px 40px rgba(184, 134, 11, 0.2); }
.cta-section h2 { font-size: 3rem; font-weight: 800; margin-bottom: 1rem; }
.cta-section p { font-size: 1.2rem; margin-bottom: 2.5rem; opacity: 0.9; }
.btn-white { background: white; color: #b8860b; padding: 1rem 3rem; border-radius: 50px; font-weight: 700; font-size: 1.1rem; text-decoration: none; display: inline-block; transition: 0.3s; box-shadow: 0 10px 20px rgba(0,0,0,0.1); cursor: pointer; border: none; }
.btn-white:hover { transform: translateY(-5px); box-shadow: 0 15px 25px rgba(0,0,0,0.2); }

/* Footer Centralizado */
.footer {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  margin-top: 4rem;
  padding: 3rem 2rem;
  border-top: 1px solid #e2e8f0;
  transition: background 0.5s, border-color 0.5s;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.footer-logo {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #b8860b;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.5s;
}

.footer-links a:hover {
  color: #986f08;
}

.footer-tagline {
  color: #64748b;
  font-size: 0.9rem;
  margin-top: 0.5rem;
  letter-spacing: 1px;
  transition: color 0.5s;
}

.footer-copyright p {
  color: #94a3b8;
  font-size: 0.85rem;
  margin: 0;
  transition: color 0.5s;
}

/* Íconos Sociales en Navbar */
.social-nav {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  margin-left: 1rem;
  padding: 0 0.5rem;
  border-left: 2px solid #e2e8f0;
}

.social-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 1.4rem;
  cursor: pointer;
  border: none;
}

.social-icon.facebook {
  background: #1877f2;
  color: white;
  box-shadow: 0 4px 12px rgba(24, 119, 242, 0.3);
}

.social-icon.facebook:hover {
  transform: translateY(-4px) scale(1.1);
  background: #166fe5;
  box-shadow: 0 8px 20px rgba(24, 119, 242, 0.5);
}

.social-icon.instagram {
  background: linear-gradient(135deg, #833AB4, #FD1D1D, #FCAF45);
  color: white;
  box-shadow: 0 4px 12px rgba(131, 58, 180, 0.3);
}

.social-icon.instagram:hover {
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 8px 20px rgba(131, 58, 180, 0.5);
}

.social-icon.whatsapp {
  background: #25d366;
  color: white;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.social-icon.whatsapp:hover {
  transform: translateY(-4px) scale(1.1);
  background: #20b858;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.5);
}

.social-icon.theme-mode {
  background: linear-gradient(135deg, #1e293b, #0f172a);
  color: #fbbf24;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.social-icon.theme-mode:hover {
  transform: translateY(-4px) scale(1.1);
  background: linear-gradient(135deg, #334155, #1e293b);
}

.social-icon {
  position: relative;
}

.social-icon::after {
  content: attr(aria-label);
  position: absolute;
  bottom: -35px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: #1e293b;
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s;
}

.social-icon:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Botón Secundario */
.btn-secondary {
  background: transparent;
  border: 2px solid #f59e0b;
  color: #f59e0b;
  padding: 0.6rem 1.2rem;
  border-radius: 12px;
  font-weight: 600;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
}

.btn-secondary:hover {
  background: #f59e0b;
  color: white;
  transform: translateY(-2px);
}

/* 🌓 CONFIGURACIÓN MODO OSCURO */
body.dark-theme { background: #1a1a1a; color: #1c1e21; }
body.dark-theme .navbar { background: #1a1a1a; border-color: #00000014; }
body.dark-theme .navbar a { color: #cbd5e1; }
body.dark-theme .navbar a:hover, body.dark-theme .text-link { color: #eab308; }
body.dark-theme .feature-card, 
body.dark-theme .course-card { background: #1e293b; border-color: #334155; box-shadow: 0 4px 12px rgba(0,0,0,0.2); }
body.dark-theme .feature-card:hover { border-color: #eab308; }
body.dark-theme .course-card:hover { border-color: #eab308; box-shadow: 0 25px 35px -10px rgba(234, 179, 8, 0.1); }
body.dark-theme .feature-card h3,
body.dark-theme .course-card h3 { color: #ffffff !important; }
body.dark-theme .feature-card i { color: #eab308; }
body.dark-theme .icon-circle { background: #334155; color: #eab308; }
body.dark-theme .course-card:hover .icon-circle { background: #eab308; color: #0f172a; }
body.dark-theme .program-card {
  background: #1e293b;
  border-color: #334155;
  border-left: 1px solid #334155;
}
body.dark-theme .course-card.program-card:hover {
  border-color: #334155;
}
body.dark-theme .program-details-toggle {
  border-color: #eab308;
  background: #334155;
  color: #fef3c7;
}
body.dark-theme .program-details-toggle:hover {
  background: #eab308;
  color: #0f172a;
}
body.dark-theme .program-details {
  border-color: #475569;
  background: #0f172a;
}
body.dark-theme .program-level-list { color: #cbd5e1; }
body.dark-theme .program-level-list strong { color: #fcd34d; }
body.dark-theme .testimonial-card { background: #1e293b; border-left-color: #eab308; }
body.dark-theme .student-info i { color: #eab308; }
body.dark-theme .booking-section { background: #1e293b; border-color: #334155; }
body.dark-theme .booking-container { background: #0f172a; }
body.dark-theme details { background: #1e293b; border-color: #334155; }
body.dark-theme details:hover { border-color: #eab308; }
body.dark-theme summary::after { color: #eab308; }
body.dark-theme .carousel-slide img,
body.dark-theme .logo-img { filter: brightness(0.9) contrast(1.05); }
body.dark-theme .carousel-container { background-color: #1a1a1a; box-shadow: 0 25px 40px -15px rgba(0,0,0,0.4); }
body.dark-theme .hero-image { background: linear-gradient(160deg, #1e293b, #0f172a); border-color: #334155; }
body.dark-theme .hero-image i { color: #eab308; }
body.dark-theme .hero-badge { background: #334155; border-color: #475569; color: #eab308; }
body.dark-theme .hero-content h1,
body.dark-theme .section-title h2,
body.dark-theme .student-name,
body.dark-theme .stat h3,
body.dark-theme summary { color: #f8fafc; }
body.dark-theme .hero-description,
body.dark-theme .section-title p,
body.dark-theme .feature-card p,
body.dark-theme .course-card p,
body.dark-theme .testimonial-card p,
body.dark-theme .form-group label,
body.dark-theme details p { color: #94a3b8; }
body.dark-theme .form-group input, 
body.dark-theme .form-group select,
body.dark-theme .form-group textarea { background: #1e293b; border-color: #475569; color: white; }
body.dark-theme .form-group input:focus,
body.dark-theme .form-group select:focus,
body.dark-theme .form-group textarea:focus { border-color: #eab308; box-shadow: 0 0 0 4px rgba(234, 179, 8, 0.15); }
body.dark-theme .pre-registration-note { color: #cbd5e1; }
body.dark-theme .pre-registration-status { color: #86efac; }
body.dark-theme .pre-registration-status.is-error { color: #fca5a5; }
body.dark-theme .footer { border-top-color: #334155; }
body.dark-theme .social-nav { border-left-color: #334155; }
body.dark-theme .social-icon.theme-mode { background: linear-gradient(135deg, #fef9e7, #fdf5d6); color: #b8860b; }
body.dark-theme .social-icon.theme-mode:hover { background: linear-gradient(135deg, #fdf5d6, #fef9e7); }
body.dark-theme .btn-secondary { border-color: #eab308; color: #eab308; }
body.dark-theme .btn-secondary:hover { background: #eab308; color: #0f172a; }
body.dark-theme .highlight { color: #ffffff; background: none; }
body.dark-theme .footer {
  background: linear-gradient(135deg, #2d2d2d 0%, #2d2d2d 100%);
  border-top-color: #334155;
}
body.dark-theme .footer-tagline {
  color: #94a3b8;
}
body.dark-theme .footer-copyright p {
  color: #ffffff;
}
body.dark-theme .footer-logo .logo-text {
  background: linear-gradient(135deg, #eab308, #fbbf24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
body.dark-theme .footer-links a { color: #fbbf24; }

/* Responsive */
@media (max-width: 1024px) {
  .container { padding: 0 1.5rem; }
  .hero { gap: 2rem; padding: 3rem 0; }
  .hero-content h1 { font-size: 3rem; }
  .hero-image { padding: 3rem; max-width: 400px; }
  .hero-image i { font-size: 9rem; }
  .carousel-slide { height: 400px; }
  .features-grid, .courses-grid, .testimonials-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}

@media (max-width: 768px) {
  .navbar { flex-direction: column; gap: 1rem; padding: 1.2rem 1rem; text-align: center; }
  .nav-links { gap: 1.5rem; flex-wrap: wrap; justify-content: center; }
  .social-nav { margin: 0.8rem 0; padding: 0.5rem 0; border-left: none; border-top: 2px solid #e2e8f0; width: 100%; justify-content: center; }
  .social-icon { width: 48px; height: 48px; font-size: 1.6rem; }
  .hero { flex-direction: column-reverse; text-align: center; padding: 2rem 0; }
  .hero-content { min-width: 0; width: 100%; }
  .hero-content h1 { font-size: 2.4rem; }
  .hero-description { margin: 0 auto 2rem; }
  .hero-stats { justify-content: center; gap: 2rem; }
  .hero-image { width: 100%; max-width: 280px; padding: 2.5rem; margin-bottom: 1rem; }
  .hero-image i { font-size: 7rem; }
  .carousel-section { margin: 3rem 0; }
  .section-title h2 { font-size: 1.9rem; }
  .carousel-container { border-radius: 20px; }
  .carousel-slide { height: 280px; }
  .slide-caption { bottom: 1rem; left: 1rem; right: 1rem; max-width: calc(100% - 2rem); overflow-wrap: anywhere; border-radius: 1rem; font-size: 0.85rem; padding: 0.5rem 1rem; }
  .carousel-btn { width: 40px; height: 40px; font-size: 1rem; }
  .prev-btn { left: 10px; } .next-btn { right: 10px; }
  .features-grid, .courses-grid, .testimonials-grid { grid-template-columns: 1fr; }
  .feature-card, .course-card { padding: 2rem 1.5rem; }
  .booking-section { padding: 2rem 1rem; border-radius: 24px; }
  .booking-container { padding: 1.5rem; border-radius: 16px; }
  .cta-section { border-radius: 24px; padding: 3.5rem 1.5rem; }
  .cta-section h2 { font-size: 2rem; }
  .btn-white { width: 100%; padding: 0.8rem 2rem; }
  .footer { padding: 2rem 1rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .logo-container { gap: .5rem; }
  .logo-img { height: 48px; }
  .logo-text { font-size: 1.45rem; }
  .first-letter { font-size: 2rem; }
  .nav-links { gap: .75rem 1rem; }
  .hero-content h1 { font-size: clamp(1.9rem, 9vw, 2.4rem); }
  .hero-stats { flex-wrap: wrap; gap: 1rem 1.5rem; }
  .carousel-slide { height: 230px; }
  .carousel-btn { width: 40px; height: 40px; }
  .feature-card, .course-card { padding: 1.5rem 1.1rem; }
  .cta-section { padding: 2.5rem 1rem; }
  .cta-section h2 { font-size: 1.7rem; }
  .cta-section p { font-size: 1rem; }
  .btn-white { padding-inline: 1rem; }
}