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

html {
  font-size: 62.5%;
}

:root {
  /* Primary Colors Palette */
  --primary-blue: #1e40af;
  --primary-red: #ff0000;
  --primary-yellow: #facc15;
  --secondary-yellow: #f59e0b;
  --primary-green: #15803d;
  --primary-orange: #ea430c;
  --primary-purple: #7c3aed;
  --accent-footer: #60a5fa;

  /* Supporting Colors */
  --white: #fff;
  --light-gray: #f3f4f6;
  --medium-gray: #64748b;
  --dark-gray: #334155;
  --text-dark: #1e293b;

  /* Gradients */
  --primary-gradient: linear-gradient(
    120deg,
    var(--primary-orange),
    var(--primary-yellow)
  );
  --secondary-gradient: linear-gradient(
    135deg,
    var(--primary-purple),
    var(--primary-blue)
  );
  --warm-gradient: linear-gradient(
    135deg,
    var(--primary-orange),
    var(--primary-red)
  );
  --success-gradient: linear-gradient(
    135deg,
    var(--primary-green),
    var(--primary-blue)
  );

  /* Typography */
  --font-primary: "Inter", sans-serif;
  --font-display: "Fredoka", cursive;

  /* Spacing */
  --section-padding: 80px 0;
  --section-padding-y: 80px;
  --container-padding: 0 20px;
  --border-radius: 16px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.15);
  
    /* View Transitions Slide Animation */
    --view-transition-slide-out: slideOut 0.4s forwards;
    --view-transition-slide-in: slideIn 0.4s forwards;
}

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--text-dark);
  overflow-x: hidden;
}

.container {
  max-width: 1366px;
  margin: 0 auto;
  padding: var(--container-padding);
}


.highlight {
  color: var(--primary-blue);
  position: relative;
}

.highlight::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--primary-yellow),
    var(--primary-orange)
  );
  border-radius: 2px;
}

/* Hero Section with Infinite Carousel */
.hero {
  min-height: calc(100vh - 153px);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--primary-blue);
  /* padding-top: 12rem; */
}

/* Infinite Carousel Background */
.carousel-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.carousel-row {
  /* flex: 1; */
  position: relative;
  overflow: hidden;
  width: 100%;
  margin-bottom: 12px;
}

.carousel-track {
  display: flex;
  width: max-content;
  height: 100%;
  gap: 12px;
  align-items: center;
  padding: 0;
}

@media screen and (max-width: 768px) {
  .carousel-track {
    height: auto;
  }
}

/* Infinite scroll animations */
.row-rtl .carousel-track {
  animation: scrollRightToLeft 60s linear infinite;
}

.row-ltr .carousel-track {
  animation: scrollLeftToRight 60s linear infinite;
}

/* Carousel Images */
.carousel-image {
  height: 300px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  border: 3px solid rgba(255, 255, 255, 0.2);
  filter: sepia(0.1) brightness(0.9);
  transition: all 0.3s ease;
  flex-shrink: 0;
  overflow: hidden;
}

.carousel-image:hover {
  transform: scale(1.05);
  filter: sepia(0) brightness(1);
}

/* Different sizes for visual variety */
.carousel-image.size-wide {
  width: 300px;
}

.carousel-image.size-standard {
  width: 250px;
}

.carousel-image.size-compact {
  width: 200px;
}

.carousel-image.size-tall {
  width: 180px;
  /* height: 240px; */
}

/* Gradient Overlay */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: linear-gradient(
        135deg, 
        rgba(37, 99, 235, 0.85) 0%, 
        rgba(147, 51, 234, 0.75) 50%, 
        rgba(59, 130, 246, 0.85) 100%
    ); */
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0.95) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  backdrop-filter: blur(1px);
  z-index: 2;
}

@media screen and (max-width: 768px) {
  .hero-overlay {
    background: linear-gradient(
      to top,
      rgba(255, 255, 255, 0.95) 50%,
      rgba(255, 255, 255, 0) 100%
    );
  }
}

.hero-overlay::after {
  position: absolute;
  bottom: 0;
  left: 0;
  content: "";
  width: 100vw;
  height: 100vh;
  background: linear-gradient(
    180deg,
    rgba(243, 244, 246, 0) 80%,
    rgba(243, 244, 246, 1) 100%
  );
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 60px 0;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  min-height: 70vh;
}

/* Text Column */
.hero-text-column {
  color: black;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 7.2rem);
  font-weight: 800;
  color: var(--primary-blue);
  line-height: 1;
  letter-spacing: -0.01em;
}

/* ===== OPCIONES DE COLOR PARA HERO TITLE ===== */
/* Descomenta la opción que prefieras y comenta la anterior */

/* OPCIÓN 1: Azul Navy Profundo (Máximo contraste y profesional) */
/* 
.hero-title {
  color: #1e293b;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
} */

/* OPCIÓN 2: Gradiente Azul-Púrpura (Dinámico y moderno) */
/* 
.hero-title {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
} */

/* OPCIÓN 3: Blanco con Sombra Azul (Máximo impacto visual) */
/*
.hero-title {
  color: white;
  text-shadow: 
    0 2px 4px rgba(30, 64, 175, 0.8),
    0 4px 8px rgba(0, 0, 0, 0.3),
    0 8px 16px rgba(30, 64, 175, 0.4);
}
*/

/* OPCIÓN 4: Azul Marino con Highlight Dorado en "Bilingual" */
/*
.hero-title {
  color: #1e293b;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.hero-title .highlight {
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
  text-shadow: 0 2px 4px rgba(255, 215, 0, 0.3);
}
*/

/* OPCIÓN BONUS: Degradado Arcoíris Sutil */
/*
.hero-title {
  background: linear-gradient(135deg, 
    #1e40af 0%, 
    #7c3aed 25%, 
    #dc2626 50%, 
    #ea580c 75%, 
    #15803d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
}
*/

.hero-title .highlight {
  font-weight: 800;
  position: relative;
  color: #f59e0b;
  background-size: 100%;
  background-position: 0 90%;
  background-repeat: no-repeat;
  padding: 0 0.05em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.hero-title .highlight::after {
  display: none;
}

.hero-subtitle {
  font-size: 2.08rem;
  color: rgba(0, 0, 0, 0.95);
  line-height: 1.6;
  font-weight: 400;
}

/* Hero Stats */
.hero-stats {
  display: flex;
  justify-content: flex-start;
  gap: 20px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  background: rgba(37, 99, 235, 0.1);
  padding: 8px 20px 20px 20px;
  border-radius: 16px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(37, 99, 235, 0.2);
  min-width: 120px;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.1);
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 700;
  color: var(--primary-blue);
  text-shadow: none;
}

.stat-label {
  display: block;
  font-size: 1.44rem;
  color: var(--primary-blue);
  font-weight: 600;
}

/* Hero Actions */
.hero-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: clamp(1.6rem, 2vw, 1.8rem);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-yellow), #f59e0b);
  color: var(--text-dark);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
  background: linear-gradient(135deg, #f59e0b, var(--primary-yellow));
}

.btn-secondary {
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(37, 99, 235, 0.2);
  border-color: var(--primary-purple);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

/* Video CTA */
.hero-video-cta {
  margin-top: 20px;
}

.video-cta-btn {
  background: none;
  border: none;
  color: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.76rem;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 8px 0;
}

.video-cta-btn:hover {
  color: var(--primary-blue);
  transform: translateX(5px);
}

.video-cta-btn i {
  width: 40px;
  height: 40px;
  border: 2px solid currentColor;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

/* Image Column */
.hero-image-column {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.director-image-container {
  position: relative;
  max-width: 440px;
  width: 100%;
}

/* Decorative Background */
/* .image-decoration {
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    background: linear-gradient(45deg, 
        var(--primary-yellow),
        var(--primary-orange),
        var(--primary-red),
        var(--primary-purple)
    );
    border-radius: 50% 30% 50% 30%;
    opacity: 0.3;
    animation: decorationFloat 8s ease-in-out infinite;
    z-index: 1;
} */

.director-image {
  position: relative;
  z-index: 2;
  border-radius: 32px;
  overflow: visible;
  /* box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4); */
  /* background: linear-gradient(40deg, #1e40af, #7c3aed); */
  padding: 8px;
}

.director-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Director Info Card */
.director-info-card {
  width: 500px;
  position: absolute;
  bottom: -25px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  padding: 20px;
  border-radius: 18px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  z-index: 3;
  /* overflow: hidden; */
}

.director-info-card::before {
  content: '';
  position: absolute;
  top: -90px;
  left: -40px;
  width: 170px;
  height: 170px;
  background-image: url('/wp-content/themes/blc-theme/assets/images/decoration/decoration-16.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: bottom right;
  opacity: 1;
  pointer-events: none;
  z-index: 0;
}

.director-info-card h3 {
  font-family: var(--font-display);
  font-size: 2.24rem;
  color: var(--text-dark);
  margin-bottom: 4px;
  font-weight: 600;
  position: relative;
  z-index: 1;
}

.director-info-card > p {
  color: var(--primary-blue);
  font-weight: 600;
  margin-bottom: 16px;
  font-size: 1.6rem;
  position: relative;
  z-index: 1;
}

.credentials {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  gap: 8px;
  position: relative;
  z-index: 1;
}

.credential {
  flex: 1 1 100%;
  /* background: linear-gradient(
    135deg,
    var(--primary-blue),
    var(--primary-green)
  ); */
  background: var(--primary-blue);
  color: var(--white);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 1.6rem;
  font-weight: 500;
  text-align: center;
}

.credential:not(:last-child) {
  background: var(--warm-gradient);
}

/* ===== MINI GALLERY SECTION ===== */
.mini-gallery {
  padding: var(--section-padding);
  background: linear-gradient(135deg, var(--light-gray) 0%, #f1f5f9 100%);
  position: relative;
  overflow: hidden;
}

.mini-gallery::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%23f1f5f9' fill-opacity='0.3'%3E%3Cpath d='M30 30c0-11.046 8.954-20 20-20s20 8.954 20 20-8.954 20-20 20-20-8.954-20-20zm0-20c0-11.046-8.954-20-20-20S-10 8.954-10 20s8.954 20 20 20 20-8.954 20-20z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E")
    repeat;
  pointer-events: none;
  z-index: 0;
}

.mini-gallery .container {
  position: relative;
  z-index: 1;
}

.mini-gallery .container::before {
  content: '';
  position: absolute;
  left: -100px;
  bottom: 10px;
  width: 200px;
  height: 200px;
  background-image: url('/wp-content/themes/blc-theme/assets/images/decoration/decoration-6.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: bottom right;
  opacity: 0.8;
  pointer-events: none;
  z-index: -1;
}
.mini-gallery .container::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background-image: url('/wp-content/themes/blc-theme/assets/images/decoration/decoration-5.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: bottom right;
  opacity: 0.8;
  pointer-events: none;
  z-index: -1;
}

@media screen and (max-width: 768px) {
  .mini-gallery .container::before {
    left: -30px;
    opacity: 0.5;
  }
  .mini-gallery .container::after {
    top: 120px;
    right: -32px;
    width: 200px;
    height: 200px;
    opacity: 0.5;
  }
}

.mini-gallery-header {
  text-align: center;
  margin-bottom: 4rem;
}

.mini-gallery-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4.4rem);
  color: var(--text-dark);
  margin-bottom: 16px;
  line-height: 1.2;
}

.mini-gallery-header p {
  font-size: clamp(1.6rem, 3vw, 1.8rem);
  color: var(--medium-gray);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Polaroid Gallery Grid */
.polaroid-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 48px;
  margin-bottom: 64px;
  max-width: 1366px;
  margin-left: auto;
  margin-right: auto;
}

/* Individual Polaroid Cards */
.polaroid-card {
  background: var(--white);
  border-radius: 4px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1), 0 8px 16px rgba(0, 0, 0, 0.05);
  padding: 20px 20px 32px 20px;
  transform: rotate(-2deg);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  position: relative;
  /* overflow: hidden; */
}

.polaroid-card:nth-child(2) {
  transform: rotate(1deg);
  margin-top: 20px;
}

.polaroid-card:nth-child(3) {
  transform: rotate(-1.5deg);
  margin-top: -10px;
}

.polaroid-card:hover {
  transform: rotate(0deg) translateY(-8px) scale(1.02);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15), 0 24px 48px rgba(0, 0, 0, 0.1);
  z-index: 10;
}

/* Polaroid Photo Container */
.polaroid-photo {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 2px;
  background: #f5f5f5;
  margin-bottom: 16px;
}

.polaroid-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.polaroid-card:hover .polaroid-photo img {
  transform: scale(1.05);
}

/* Polaroid Overlay for Click Effect */
.polaroid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(37, 99, 235, 0.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  color: var(--white);
}

.polaroid-card:hover .polaroid-overlay {
  opacity: 1;
}

.polaroid-overlay i {
  font-size: 3.2rem;
  margin-bottom: 8px;
  animation: pulse 2s infinite;
}

.polaroid-overlay span {
  font-size: 1.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Polaroid Caption */
.polaroid-caption {
  /* position: relative; */
  text-align: center;
}

.polaroid-caption h4 {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--text-dark);
  margin-bottom: 8px;
  font-weight: 600;
}

.polaroid-caption p {
  font-size: 1.8rem;
  color: var(--medium-gray);
  line-height: 1.4;
  margin: 0;
}

/* Decorative Tape Effect */
.polaroid-tape {
  position: absolute;
  top: -8px;
  right: -20px;
  width: 60px;
  height: 24px;
  background: linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.8) 0%,
    rgba(240, 240, 240, 0.6) 50%,
    rgba(255, 255, 255, 0.8) 100%
  );
  border: 1px solid rgba(200, 200, 200, 0.3);
  border-radius: 2px;
  transform: rotate(20deg);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.polaroid-tape::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 1px;
  background: rgba(150, 150, 150, 0.3);
}

/* Gallery CTA */
.gallery-cta {
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
}

.gallery-cta .btn {
  font-size: clamp(1.6rem, 2vw, 1.8rem);
  padding: 16px 32px;
}

.gallery-cta .btn i {
  margin-right: 8px;
}

/* Pulse Animation for Overlay Icon */
@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .polaroid-gallery {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 0 20px;
  }

  .polaroid-card {
    max-width: 400px;
    margin: 0 auto;
  }

  .polaroid-card:nth-child(2),
  .polaroid-card:nth-child(3) {
    margin-top: 0;
  }

  .mini-gallery-header {
    margin-bottom: 2.8rem;
  }

  .gallery-cta {
    margin: 0 20px;
  }
}

@media (max-width: 480px) {
  .polaroid-card {
    padding: 16px 16px 24px 16px;
    max-width: 320px;
  }

  .polaroid-caption h4 {
    font-size: 2rem;
  }

  .polaroid-caption p {
    font-size: 1.6rem;
  }

  .gallery-subtitle {
    font-size: 2rem;
  }

  .gallery-cta .btn {
    padding: 12px 24px;
  }
}

/* ===== VIDEO TOUR SECTION ===== */
.video-tour {
  padding: var(--section-padding) 0;
  background: linear-gradient(135deg, var(--white) 0%, var(--light-gray) 100%);
  position: relative;
  overflow: hidden;
}

.video-tour-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

/* Video Tour Text */
.video-tour-text h2 {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 6vw, 4.4rem);
  color: var(--text-dark);
  margin-bottom: 24px;
  line-height: 1.1;
}

.video-tour-text p {
  font-size: clamp(1.6rem, 3vw, 2rem);
  color: var(--medium-gray);
  line-height: 1.6;
  margin-bottom: 40px;
}

/* Tour Highlights */
.tour-highlights {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 48px;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: rgba(37, 99, 235, 0.05);
  border-radius: 12px;
  border-left: 4px solid var(--primary-blue);
  transition: all 0.3s ease;
}

.highlight-item:hover {
  background: rgba(37, 99, 235, 0.1);
  transform: translateX(8px);
}

.highlight-item i {
  font-size: 2.4rem;
  color: var(--primary-blue);
  width: 32px;
  text-align: center;
}

.highlight-item span {
  font-size: 1.8rem;
  color: var(--text-dark);
  font-weight: 600;
}

/* Tour CTA */
.tour-cta {
  text-align: left;
}

.btn-large {
  font-size: 2rem;
  padding: 20px 40px;
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.btn-large i {
  font-size: 2rem;
}

.cta-subtitle {
  font-size: 1.2rem;
  color: var(--medium-gray);
  margin: 0;
  font-style: italic;
}

/* Video Player */
.video-tour-player {
  position: relative;
}

.video-container {
  position: relative;
  border-radius: 16px;
  /* overflow: hidden; */
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1), 0 40px 80px rgba(0, 0, 0, 0.05);
  background: var(--white);
  padding: 12px;
}

.video-container::before {
  content: '';
  position: absolute;
  top: 30px;
  left: -50px;
  width: 100px;
  height: 100px;
  background-image: url('/wp-content/themes/blc-theme/assets/images/decoration/decoration-1.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: top left;
  opacity: 1;
  pointer-events: none;
  z-index: 2;
  animation: rocketFly 6s ease-in-out infinite;
}

/* Lite YouTube Custom Styles */
.video-container lite-youtube {
  border-radius: 12px;
  overflow: hidden;
}

lite-youtube {
  background-color: #000;
  position: relative;
  display: block;
  contain: content;
  background-position: center center;
  background-size: cover;
  cursor: pointer;
  max-width: 720px;
}

lite-youtube::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAADGCAYAAAAT+OqFAAAAdklEQVQoz42QQQ7AIAgEF/T/D+kbq/RWAlnQyyazA4aoAB4FsBSA/bFjuF1EOL7VbrIrBuusmrt4ZZORfb6ehbWdnRHEIiITaEUKa5EJqUakRSaEYBJSCY2dEstQY7AuxahwXFrvZmWl2rh4JZ07z9dLtesfNj5q0FU3A5ObbwAAAABJRU5ErkJggg==);
  background-position: top;
  background-repeat: repeat-x;
  height: 60px;
  padding-bottom: 50px;
  width: 100%;
  transition: all 0.2s cubic-bezier(0, 0, 0.2, 1);
}

/* Video Caption */
.video-caption {
  text-align: center;
  margin-top: 24px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  border: 1px solid rgba(37, 99, 235, 0.1);
}

.video-caption::before {
  content: '';
  position: absolute;
  bottom: -50px;
  right: -70px;
  width: 120px;
  height: 120px;
  background-image: url('/wp-content/themes/blc-theme/assets/images/decoration/decoration-12.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: top left;
  opacity: 0.8;
  pointer-events: none;
  z-index: 0;
  /* animation: decorationFloat 10s ease-in-out infinite; */
}

@media screen and (max-width: 768px) {
  .video-caption::before {
    bottom: -20px;
    right: 0;
    width: 50px;
    height: 50px;
    opacity: 0.8;
  }
  
}

.video-caption h4 {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--text-dark);
  margin-bottom: 8px;
  font-weight: 600;
}

.video-caption p {
  font-size: 1.8rem;
  color: var(--medium-gray);
  margin: 0;
  line-height: 1.4;
}

/* Decorative Elements */
.video-decoration {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--primary-blue),
    var(--primary-purple)
  );
  opacity: 0.05;
  z-index: 0;
}

.video-decoration-1 {
  width: 300px;
  height: 300px;
  top: 10%;
  right: -100px;
  animation: float 8s ease-in-out infinite;
}

.video-decoration-2 {
  width: 200px;
  height: 200px;
  bottom: 15%;
  left: -50px;
  animation: float 8s ease-in-out infinite reverse;
}

/* Float Animation */
@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

/* Responsive Design */
@media (max-width: 968px) {
  .video-tour-content {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .video-tour-text {
    order: 2;
  }

  .video-tour-player {
    order: 1;
  }

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

  .highlight-item:hover {
    transform: none;
  }
}

@media (max-width: 768px) {
  .video-tour {
    padding: var(--section-padding) 0;
  }

  .video-tour-content {
    gap: 72px;
  }

  .tour-highlights {
    gap: 16px;
    margin-bottom: 32px;
  }

  .highlight-item {
    padding: 12px 16px;
  }

  .highlight-item i {
    font-size: 2rem;
  }

  .highlight-item span {
    font-size: 1.8rem;
  }

  .btn-large {
    font-size: 2rem;
    padding: 16px 32px;
  }

  .video-container {
    padding: 8px;
  }

  .video-caption {
    margin-top: 16px;
    padding: 16px;
  }

  .video-caption h4 {
    font-size: 2rem;
  }

  .video-caption p {
    font-size: 1.6rem;
  }
}

@media (max-width: 480px) {
  .video-tour-content {
    gap: 72px;
  }

  .tour-highlights {
    gap: 12px;
  }

  .highlight-item {
    flex-direction: column;
    text-align: center;
    gap: 8px;
    padding: 16px;
  }

  .btn-large {
    width: 100%;
    justify-content: center;
    font-size: 1.8rem;
    padding: 14px 24px;
  }

  .cta-subtitle {
    font-size: 1.6rem;
  }
}

/* Animations */
@keyframes scrollRightToLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - 10px));
  }
}

@keyframes scrollLeftToRight {
  0% {
    transform: translateX(calc(-50% - 10px));
  }
  100% {
    transform: translateX(0);
  }
}

@keyframes decorationFloat {
  0%,
  100% {
    transform: rotate(0deg) scale(1);
    border-radius: 50% 30% 50% 30%;
  }
  25% {
    transform: rotate(90deg) scale(1.05);
    border-radius: 30% 50% 30% 50%;
  }
  50% {
    transform: rotate(180deg) scale(0.95);
    border-radius: 50% 30% 50% 30%;
  }
  75% {
    transform: rotate(270deg) scale(1.05);
    border-radius: 30% 50% 30% 50%;
  }
}

@keyframes rocketFly {
  0% {
    transform: translateX(0) translateY(0) rotate(0deg);
  }
  25% {
    transform: translateX(40px) translateY(-60px) rotate(15deg);
  }
  50% {
    transform: translateX(80px) translateY(-100px) rotate(25deg);
  }
  75% {
    transform: translateX(40px) translateY(-60px) rotate(15deg);
  }
  100% {
    transform: translateX(0) translateY(0) rotate(0deg);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  /* Hero Responsive */
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
    padding: 20px 0;
  }

  .hero-text-column {
    order: 2;
  }

  .hero-image-column {
    order: 1;
  }

  .hero-title {
    font-size: 4rem;
  }

  .hero-title .highlight {
    display: inline;
    margin-top: 0;
  }

  .hero-stats {
    justify-content: center;
    gap: 20px;
  }

  .stat-item {
    min-width: 100px;
    padding: 16px;
  }

  .stat-number {
    font-size: 3.2rem;
  }

  .director-image-container {
    max-width: 300px;
  }

  /* Carousel responsive */
  .carousel-image {
    height: 150px;
  }

  .carousel-image.size-wide {
    width: 225px;
  }

  .carousel-image.size-standard {
    width: 190px;
  }

  .carousel-image.size-compact {
    width: 150px;
  }

  .carousel-image.size-tall {
    width: 135px;
    height: 180px;
  }

  .carousel-track {
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 3.2rem;
  }

  .hero-subtitle {
    font-size: 1.76rem;
  }

  .btn {
    padding: 12px 24px;
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    flex-direction: column;
    gap: 15px;
  }

  .stat-item {
    padding: 12px;
  }

  .director-image-container {
    max-width: 250px;
  }

  .director-info-card {
    width: 380px;
    padding: 16px;
  }

  .director-info-card h3 {
    font-size: 1.92rem;
  }

  .credentials {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .credential {
    font-size: 1.12rem;
    padding: 4px 8px;
  }

  /* Carousel smaller on mobile */
  .carousel-image {
    height: 120px;
  }

  .carousel-image.size-wide {
    width: 180px;
  }

  .carousel-image.size-standard {
    width: 150px;
  }

  .carousel-image.size-compact {
    width: 120px;
  }

  .carousel-image.size-tall {
    width: 108px;
    height: 144px;
  }

  .carousel-track {
    gap: 10px;
  }
}

/* Focus States for Accessibility */
.btn:focus,
.nav-menu a:focus {
  outline: 2px solid var(--primary-yellow);
  outline-offset: 2px;
}


.director-section {
  margin-bottom: 80px;
}

.director-card {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  align-items: center;
  background: white;
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.director-info h4 {
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.director-title {
  color: var(--primary-blue);
  font-size: clamp(1.6rem, 4vw, 2rem);
  font-weight: 600;
  margin-bottom: 20px !important;
}

.director-info p {
  font-size: 1.8rem;
  color: var(--medium-gray);
  line-height: 1.7;
  margin-bottom: 16px;
}

.teachers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.teacher-card {
  background: white;
  padding: 30px;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.teacher-card:hover {
  transform: translateY(-5px);
}

.teacher-card img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 20px;
  border: 4px solid var(--primary-blue);
}

.teacher-card h4 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  color: var(--text-dark);
  margin-bottom: 8px;
}

.teacher-card p {
  color: var(--primary-blue);
  font-size: 1.6rem;
  font-weight: 500;
}

/* Programs Section */
.programs {
  padding: var(--section-padding);
  background: white;
}

.programs h2 {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 5vw, 4.4rem);
  text-align: center;
  margin-bottom: 60px;
  color: var(--text-dark);
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.program-card {
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
  position: relative;
}

.program-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.program-card:nth-child(1) {
  border-top: 4px solid var(--primary-blue);
}

.program-card:nth-child(2) {
  border-top: 4px solid var(--primary-green);
}

.program-card:nth-child(3) {
  border-top: 4px solid var(--primary-red);
}

.program-card:nth-child(4) {
  border-top: 4px solid var(--primary-orange);
}

.program-icon {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 2rem;
  z-index: 2;
  background: rgba(255, 255, 255, 0.9);
  padding: 8px;
  border-radius: 50%;
}

.program-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.program-card h3 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2rem);
  line-height: 1.2;
  color: var(--text-dark);
  margin: 20px 20px 16px;
}

.program-card p {
  color: var(--medium-gray);
  font-size: clamp(1.4rem, 4vw, 1.6rem);
  line-height: 1.6;
  margin: 0 20px 20px;
}

/* Gallery Section */
.gallery {
  padding: var(--section-padding);
  background: var(--light-gray);
}

.gallery h2 {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 5vw, 4.4rem);
  text-align: center;
  margin-bottom: 60px;
  color: var(--text-dark);
}

.gallery-carousel {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.carousel-container {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.carousel-slide {
  display: none;
  width: 100%;
}

.carousel-slide.active {
  display: block;
}

.carousel-slide img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 3;
}

.carousel-btn:hover {
  background: white;
  box-shadow: var(--shadow);
}

.prev-btn {
  left: 20px;
}

.next-btn {
  right: 20px;
}

.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--medium-gray);
  cursor: pointer;
  transition: background 0.3s ease;
}

.indicator.active {
  background: var(--primary-blue);
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
  padding: var(--section-padding);
  background: linear-gradient(135deg, var(--light-gray) 0%, #f8fafc 100%);
  /* background: url(../images/testimonials-bg.jpg) center/cover no-repeat fixed; */
  position: relative;
  overflow: hidden;
}

/* .testimonials::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.90);
  pointer-events: none;
  z-index: 0;
} */

.testimonials::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cg fill='%23f1f5f9' fill-opacity='0.1'%3E%3Ccircle cx='30' cy='30' r='8'/%3E%3C/g%3E%3C/svg%3E")
    repeat;
  pointer-events: none;
  z-index: 0;
}

.testimonials .container {
  position: relative;
  z-index: 1;
}

/* Testimonials Header */
.testimonials-header {
  text-align: center;
  margin-bottom: 80px;
}

.testimonials-header h2 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  color: var(--text-dark);
  margin-bottom: 20px;
  line-height: 1.1;
}

.testimonials-header p {
  font-size: clamp(1.5rem, 3vw, 1.75rem);
  color: var(--medium-gray);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Testimonials Grid */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(var(--grid-columns, auto-fit), minmax(350px, 1fr));
  gap: 40px;
  margin-bottom: 120px;
}

.testimonials-grid::after {
  content: '';
  position: absolute;
  top: 100px;
  right: -72px;
  width: 220px;
  height: 220px;
  background-image: url('/wp-content/themes/blc-theme/assets/images/decoration/decoration-5.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: top left;
  opacity: 0.7;
  pointer-events: none;
  z-index: -1;
}

/* Testimonial Cards */
.testimonial-card {
  background: var(--white);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06), 0 16px 32px rgba(0, 0, 0, 0.03);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.testimonial-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.1), 0 32px 64px rgba(0, 0, 0, 0.06);
}

/* Featured Card (con video) */
.testimonial-featured {
  border: 2px solid transparent;
  background: linear-gradient(white, white) padding-box,
    var(--primary-gradient)
      border-box;
  position: relative;
}

.testimonial-featured::before {
  content: "✨ Video Story";
  position: absolute;
  top: -12px;
  right: 24px;
  background: linear-gradient(
    135deg,
    var(--primary-orange),
    var(--primary-yellow)
  );
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 1.2rem;
  font-weight: 600;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.3);
}

/* Testimonial Stars */
.testimonial-stars {
  display: flex;
  gap: 6px;
  margin-bottom: 24px;
  justify-content: center;
}

.testimonial-stars i {
  color: var(--primary-yellow);
  font-size: 2rem;
  text-shadow: 0 2px 4px rgba(245, 166, 35, 0.2);
  animation: starGlow 3s ease-in-out infinite alternate;
}

.testimonial-stars i:nth-child(1) {
  animation-delay: 0s;
}
.testimonial-stars i:nth-child(2) {
  animation-delay: 0.2s;
}
.testimonial-stars i:nth-child(3) {
  animation-delay: 0.4s;
}
.testimonial-stars i:nth-child(4) {
  animation-delay: 0.6s;
}
.testimonial-stars i:nth-child(5) {
  animation-delay: 0.8s;
}

/* Content Section */
.testimonial-content {
  text-align: center;
}

.testimonial-content blockquote {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-style: italic;
  line-height: 1.7;
  color: var(--text-dark);
  margin-bottom: 32px;
  position: relative;
  padding: 0 16px;
}

.testimonial-content blockquote::before {
  content: '"';
  position: absolute;
  left: -8px;
  top: -12px;
  font-size: 4rem;
  color: var(--primary-blue);
  font-family: var(--font-display);
  line-height: 1;
  opacity: 0.7;
}

.testimonial-content blockquote::after {
  content: '"';
  position: absolute;
  right: -8px;
  bottom: -20px;
  font-size: 4rem;
  color: var(--primary-blue);
  font-family: var(--font-display);
  line-height: 1;
  opacity: 0.7;
}

/* Author Section */
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 24px;
  border-top: 2px solid var(--light-gray);
}

/* Regular Avatar */
.author-avatar {
  position: relative;
  flex-shrink: 0;
}

.author-avatar img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary-blue);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

/* Story Avatar (with video) */
.story-avatar {
  cursor: pointer;
  transition: transform 0.3s ease;
  animation: storyPulse 3s ease-in-out infinite;
}

.story-avatar:hover {
  transform: scale(1.08);
  animation-play-state: paused;
}

.story-ring {
  position: relative;
  padding: 4px;
  border-radius: 50%;
}

.story-ring::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    var(--primary-orange) 0%,
    var(--primary-red) 25%,
    var(--primary-yellow) 50%,
    var(--primary-green) 75%,
    var(--primary-blue) 100%
  );
  border-radius: 50%;
  animation: storyRingRotate 4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  z-index: 1;
}

.story-ring img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid white;
  display: block;
  position: relative;
  z-index: 2;
}

.video-indicator {
  position: absolute;
  bottom: 2px;
  right: 2px;
  background: var(--primary-blue);
  color: white;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  border: 3px solid white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  animation: videoPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  z-index: 3;
}

/* Author Info */
.author-info {
  flex: 1;
  text-align: left;
}

.author-info h4 {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
  font-family: var(--font-display);
}

.author-info > span {
  color: var(--medium-gray);
  font-size: clamp(1rem, 2vw, 1.125rem);
  display: block;
  margin-bottom: 10px;
}

/* Author Badge */
.author-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--warm-gradient);
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 1.2rem;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(21, 128, 61, 0.3);
}

.author-badge i {
  font-size: 1rem;
}

/* Testimonials CTA */
.testimonials-cta {
  position: relative;
  text-align: center;
  padding: 48px 32px;
  /* background: var(--primary-red); */
  background: var(--primary-gradient);
  border-radius: 24px;
  box-shadow: var(--shadow);
  max-width: 900px;
  margin: 0 auto;
}

.testimonials-cta::before {
  content: '';
  position: absolute;
  left: -90px;
  bottom: -10px;
  width: 230px;
  height: 230px;
  background-image: url('/wp-content/themes/blc-theme/assets/images/decoration/decoration-8.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: top left;
  opacity: 1;
  pointer-events: none;
  z-index: 1;
}

.testimonials-cta::after {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 160px;
  height: 160px;
  background-image: url('/wp-content/themes/blc-theme/assets/images/decoration/decoration-3.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: top left;
  opacity: 1;
  pointer-events: none;
  z-index: 1;
}

@media screen and (max-width: 768px) {
  .testimonials {
    padding-bottom: 120px !important;
  }
  .testimonials-cta::before {
    left: -20px;
    bottom: -50px;
    width: 80px;
    height: 80px;
  }

  .testimonials-cta::after {
    top: -50px;
    right: -30px;
    width: 80px;
    height: 80px;
  }
  
}

.cta-text {
  font-size: clamp(2rem, 3vw, 3.2rem);
  color: var(--white);
  margin-bottom: 24px;
  font-weight: 800;
  font-family: var(--font-display);
}

.testimonials-cta .btn {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  padding: 18px 36px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.testimonials-cta .btn i {
  font-size: 1.25rem;
}

/* Animations */
@keyframes starGlow {
  0% {
    transform: scale(1);
    filter: brightness(1);
  }
  100% {
    transform: scale(1.1);
    filter: brightness(1.2);
  }
}

@keyframes storyPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
}

@keyframes storyRingRotate {
  0% {
    background: linear-gradient(
      45deg,
      var(--primary-blue) 0%,
      var(--primary-purple) 25%,
      var(--primary-yellow) 50%,
      var(--primary-purple) 75%,
      var(--primary-blue) 100%
    );
    transform: rotate(0deg);
  }
  25% {
    background: linear-gradient(
      45deg,
      var(--primary-purple) 0%,
      var(--primary-yellow) 25%,
      var(--primary-blue) 50%,
      var(--primary-purple) 75%,
      var(--primary-yellow) 100%
    );
    transform: rotate(90deg);
  }
  50% {
    background: linear-gradient(
      45deg,
      var(--primary-yellow) 0%,
      var(--primary-blue) 25%,
      var(--primary-purple) 50%,
      var(--primary-yellow) 75%,
      var(--primary-blue) 100%
    );
    transform: rotate(180deg);
  }
  75% {
    background: linear-gradient(
      45deg,
      var(--primary-blue) 0%,
      var(--primary-yellow) 25%,
      var(--primary-purple) 50%,
      var(--primary-blue) 75%,
      var(--primary-yellow) 100%
    );
    transform: rotate(270deg);
  }
  100% {
    background: linear-gradient(
      45deg,
      var(--primary-blue) 0%,
      var(--primary-purple) 25%,
      var(--primary-yellow) 50%,
      var(--primary-purple) 75%,
      var(--primary-blue) 100%
    );
    transform: rotate(360deg);
  }
}

@keyframes storyRingPulse {
  0% {
    background: linear-gradient(
      45deg,
      var(--primary-blue) 0%,
      var(--primary-purple) 25%,
      var(--primary-yellow) 50%,
      var(--primary-purple) 75%,
      var(--primary-blue) 100%
    );
    transform: rotate(0deg) scale(1);
    filter: brightness(1) saturate(1);
  }
  25% {
    background: linear-gradient(
      45deg,
      var(--primary-purple) 0%,
      var(--primary-yellow) 25%,
      var(--primary-blue) 50%,
      var(--primary-purple) 75%,
      var(--primary-yellow) 100%
    );
    transform: rotate(90deg) scale(1.02);
    filter: brightness(1.1) saturate(1.1);
  }
  50% {
    background: linear-gradient(
      45deg,
      var(--primary-yellow) 0%,
      var(--primary-blue) 25%,
      var(--primary-purple) 50%,
      var(--primary-yellow) 75%,
      var(--primary-blue) 100%
    );
    transform: rotate(180deg) scale(1.05);
    filter: brightness(1.2) saturate(1.2);
  }
  75% {
    background: linear-gradient(
      45deg,
      var(--primary-blue) 0%,
      var(--primary-yellow) 25%,
      var(--primary-purple) 50%,
      var(--primary-blue) 75%,
      var(--primary-yellow) 100%
    );
    transform: rotate(270deg) scale(1.02);
    filter: brightness(1.1) saturate(1.1);
  }
  100% {
    background: linear-gradient(
      45deg,
      var(--primary-blue) 0%,
      var(--primary-purple) 25%,
      var(--primary-yellow) 50%,
      var(--primary-purple) 75%,
      var(--primary-blue) 100%
    );
    transform: rotate(360deg) scale(1);
    filter: brightness(1) saturate(1);
  }
}

@keyframes videoPulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  }
  50% {
    transform: scale(1.1);
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.4);
  }
}

/* Responsive Design */
@media (max-width: 968px) {
  .testimonials-grid {
    grid-template-columns: 1fr !important;
    gap: 32px;
    max-width: 500px;
    margin: 0 auto 60px auto;
  }

  .testimonials-header {
    margin-bottom: 60px;
  }
}

@media (max-width: 768px) {
  .testimonials {
    padding: var(--section-padding) 0;
  }

  .testimonial-card {
    padding: 24px;
  }

  .testimonials-grid {
    gap: 24px;
    margin-bottom: 72px;
  }

  .testimonial-content blockquote {
    padding: 0 12px;
    margin-bottom: 24px;
  }

  .testimonial-content blockquote::before,
  .testimonial-content blockquote::after {
    font-size: 3rem;
  }

  .author-avatar img {
    width: 60px;
    height: 60px;
  }

  .story-ring img {
    width: 70px;
    height: 70px;
  }

  .video-indicator {
    width: 24px;
    height: 24px;
    font-size: 1rem;
  }

  .testimonials-cta {
    padding: 32px 24px;
    margin: 0 20px;
  }

  .testimonials-cta .btn {
    width: 100%;
    justify-content: center;
    padding: 16px 28px;
  }
}

@media (max-width: 480px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
    padding: 0 20px;
  }

  .testimonial-card {
    padding: 20px;
  }

  .testimonial-author {
    gap: 16px;
  }

  .author-badge {
    font-size: 1rem;
    padding: 4px 8px;
  }

  .author-badge i {
    font-size: 0.9rem;
  }

  .testimonial-stars {
    gap: 4px;
    margin-bottom: 20px;
  }

  .testimonial-stars i {
    font-size: 1.6rem;
  }
}

/* About Section */
.about {
  padding: var(--section-padding);
  background: white;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 60px;
}

.about-text {
  flex: 1;
}

.about-text h2 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 24px;
  color: var(--text-dark);
}

.about-text h2 .highlight {
  color: var(--primary-blue);
}

.about-text p {
  font-size: clamp(1.4rem, 4vw, 1.8rem);
  line-height: 1.7;
  margin-bottom: 32px;
  color: var(--medium-gray);
}

.about-image {
  flex: 1;
}

.about-image img {
  width: 100%;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

/* Team Section */
.team {
  padding: var(--section-padding);
  background: var(--light-gray);
}

.team h2 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  text-align: center;
  margin-bottom: 60px;
  color: var(--text-dark);
}

.testimonials-cta .btn i {
  font-size: 1.25rem;
}

/* Animations */
@keyframes starGlow {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.1);
  }
}

/* Responsive Design */
@media (max-width: 968px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 500px;
    margin: 0 auto 60px auto;
  }

  .testimonials-header {
    margin-bottom: 60px;
  }
}

@media (max-width: 768px) {
  .testimonials {
    padding: var(--section-padding) 0;
  }

  .testimonials-grid {
    gap: 24px;
  }

  .testimonial-content {
    padding: 24px;
  }

  .testimonial-content blockquote {
    padding-left: 20px;
    margin-bottom: 20px;
  }

  .testimonial-content blockquote::before {
    font-size: 1.875rem;
    top: -6px;
  }

  .author-avatar img {
    width: 50px;
    height: 50px;
  }

  .testimonials-cta {
    padding: 32px 24px;
    margin: 0 20px;
  }

  .testimonials-cta .btn {
    width: 100%;
    justify-content: center;
    padding: 16px 28px;
  }
}

@media (max-width: 480px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
    padding: 0 20px;
  }

  .testimonial-content {
    padding: 20px;
  }

  .author-badge {
    font-size: 1.2rem;
    padding: 3px 8px;
  }

  .author-badge i {
    font-size: 1rem;
  }

  .media-overlay {
    padding: 16px;
  }

  .video-badge {
    padding: 6px 12px;
    font-size: 1.2rem;
  }

  .video-badge i {
    font-size: 1.4rem;
  }
}

/* Parents Portal Section */
.parents-portal {
  padding: var(--section-padding);
  background: var(--primary-gradient);
  color: white;
}

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

.portal-text h2 {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 5vw, 4.4rem);
  margin-bottom: 24px;
}

.portal-text p {
  font-size: 1.8rem;
  margin-bottom: 32px;
  opacity: 0.9;
  line-height: 1.7;
}

.portal-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

/* Contact Section */
.contact {
  padding: var(--section-padding);
  background: var(--light-gray);
}

.contact h2 {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 5vw, 4.4rem);
  text-align: center;
  margin-bottom: 60px;
  color: var(--text-dark);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info {
  color: var(--dark-gray);
  display: flex;
  flex-direction: column;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: clamp(1.2rem, 4vw, 1.6rem);
  background: white;
  padding: 12px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.contact-details .contact-item span {
  font-size: 1.2rem;
}

@media screen and (max-width: 768px) {
  .contact-details .contact-item span {
    font-size: 2rem;
  }
}

.contact-item i {
  font-size: clamp(2.4rem, 4vw, 2.8rem);
  color: var(--primary-blue);
  width: 40px;
  text-align: center;
  align-self: center;
}

@media screen and (max-width: 768px) {
  .contact-item i {
    align-self: flex-start;
  }
}

.contact-item h3 {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 4vw, 1.8rem);
  color: var(--text-dark);
  margin-bottom: 4px;
}

.contact-item p {
  font-size: clamp(1.4rem, 4vw, 1.6rem);
  color: var(--medium-gray);
  font-weight: 500;
}

.contact-map {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.contact-map iframe {
  width: 100%;
  height: 300px;
  border: none;
}

/* ===== SOCIAL MEDIA SECTION ===== */
.social-media {
  padding: calc(var(--section-padding-y) * 1.2) 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  position: relative;
  overflow: hidden;
}

.social-media::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpolygon points='50 0 60 40 100 50 60 60 50 100 40 60 0 50 40 40'/%3E%3C/g%3E%3C/svg%3E")
    repeat;
  pointer-events: none;
  animation: socialPattern 20s linear infinite;
}

.social-media .container {
  position: relative;
  z-index: 1;
}

/* Social Header */
.social-header {
  text-align: center;
  margin-bottom: 60px;
  color: white;
}

.social-header h2 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  margin-bottom: 16px;
  line-height: 1.1;
}

.social-header .highlight {
  background: linear-gradient(45deg, #ffd700, #ffa500);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.social-header p {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  line-height: 1.6;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

/* Social Grid */
.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-bottom: 60px;
}

/* Social Cards */
.social-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 24px;
  padding: 32px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.social-card:hover .social-glow {
  opacity: 1;
  transform: scale(1.2);
}

/* Social Glow Effect */
.social-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  opacity: 0;
  border-radius: 50%;
  transition: all 0.6s ease;
  pointer-events: none;
  z-index: 0;
}

/* Platform Specific Colors */
.facebook-card .social-glow {
  background: radial-gradient(
    circle,
    rgba(24, 119, 242, 0.1) 0%,
    transparent 70%
  );
}

.instagram-card .social-glow {
  background: radial-gradient(
    circle,
    rgba(225, 48, 108, 0.1) 0%,
    transparent 70%
  );
}

.yelp-card .social-glow {
  background: radial-gradient(
    circle,
    rgba(255, 0, 80, 0.1) 0%,
    transparent 70%
  );
}

.whatsapp-card .social-glow {
  background: radial-gradient(
    circle,
    rgba(37, 211, 102, 0.1) 0%,
    transparent 70%
  );
}

/* Social Icon */
.social-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px auto;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.social-icon i {
  font-size: 3.2rem;
  color: white;
  transition: all 0.3s ease;
}

.social-card:hover .social-icon {
  transform: scale(1.1) rotate(5deg);
}

.social-card:hover .social-icon i {
  animation: socialIconPulse 1s ease-in-out;
}

/* Platform Colors */
.facebook-card .social-icon {
  background: linear-gradient(135deg, #1877f2, #0f5db3);
  box-shadow: 0 8px 24px rgba(24, 119, 242, 0.3);
}

.instagram-card .social-icon {
  background: linear-gradient(135deg, #e1306c, #fd1d1d, #f77737, #fcaf45);
  box-shadow: 0 8px 24px rgba(225, 48, 108, 0.3);
}

.yelp-card .social-icon {
  background: linear-gradient(135deg, #ff0050, #000000);
  box-shadow: 0 8px 24px rgba(255, 0, 80, 0.3);
}

.whatsapp-card .social-icon {
  background: linear-gradient(135deg, #25d366, #128c7e);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
}

/* Social Content */
.social-content {
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
}

.social-content h3 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  color: var(--text-dark);
  margin-bottom: 8px;
  font-weight: 600;
}

.social-content p {
  color: var(--medium-gray);
  font-size: clamp(1.2rem, 3vw, 1.4rem);
  margin-bottom: 8px;
}

.follower-count {
  display: inline-block;
  background: var(--light-gray);
  color: var(--text-dark);
  padding: 4px 12px;
  border-radius: 16px;
  font-size: 1.2rem;
  font-weight: 600;
}

/* Social Button */
.social-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--text-dark);
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 600;
  font-size: 1.4rem;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.social-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.6s ease;
}

.social-button:hover::before {
  left: 100%;
}

.social-button:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.social-button i {
  transition: transform 0.3s ease;
}

.social-button:hover i {
  transform: translateX(4px);
}

/* Platform Button Colors */
.facebook-card .social-button {
  background: linear-gradient(135deg, #1877f2, #0f5db3);
}

.instagram-card .social-button {
  background: linear-gradient(135deg, #e1306c, #fd1d1d);
}

.yelp-card .social-button {
  background: linear-gradient(135deg, #ff0050, #000000);
}

.whatsapp-card .social-button {
  background: linear-gradient(135deg, #25d366, #128c7e);
}

/* Social CTA */
.social-cta {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 32px;
  text-align: center;
  color: white;
}

.cta-content h3 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 12px;
}

.cta-content p {
  font-size: clamp(1.4rem, 3vw, 1.6rem);
  opacity: 0.9;
  line-height: 1.5;
}

.cta-content strong {
  color: #ffd700;
  font-weight: 700;
}

/* Animations */
@keyframes socialPattern {
  0% {
    transform: translateX(0) translateY(0);
  }
  100% {
    transform: translateX(-100px) translateY(-100px);
  }
}

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

/* Responsive Design */
@media (max-width: 968px) {
  .social-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
  }

  .social-header {
    margin-bottom: 48px;
  }
}

@media (max-width: 768px) {
  .social-media {
    padding: var(--section-padding-y) 0;
  }

  .social-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 40px;
  }

  .social-card {
    padding: 24px 20px;
  }

  .social-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
  }

  .social-icon i {
    font-size: 2.4rem;
  }

  .social-cta {
    padding: 24px 20px;
  }
}

/* ===== FOOTER SECTION ===== */
.footer {
  background: linear-gradient(135deg, var(--text-dark) 0%, #0f172a 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/svg%3E")
    repeat;
  pointer-events: none;
}

.footer .container {
  position: relative;
  z-index: 1;
}

/* Footer Content Grid */
.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr 1.5fr;
  gap: 48px;
  padding: 60px 0 40px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Company Info Section */
.footer-section h4,
.footer-section h5 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.2rem);
  margin-bottom: 20px;
  color: var(--accent-footer);
  font-weight: 600;
}

.footer-section h5 {
  font-size: clamp(1.4rem, 3vw, 1.6rem);
  margin-bottom: 12px;
  margin-top: 24px;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 12px;
  margin-bottom: 20px;
}

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

.footer-logo h3 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.4rem);
  color: var(--accent-footer);
  margin: 0;
  font-weight: 600;
}

.company-description {
  font-size: clamp(1.4rem, 3vw, 1.6rem);
  line-height: 1.6;
  margin-bottom: 24px;
  opacity: 0.9;
}

.credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.credential-badge {
  /* background: linear-gradient(
    135deg,
    var(--primary-blue),
    var(--primary-purple)
  ); */
  background: var(--accent-footer);
  color: #0f172a;
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 1.6rem;
  letter-spacing: 1px;
  font-weight: 600;
  white-space: nowrap;
}

/* Footer Links */
.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-section ul li a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 1.4rem;
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
}

@media screen and (max-width: 768px) {
  .footer-section ul li a {
    font-size: 2rem;
  }
  
}

.footer-section ul li a:hover {
  color: var(--accent-footer);
  transform: translateX(4px);
}

.footer-section ul li a::before {
  content: "";
  position: absolute;
  left: -16px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: var(--accent-footer);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.footer-section ul li a:hover::before {
  opacity: 1;
}

/* Contact Info */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.contact-item i {
  color: var(--accent-footer);
  font-size: 1.6rem;
  margin-top: 2px;
  min-width: 20px;
}

.contact-item div {
  flex: 1;
}

.contact-item strong {
  display: block;
  margin-bottom: 4px;
  font-weight: 600;
}

@media screen and (max-width: 768px) {
  .contact-item strong {
    font-size: 2rem;
  }
}

.contact-item a {
  color: var(--accent-footer);
  text-decoration: none;
  font-weight: 600;
}

@media screen and (max-width: 768px) {
  .contact-item a {
    font-size: 2rem;
  }
}

.contact-item a:hover {
  text-decoration: underline;
}

/* Footer Social */
.footer-social {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.footer-social a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 1.6rem;
  transition: all 0.3s ease;
  padding: 8px 0;
}

.footer-social a:hover {
  color: var(--accent-footer);
  transform: translateX(4px);
}

.footer-social a i {
  font-size: 1.6rem;
  min-width: 20px;
}

/* Service Area */
.service-area {
  padding: 32px 0;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.service-area h4 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.2rem);
  margin-bottom: 16px;
  color: var(--accent-footer);
}

.service-locations {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.location {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: clamp(1.2rem, 3vw, 1.4rem);
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.location:hover {
  background: var(--primary-blue);
  transform: translateY(-2px);
}

/* Keywords Section */
.footer-keywords {
  padding: 24px 0;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.keywords-text {
  font-size: clamp(1.2rem, 3vw, 1.4rem);
  line-height: 1.6;
  opacity: 0.7;
  max-width: 800px;
  margin: 0 auto;
}

.keywords-text strong {
  color: var(--accent-footer);
  font-weight: 600;
}

/* Footer Bottom */
.footer-bottom {
  padding: 32px 0;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.copyright {
  flex: 1;
}

.copyright p {
  font-size: clamp(1.2rem, 3vw, 1.4rem);
  margin: 0;
  opacity: 0.8;
  line-height: 1.4;
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: clamp(1.2rem, 3vw, 1.4rem);
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: var(--accent-footer);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .footer-content {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 32px;
  }

  .social-resources {
    grid-column: span 2;
  }
}

@media (max-width: 968px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding: 48px 0 32px 0;
  }

  .company-info {
    grid-column: span 2;
  }

  .social-resources {
    grid-column: span 1;
  }
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 0 24px 0;
  }

  .company-info,
  .social-resources {
    grid-column: span 1;
  }

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

  .footer-legal {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }

  .service-locations {
    gap: 8px;
  }

  .location {
    padding: 6px 12px;
  }
}

@media (max-width: 480px) {
  .footer-content {
    gap: 24px;
    padding: 32px 0 20px 0;
  }

  .contact-item {
    flex-direction: column;
    gap: 8px;
  }

  .contact-item i {
    font-size: 2rem;
    margin-top: 0;
  }

  .service-area,
  .footer-keywords,
  .footer-bottom {
    padding: 20px 0;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: white;
    flex-direction: column;
    justify-content: start;
    padding-top: 50px;
    transition: left 0.3s ease;
    box-shadow: var(--shadow);
  }

  .nav-menu.active {
    left: 0;
  }

  /* Hero Responsive */
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
    padding: 20px 0;
  }

  .hero-text-column {
    order: 2;
  }

  .hero-image-column {
    order: 1;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-title .highlight {
    display: inline;
    margin-top: 0;
  }

  .hero-stats {
    justify-content: center;
    gap: 20px;
  }

  .stat-item {
    min-width: 100px;
    padding: 16px;
  }

  .stat-number {
    font-size: 2rem;
  }

  .director-image-container {
    max-width: 300px;
  }

  .mosaic-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(6, 1fr);
    gap: 15px;
  }

  .about-content,
  .portal-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .teachers-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

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

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

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .social-links {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  :root {
    --section-padding: 60px 0;
    --container-padding: 0 15px;
  }

  .hero-title {
    font-size: 4rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .btn {
    padding: 12px 24px;
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    flex-direction: column;
    gap: 15px;
  }

  .stat-item {
    padding: 12px;
  }

  .director-image-container {
    max-width: 250px;
  }

  .director-info-card {
    padding: 16px;
  }

  .director-info-card h3 {
    font-size: 1.2rem;
  }

  .credentials {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .credential {
    font-size: 0.7rem;
    padding: 4px 8px;
  }

  .mosaic-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(8, 1fr);
    gap: 10px;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .prev-btn {
    left: 10px;
  }

  .next-btn {
    right: 10px;
  }
}

@media (max-width: 360px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .director-image-container {
    max-width: 220px;
  }

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

/* Smooth Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-on-scroll {
  animation: fadeInUp 0.6s ease-out;
}

/* Loading States */
.loading {
  opacity: 0.7;
  pointer-events: none;
}

/* Focus States for Accessibility */
.btn:focus,
.nav-menu a:focus,
.carousel-btn:focus {
  outline: 2px solid var(--primary-yellow);
  outline-offset: 2px;
}

/* Print Styles */
@media print {
  .navbar,
  .carousel-btn,
  .social-media {
    display: none;
  }

  .hero {
    height: auto;
    padding: 40px 0;
  }
}

/* Page Content Styles */
.page-content {
  /* max-width: 1366px; */
  margin: 0 auto;
  /* padding: 40px 20px; */
  width: 100%;
}

@media (max-width: 768px) {
  .page-content {
    padding: 30px 15px;
  }
}

@media (max-width: 480px) {
  .page-content {
    padding: 20px 10px;
  }
}

/* Header CTA Button Styles */
.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 24px;
  background: var(--cta-color, var(--primary-red));
  color: var(--primary-blue);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  white-space: nowrap;
  margin-left: 15px;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(220, 38, 38, 0.4);
}

.nav-cta:active {
  transform: translateY(0);
}

/* Hide CTA on mobile if configured */
.nav-cta.hidden-mobile {
  display: none;
}

/* Responsive CTA Button */
@media (max-width: 768px) {
  .nav-cta {
    padding: 8px 18px;
    font-size: 13px;
    margin-left: 10px;
  }

  .nav-cta:not(.hidden-mobile) {
    display: inline-flex;
  }
}

@media (max-width: 480px) {
  .nav-cta:not(.hidden-mobile) {
    padding: 8px 14px;
    font-size: 12px;
    margin-left: 8px;
  }
}

