/* ========================================
   WOW Academy - Style System
   Theme: Orange & White
   ======================================== */

:root {
  /* Core Colors */
  --orange: #f97316;
  --orange-light: #fb923c;
  --orange-dark: #ea580c;
  --amber: #f59e0b;
  --yellow: #eab308;
  --red: #ef4444;
  --coral: #f87171;
  --pink: #ec4899;      /* Added related color */
  --magenta: #d946ef;   /* Added related color */
  --purple: #8b5cf6;    /* Added related color */
  
  /* Backgrounds & Text */
  --bg-main: #ffffff;
  --bg-surface: #fff7ed; /* Very light orange/cream */
  --bg-secondary: #ffedd5;
  --text-main: #431407; /* Dark brown/orange */
  --text-muted: #78350f;
  
  /* Layout */
  --sidebar-w: 380px; /* Increased width as requested */
  
  /* Effects */
  --glass-bg: rgba(255, 255, 255, 0.75);
  --glass-border: rgba(249, 115, 22, 0.3);
  --glass-blur: 16px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --glow-orange: 0 0 20px rgba(249, 115, 22, 0.5);
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--orange-dark);
}

a {
  color: var(--orange);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--orange-dark);
}

/* --- Utilities --- */
.gradient-text {
  background: linear-gradient(135deg, var(--orange), var(--pink), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(249, 115, 22, 0.05);
  transition: var(--transition);
}

.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(249, 115, 22, 0.15);
}

.btn-glow {
  background: linear-gradient(135deg, var(--orange), var(--pink));
  color: white;
  border: none;
  border-radius: 50px;
  padding: 12px 30px;
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-glow:hover {
  transform: scale(1.05);
  box-shadow: var(--glow-orange);
  color: white;
}
/* ===== HERO TEXT WHITE FIX (SAFE - NO LAYOUT BREAK) ===== */

.hero-section .hero-badge,
.hero-section .hero-desc,
.hero-section .hero-info,
.hero-section .hero-stats,
.hero-section .hero-stats span {
  color: #ffffff !important;
}

.hero-section .hero-title {
    color: #fafaf8 !important;

}
.hero-section .hero-stats h3{
    color: #fafaf8 !important;

}
.hero-section .hero-info{
      color: #f3f4f8 !important;

}

/* --- Particles --- */
#particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.6;
}

/* --- Layout Wrappers --- */
.content-wrapper {
  position: relative;
  z-index: 1;
  padding-top: 76px;
}

@media (min-width: 992px) {
  .content-wrapper {
    margin-right: calc(var(--sidebar-w) + 40px);
  }
}

/* --- Single Responsive Form --- */
.responsive-sidebar-form {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 247, 237, 0.90));
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(249, 115, 22, 0.3);
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(249, 115, 22, 0.1);
  padding: 1.5rem;
  margin-top: 30px;
  margin-bottom: 30px;
  width: 100%;
}

@media (min-width: 992px) {
  .responsive-sidebar-form {
    position: fixed;
    top: 96px;
    right: 20px;
    width: var(--sidebar-w);
    height: calc(100vh - 116px);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 247, 237, 0.90));
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(249, 115, 22, 0.3);
    border-radius: 20px;
    margin-top: 0;
    margin-bottom: 0;
    padding: 2rem;
    z-index: 1040;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(249, 115, 22, 0.1);
  }
}

.responsive-sidebar-form::-webkit-scrollbar {
  width: 6px;
}
.responsive-sidebar-form::-webkit-scrollbar-thumb {
  background-color: var(--orange-light);
  border-radius: 10px;
}

.sidebar-logo {
  padding: 20px;
  text-align: center;
  border-bottom: 1px solid var(--glass-border);
}

.sidebar-logo span {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 1.8rem;
}

.sidebar-form-container {
  padding: 20px;
  border-bottom: 1px solid var(--glass-border);
  background: #ffffff;
}

.sidebar-nav {
  padding: 20px 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.sidebar-nav a {
  padding: 12px 20px;
  color: var(--text-muted);
  border-radius: 10px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
}

.sidebar-nav a:hover, .sidebar-nav a.active {
  background: rgba(249, 115, 22, 0.1);
  color: var(--orange);
}

/* --- Header / Top Navbar --- */
.top-navbar {
  background: var(--bg-main);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
  z-index: 1050;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 76px;
  display: flex;
}

.top-navbar .navbar-brand {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 1.5rem;
  text-decoration: none;
}

.top-nav-links {
  display: flex;
  gap: 24px;
}

.top-nav-links a {
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  text-decoration: none;
}

.top-nav-links a:hover, .top-nav-links a.active {
  color: var(--orange);
}
/* LOGO RESPONSIVE */
.logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

/* Mobile */
@media (max-width: 576px) {
  .logo-img {
    height: 32px;
  }

  .top-navbar .navbar-brand {
    font-size: 1.1rem;
  }
}

/* Tablet */
@media (min-width: 577px) and (max-width: 992px) {
  .logo-img {
    height: 36px;
  }
}

/* Desktop */
@media (min-width: 993px) {
  .logo-img {
    height: 45px;
  }
}
/* --- Hero Section --- */
.hero-section {
  position: relative;
  /* USER: Replace 'images/hero-bg-placeholder.jpg' with your actual image URL */
  background-image: url('images/wow-main2.jpeg');
  background-size: cover;
  background-position: center;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 60px 0;
  z-index: 1; /* relative container context */
}

/* Transparent overlay to ensure hero text is readable */
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(235, 89, 31, 0.85), rgba(236, 161, 75, 0.95));
  z-index: -1;
}

.hero-logo-svg {
  width: 100%;
  max-width: 300px;
  filter: drop-shadow(0 10px 20px rgba(249, 115, 22, 0.3));
  margin-bottom: 30px;
}



/* --- Form Elements --- */
.premium-input {
  background: rgba(255, 255, 255, 0.95) !important;
  border: 1px solid rgba(249, 115, 22, 0.25) !important;
  border-radius: 12px !important;
  color: var(--text-main) !important;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
  transition: all 0.3s ease;
}

.premium-input:focus {
  background: #ffffff !important;
  border-color: var(--orange) !important;
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.15), inset 0 2px 4px rgba(0,0,0,0.02) !important;
  transform: translateY(-1px);
}

.premium-input::placeholder {
  color: var(--text-muted);
  opacity: 0.8;
}

.form-glass-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 247, 237, 0.90));
  backdrop-filter: blur(24px);
  border: 1px solid rgba(249, 115, 22, 0.3);
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(249, 115, 22, 0.1);
}

.form-section-title {
  display: flex;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--orange-dark);
  margin: 1.5rem 0 1rem;
  white-space: nowrap;
}

.form-section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--glass-border);
  margin-left: 10px;
}

/* --- Sections --- */
.section-padding {
  padding: 80px 0;
}

.section-alt {
  background: var(--bg-surface);
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

/* --- Programs Grid --- */
.program-icon {
  width: 70px;
  height: 70px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--orange), var(--magenta));
  color: white;
}

/* --- Horizontal Scroll Media --- */
.media-scroll-container {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  padding-bottom: 20px;
  scroll-snap-type: x mandatory;
}

.media-scroll-container::-webkit-scrollbar {
  height: 8px;
}
.media-scroll-container::-webkit-scrollbar-thumb {
  background: var(--orange-light);
  border-radius: 10px;
}

.media-card {
  min-width: 300px;
  max-width: 350px;
  flex: 0 0 auto;
  scroll-snap-align: start;
}

.media-card iframe {
  width: 100%;
  height: 200px;
  border-radius: 12px;
  border: none;
}

/* --- Footer --- */
.site-footer {
  background: var(--orange);
  padding: 60px 0 20px;
  border-top: none;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: white;
  color: var(--orange);
  margin-right: 10px;
  font-size: 1.2rem;
  transition: var(--transition);
  border: none;
}

.social-icons a:hover {
  background: white;
  color: var(--orange-dark);
  transform: translateY(-3px);
}

/* --- Scroll To Top --- */
#scrollTopBtn {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--orange);
  color: white;
  border: none;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 1050;
  cursor: pointer;
}

#scrollTopBtn.show {
  opacity: 1;
  visibility: visible;
}

#scrollTopBtn:hover {
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(234, 179, 8, 0.5);
  background: var(--yellow);
  color: #000;
}

/* --- Modern Age & Highlight Cards --- */
.modern-highlight-card, .modern-age-card {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: linear-gradient(145deg, rgba(255,255,255,1) 0%, rgba(252,248,245,0.95) 100%);
}

.modern-highlight-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(249, 115, 22, 0.15) !important;
  border-color: rgba(249, 115, 22, 0.4);
}

.modern-age-card:hover {
  transform: scale(1.05) translateY(-5px);
  box-shadow: 0 20px 40px rgba(249, 115, 22, 0.2) !important;
  border-color: rgba(249, 115, 22, 0.5);
}

.modern-age-card::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 100px;
  height: 100px;
  background: var(--orange-light);
  filter: blur(40px);
  opacity: 0.3;
  z-index: 0;
  transition: opacity 0.3s ease;
}

.modern-age-card:hover::before {
  opacity: 0.6;
}

.tracking-wide {
  letter-spacing: 0.1em;
}

.highlight-icon {
  box-shadow: 0 10px 20px rgba(249, 115, 22, 0.25);
  transition: transform 0.4s ease;
}
.modern-highlight-card:hover .highlight-icon {
  transform: rotate(-10deg) scale(1.1);
}

/* --- Badge Limited --- */
.badge-limited {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    background: linear-gradient(135deg, #fff8f0, #fff0e0);
    border: 1px solid rgba(249, 115, 22, 0.4);
    padding: 8px 16px;
    border-radius: 50px;
    color: var(--orange-dark);
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.15);
    white-space: normal;
    justify-content: center;
    text-align: center;
}

.badge-limited i {
    color: var(--amber);
}

.badge-limited .old-count {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 0.85rem;
    opacity: 0.7;
}

.badge-limited .new-count {
    color: var(--red);
    font-size: 1.1rem;
    font-weight: 900;
    background: var(--bg-surface);
    padding: 2px 8px;
    border-radius: 6px;
}

@media (max-width: 576px) {
    .badge-limited {
        font-size: 0.8rem;
        padding: 6px 12px;
        width: 100%;
    }
    .badge-limited .new-count {
        font-size: 1rem;
    }
}

/* --- Video Thumbnails & Responsiveness fixes --- */
.video-thumb-wrapper {
    position: relative;
    max-width: 650px;
    width: 100%;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.video-thumb-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    aspect-ratio: 16 / 9;
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(249, 115, 22, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.video-play-btn::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-left: 18px solid white;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    margin-left: 6px;
}

.video-thumb-wrapper:hover .video-play-btn {
    transform: translate(-50%, -50%) scale(1.1);
    background: var(--orange-dark);
}

.testimonial-slide {
    padding: 20px 48px;
    max-width: 100%;
    overflow: hidden;
}

@media (min-width: 992px) {
  .testimonial-slide {
      padding: 20px;
  }
}

.stars-row {
    color: var(--amber);
    font-size: 1.2rem;
}

.custom-indicators {
    bottom: -40px;
}

.custom-indicators button {
    background-color: var(--orange-light) !important;
}

.custom-indicators button.active {
    background-color: var(--orange-dark) !important;
}

/* --- Custom Carousel Controls --- */
.carousel-control-prev,
.carousel-control-next {
    width: 45px;
    height: 45px;
    background-color: var(--orange) !important;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.9 !important;
    z-index: 10;
}
.carousel-control-prev {
    left: 0px;
}
.carousel-control-next {
    right: 0px;
}
.carousel-control-prev:hover,
.carousel-control-next:hover {
    background-color: var(--orange-dark) !important;
    opacity: 1 !important;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.4);
}

@media (min-width: 992px) {
    .carousel-control-prev {
        left: calc(50% - 370px);
    }
    .carousel-control-next {
        right: calc(50% - 370px);
    }
}

/* ===== PERFECT VIDEO LAYOUT FIX ===== */

/* Center the carousel properly */
#extraCarousel,
#testimonialCarousel {
  max-width: 900px;
  margin: 0 auto;
}

/* Fix inner carousel width */
#extraCarousel .carousel-inner,
#testimonialCarousel .carousel-inner {
  width: 100%;
  margin: 0 auto;
}

/* Fix video aspect ratio (VERY IMPORTANT) */
.video-thumb-wrapper {
  position: relative;
  width: 100%;
  max-width: 720px;
  aspect-ratio: 16 / 9;
  margin: 0 auto;
}

/* Ensure iframe fits perfectly */
.video-thumb-wrapper iframe {
  width: 100%;
  height: 100%;
  border-radius: 16px;
}

/* Fix arrows position */
.carousel-control-prev,
.carousel-control-next {
  width: 40px;
  height: 40px;
}

/* Bring arrows closer */
@media (min-width: 992px) {
  .carousel-control-prev {
    left: calc(50% - 380px);
  }
  .carousel-control-next {
    right: calc(50% - 380px);
  }
}

/* Remove extra side stretch */
#activities,
#testimonials {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* .fs-1 i {
  color: #f97316;
} */