/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --red-primary: #E63946;
  --red-dark: #B71C1C;
  --red-light: #FF6B6B;
  --dark-bg: #0A0A0A;
  --dark-surface: #111111;
  --dark-card: #1A1A1A;
  --dark-border: #2A2A2A;
  --white: #FFFFFF;
  --gray-100: #F5F5F5;
  --gray-200: #E0E0E0;
  --gray-300: #B0B0B0;
  --gray-400: #888888;
  --gray-500: #666666;
  --font-heading: 'Oswald', sans-serif;
  --font-body: 'Inter', sans-serif;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--dark-bg);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

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

/* ===== HEADER / NAV ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  padding: 16px 0;
  transition: background var(--transition-normal), box-shadow var(--transition-normal);
}

.header.scrolled {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo img {
  max-height: 40px;
  width: auto;
}

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

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gray-300);
  transition: color var(--transition-fast);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--red-primary);
  transition: width var(--transition-normal);
}

.nav-links a:hover {
  color: var(--white);
}

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

.nav-cta {
  background: var(--red-primary) !important;
  color: var(--white) !important;
  padding: 10px 24px;
  border-radius: 6px;
  font-weight: 600 !important;
  letter-spacing: 1px !important;
  transition: background var(--transition-fast), transform var(--transition-fast) !important;
}

.nav-cta:hover {
  background: var(--red-dark) !important;
  transform: translateY(-2px);
}

.nav-cta::after {
  display: none !important;
}

/* ===== LANGUAGE SWITCHER ===== */
.lang-switcher {
  position: relative;
  z-index: 1002;
  margin-left: 8px;
}

.lang-current {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 8px;
  padding: 8px 12px;
  color: var(--white);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.lang-current:hover {
  border-color: var(--red-primary);
  background: rgba(230, 57, 70, 0.1);
}

.lang-flag {
  font-size: 1.1rem;
  line-height: 1;
}

.lang-code {
  letter-spacing: 1px;
}

.lang-current svg {
  transition: transform var(--transition-fast);
}

.lang-dropdown.open + .lang-current svg,
.lang-switcher:has(.lang-dropdown.open) .lang-current svg {
  transform: rotate(180deg);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 10px;
  padding: 6px;
  min-width: 160px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all var(--transition-normal);
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.lang-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 14px;
  background: transparent;
  border: none;
  border-radius: 6px;
  color: var(--gray-300);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.lang-option:hover {
  background: rgba(230, 57, 70, 0.15);
  color: var(--white);
}

.lang-option.active {
  background: rgba(230, 57, 70, 0.2);
  color: var(--red-primary);
  font-weight: 600;
}

.lang-option .lang-flag {
  font-size: 1.2rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  width: 28px;
  height: 2px;
  background: var(--white);
  transition: var(--transition-normal);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10,10,10,0.92) 0%,
    rgba(10,10,10,0.75) 50%,
    rgba(10,10,10,0.5) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding: 120px 0 80px;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  line-height: 1.1;
}

.hero-content h1 .highlight {
  color: var(--red-primary);
  position: relative;
}

.hero-content h1 .highlight::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--red-primary);
  border-radius: 2px;
}

.hero-content p {
  font-size: 1.1rem;
  color: var(--gray-300);
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red-primary);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.5s;
}

.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(230, 57, 70, 0.4);
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  padding: 14px 32px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 2px solid var(--gray-500);
  cursor: pointer;
  transition: all var(--transition-normal);
}

.btn-secondary:hover {
  border-color: var(--red-primary);
  color: var(--red-primary);
  transform: translateY(-3px);
}

/* ===== STATS BAR ===== */
.stats-bar {
  background: var(--dark-surface);
  border-top: 1px solid var(--dark-border);
  border-bottom: 1px solid var(--dark-border);
  padding: 40px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--red-primary);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===== SECTIONS COMMON ===== */
.section {
  padding: 100px 0;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--red-primary);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 10px;
}

.section-title {
  font-size: 2.8rem;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--gray-400);
  max-width: 600px;
  margin: 0 auto 50px;
}

.section-center {
  text-align: center;
}

/* ===== ANTI-BULLYING SECTION ===== */
.antibullying {
  background: var(--dark-surface);
}

.antibullying-header {
  text-align: center;
  margin-bottom: 50px;
}

.antibullying-badge {
  display: inline-block;
  font-size: 0.8rem;
  color: var(--gray-300);
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.antibullying-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

.antibullying-card {
  background: var(--dark-card);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--dark-border);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.antibullying-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.antibullying-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.antibullying-card-body {
  padding: 28px;
}

.antibullying-card-body h3 {
  font-size: 1.1rem;
  margin-bottom: 16px;
  color: var(--white);
  letter-spacing: 2px;
}

.antibullying-card-body ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.antibullying-card-body li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--gray-300);
  line-height: 1.5;
}

.antibullying-card-body li .check-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  background: var(--red-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.antibullying-card-body li .check-icon svg {
  width: 10px;
  height: 10px;
  fill: var(--white);
}

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

/* ===== MODALIDADES / PROGRAMS ===== */
.programs {
  background: var(--dark-bg);
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.program-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 340px;
  cursor: pointer;
  group: true;
}

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

.program-card:hover img {
  transform: scale(1.1);
}

.program-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  transition: background var(--transition-normal);
}

.program-card:hover .program-card-overlay {
  background: linear-gradient(to top, rgba(230,57,70,0.85) 0%, rgba(0,0,0,0.3) 60%, transparent 100%);
}

.program-card-overlay h3 {
  font-size: 1.3rem;
  margin-bottom: 4px;
  letter-spacing: 1px;
}

.program-card-overlay p {
  font-size: 0.85rem;
  color: var(--gray-200);
}

/* ===== WHY TAKEDOWN ===== */
.why-takedown {
  background: var(--dark-surface);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 30px;
}

.why-item {
  text-align: center;
  padding: 20px 10px;
}

.why-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  background: var(--dark-card);
  border: 2px solid var(--red-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
}

.why-item:hover .why-icon {
  background: var(--red-primary);
  transform: scale(1.1);
}

.why-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--red-primary);
  transition: fill var(--transition-normal);
}

.why-item:hover .why-icon svg {
  fill: var(--white);
}

.why-item h3 {
  font-size: 0.9rem;
  margin-bottom: 6px;
  letter-spacing: 1px;
}

.why-item p {
  font-size: 0.8rem;
  color: var(--gray-400);
  line-height: 1.5;
}

/* ===== INSTRUCTOR SECTION ===== */
.instructor {
  background: var(--dark-bg);
  position: relative;
  overflow: hidden;
}

.instructor-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.instructor-img-wrapper {
  position: relative;
}

.instructor-img-wrapper img {
  width: 100%;
  max-width: 480px;
  border-radius: 16px;
  position: relative;
  z-index: 1;
}

.instructor-img-wrapper::before {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  right: 10px;
  bottom: 10px;
  border: 3px solid var(--red-primary);
  border-radius: 16px;
  z-index: 0;
}

.instructor-info h2 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}

.instructor-credentials {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.credential {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
  color: var(--gray-200);
}

.credential-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: rgba(230, 57, 70, 0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.credential-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--red-primary);
}

/* ===== CTA / FORM SECTION ===== */
.cta-section {
  background: linear-gradient(135deg, var(--dark-surface) 0%, #1a0a0a 100%);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--red-primary), var(--red-dark), var(--red-primary));
}

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

.cta-content h2 {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.cta-content h2 .underline-red {
  text-decoration: underline;
  text-decoration-color: var(--red-primary);
  text-underline-offset: 6px;
}

.cta-content > p {
  font-size: 0.95rem;
  color: var(--gray-400);
  margin-bottom: 36px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-input {
  width: 100%;
  padding: 14px 18px;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 10px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--transition-fast);
  outline: none;
}

.form-input::placeholder {
  color: var(--gray-500);
}

.form-input:focus {
  border-color: var(--red-primary);
}

.form-submit {
  width: 100%;
  padding: 16px;
  background: var(--red-primary);
  border: none;
  border-radius: 10px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.form-submit:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(230, 57, 70, 0.4);
}

.form-notice {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-top: 12px;
}

.form-notice svg {
  display: inline;
  vertical-align: middle;
  margin-right: 4px;
}

/* ===== GALLERY ===== */
.gallery {
  padding: 0;
  overflow: hidden;
  background: var(--dark-bg);
}

.gallery-track-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  display: flex;
}

.gallery-track {
  display: flex;
  width: max-content;
  animation: scrollGallery 120s linear infinite;
}

.gallery-item {
  width: 300px;
  height: 250px;
  flex-shrink: 0;
  padding: 0;
  position: relative;
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-track:hover {
  animation-play-state: paused;
}

@keyframes scrollGallery {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (max-width: 768px) {
  .gallery-item {
    width: 200px;
    height: 180px;
  }
}
@media (max-width: 480px) {
  .gallery-item {
    width: 150px;
    height: 150px;
  }
}

/* ===== FOOTER ===== */
.footer {
  background: var(--dark-bg);
  border-top: 1px solid var(--dark-border);
  padding: 50px 0 30px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.footer-logo img {
  max-height: 50px;
  width: auto;
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--gray-400);
}

.footer-info {
  font-size: 0.95rem;
  color: var(--white);
  line-height: 1.5;
  margin-top: 10px;
  margin-bottom: 5px;
}

.footer-info p {
  margin: 4px 0;
}

.footer-links {
  display: flex;
  gap: 24px;
  margin-top: 10px;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--gray-400);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--red-primary);
}

.footer-social {
  display: flex;
  gap: 16px;
  margin-top: 10px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
}

.footer-social a:hover {
  background: var(--red-primary);
  border-color: var(--red-primary);
  transform: translateY(-3px);
}

.footer-social svg {
  width: 18px;
  height: 18px;
  fill: var(--gray-300);
}

.footer-social a:hover svg {
  fill: var(--white);
}

.footer-copyright {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--dark-border);
  font-size: 0.8rem;
  color: var(--gray-500);
  text-align: center;
}

/* ===== SCROLL ANIMATIONS (Handled by GSAP) ===== */
.fade-in,
.fade-in-left,
.fade-in-right {
  opacity: 1;
  transform: none;
}


/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-content h1 {
    font-size: 2.8rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .antibullying-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .antibullying-cards .antibullying-card:last-child {
    grid-column: span 2;
    max-width: 50%;
    margin: 0 auto;
  }

  .programs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .instructor-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .instructor-img-wrapper {
    display: flex;
    justify-content: center;
  }

  .instructor-img-wrapper img {
    max-width: 380px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--dark-surface);
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    transition: right var(--transition-normal);
    box-shadow: -5px 0 30px rgba(0,0,0,0.5);
  }

  .nav-links.open {
    right: 0;
  }

  .hamburger {
    display: flex;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .antibullying-cards {
    grid-template-columns: 1fr;
  }

  .antibullying-cards .antibullying-card:last-child {
    grid-column: auto;
    max-width: 100%;
  }

  .programs-grid {
    grid-template-columns: 1fr;
  }

  .program-card {
    height: 260px;
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .instructor-img-wrapper::before {
    display: none;
  }

  .hero-buttons {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.8rem;
  }

  .section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 1.7rem;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .why-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}

/* ===== MOBILE OVERLAY ===== */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.mobile-overlay.active {
  opacity: 1;
  pointer-events: all;
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: clamp(1.8rem, 7vw, 3rem);
    line-height: 1.15;
  }
  .hero-buttons {
    flex-direction: column;
    gap: 12px;
  }
  .hero-buttons a {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .antibullying-cards {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .programs-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .instructor-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .instructor-img-wrapper {
    max-width: 100%;
  }
  .cta-content h2 {
    font-size: clamp(1.5rem, 5vw, 2.2rem);
  }
  .section {
    padding: 60px 0;
  }
  .container {
    padding: 0 16px;
  }
  .section-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }
}

@media (max-width: 480px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .footer-links {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

.hero-brand {
  display: block;
  font-size: clamp(3rem, 10vw, 7rem);
  color: #E63946;
  letter-spacing: 6px;
  line-height: 1;
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  .hero-brand {
    font-size: clamp(2.2rem, 12vw, 4rem);
    letter-spacing: 3px;
  }
}

/* TESTIMONIALS SECTION */
.testimonials {
  background-color: var(--dark-bg);
  border-top: 1px solid var(--dark-border);
}

.testimonials-rating {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .testimonials-rating {
    flex-direction: row;
  }
}

.rating-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

@media (min-width: 768px) {
  .rating-left {
    align-items: flex-start;
  }
}

.rating-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rating-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.rating-stars {
  display: flex;
  color: var(--red-primary);
}

.rating-stars svg, .testimonial-stars svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.rating-text {
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
}

.btn-review {
  background-color: #fff;
  color: #000;
  padding: 8px 24px;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background-color 0.2s;
}

.btn-review:hover {
  background-color: rgba(255, 255, 255, 0.8);
}

.btn-review .google-icon {
  width: 16px;
  height: 16px;
}

.testimonials-track-container {
  margin-top: 20px;
}

.testimonials-track {
  gap: 24px;
  padding: 0 24px;
  animation-duration: 40s; /* Adjust speed for reviews */
}

.testimonial-card {
  width: 350px;
  background-color: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex-shrink: 0;
  box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}

@media (min-width: 768px) {
  .testimonial-card {
    width: 400px;
  }
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-name {
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
}

.author-date {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.75rem;
}

.testimonial-stars {
  display: flex;
  color: var(--red-primary);
}

.testimonial-stars svg {
  width: 18px;
  height: 18px;
}

.testimonial-text {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.875rem;
  line-height: 1.5;
}

.testimonials-footer {
  text-align: center;
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.testimonials-footer a {
  color: var(--red-primary);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
}

.testimonials-footer a:hover {
  text-decoration: underline;
}

.powered-by {
  display: flex;
  align-items: center;
  gap: 4px;
  opacity: 0.6;
}

.powered-by span {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: -0.05em;
  color: #fff;
}

/* TIMETABLE SECTION */
.timetable {
  background-color: var(--dark-surface);
  border-top: 1px solid var(--dark-border);
}

.timetable-table-container {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.timetable-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  min-width: 800px; /* Force scroll on small screens */
}

.timetable-table th,
.timetable-table td {
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px;
  text-align: center;
}

.timetable-table th {
  background-color: var(--red-primary);
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
}

.timetable-table th:first-child {
  background-color: #222;
  color: rgba(255, 255, 255, 0.6);
}

.time-col {
  background-color: #222;
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
}

.class-cell {
  background-color: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.75rem;
  text-transform: uppercase;
}

.class-name {
  font-weight: 700;
  color: var(--red-primary);
  font-size: 1rem;
  margin-bottom: 4px;
}
