/* ================= TOKENS ================= */
:root{
  --purple-900:#3B0A78;
  --purple-800:#4E108E;
  --purple-700:#6A1B9A;
  --purple-600:#7A22B8;
  --saffron:#FFC019;
  --saffron-2:#FFAA00;
  --ink:#0D0A1A;

  --festival-grad:linear-gradient(135deg,#3B0A78 0%,#6A1B9A 50%,#7A22B8 100%);
}

/* base */
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{font-family:system-ui,-apple-system,"Segoe UI",Roboto,Ubuntu,"Helvetica Neue",Arial,sans-serif;color:#1c1c1c;overflow-x:hidden;padding-top:78px}
@media (max-width:992px){ body{padding-top:70px}}

/* ================= NAVBAR ================= */
.navbar-festive{
  background:linear-gradient(90deg,#3B0A78 0%,#6A1B9A 45%,#7A22B8 100%) !important;
  backdrop-filter:saturate(140%) blur(8px);
  box-shadow:0 2px 10px rgba(0,0,0,.28);
  min-height:72px;
}
.navbar .navbar-toggler{border-color:rgba(255,255,255,.5)}
.navbar-toggler-icon{filter:invert(1) contrast(1.2)}
.navbar-festive .container{position:relative;z-index:2}

.navbar-logo{
  height:50px; width:auto;
  /* ensure no white tile */
  background:transparent !important;
  border-radius:8px;
  display:block;
}

.brand-text-wrap{display:flex;flex-direction:column;line-height:1}
.brand-subtag{
  font-size:.72rem; font-weight:700; color:#fff; letter-spacing:.4px;
  opacity:.9; margin-top:2px;
}

/* campaigny headline (no overlap) */
.brand-title{
  display:inline-block;
  font-weight:900; font-size:1.25rem; line-height:1.05;
  color:#fff;
  padding:.15rem .55rem .2rem;
  border-radius:10px;
  position:relative;
  background:
    linear-gradient(180deg,#ffffff 0%,#fff8e3 35%,#ffd878 100%);
  color:#4b2f00;
  text-shadow:0 1px 0 #fff;
  box-shadow:0 6px 14px rgba(0,0,0,.15);
}
.brand-title:after{
  content:""; position:absolute; left:8px; right:8px; bottom:-6px; height:6px;
  background:linear-gradient(90deg,transparent, var(--saffron), transparent);
  border-radius:0 0 10px 10px;
  filter:drop-shadow(0 2px 4px rgba(0,0,0,.25));
}

.nav-link{color:#fff!important;font-weight:700}
.nav-link:hover,.nav-link.active{color:var(--saffron)!important}

/* faint starbursts behind nav (non-intrusive) */
:root{ --starburst-url: url('starburst.png'); }
.navbar-festive::before{
  content:""; position:absolute; inset:0; z-index:0; opacity:.22;
  background:
    var(--starburst-url) left 60%/60px no-repeat,
    var(--starburst-url) center -10%/120px no-repeat,
    var(--starburst-url) right 60%/60px no-repeat;
}
@media (min-width:1400px){
  .navbar-festive::before{opacity:.3;background-size:80px,160px,80px}
}

/* ================= HERO / VIDEO (full frame, no crop) ================= */
.hero-section{position:relative;background:var(--festival-grad)}
.hero-overlay{
  position:absolute; inset:0; pointer-events:none;
  background:
    radial-gradient(circle at 15% 20%,rgba(255,255,255,.14),transparent 40%),
    radial-gradient(circle at 85% 30%,rgba(255,192,25,.18),transparent 45%),
    radial-gradient(circle at 60% 80%,rgba(255,255,255,.10),transparent 40%);
}

/* Remove fixed vh height to avoid clipping */
.hero-video-wrapper{
  width:100%;
  height:auto;              /* key */
  min-height:unset;
  max-height:none;
}
@media (max-height: 520px){
  .video-container{ padding-bottom: 40px; } /* space for control bar */
}
/* allow native controls to extend beyond the box */
.video-container{ overflow: visible; }

/* optional: give a tiny cushion for iOS safe-area + control bar */
.video-container{ padding-bottom: max(0px, env(safe-area-inset-bottom)); }
/* Aspect-ratio box ensures full video is visible without cropping */
/* .video-container{
  position:relative;
  width:100%;
  aspect-ratio:16 / 9;    
  background:#000;
  overflow:hidden;      
} */

/* "Contain" keeps the whole frame visible (adds letterbox when needed) */
.video-container iframe,
.video-container video{
  width:100%;
  height:100%;
  object-fit:contain; 
  object-position:center center;
  display:block;
  border:0;
  background:#000;
}

/* Optional: taller on very small screens that are extra wide */
@media (max-width: 576px){
  .video-container{ aspect-ratio: 16 / 9; }
}

/* Carousel thumbs unaffected */
.video-thumbnail{ position:relative; inset:0; width:100%; height:100%; }


/* fireworks */
.spark-burst{
  position:absolute; width:220px; height:220px; opacity:.24; z-index:0;
  background:
    radial-gradient(circle, rgba(255,255,255,.9) 0 2px, transparent 3px) 50% 50%/6px 6px repeat,
    radial-gradient(circle, rgba(255,192,25,.7), rgba(255,192,25,0) 60%);
  filter:blur(.4px); animation:burstSpin 14s linear infinite;
}
@keyframes burstSpin{to{transform:rotate(360deg)}}
#celebrity .spark-burst.b1{left:12%; top:26%}
#celebrity .spark-burst.b2{right:10%; top:32%}

/* ================= TITLES / DIVIDER ================= */
.section-title{font-size:2.2rem; font-weight:900; color:#fff}
.title-outline{position:relative; display:inline-block; padding-inline:8px; text-shadow:0 0 .5px #fff,0 0 8px rgba(255,255,255,.35),0 0 18px rgba(255,192,25,.55)}
.section-title::after{content:""; display:block; height:4px; background:linear-gradient(90deg,rgba(255,255,255,.9),rgba(255,192,25,.9),rgba(255,255,255,.9)); margin-top:10px; border-radius:3px}
.section-divider{height:10px; background:linear-gradient(90deg,transparent,rgba(255,192,25,.5),transparent)}

/* ================= SPONSORS ================= */
/* ================= SPONSORS - RESPONSIVE FIX ================= */
/* ===== Sponsors - responsive, consolidated ===== */
.sponsors-section {
  background: #fff;
  padding: 70px 0 84px;
  overflow: hidden;
  position: relative;
}

/* Section title */
.sponsors-section .section-title {
  color: var(--purple-700, #6A1B9A);
  font-size: 2.2rem;
  font-weight: 900;
  text-align: center;
  margin: 0 0 16px;
}
.sponsors-section .section-title::after {
  content: "";
  display: block;
  height: 4px;
  width: 180px;
  margin: 12px auto 0;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--purple-700,#6A1B9A), var(--saffron,#FFC019), var(--purple-700,#6A1B9A));
}

/* Carousel wrapper */
.sponsor-carousel { position: relative; overflow: visible; }

/* TRACK: flexible wrapping grid */
.sponsor-track {
  display: flex;
  flex-wrap: wrap;        /* allow wrapping */
  gap: 20px;              /* consistent gap */
  justify-content: center;
  align-items: stretch;
  padding: 0 16px;
  margin: 8px auto 0;
  max-width: 1400px;
  box-sizing: border-box;
}

/* each slide is just a flex container of cards; keep semantics */
.sponsor-slide {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  width: 100%;
}

/* Sponsor card base */
.sponsor-card {
  --card-radius: 14px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: var(--card-radius);
  padding: 16px;
  margin: 12px;
  box-shadow: 0 10px 22px rgba(59, 10, 120, .06);
  border: 1px solid rgba(0,0,0,0.06);
  text-decoration: none;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  overflow: visible;
  vertical-align: middle;
  /* allow card to shrink a bit on narrow widths */
  flex: 0 0 auto;
}

/* image handling */
.sponsor-card img {
  display: block;
  max-width: 100%;
  max-height: 80px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* hover uplift */
.sponsor-card:hover {
  transform: translateY(-6px);
  border-color: var(--saffron, #FFC019);
  box-shadow: 0 18px 36px rgba(59, 10, 120, .12);
}

/* Tier sizing (desktop baseline) */
.presenting { width: 340px; min-height: 140px; padding: 22px; }
.copresenting { width: 260px; min-height: 130px; padding: 20px; }
.associate { width: 200px; min-height: 120px; padding: 18px; }

/* Chip styling (floats outside top center) */
.sponsor-chip {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: .28rem .72rem;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 800;
  white-space: nowrap;
  z-index: 2;
  box-shadow: 0 3px 6px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.06);
  text-transform: uppercase;
  letter-spacing: .6px;
}

/* chip colors */
.chip-presenting { background: linear-gradient(135deg,#FFEAA6,#FFC019); color:#4b3b00; border-color: #E7C15C; }
.chip-copresenting { background: linear-gradient(135deg,#EEDCFF,#C9A7F8); color:#2F1360; border-color:#B997F4; }
.chip-associate { background: linear-gradient(135deg,#E8F8FF,#CDEEFF); color:#04395e; border-color:#9fdcff; }

/* ======================= RESPONSIVE BREAKPOINTS ======================= */

/* Large desktops -> slightly larger cards (no change needed usually) */
@media (min-width: 1400px) {
  .presenting { width: 380px; min-height: 160px; }
  .copresenting { width: 300px; }
}

/* Large tablets / small desktops */
@media (max-width: 1199px) {
  .presenting { width: 300px; min-height: 150px; padding: 20px; }
  .copresenting { width: 240px; }
  .associate { width: 190px; }
  .sponsor-card img { max-height: 72px; }
}

/* Tablets */
@media (max-width: 991px) {
  .sponsors-section { padding: 50px 0 60px; }
  .presenting { width: 280px; min-height: 140px; padding: 18px; }
  .copresenting { width: 220px; }
  .associate { width: 180px; }
  .sponsor-card img { max-height: 64px; }
}

/* Mobile landscape / small tablets: show two cards per row visually */
@media (max-width: 767px) {
  .sponsor-track { gap: 12px; padding: 0 10px; }
  .presenting { width: calc(50% - 20px); min-width: 160px; min-height: 110px; padding: 14px; }
  .copresenting, .associate { width: calc(50% - 20px); min-width: 140px; }
  .sponsor-card img { max-height: 56px; }
  .sponsor-chip { top: -10px; font-size: .66rem; padding: .22rem .6rem; }
}

/* Narrow phones portrait: 2 columns, then 1 column on very small screens */
@media (max-width: 575px) {
  .sponsor-track { gap: 10px; padding: 0 8px; }
  .presenting, .copresenting, .associate {
    width: calc(50% - 12px);
    min-width: 120px;
    max-width: 180px;
    min-height: 90px;
    padding: 12px;
  }
  .sponsor-card img { max-height: 48px; max-width: 90%; }
  .sponsor-card { margin: 12px 6px; }
}

/* Very small phones: stack single column */
@media (max-width: 360px) {
  .presenting, .copresenting, .associate {
    width: 100%;
    max-width: 320px;
    margin: 10px auto;
    min-height: 84px;
    padding: 12px;
  }
  .sponsor-card img { max-height: 52px; }
}

/* Accessibility: focus outline for keyboard users */
.sponsor-card:focus-visible {
  outline: 3px solid rgba(102,51,153,0.18);
  outline-offset: 4px;
}

/* Ensure decorative overlays do not cover cards */
.sponsors-section .fx-scatter,
.sponsors-section .floating-diyas,
.sponsors-section .lotus-floaters { pointer-events: none; z-index: 0; }
.sponsor-track, .sponsor-card { position: relative; z-index: 2; }

/* ================= VIDEO GALLERY (SDD) ================= */
.video-gallery{padding:70px 0; background:var(--festival-grad); color:#fff; position:relative; overflow:hidden}
.video-card{position:relative; width:340px; border-radius:18px; overflow:hidden; border:2px solid rgba(255,255,255,.18); background:rgba(255,255,255,.10); backdrop-filter:blur(10px); box-shadow:0 10px 28px rgba(59,10,120,.25); transition:.25s; margin-right:18px}
.video-card:hover{transform:translateY(-6px); border-color:var(--saffron); box-shadow:0 16px 36px rgba(122,34,184,.35)}
.video-thumbnail{position:relative; padding-bottom:56.25%; background:#333 center/cover no-repeat}
.video-card .play-button{position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); font-size:3rem; color:#fff; text-shadow:0 8px 20px rgba(0,0,0,.6)}
.video-info{padding:1rem 1.1rem}

/* 1-row horizontal carousel controls */
.hcarousel{position:relative}
.htrack{
  display:flex; overflow-x:auto; scroll-behavior:smooth; padding:6px 48px; scrollbar-width:none;
}
.htrack::-webkit-scrollbar{display:none}
.hbtn{
  position:absolute; top:50%; transform:translateY(-50%); width:42px; height:42px; border-radius:50%;
  border:2px solid rgba(255,255,255,.65); background:rgba(0,0,0,.35); color:#fff; z-index:3;
}
.hprev{left:0}
.hnext{right:0}
.hbtn:hover{background:rgba(0,0,0,.6)}

/* festive decor for this section */
.floating-diyas{position:absolute; inset:0; pointer-events:none}
.diya{position:absolute; width:18px; height:18px; left:10%; bottom:12%; background:radial-gradient(circle at 50% 40%,#fff,rgba(255,174,0,.95) 40%,rgba(255,174,0,0) 60%); border-radius:50%; filter:blur(2px); animation:flicker 2.4s infinite ease-in-out}
.diya.delay-1{left:55%; bottom:20%; animation-delay:.6s}
.diya.delay-2{left:80%; bottom:15%; animation-delay:1.2s}
@keyframes flicker{0%,100%{transform:translateY(0) scale(1);opacity:.8}50%{transform:translateY(-2px) scale(1.15);opacity:1}}

/* lotus floaters */
.lotus-floaters{position:absolute; inset:0; pointer-events:none; z-index:0}
.lotus-floaters .lotus{
  position:absolute; width:90px; height:90px; left:12%; top:22%;
  background:url('lotus.png') center/contain no-repeat;
  opacity:.28; filter:drop-shadow(0 8px 18px rgba(255,192,25,.35));
  animation:lotusDrift 14s ease-in-out infinite;
}
.lotus-floaters .lotus.delay-1{left:68%; top:34%; animation-delay:3s; transform:scale(.9)}
.lotus-floaters .lotus.delay-2{left:82%; top:66%; animation-delay:6s; transform:scale(1.15)}
@keyframes lotusDrift{0%{transform:translate(0,0) scale(1) rotate(0)}50%{transform:translate(8px,-6px) scale(1.05) rotate(2deg)}100%{transform:translate(0,0) scale(1) rotate(0)}}
/* ---------- Sparkles (pure CSS, scattered via box-shadows) ---------- */
.fx-scatter .sparkle,
.fx-scatter .sparkle2{
  position:absolute; width:2px; height:2px; border-radius:50%;
  background: radial-gradient(circle, rgba(255,255,255,.95), rgba(255,215,0,.35));
  filter: drop-shadow(0 0 6px rgba(255,215,0,.45));
  opacity:.9;
}
.fx-scatter .sparkle{
  top:10%; left:8%;
  box-shadow:
    40px 10px 0 0 rgba(255,255,255,.9),
    90px 28px 0 0 rgba(255,215,0,.8),
    160px 6px 0 0 rgba(255,255,255,.85),
    240px 40px 0 0 rgba(255,215,0,.9),
    320px 24px 0 0 rgba(255,255,255,.85),
    400px 18px 0 0 rgba(255,215,0,.8),
    520px 30px 0 0 rgba(255,255,255,.9),
    600px 12px 0 0 rgba(255,215,0,.8),
    720px 34px 0 0 rgba(255,255,255,.85);
  animation: sparkleFloat 6s ease-in-out infinite alternate;
}
.fx-scatter .sparkle2{
  top:60%; left:12%;
  box-shadow:
    30px 12px 0 0 rgba(255,255,255,.9),
    80px 38px 0 0 rgba(255,215,0,.85),
    140px 20px 0 0 rgba(255,255,255,.9),
    220px 52px 0 0 rgba(255,215,0,.85),
    300px 16px 0 0 rgba(255,255,255,.9),
    420px 44px 0 0 rgba(255,215,0,.85),
    540px 22px 0 0 rgba(255,255,255,.85),
    660px 58px 0 0 rgba(255,215,0,.85);
  animation: sparkleFloat 7.5s ease-in-out infinite alternate-reverse;
}

/* ---------- Diyas (tiny glowing flames, no image) ---------- */
.fx-scatter .diya{
  position:absolute; width:14px; height:18px; border-radius:50% 50% 45% 45%;
  background:
    radial-gradient(circle at 50% 35%, #fff 0 28%, rgba(255,255,255,0) 29%),
    radial-gradient(circle at 50% 64%, #ffc400 0 60%, rgba(255,196,0,0) 61%);
  filter: drop-shadow(0 0 12px rgba(255,200,0,.6));
  opacity:10;
  animation: flameFlicker 1.9s ease-in-out infinite;
}
.fx-scatter .d1{ left:6%;  bottom:14%; animation-delay:.0s }
.fx-scatter .d2{ left:46%; bottom:12%; animation-delay:.5s }
.fx-scatter .d3{ right:8%; bottom:10%; animation-delay:1.0s }
.fx-scatter .d4{ left:22%; bottom:28%; transform:scale(.9); animation-delay:.8s }
.fx-scatter .d5{ right:24%; bottom:26%; transform:scale(1.1); animation-delay:1.3s }

/* ---------- Petals (soft drifting shapes) ---------- */
.fx-scatter .petal{
  position:absolute; width:16px; height:10px;
  background: linear-gradient(135deg, #ffc0dd, #ff83c3);
  border-radius:70% 30% 70% 30%;
  opacity:.75; filter: blur(.2px);
  animation: petalDrift 10s ease-in-out infinite;
}
.fx-scatter .p1{ left:12%; top:18% }
.fx-scatter .p2{ left:68%; top:10%; animation-delay:2.2s; transform:rotate(15deg) }
.fx-scatter .p3{ left:28%; top:52%; animation-delay:4s; transform:rotate(-12deg) }
.fx-scatter .p4{ left:82%; top:42%; animation-delay:1.4s; transform:rotate(8deg) }
.fx-scatter .p5{ left:50%; top:24%; animation-delay:3s; transform:rotate(-6deg) }

/* Animations */
@keyframes sparkleFloat{ 0%{transform:translateY(0)} 100%{transform:translateY(-8px)} }
@keyframes flameFlicker{ 0%,100%{transform:translateY(0) scale(1)} 50%{transform:translateY(-1px) scale(1.12)} }
@keyframes petalDrift{
  0%{ transform: translate(0,0) rotate(var(--rot,0deg)) }
  50%{ transform: translate(10px,-8px) rotate(calc(var(--rot,0deg) + 10deg)) }
  100%{ transform: translate(0,0) rotate(var(--rot,0deg)) }
}
  /* ==================== ENHANCED DIWALI FESTIVE DECORATIONS ==================== */

/* ==================== FX-SCATTER DECORATIONS ==================== */

.fx-scatter {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* ---------- Sparkles (CSS-based stars) ---------- */
.fx-scatter .sparkle,
.fx-scatter .sparkle2 {
  position: absolute;
  width: 20px;
  height: 20px;
}

/* Star shape using pseudo-elements */
.fx-scatter .sparkle::before,
.fx-scatter .sparkle::after,
.fx-scatter .sparkle2::before,
.fx-scatter .sparkle2::after {
  content: '';
  position: absolute;
  background: linear-gradient(45deg, #fff, #ffd700);
  box-shadow: 0 0 10px #ffd700, 0 0 20px rgba(255,215,0,0.5);
}

.fx-scatter .sparkle::before,
.fx-scatter .sparkle2::before {
  width: 20px;
  height: 3px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.fx-scatter .sparkle::after,
.fx-scatter .sparkle2::after {
  width: 3px;
  height: 20px;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}

.fx-scatter .sparkle {
  top: 8%;
  left: 5%;
  animation: sparkleFloat 3s ease-in-out infinite alternate;
}

.fx-scatter .sparkle2 {
  top: 10%;
  right: 6%;
  animation: sparkleFloat 4s ease-in-out infinite alternate-reverse;
}

/* Additional sparkle dots scattered around */
.fx-scatter .sparkle::after {
  box-shadow: 
    40px 30px 0 2px rgba(255,255,255,0.9),
    80px 15px 0 1px rgba(255,215,0,0.8),
    25px 60px 0 1px rgba(255,255,255,0.85);
}

.fx-scatter .sparkle2::after {
  box-shadow: 
    -40px 25px 0 2px rgba(255,255,255,0.9),
    -75px 10px 0 1px rgba(255,215,0,0.8),
    -30px 55px 0 1px rgba(255,255,255,0.85);
}

@keyframes sparkleFloat {
  0% { transform: translateY(0) rotate(0deg); opacity: 0.9; }
  50% { opacity: 1; }
  100% { transform: translateY(-10px) rotate(180deg); opacity: 0.9; }
}

/* ---------- Enhanced Diyas (detailed 3D oil lamps) ---------- */
.fx-scatter .diya {
  position: absolute;
  width: 50px;
  height: 50px;
}

/* Diya clay pot/base */
.fx-scatter .diya::before {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 45px;
  height: 22px;
  background: 
    linear-gradient(180deg, #e89450 0%, #d4691d 30%, #a0451a 70%, #7a3315 100%);
  border-radius: 50% 50% 50% 50% / 35% 35% 65% 65%;
  box-shadow: 
    0 3px 8px rgba(0,0,0,0.5),
    inset 0 -3px 8px rgba(0,0,0,0.4),
    inset 0 2px 5px rgba(255,200,150,0.4);
}

/* Diya decorative rim */
.fx-scatter .diya::after {
  content: '';
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 8px;
  background: linear-gradient(180deg, #f4a862 0%, #d4691d 100%);
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* Diya flame */
.fx-scatter .diya {
  background: 
    radial-gradient(ellipse 8px 18px at 50% 15px, #fff 0%, transparent 50%),
    radial-gradient(ellipse 12px 22px at 50% 18px, #ffeb3b 0%, transparent 65%),
    radial-gradient(ellipse 14px 25px at 50% 20px, #ff9800 0%, transparent 75%);
  background-position: center 0;
  background-repeat: no-repeat;
  filter: drop-shadow(0 0 15px rgba(255,180,0,0.8));
  animation: diyaFlameFlicker 1.9s ease-in-out infinite;
}

.fx-scatter .d1 { left: 6%; bottom: 14%; animation-delay: 0s; }
.fx-scatter .d2 { left: 46%; bottom: 12%; animation-delay: 0.5s; }
.fx-scatter .d3 { right: 8%; bottom: 10%; animation-delay: 1.0s; }
.fx-scatter .d4 { left: 22%; bottom: 28%; transform: scale(0.9); animation-delay: 0.8s; }
.fx-scatter .d5 { right: 24%; bottom: 26%; transform: scale(1.1); animation-delay: 1.3s; }

@keyframes diyaFlameFlicker {
  0%, 100% { 
    filter: drop-shadow(0 0 15px rgba(255,180,0,0.8));
    transform: translateY(0) scale(1);
  }
  25% { 
    filter: drop-shadow(0 0 20px rgba(255,180,0,1));
    transform: translateY(-2px) scale(1.05);
  }
  50% { 
    filter: drop-shadow(0 0 12px rgba(255,180,0,0.7));
    transform: translateY(0) scale(0.98);
  }
  75% { 
    filter: drop-shadow(0 0 18px rgba(255,180,0,0.9));
    transform: translateY(-1px) scale(1.03);
  }
}

/* ---------- Petals (realistic rose/flower petals) ---------- */
.fx-scatter .petal {
  position: absolute;
  width: 18px;
  height: 12px;
  background: 
    radial-gradient(ellipse at 30% 30%, #ffd4e8, #ffc0dd 40%, #ff83c3 80%, #ff5fa0);
  border-radius: 70% 30% 70% 30%;
  opacity: 0.8;
  filter: blur(0.2px) drop-shadow(0 2px 4px rgba(255,100,150,0.3));
  animation: petalDrift 10s ease-in-out infinite;
}

/* Add texture/veins to petals */
.fx-scatter .petal::before {
  content: '';
  position: absolute;
  inset: 2px;
  background: 
    linear-gradient(135deg, transparent 45%, rgba(255,255,255,0.3) 48%, transparent 52%),
    linear-gradient(160deg, transparent 45%, rgba(255,100,150,0.2) 48%, transparent 52%);
  border-radius: inherit;
}

.fx-scatter .p1 { left: 12%; top: 18%; --rot: 0deg; }
.fx-scatter .p2 { left: 68%; top: 10%; animation-delay: 2.2s; --rot: 15deg; }
.fx-scatter .p3 { left: 28%; top: 52%; animation-delay: 4s; --rot: -12deg; }
.fx-scatter .p4 { left: 82%; top: 42%; animation-delay: 1.4s; --rot: 8deg; }
.fx-scatter .p5 { left: 50%; top: 24%; animation-delay: 3s; --rot: -6deg; }

@keyframes petalDrift {
  0% { 
    transform: translate(0, 0) rotate(var(--rot, 0deg));
    opacity: 0.8;
  }
  25% {
    transform: translate(8px, -15px) rotate(calc(var(--rot, 0deg) + 90deg));
    opacity: 0.85;
  }
  50% { 
    transform: translate(10px, -8px) rotate(calc(var(--rot, 0deg) + 180deg));
    opacity: 0.9;
  }
  75% {
    transform: translate(5px, -12px) rotate(calc(var(--rot, 0deg) + 270deg));
    opacity: 0.85;
  }
  100% { 
    transform: translate(0, 0) rotate(calc(var(--rot, 0deg) + 360deg));
    opacity: 0.8;
  }
}

/* ==================== ENHANCED FLOATING DIYAS ==================== */

.floating-diyas .diya {
  position: absolute;
  width: 55px;
  height: 55px;
  animation: floatingDiyaBob 6s ease-in-out infinite;
}

/* Floating diya pot */
.floating-diyas .diya::before {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 24px;
  background: 
    linear-gradient(180deg, #e89450 0%, #d4691d 30%, #a0451a 70%, #7a3315 100%);
  border-radius: 50% 50% 50% 50% / 35% 35% 65% 65%;
  box-shadow: 
    0 3px 8px rgba(0,0,0,0.5),
    inset 0 -3px 8px rgba(0,0,0,0.4),
    inset 0 2px 5px rgba(255,200,150,0.4);
}

/* Floating diya rim */
.floating-diyas .diya::after {
  content: '';
  position: absolute;
  bottom: 27px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 8px;
  background: linear-gradient(180deg, #f4a862 0%, #d4691d 100%);
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* Floating diya flame */
.floating-diyas .diya {
  background: 
    radial-gradient(ellipse 8px 18px at 50% 12px, #fff 0%, transparent 50%),
    radial-gradient(ellipse 12px 22px at 50% 15px, #ffeb3b 0%, transparent 65%),
    radial-gradient(ellipse 14px 25px at 50% 18px, #ff9800 0%, transparent 75%);
  background-position: center 0;
  background-repeat: no-repeat;
  filter: drop-shadow(0 0 18px rgba(255,180,0,0.9));
}

.floating-diyas .diya.delay-1 { animation-delay: 1.5s; }
.floating-diyas .diya.delay-2 { animation-delay: 3s; }
.floating-diyas .diya.delay-3 { animation-delay: 4.5s; }
.floating-diyas .diya.delay-4 { animation-delay: 2s; }

@keyframes floatingDiyaBob {
  0%, 100% { 
    transform: translateY(0) rotate(0deg);
    filter: drop-shadow(0 0 18px rgba(255,180,0,0.9));
  }
  25% { 
    transform: translateY(-12px) rotate(1deg);
    filter: drop-shadow(0 0 22px rgba(255,180,0,1));
  }
  50% { 
    transform: translateY(-18px) rotate(0deg);
    filter: drop-shadow(0 0 25px rgba(255,180,0,1));
  }
  75% { 
    transform: translateY(-12px) rotate(-1deg);
    filter: drop-shadow(0 0 22px rgba(255,180,0,1));
  }
}

/* ==================== ENHANCED LOTUS FLOATERS ==================== */

.lotus-floaters .lotus {
  position: absolute;
  width: 80px;
  height: 80px;
  background: none !important;
  opacity: 0.85 !important;
  filter: drop-shadow(0 3px 10px rgba(255,150,255,0.5)) !important;
  animation: lotusGentleSway 8s ease-in-out infinite;
}

/* Lotus petals - multi-layered */
.lotus-floaters .lotus::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: 
    /* Center top petal */
    radial-gradient(ellipse 10px 28px at 50% 25%, rgba(255,164,255,0.95) 0%, transparent 100%),
    /* Top-left and top-right petals */
    radial-gradient(ellipse 9px 25px at 32% 30%, rgba(255,164,255,0.9) 0%, transparent 100%),
    radial-gradient(ellipse 9px 25px at 68% 30%, rgba(255,164,255,0.9) 0%, transparent 100%),
    /* Mid-left and mid-right petals */
    radial-gradient(ellipse 8px 22px at 20% 42%, rgba(255,107,255,0.85) 0%, transparent 100%),
    radial-gradient(ellipse 8px 22px at 80% 42%, rgba(255,107,255,0.85) 0%, transparent 100%),
    /* Lower-left and lower-right petals */
    radial-gradient(ellipse 7px 20px at 15% 58%, rgba(255,164,255,0.8) 0%, transparent 100%),
    radial-gradient(ellipse 7px 20px at 85% 58%, rgba(255,164,255,0.8) 0%, transparent 100%),
    /* Bottom petals */
    radial-gradient(ellipse 6px 18px at 30% 68%, rgba(255,180,255,0.75) 0%, transparent 100%),
    radial-gradient(ellipse 6px 18px at 70% 68%, rgba(255,180,255,0.75) 0%, transparent 100%);
}

/* Lotus center (stamen/pistil) */
.lotus-floaters .lotus::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  background: 
    radial-gradient(circle, #fff 0%, #ffd700 40%, rgba(255,215,0,0.6) 100%);
  border-radius: 50%;
  box-shadow: 
    0 0 8px rgba(255,215,0,0.8),
    inset 0 -1px 2px rgba(200,150,0,0.5);
}

.lotus-floaters .lotus.delay-1 { animation-delay: 2s; }
.lotus-floaters .lotus.delay-2 { animation-delay: 4s; }

@keyframes lotusGentleSway {
  0%, 100% { 
    transform: translate(0, 0) rotate(0deg);
    opacity: 0.85;
  }
  25% { 
    transform: translate(5px, -8px) rotate(2deg);
    opacity: 0.9;
  }
  50% { 
    transform: translate(8px, -6px) rotate(0deg);
    opacity: 0.95;
  }
  75% { 
    transform: translate(5px, -8px) rotate(-2deg);
    opacity: 0.9;
  }
}

/* ==================== ENSURE PROPER LAYERING ==================== */


/* Ensure cards are above decorations */
#sddRow, #sddRow .htrack, #sddRow .video-card{ position: relative; z-index: 1; }

/* ================= BRANDED ================= */
.branded-section{padding:70px 0; background:#fff}
.branded-section .section-title{color:var(--purple-700)}
.branded-section .section-title::after{background:linear-gradient(90deg,var(--purple-700),var(--saffron),var(--purple-700))}
.branded-video-card{position:relative; background:#fff; border-radius:18px; overflow:hidden; border:2px solid rgba(0,0,0,.06); box-shadow:0 10px 28px rgba(59,10,120,.15); cursor:pointer; transition:.25s}
.branded-video-card:hover{transform:translateY(-6px); border-color:var(--saffron); box-shadow:0 16px 36px rgba(122,34,184,.28)}
.branded-video-thumbnail{position:relative; padding-bottom:56.25%; background:#333 center/cover no-repeat}
.branded-video-card .play-button{position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); font-size:3.4rem; color:#fff; text-shadow:0 8px 20px rgba(0,0,0,.5)}
.branded-video-info{padding:1.2rem 1.4rem}
.branded-video-title{font-weight:900; color:var(--purple-700)}
.branded-video-desc{color:#3a4e71}

/* ================= FOOTER ================= */
.footer{position:relative; background:linear-gradient(135deg,#3B0A78 0%,#6A1B9A 45%,#7A22B8 100%); color:#fff; padding:36px 0 52px; border-top:3px solid var(--saffron)}
.footer::before{
  content:""; position:absolute; inset:0; z-index:0; opacity:.18;
  background:
    var(--starburst-url) 5% 20%/120px no-repeat,
    var(--starburst-url) 95% 80%/140px no-repeat,
    var(--starburst-url) center 20%/220px no-repeat;
}
.footer .container{position:relative; z-index:1}
.social-links a{color:#fff; font-size:1.4rem; margin:0 .7rem}
.social-links a:hover{color:var(--saffron)}
.legal-links .legal{color:#fff; text-decoration:none}
.legal-links .legal:hover{color:var(--saffron); text-decoration:underline}
.sep{opacity:.6; margin:0 .35rem}
.reach-title{font-weight:700}
.festive-bottom-border{position:absolute; left:0; right:0; bottom:0; height:44px; z-index:0; background:url('order-scallop.png') repeat-x left bottom / 360px auto; pointer-events:none}

/* Garland (optional) */
.festive-garland{position:fixed; inset:0 0 auto 0; height:110px; background:url('garland.png') center top / contain no-repeat; pointer-events:none; z-index:1050; animation:garlandSway 5s ease-in-out infinite alternate; filter:drop-shadow(0 6px 8px rgba(0,0,0,.25))}
@keyframes garlandSway{from{transform:rotate(-.4deg)}to{transform:rotate(.4deg)}}


/* Footer right: stacked rows with the same left start */
.footer-right{
  display:flex;
  flex-direction:column;
  align-items:flex-start;   /* all rows start at the same left edge */
  gap:12px;
}

/* Each row behaves like a line */
.footer-right .fr-row{
  display:flex;
  align-items:center;
  gap:12px;
  width:100%;
}

/* Keep legal links compact */
.footer .legal-links{
  display:flex;
  align-items:center;
  gap:.35rem;
  font-weight:600;
  margin:0;
}

/* Label before socials */
.footer .reach-title{
  font-weight:600;
  margin-right:4px;
}

/* Socials spacing in-line */
.footer .social-links--big a{ margin:0 .35rem; }

/* Handle as a solid block starting at same left */
.footer .handle{
  font-weight:600;
  white-space:nowrap;
}

/* On tablet/mobile center the whole block, still stacked */
@media (max-width: 991.98px){
  .footer-right{ align-items:center; text-align:center; }
  .footer-right .fr-row{ justify-content:center; }
}
/* --- Videos: remove text area spacing (cards are pure thumbnails now) --- */
.video-gallery .video-card { padding-bottom: 0; }
.video-gallery .video-card .video-info { display: none !important; }

/* Keep thumbnails 16:9 and clickable */
.video-gallery .video-card .video-thumbnail{
  position: relative;
  padding-bottom: 56.25%;
  background: #333 center/cover no-repeat;
  border-radius: 18px;
}
.video-gallery .video-card .play-button{
  position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);
  font-size:3rem; color:#fff; text-shadow:0 8px 20px rgba(0,0,0,.6);
}

/* --- Extra festive background in the Videos section (outside cards) --- */
.video-gallery{
  position: relative;
  isolation: isolate; /* keep overlays under content */
}
.video-gallery::before{
  /* faint lotus watermark wave across the section */
  content:"";
  position:absolute; inset:0; z-index:0; opacity:.12;
  background:
    url('lotus.png') left 10% / 120px no-repeat,
    url('lotus.png') right 20% / 90px no-repeat,
    radial-gradient(circle at 20% 80%, rgba(255,192,25,.18), transparent 40%),
    radial-gradient(circle at 80% 15%, rgba(255,255,255,.12), transparent 45%);
  pointer-events:none;
}

/* soft spark bursts at edges */
.section-sparks .spark-burst{
  position:absolute; width:220px; height:220px; opacity:.24; z-index:0;
  background:
    radial-gradient(circle, rgba(255,255,255,.9) 0 2px, transparent 3px) 50% 50%/6px 6px repeat,
    radial-gradient(circle, rgba(255,192,25,.6), rgba(255,192,25,0) 60%);
  filter: blur(.4px);
  animation: burstSpin 16s linear infinite;
  pointer-events:none;
}
.section-sparks .sb-left{ left:-20px; top:15%; }
.section-sparks .sb-right{ right:-20px; bottom:10%; animation-duration: 20s; }
@keyframes burstSpin{ to{ transform: rotate(360deg); } }

/* Horizontal carousel tweaks still valid when no titles */
.htrack .video-card{ min-width:320px; }
/* header row: title left, CTA right */
.branded-video-header{
  display:flex;
  align-items:center;
  gap:12px;
}

/* keep title tidy */
.branded-video-title{
  margin:0;
  flex:1;
  min-width:0;
}
.branded-video-title a{
  white-space:wrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

/* CTA pill */
.branded-video-cta{
  font-weight:700;
  font-size:.875rem;
  text-decoration:none;
  padding:.25rem .7rem;
  border-radius:999px;
  border:2px solid rgba(0,0,0,.06);
  background: linear-gradient(135deg,#FFEAA6,#FFC019);
  color:#3b2a00;
  box-shadow:0 4px 12px rgba(0,0,0,.12);
}
.branded-video-cta:hover,
.branded-video-cta:focus{
  filter:saturate(105%);
  transform:translateY(-1px);
}
 /* ========================= LIMITED-TIME OFFER (FESTIVE) ========================= */
    .limited-offer {
      position: relative;
      isolation: isolate;
      padding: 44px 0;
      color: #fff;
      overflow: hidden;
    }

    .limited-offer--festive {
      background:
        radial-gradient(1200px 300px at 15% 0%, rgba(255, 210, 102, .25) 0%, rgba(255, 210, 102, 0) 60%),
        radial-gradient(900px 280px at 85% 100%, rgba(255, 210, 102, .22) 0%, rgba(255, 210, 102, 0) 62%),
        linear-gradient(135deg, #4C0D7A 0%, #7B2CBF 35%, #8E24AA 58%, #D81B60 100%);
    }

    .limited-offer--festive::before {
      content: "";
      position: absolute;
      inset: 0;
      opacity: .16;
      pointer-events: none;
      z-index: 0;
      background-image:
        url("data:image/svg+xml,%3Csvg width='160' height='160' viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23FFE08A' stroke-opacity='.45' stroke-width='1'%3E%3Cpath d='M80 10c22 12 37 29 37 50 0 21-15 38-37 50-22-12-37-29-37-50 0-21 15-38 37-50z'/%3E%3Ccircle cx='80' cy='80' r='10'/%3E%3Cpath d='M80 30v100M30 80h100'/%3E%3C/g%3E%3C/svg%3E");
      background-size: 180px 180px;
      background-repeat: repeat;
      mix-blend-mode: screen;
    }

    .limited-offer .fx-scatter {
      z-index: 0;
      opacity: .55;
      filter: drop-shadow(0 0 6px rgba(255, 215, 0, .35));
    }

    .limited-offer .container {
      position: relative;
      z-index: 2;
    }

    .offer-wrap {
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 18px 28px;
      align-items: center;
    }

    .offer-chip {
      display: inline-block;
      font-weight: 800;
      letter-spacing: .7px;
      text-transform: uppercase;
      background: rgba(255, 255, 255, .14);
      border: 1px solid rgba(255, 255, 255, .28);
      padding: 7px 14px;
      border-radius: 999px;
      backdrop-filter: blur(4px);
    }

    .offer-title {
      margin: 12px 0 8px;
      font-size: clamp(24px, 3.5vw, 38px);
      font-weight: 900;
      line-height: 1.12;
      text-shadow: 0 2px 10px rgba(0, 0, 0, .35);
    }

    .offer-sub {
      margin: 0;
      opacity: .98;
      font-size: clamp(14px, 1.7vw, 16px);
    }

    /* Base button */
    .btn-offer {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 12px 20px;
      border-radius: 999px;
      font-weight: 800;
      text-decoration: none;
      border: 0;
      transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
      position: relative;
      overflow: hidden;
    }

    /* Solid magenta version */
    .btn-offer--solid {
      background: linear-gradient(180deg, #8E24AA 0%, #6A1B9A 100%);
      color: #FFFFFF !important;
      box-shadow: 0 8px 22px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .25);
    }

    /* Gold version */
    .btn-offer--gold {
      background: linear-gradient(180deg, #FFD166 0%, #FFC300 100%);
      color: #6A1B9A !important;
      box-shadow: 0 8px 22px rgba(0, 0, 0, .2), inset 0 1px 0 rgba(255, 255, 255, .35);
      text-shadow: none;
    }

    .btn-offer:hover {
      transform: translateY(-2px);
      filter: brightness(1.03);
    }

    .btn-offer::after {
      content: "";
      position: absolute;
      top: -120%;
      bottom: -120%;
      left: -30%;
      width: 40%;
      transform: rotate(20deg);
      background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .35) 45%, rgba(255, 255, 255, 0) 100%);
      transition: transform .5s ease;
    }

    .btn-offer:hover::after {
      transform: translateX(220%) rotate(20deg);
    }

    @media (max-width: 768px) {
      .offer-wrap {
        grid-template-columns: 1fr;
        text-align: center;
      }

      .offer-cta {
        justify-self: center;
      }
    }
	
	/* ---------- SPONSOR CARD LAYOUT ---------- */
.sponsor-card {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 12px;
  padding: 10px 20px;
  margin: 25px 15px 10px; /* add top margin for chip space */
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  text-decoration: none;
}

.sponsor-card:hover {
  transform: translateY(-4px);
}

.sponsor-card img {
  max-height: 45px;
  max-width: 160px;
  object-fit: contain;
}

/* ---------- SPONSOR CHIP FLOATING OUTSIDE ---------- */
.sponsor-chip {
  position: absolute;
  top: -14px;                 /* sits outside the card */
  left: 50%;
  transform: translateX(-50%);
  background: #222;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.15);
  z-index: 2;
}

/* ---------- VARIANT COLORS ---------- */
.chip-presenting {
  background: linear-gradient(90deg, #ffba00, #ff8400);
}

.chip-copresenting {
  background: linear-gradient(90deg, #0077ff, #00b8ff);
}

.chip-associate {
  background: linear-gradient(90deg, #7b4397, #dc2430);
}


