/* ==========================================================================
   GURUKUL COMPONENTS STYLESHEET
   Primary Brand Blue: #0E4A9C | Logo: #003069 (Subtext: #000000)
   Front Page Design: #004aad | Main Text: #103f7f | Sub Text: #222222
   ========================================================================== */

/* ================= 1. HERO SECTION (EXACT DEVELOPING LIFE SKILLS POSTER) ================= */
.hero-section.hero-life-skills-exact {
  position: relative;
  background: #EBF2FA;
  padding: 0;
  margin: 0;
  overflow: hidden;
  width: 100%;
}

.hero-ls-poster-container {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.hero-ls-poster-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Interactive Hitbox Layer over the 4 icons in poster */
.hero-ls-interactive-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-ls-overlay-badge {
  position: absolute;
  width: 7.2%;
  height: 13.5%;
  border-radius: 50%;
  pointer-events: auto;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Percentage positions matching the 4 icons in poster */
.badge-confidence {
  left: 2.7%;
  bottom: 12.5%;
}

.badge-discipline {
  left: 10.7%;
  bottom: 12.5%;
}

.badge-leadership {
  left: 18.7%;
  bottom: 12.5%;
}

.badge-responsibility {
  left: 26.6%;
  bottom: 12.5%;
}

.hero-ls-overlay-badge:hover {
  transform: scale(1.18);
}

.hero-ls-badge-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(18, 59, 112, 0.6);
  animation: badgePulseRing 2s infinite;
  pointer-events: none;
}

.hero-ls-overlay-badge:hover .hero-ls-badge-pulse {
  border-color: #0056C6;
  box-shadow: 0 0 20px rgba(0, 86, 198, 0.5);
}

@keyframes badgePulseRing {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.15);
    opacity: 0.3;
  }
  100% {
    transform: scale(0.95);
    opacity: 0.8;
  }
}

/* Tooltip on hover */
.hero-ls-badge-tooltip {
  position: absolute;
  bottom: 110%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: #003069;
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  pointer-events: none;
  z-index: 20;
}

.hero-ls-badge-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 5px;
  border-style: solid;
  border-color: #003069 transparent transparent transparent;
}

.hero-ls-overlay-badge:hover .hero-ls-badge-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Legacy Developing Life Skills Style */
.hero-section.hero-life-skills {
  position: relative;
  background: linear-gradient(135deg, #EBF2FA 0%, #F5F8FC 45%, #FFFFFF 100%);
  color: #102B4E;
  padding: 3.5rem 0 0 0;
  overflow: hidden;
  min-height: 620px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-ls-bg-glow {
  position: absolute;
  top: -100px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(14, 74, 156, 0.07) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-ls-wrapper {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 4rem 2rem 5rem;
  gap: 2rem;
  width: 100%;
}

/* ── LEFT PANEL ── */
.hero-ls-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2.2rem;
  z-index: 2;
}

.hero-ls-heading-group {
  display: flex;
  flex-direction: column;
}

.hero-ls-subhead {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.2rem, 3.5vw, 3.4rem);
  font-weight: 500;
  color: #123B70;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.hero-ls-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(3.8rem, 6.2vw, 6.2rem);
  font-weight: 800;
  color: #0B2545;
  line-height: 1.02;
  margin: 0.1rem 0 0.8rem 0;
  letter-spacing: -0.02em;
}

.hero-ls-tagline-container {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  position: relative;
}

.hero-ls-tagline-line1,
.hero-ls-tagline-line2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
  font-weight: 500;
  color: #193356;
  line-height: 1.25;
}

.hero-ls-underline-accent {
  width: 140px;
  height: 3px;
  background: #123B70;
  margin-top: 0.5rem;
  border-radius: 2px;
}

/* ── 4 CIRCULAR SKILL BADGES ── */
.hero-ls-badges-row {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  margin-top: 1rem;
}

.hero-ls-badge-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 90px;
  cursor: pointer;
}

.hero-ls-badge-circle {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1.8px solid #123B70;
  box-shadow: 0 6px 16px rgba(18, 59, 112, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #123B70;
  position: relative;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero-ls-badge-circle svg {
  transition: transform 0.35s ease, stroke 0.35s ease;
}

.hero-ls-badge-card:hover .hero-ls-badge-circle {
  transform: translateY(-6px) scale(1.06);
  background: linear-gradient(135deg, #123B70 0%, #0056C6 100%);
  color: #FFFFFF;
  border-color: #0056C6;
  box-shadow: 0 12px 24px rgba(18, 59, 112, 0.25);
}

.hero-ls-badge-card:hover .hero-ls-badge-circle svg {
  transform: scale(1.1);
  stroke: #FFFFFF;
}

.hero-ls-inner-pill {
  font-family: 'Inter', sans-serif;
  font-size: 0.42rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #123B70;
  border: 1px solid #123B70;
  padding: 1px 4px;
  border-radius: 3px;
  margin-top: 1px;
  transition: all 0.35s ease;
}

.hero-ls-badge-card:hover .hero-ls-inner-pill {
  color: #FFFFFF;
  border-color: #FFFFFF;
}

.hero-ls-badge-text {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: #123B70;
  margin-top: 0.75rem;
  text-align: center;
  transition: color 0.3s ease;
}

.hero-ls-badge-card:hover .hero-ls-badge-text {
  color: #0056C6;
}

/* ── RIGHT PANEL ── */
.hero-ls-right {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  z-index: 2;
}

.hero-ls-img-container {
  width: 100%;
  max-width: 650px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(18, 59, 112, 0.12);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.hero-ls-img-container:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 50px rgba(18, 59, 112, 0.18);
}

.hero-ls-main-img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  display: block;
}

/* ── BOTTOM DECORATIVE WAVE ── */
.hero-ls-wave-divider {
  position: relative;
  width: 100%;
  line-height: 0;
  z-index: 5;
  margin-top: 1rem;
}

.hero-ls-wave-divider svg {
  position: relative;
  display: block;
  width: 100%;
  height: 80px;
}

/* RESPONSIVE MEDIA QUERIES FOR HERO LIFE SKILLS */
@media (max-width: 1024px) {
  .hero-ls-wrapper {
    grid-template-columns: 1fr;
    padding: 2rem 2rem 1rem 2rem;
    gap: 2.5rem;
  }
  .hero-ls-left {
    align-items: center;
    text-align: center;
  }
  .hero-ls-tagline-container {
    align-items: center;
  }
  .hero-ls-right {
    justify-content: center;
  }
  .hero-ls-badges-row {
    justify-content: center;
    gap: 1.2rem;
  }
}

@media (max-width: 640px) {
  .hero-section.hero-life-skills {
    padding-top: 2rem;
  }
  .hero-ls-wrapper {
    padding: 1rem 1.2rem;
  }
  .hero-ls-badges-row {
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
  }
  .hero-ls-badge-card {
    width: 75px;
  }
  .hero-ls-badge-circle {
    width: 64px;
    height: 64px;
  }
  .hero-ls-badge-circle svg {
    width: 28px;
    height: 28px;
  }
  .hero-ls-badge-text {
    font-size: 0.78rem;
  }
}

/* Legacy Hero Poster Style Backup */
.hero-section.hero-ref {
  position: relative;
  background: linear-gradient(135deg, #060E2E 0%, #0B1D51 40%, #0E2F82 75%, #0E3A9A 100%);
  color: #ffffff;
  padding: 0;
  overflow: hidden;
}

/* Dot pattern background */
.hero-ref-bg-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  z-index: 0;
}

/* ── WRAPPER ── */
.hero-ref-wrapper {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  min-height: 580px;
  max-width: 1400px;
  margin: 0 auto;
}

/* ── LEFT PANEL ── */
.hero-ref-left {
  padding: 2.8rem 2.5rem 2rem 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.3rem;
}

/* Brand Bar */
.hero-ref-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.2rem;
}

.hero-ref-shield {
  flex-shrink: 0;
  filter: drop-shadow(0 4px 12px rgba(245,166,35,0.4));
}

.hero-ref-brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}

.hero-ref-brand-name {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-size: 1.55rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: #ffffff;
  line-height: 1;
}

.hero-ref-brand-sub {
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: #F5A623;
  line-height: 1;
}

.hero-ref-brand-motto {
  font-family: 'Inter', sans-serif;
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.65);
}

/* Main Heading */
.hero-ref-heading h1 {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-size: clamp(2rem, 3.8vw, 3.6rem);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.01em;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.05em;
}

.hero-ref-h-white {
  color: #ffffff;
  display: block;
}

.hero-ref-h-gold {
  color: #F5A623;
  display: block;
}

/* Tagline Bar */
.hero-ref-tagline {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0;
  border-top: 2px solid rgba(245,166,35,0.35);
  border-bottom: 2px solid rgba(245,166,35,0.35);
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #ffffff;
}

.hero-ref-tag-diamond {
  color: #F5A623;
  font-size: 0.6rem;
}

/* ── 3 FEATURE CARDS ── */
.hero-ref-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}

.hero-ref-feat {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.9rem 0.85rem;
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(245,166,35,0.2);
  text-decoration: none;
  color: inherit;
  transition: all 0.25s ease;
  cursor: pointer;
}

.hero-ref-feat:hover {
  background: rgba(245,166,35,0.1);
  border-color: rgba(245,166,35,0.5);
  transform: translateY(-3px);
}

.hero-ref-feat-icon {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  width: 44px;
  height: 44px;
  background: rgba(245,166,35,0.12);
  border: 1px solid rgba(245,166,35,0.3);
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.hero-ref-feat-stars {
  font-size: 0.5rem;
  color: #F5A623;
  letter-spacing: 1px;
  line-height: 1;
}

.hero-ref-feat-title {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #ffffff;
  line-height: 1.3;
}

.hero-ref-feat-desc {
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  font-weight: 400;
  color: rgba(220,235,255,0.75);
  line-height: 1.5;
}

/* ── CTA ── */
.hero-ref-cta {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.hero-ref-enroll-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #F5A623;
  color: #0B1D51;
  font-family: 'Outfit', 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  padding: 0.9rem 2.8rem;
  border-radius: 50px;
  text-decoration: none;
  max-width: 260px;
  box-shadow: 0 8px 28px rgba(245,166,35,0.45), 0 2px 8px rgba(0,0,0,0.2);
  transition: all 0.25s cubic-bezier(0.16,1,0.3,1);
}

.hero-ref-enroll-btn:hover {
  background: #FFC142;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 36px rgba(245,166,35,0.55);
  color: #060E2E;
}

.hero-ref-cta-sub {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.6);
  margin: 0;
}

/* ── RIGHT PANEL ── */
.hero-ref-right {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.hero-ref-student-img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  display: block;
}

/* ── GOLD TRUST STRIP ── */
.hero-ref-trust-strip {
  background: #F5A623;
  position: relative;
  z-index: 3;
}

.hero-ref-trust-inner {
  display: flex;
  align-items: center;
  justify-content: space-around;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0.75rem 2rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-ref-trust-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: #0B1D51;
  flex-shrink: 0;
}

.hero-ref-trust-item svg {
  flex-shrink: 0;
  color: #0B1D51;
}

.hero-ref-trust-item div {
  display: flex;
  flex-direction: column;
}

.hero-ref-trust-item strong {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  color: #0B1D51;
  line-height: 1.2;
}

.hero-ref-trust-item span {
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  color: rgba(11,29,81,0.75);
  line-height: 1.2;
}

.hero-ref-trust-sep {
  width: 1px;
  height: 36px;
  background: rgba(11,29,81,0.25);
  flex-shrink: 0;
}

/* ── CONTACT BAR ── */
.hero-ref-contact-bar {
  background: #0B1D51;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  padding: 0.6rem 2rem;
  flex-wrap: wrap;
  border-top: 2px solid rgba(245,166,35,0.2);
}

.hero-ref-contact-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  transition: color 0.2s;
}

.hero-ref-contact-item:hover {
  color: #F5A623;
}


.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(rgba(255, 255, 255, 0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 28px 28px, 56px 56px, 56px 56px;
  background-position: 0 0, -1px -1px, -1px -1px;
  opacity: 0.65;
  pointer-events: none;
  z-index: 1;
}

.hero-banner-container {
  position: relative;
  z-index: 2;
  max-width: 1320px;
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.hero-banner-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  align-items: center;
  min-height: 480px;
  gap: 2rem;
}

.hero-content-left {
  padding: 1.5rem 0 1rem 0;
  z-index: 5;
}

.hero-brand-heading {
  font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 2.85rem;
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 1.15rem;
}

.hero-heading-line {
  display: block;
}

.hero-brand-tagline {
  font-family: 'Inter', sans-serif;
  font-size: 1.02rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
  margin-bottom: 1.85rem;
  max-width: 520px;
}

.hero-action-buttons {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.btn-hero-solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: #053b8c;
  font-family: 'Inter', sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  padding: 0.85rem 1.85rem;
  border-radius: 8px;
  text-decoration: none;
  border: 2px solid #ffffff;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.btn-hero-solid:hover {
  background: #f0f6ff;
  color: #002e75;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.btn-hero-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: transparent;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 0.98rem;
  font-weight: 600;
  padding: 0.85rem 1.75rem;
  border-radius: 8px;
  border: 1.5px solid rgba(255, 255, 255, 0.82);
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.btn-hero-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #ffffff;
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-download-icon {
  transition: transform 0.25s ease;
}

.btn-hero-outline:hover .btn-download-icon {
  transform: translateY(2px);
}

/* 4 Features Bar */
.hero-features-bar {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  padding-top: 0.5rem;
}

.hero-feature-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease;
}

.hero-feature-col:hover {
  transform: translateY(-3px);
}

.feature-icon-svg {
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 28px;
  height: 28px;
}

.feature-meta {
  display: flex;
  flex-direction: column;
}

.feature-title {
  font-family: 'Inter', sans-serif;
  font-size: 0.84rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
  white-space: nowrap;
}

.feature-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 400;
  color: rgba(220, 235, 255, 0.9);
  line-height: 1.35;
  white-space: nowrap;
  margin-top: 2px;
}

.feature-divider {
  width: 1px;
  height: 44px;
  background: rgba(255, 255, 255, 0.22);
  align-self: center;
  flex-shrink: 0;
}

/* Right Visual (Students) */
.hero-visual-right {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  min-height: 440px;
}

.hero-students-frame {
  position: relative;
  width: 100%;
  max-width: 700px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: -8px 0 40px rgba(2, 20, 80, 0.25), 0 20px 50px rgba(10, 30, 80, 0.30);
}

.hero-students-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: 65% center;
  display: block;
  user-select: none;
  pointer-events: none;
  border-radius: 16px;
}

/* Floating Dock Widget */
.hero-floating-dock {
  position: relative;
  right: auto;
  top: auto;
  transform: none;
  z-index: 30;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 15, 50, 0.18), 0 2px 8px rgba(0, 0, 0, 0.05);
  padding: 0.5rem 0.45rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  margin-left: 0.5rem;
  justify-self: end;
}

.dock-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.5rem 0.55rem;
  border-radius: 10px;
  text-decoration: none;
  background: transparent;
  border: none;
  cursor: pointer;
  width: 70px;
  transition: all 0.2s ease;
}

.dock-btn:hover {
  background: #f1f5f9;
  transform: scale(1.05);
}

.dock-icon-bubble {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bubble-blue {
  background: #e0edff;
  color: #0E4A9C;
}

.bubble-green {
  background: #e7f9ee;
  color: #25D366;
}

.dock-text {
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.15;
  text-align: center;
}

.dock-sep {
  width: 75%;
  height: 1px;
  background: #e2e8f0;
  margin: 0.15rem 0;
}

/* ================= 2. ADVANCED SEARCH & PRODUCT CARDS ================= */
.hero-search-container {
  position: relative;
  z-index: 20;
  margin-top: 2rem;
}

.search-box-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  box-shadow: 0 16px 40px rgba(16, 63, 127, 0.12);
  border: 1px solid var(--border-light);
  margin-bottom: 2rem;
}

.search-main-row {
  display: grid;
  grid-template-columns: 2.2fr 1.3fr auto auto;
  align-items: center;
  gap: 1.25rem;
}

.search-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #103f7f;
  margin-bottom: 0.25rem;
}

.search-ticker-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.05rem;
  font-weight: 500;
  color: #222222;
  cursor: text;
  height: 32px;
  overflow: hidden;
}

.ticker-prefix {
  color: #555555;
}

.ticker-rotator {
  position: relative;
  height: 100%;
  flex: 1;
}

.ticker-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  font-weight: 600;
  color: #0E4A9C;
  opacity: 0;
  transform: translateY(100%);
  transition: all 0.4s ease;
}

.ticker-item.active {
  opacity: 1;
  transform: translateY(0);
}

.hidden-search-input {
  display: none;
  width: 100%;
  border: none;
  outline: none;
  font-size: 1.05rem;
  font-family: inherit;
  color: #222222;
  padding: 0.2rem 0;
}

.search-city-dropdown {
  border-left: 1px solid var(--border-light);
  padding-left: 1.25rem;
}

.city-selector {
  width: 100%;
  border: none;
  outline: none;
  font-size: 0.98rem;
  font-weight: 600;
  color: #103f7f;
  background: transparent;
  cursor: pointer;
}

.search-locate-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(14, 74, 156, 0.08);
  color: #0E4A9C;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.search-locate-btn:hover {
  background: rgba(14, 74, 156, 0.16);
  color: #003069;
}

.search-submit-btn {
  padding: 0.85rem 1.8rem;
}

/* Quick Explore Product Cards */
.quick-product-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.product-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: #004aad;
}

.product-card-img {
  width: 100%;
  height: 170px;
  overflow: hidden;
}

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

.product-card:hover .product-card-img img {
  transform: scale(1.08);
}

.product-card-body {
  padding: 1.4rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #004aad;
  margin-bottom: 0.4rem;
}

.product-card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #103f7f;
  margin-bottom: 0.4rem;
}

.product-card-desc {
  font-size: 0.9rem;
  color: #222222;
  line-height: 1.5;
  margin-bottom: 1.2rem;
  flex: 1;
}

.product-card-link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.92rem;
  color: #0E4A9C;
  transition: color var(--transition-fast);
}

.product-card:hover .product-card-link {
  color: #004aad;
}

/* ================= 3. STATS & VALUE BADGES ================= */
.stats-section {
  padding: 5.5rem 0 4rem 0;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%);
  position: relative;
  overflow: hidden;
}

.stats-bg-glow {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 350px;
  background: radial-gradient(circle, rgba(14, 74, 156, 0.06) 0%, rgba(0, 102, 255, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

.stats-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.1rem;
  background: rgba(14, 74, 156, 0.07);
  border: 1px solid rgba(14, 74, 156, 0.18);
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: #0E4A9C;
  margin-bottom: 1rem;
}

.badge-pulse-dot {
  width: 8px;
  height: 8px;
  background: #0E4A9C;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(14, 74, 156, 0.4);
  animation: badgePulse 2s infinite;
}

@keyframes badgePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(14, 74, 156, 0.5);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(14, 74, 156, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(14, 74, 156, 0);
  }
}

/* 2nd Image Blue Stat Banner Container */
.stats-banner-wrapper {
  background: linear-gradient(180deg, #063489 0%, #021e54 100%);
  border-radius: 12px;
  box-shadow: 0 12px 35px rgba(6, 52, 137, 0.25), 0 4px 15px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 2.25rem 1.25rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.stats-banner-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
}

.stats-banner-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.5rem 1rem;
  position: relative;
  transition: transform 0.3s ease;
}

.stats-banner-item:hover {
  transform: translateY(-3px);
}

.stats-banner-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 5%;
  height: 90%;
  width: 1px;
  background: rgba(255, 255, 255, 0.22);
}

.stats-banner-icon {
  margin-bottom: 0.85rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.stats-banner-item:hover .stats-banner-icon {
  transform: scale(1.12);
}

.stats-banner-number {
  font-family: var(--font-heading, 'Outfit', 'Inter', sans-serif);
  font-size: 2.4rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  letter-spacing: -0.01em;
}

.stats-banner-number .stat-count {
  font-variant-numeric: tabular-nums;
  color: #ffffff;
}

.stats-banner-number .stat-plus {
  color: #ffffff;
  font-weight: 800;
}

.stats-banner-label {
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.3;
  letter-spacing: 0.01em;
}

.stat-card-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0E4A9C, #0066FF);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -12px rgba(14, 74, 156, 0.18), 0 8px 16px -4px rgba(14, 74, 156, 0.08);
  border-color: rgba(14, 74, 156, 0.35);
  background: #ffffff;
}

.stat-card:hover .stat-card-accent {
  opacity: 1;
}

.stat-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(14, 74, 156, 0.1) 0%, rgba(0, 102, 255, 0.04) 100%);
  color: #0E4A9C;
  margin-bottom: 1.25rem;
  transition: all 0.3s ease;
}

.stat-card:hover .stat-icon-wrap {
  background: linear-gradient(135deg, #0E4A9C 0%, #0066FF 100%);
  color: #ffffff;
  transform: scale(1.08) rotate(-3deg);
  box-shadow: 0 8px 20px rgba(14, 74, 156, 0.25);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 900;
  color: #0A2540;
  line-height: 1.1;
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.stat-count {
  font-variant-numeric: tabular-nums;
}

.stat-plus {
  color: #0066FF;
  font-weight: 800;
}

.stat-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: #475569;
  line-height: 1.35;
  margin-bottom: 0.75rem;
}

.stat-micro-pill {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  color: #0E4A9C;
  background: rgba(14, 74, 156, 0.06);
  padding: 0.2rem 0.65rem;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.stat-card:hover .stat-micro-pill {
  background: rgba(14, 74, 156, 0.12);
  transform: translateY(-1px);
}

/* Value Badges Row */
.value-badges-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  position: relative;
  z-index: 1;
}

.value-badge {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-radius: 14px;
  padding: 1.1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 1px solid rgba(14, 74, 156, 0.12);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
}

.value-badge:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(14, 74, 156, 0.12);
  border-color: rgba(14, 74, 156, 0.3);
  background: #ffffff;
}

.badge-icon-box {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(14, 74, 156, 0.1) 0%, rgba(0, 102, 255, 0.05) 100%);
  color: #0E4A9C;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.value-badge:hover .badge-icon-box {
  background: #0E4A9C;
  color: #ffffff;
  transform: scale(1.05);
}

.value-badge-content strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: #0A2540;
  line-height: 1.2;
}

.value-badge-content span {
  font-size: 0.78rem;
  font-weight: 500;
  color: #64748B;
}

/* Responsiveness */
@media (max-width: 1199px) {
  .stats-counter-grid {
    gap: 1rem;
  }
  .stat-card {
    padding: 1.5rem 0.85rem;
  }
  .stat-number {
    font-size: 1.9rem;
  }
}

@media (max-width: 991px) {
  .stats-counter-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
  .value-badges-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

@media (max-width: 640px) {
  .stats-section {
    padding: 3.5rem 0 2.5rem 0;
  }
  .stats-headline {
    font-size: 1.65rem;
    margin-bottom: 2.25rem;
  }
  .stats-counter-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }
  .value-badges-row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .stat-card {
    padding: 1.25rem 0.75rem;
  }
  .stat-icon-wrap {
    width: 48px;
    height: 48px;
    margin-bottom: 0.85rem;
  }
  .stat-icon-wrap svg {
    width: 24px;
    height: 24px;
  }
  .stat-number {
    font-size: 1.65rem;
  }
  .stat-label {
    font-size: 0.8rem;
  }
}

/* ================= 4. SIGNATURE CAMPUS & RESIDENCES TIMELINE ================= */
.milestone-timeline-section {
  padding: 5.5rem 0 6.5rem;
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #f6f9fc 50%, #ffffff 100%);
  overflow: hidden;
}

.timeline-bg-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 30%, rgba(14, 74, 156, 0.035) 0%, transparent 50%),
              radial-gradient(circle at 80% 70%, rgba(0, 74, 173, 0.035) 0%, transparent 50%);
  pointer-events: none;
}

/* Interactive Quick Nav */
.milestone-quick-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  margin-bottom: 3.75rem;
  position: relative;
  z-index: 5;
}

.milestone-nav-pill {
  background: #ffffff;
  border: 1.5px solid rgba(14, 74, 156, 0.12);
  padding: 0.5rem 1.15rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.88rem;
  color: #103f7f;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(14, 74, 156, 0.04);
}

.nav-pill-num {
  background: rgba(14, 74, 156, 0.08);
  color: #0E4A9C;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-full);
  transition: all 0.3s ease;
}

.milestone-nav-pill:hover,
.milestone-nav-pill.active {
  background: #0E4A9C;
  color: #ffffff;
  border-color: #0E4A9C;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(14, 74, 156, 0.25);
}

.milestone-nav-pill:hover .nav-pill-num,
.milestone-nav-pill.active .nav-pill-num {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* Timeline Container & Central Precision Spine */
.timeline-container {
  max-width: 1140px;
  margin: 0 auto;
  position: relative;
  padding: 1rem 0;
}

.timeline-central-spine {
  position: absolute;
  top: 40px;
  bottom: 80px;
  left: 50%;
  width: 4px;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 1;
}

.spine-track-bg {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(226, 232, 240, 0.9);
  border-radius: 4px;
}

.spine-track-progress {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(180deg, #0E4A9C 0%, #004aad 60%, #06b6d4 100%);
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(0, 74, 173, 0.4);
  transition: height 0.05s linear;
}

.spine-glow-runner {
  position: absolute;
  width: 12px;
  height: 12px;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #00d2ff;
  box-shadow: 0 0 14px #00d2ff, 0 0 24px #004aad;
  opacity: 0;
  pointer-events: none;
}

/* Milestone Rows */
.milestone-row {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 5.5rem;
  margin-bottom: 7.5rem;
}

.milestone-row.reverse .milestone-mosaic-col {
  order: 2;
}

.milestone-row.reverse .milestone-text-col {
  order: 1;
}

.milestone-row:last-of-type {
  margin-bottom: 4.5rem;
}

/* Central Beacon Node on Spine */
.milestone-beacon {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}

.beacon-core {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid #cbd5e1;
  color: #64748b;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
}

.beacon-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(14, 74, 156, 0.15);
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.4s ease;
  z-index: 1;
}

.milestone-beacon.active .beacon-core {
  background: linear-gradient(135deg, #0E4A9C, #004aad);
  border-color: #ffffff;
  color: #ffffff;
  box-shadow: 0 0 0 4px rgba(14, 74, 156, 0.22), 0 8px 20px rgba(14, 74, 156, 0.35);
  transform: scale(1.15);
}

.milestone-beacon.active .beacon-pulse {
  opacity: 1;
  animation: beaconPulseAnim 2s infinite ease-out;
}

@keyframes beaconPulseAnim {
  0% {
    transform: scale(0.9);
    opacity: 0.8;
  }
  70% {
    transform: scale(1.8);
    opacity: 0;
  }
  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

/* Glassmorphic Milestone Cards */
.milestone-card-glass {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1.5px solid rgba(226, 232, 240, 0.85);
  border-radius: 22px;
  padding: 2.25rem;
  box-shadow: 0 10px 30px rgba(14, 74, 156, 0.05), 0 1px 3px rgba(0, 0, 0, 0.02);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.milestone-card-glass:hover {
  border-color: rgba(14, 74, 156, 0.25);
  box-shadow: 0 16px 40px rgba(14, 74, 156, 0.1);
  transform: translateY(-3px);
}

.milestone-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.15rem;
}

.milestone-cat-badge {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #004aad;
  background: rgba(0, 74, 173, 0.08);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(0, 74, 173, 0.15);
}

.milestone-counter {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, rgba(14, 74, 156, 0.45) 0%, rgba(0, 74, 173, 0.15) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.milestone-title {
  font-size: 2rem;
  font-weight: 800;
  color: #103f7f;
  line-height: 1.25;
  margin-bottom: 1rem;
}

.milestone-desc {
  font-size: 1.02rem;
  color: #334155;
  line-height: 1.7;
  margin-bottom: 1.65rem;
}

.milestone-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.milestone-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.94rem;
  color: #1e293b;
  font-weight: 500;
  line-height: 1.45;
  background: #f8fafc;
  border: 1px solid #edf2f7;
  padding: 0.65rem 0.95rem;
  border-radius: 12px;
  transition: all 0.25s ease;
}

.milestone-features li:hover {
  background: #ffffff;
  border-color: rgba(14, 74, 156, 0.2);
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(14, 74, 156, 0.06);
}

.bullet-check-circle {
  width: 20px;
  height: 20px;
  min-width: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0E4A9C, #004aad);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
  box-shadow: 0 2px 6px rgba(14, 74, 156, 0.25);
}

/* Mosaic Photography Grids */
.mosaic-grid-3 {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  grid-template-rows: 155px 155px;
  gap: 0.95rem;
}

.mosaic-main {
  grid-row: span 2;
  position: relative;
}

.mosaic-grid-2 {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 0.95rem;
  height: 320px;
}

.mosaic-item {
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 8px 24px rgba(14, 74, 156, 0.1);
  border: 2.5px solid #ffffff;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  background: #e2e8f0;
}

.mosaic-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.mosaic-item:hover {
  box-shadow: 0 14px 32px rgba(14, 74, 156, 0.18);
  transform: translateY(-4px);
}

.mosaic-item:hover img {
  transform: scale(1.06);
}

.mosaic-tag {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(0, 32, 70, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  z-index: 2;
}

.mosaic-tag.mini {
  font-size: 0.72rem;
  padding: 0.25rem 0.55rem;
  bottom: 8px;
  left: 8px;
}

.mosaic-tag .tag-icon {
  font-size: 0.9rem;
}

/* Interactive Bottom Action Banner */
.milestone-footer-cta {
  margin-top: 1rem;
}

.milestone-cta-card {
  background: linear-gradient(135deg, #003069 0%, #0E4A9C 50%, #004aad 100%);
  border-radius: 20px;
  padding: 2.25rem 2.5rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  box-shadow: 0 16px 36px rgba(14, 74, 156, 0.25);
  position: relative;
  overflow: hidden;
}

.milestone-cta-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.milestone-cta-card h4 {
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.milestone-cta-card p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  margin: 0;
}

.milestone-cta-card .cta-actions {
  display: flex;
  gap: 0.85rem;
  flex-shrink: 0;
}

.milestone-cta-card .btn-outline {
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
}

.milestone-cta-card .btn-outline:hover {
  background: #ffffff;
  color: #0E4A9C;
  border-color: #ffffff;
}

/* Responsive Milestone Layout */
@media (max-width: 991px) {
  .milestone-row,
  .milestone-row.reverse {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 5rem;
  }

  .milestone-row.reverse .milestone-mosaic-col {
    order: 1;
  }

  .milestone-row.reverse .milestone-text-col {
    order: 2;
  }

  .timeline-central-spine {
    left: 24px;
    transform: none;
  }

  .milestone-beacon {
    left: 24px;
    top: -20px;
    transform: translate(-50%, 0);
  }

  .timeline-container {
    padding-left: 2.5rem;
  }

  .milestone-cta-card {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
    padding: 2rem 1.5rem;
  }

  .milestone-cta-card .cta-actions {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }
}

@media (max-width: 640px) {
  .milestone-timeline-section {
    padding: 3.5rem 0 4.5rem;
  }

  .mosaic-grid-3 {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 150px 110px;
    gap: 0.65rem;
  }

  .mosaic-grid-2 {
    grid-template-columns: 1fr;
    height: auto;
    gap: 0.65rem;
  }

  .mosaic-grid-2 .mosaic-item {
    height: 190px;
  }

  .milestone-card-glass {
    padding: 1.5rem 1.25rem;
    border-radius: 16px;
  }

  .milestone-title {
    font-size: 1.5rem;
  }

  .milestone-counter {
    font-size: 2.2rem;
  }

  .milestone-quick-nav {
    gap: 0.4rem;
    margin-bottom: 2.5rem;
  }

  .milestone-nav-pill {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
  }
}

/* ================= 5. COURSES & WALL OF FAME ================= */
.courses-section {
  padding: 5rem 0;
  background: var(--bg-main);
}

.course-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.course-tab-btn {
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-full);
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  font-weight: 600;
  font-size: 0.92rem;
  color: #103f7f;
  transition: all var(--transition-fast);
}

.course-tab-btn.active, .course-tab-btn:hover {
  background: #0E4A9C;
  color: #ffffff;
  border-color: #0E4A9C;
  box-shadow: 0 4px 12px rgba(14, 74, 156, 0.25);
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.course-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-normal);
}

.course-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: #004aad;
}

.course-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
}

.jee-badge { background: rgba(14, 74, 156, 0.12); color: #0E4A9C; }
.neet-badge { background: rgba(220, 38, 38, 0.12); color: #dc2626; }
.foundation-badge { background: rgba(16, 185, 129, 0.12); color: #059669; }
.boards-badge { background: rgba(245, 158, 11, 0.12); color: #d97706; }

.course-icon-banner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.course-icon {
  font-size: 2rem;
}

.course-duration {
  font-size: 0.78rem;
  font-weight: 600;
  color: #222222;
}

.course-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: #103f7f;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.course-desc {
  font-size: 0.88rem;
  color: #222222;
  line-height: 1.5;
  margin-bottom: 1.25rem;
  flex: 1;
}

.course-highlights {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}

.course-highlights span {
  font-size: 0.82rem;
  color: #222222;
  font-weight: 500;
}

.course-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-light);
}

.fee-label {
  display: block;
  font-size: 0.72rem;
  color: #555555;
  text-transform: uppercase;
}

.fee-val {
  font-size: 0.95rem;
  color: #0E4A9C;
  font-weight: 800;
}

/* ================= THE VISION & SCROLL TEXT REVEAL (.tt-section) ================= */
:root {
  --tt-main-color: #bf4a1a;
  --tt-dark-color: #121212;
  --tt-light-color: #efedea;
  --tt-bg-color: #0a0a0a;
  --tt-text-color: #efedea;
  --tt-text-muted-color: #8f8f8f;
  --tt-border-color: rgb(133 133 133 / 50%);
  --tt-linear-text-bg-color: rgb(255 255 255 / 20%);
  --tt-body-font: 'Poppins', sans-serif;
  --tt-alter-font: "Big Shoulders Display", 'Outfit', sans-serif;
  --tt-page-trans-overlay-bg-color: #161616;
  --tt-ball-border-color: #666;
  --tt-ball-magnetic-color: var(--tt-main-color);
  --tt-ball-bg-color: color-mix(in oklab, var(--tt-main-color) 93%, transparent);
  --tt-ball-color: #FFF;
  --tt-link-color: #c93b00;
  --tt-link-hover-color: #f5533a;
  --tt-sub-menu-bg-color: #252525;
  --tt-sub-menu-link-color: #bbb9b2;
  --tt-sub-menu-link-hover-color: #FFF;
  --tt-force-to-light-color: #f3f3f3;
}

.tt-section {
  position: relative;
  background-color: var(--tt-bg-color, #0a0a0a);
  color: var(--tt-text-color, #efedea);
  padding: 100px 0;
  overflow: hidden;
  font-family: var(--tt-body-font, 'Poppins', sans-serif);
}

@media (min-width: 1025px) {
  .tt-section {
    padding: 130px 0;
  }
  .padding-bottom-xlg-140 {
    padding-bottom: 140px !important;
  }
}

.tt-wrap {
  width: 100%;
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.tt-section-inner {
  position: relative;
  width: 100%;
}

.tt-row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -15px;
  margin-right: -15px;
  align-items: flex-start;
}

.tt-col-lg-4,
.tt-col-lg-8 {
  position: relative;
  width: 100%;
  padding-left: 15px;
  padding-right: 15px;
}

@media (min-width: 1025px) {
  .tt-col-lg-4 {
    flex: 0 0 35%;
    max-width: 35%;
  }
  .tt-col-lg-8 {
    flex: 0 0 65%;
    max-width: 65%;
  }
  .padding-right-lg-5-p {
    padding-right: 5% !important;
  }
}

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

.tt-vision-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  color: #fbbf24;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.35rem 0.95rem;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.tt-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fbbf24;
  box-shadow: 0 0 10px #fbbf24;
  display: inline-block;
  animation: ttPulse 2s infinite ease-in-out;
}

@keyframes ttPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

.tt-heading {
  position: relative;
}

.tt-heading-title {
  font-family: var(--tt-alter-font, "Big Shoulders Display", 'Outfit', sans-serif);
  font-size: clamp(3.2rem, 7vw, 6.2rem);
  font-weight: 900;
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin: 0;
}

/* The Core Scroll-Fill Text Reveal Effect */
.tt-text-reveal {
  display: block;
  width: 100%;
  max-width: 100%;
  clear: both;
  margin-left: auto;
  margin-right: auto;
  text-align: inherit;
}

.site-heading,
.stats-header,
.join-gurukul-header,
.section-header-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.tt-text-reveal span {
  display: inline-block;
  max-width: 100%;
  background-image: linear-gradient(to right, #003069 50%, rgba(0, 48, 105, 0.22) 50%);
  background-size: 200% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  will-change: background-position;
  transition: none;
}

/* Explicit rule for all light background sections */
.app-showcase-section .tt-text-reveal span,
.results-section .tt-text-reveal span,
.stats-section .tt-text-reveal span,
.join-gurukul-section .tt-text-reveal span,
.milestone-timeline-section .tt-text-reveal span,
.portfolio-style-three-area .tt-text-reveal span,
.courses-section .tt-text-reveal span,
.faculty-section .tt-text-reveal span,
.youtube-classes-section .tt-text-reveal span,
.batches-section .tt-text-reveal span,
.testimonials-section .tt-text-reveal span,
.press-marquee-section .tt-text-reveal span {
  background-image: linear-gradient(to right, #003069 50%, rgba(0, 48, 105, 0.22) 50%);
}

/* When used in dark background sections (GSAT Scholarship & Lead CTA) */
.scholarship-section .tt-text-reveal span,
.lead-cta-banner .tt-text-reveal span,
.lead-cta-inner .tt-text-reveal span,
.tt-text-reveal.tt-light-mode span,
.tt-text-reveal-light span {
  background-image: linear-gradient(to right, #ffffff 50%, rgba(255, 255, 255, 0.28) 50%);
}

.tt-anim-fadeinup {
  position: relative;
}

.tt-anim-fadeinup p {
  font-family: var(--tt-body-font, 'Poppins', sans-serif);
  font-size: 1.15rem;
  line-height: 1.85;
  color: #c4c2be;
  margin-bottom: 1.75rem;
  font-weight: 300;
}

.tt-anim-fadeinup p.tt-lead-paragraph {
  font-size: 1.35rem;
  font-weight: 400;
  color: #f1efe9;
  line-height: 1.7;
}

.tt-anim-fadeinup p:last-child {
  margin-bottom: 0;
}

/* ================= WALL OF FAME: TOP RESULTS (PROVEN LEGACY) ================= */
.results-section {
  position: relative;
  padding: 6rem 0 5.5rem 0;
  background: linear-gradient(180deg, #f8fbff 0%, #eef4fc 45%, #f4f8fe 100%);
  overflow: hidden;
}

/* Ambient glow spheres */
.results-ambient-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  opacity: 0.45;
  z-index: 1;
}

.results-glow-left {
  top: 5%;
  left: -150px;
  background: radial-gradient(circle, rgba(14, 74, 156, 0.25) 0%, rgba(0, 201, 255, 0.08) 70%, transparent 100%);
}

.results-glow-right {
  bottom: 10%;
  right: -150px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.18) 0%, rgba(14, 74, 156, 0.08) 70%, transparent 100%);
}

.legacy-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(14, 74, 156, 0.08);
  color: #0E4A9C;
  border: 1px solid rgba(14, 74, 156, 0.2);
  padding: 0.35rem 1.1rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  box-shadow: 0 2px 10px rgba(14, 74, 156, 0.08);
}

.badge-trophy-icon {
  font-size: 1rem;
}

/* Legacy in Numbers: Stats Counter Bar */
.legacy-stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin: 2.75rem auto 2.5rem auto;
  max-width: 1120px;
}

.legacy-stat-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 1.25rem 1.35rem;
  border-radius: 16px;
  border: 1px solid rgba(14, 74, 156, 0.12);
  box-shadow: 0 8px 24px rgba(14, 74, 156, 0.06);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.3s ease;
}

.legacy-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(14, 74, 156, 0.12);
  border-color: rgba(14, 74, 156, 0.3);
}

.stat-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-icon-jee {
  background: linear-gradient(135deg, rgba(14, 74, 156, 0.12), rgba(0, 201, 255, 0.15));
  color: #0E4A9C;
}

.stat-icon-neet {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(5, 150, 105, 0.18));
  color: #059669;
}

.stat-icon-rank {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(217, 119, 6, 0.2));
  color: #d97706;
}

.stat-icon-success {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(139, 92, 246, 0.18));
  color: #6366f1;
}

.stat-number-wrap {
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1.1;
  color: #003069;
  letter-spacing: -0.02em;
}

.legacy-counter {
  display: inline-block;
}

.stat-symbol {
  color: #0E4A9C;
  font-size: 1.5rem;
  margin-left: 2px;
}

.stat-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: #475569;
  margin-top: 0.15rem;
}

/* Interactive Filter Navigation */
.results-filter-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin: 0 auto 2.5rem auto;
  padding: 0.4rem;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(14, 74, 156, 0.12);
  border-radius: 9999px;
  max-width: fit-content;
  box-shadow: 0 4px 18px rgba(14, 74, 156, 0.05);
}

.filter-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.6rem 1.25rem;
  border-radius: 9999px;
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: 0.9rem;
  font-weight: 700;
  color: #475569;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
  outline: none;
}

.filter-tab:hover {
  color: #0E4A9C;
  background: rgba(14, 74, 156, 0.05);
}

.filter-tab.active {
  background: linear-gradient(135deg, #0E4A9C 0%, #004aad 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(14, 74, 156, 0.32);
}

.tab-badge-icon {
  font-size: 0.95rem;
  line-height: 1;
}

.filter-count {
  font-size: 0.8rem;
  opacity: 0.85;
}

/* ================= TT STICKY HORIZONTAL SCROLL ================= */
.tt-sticky-horizontal-scroll {
  position: relative;
  width: 100%;
  overflow: visible;
  margin: 1.5rem 0 3rem 0;
}

.tt-shs-pin-wrap {
  position: relative;
  width: 100%;
  height: 100vh;
  max-height: 620px;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.tt-shs-animation-wrap {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 1.85rem;
  padding: 1rem 6vw 1.5rem 6vw;
  will-change: transform;
}

.tt-shs-item {
  flex: 0 0 320px;
  width: 320px;
  display: flex;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.tt-shs-item-inner {
  width: 100%;
  display: flex;
}

.tt-shs-item .topper-card {
  width: 100%;
  height: auto;
}

/* Keep Scrolling Floating Indicator */
.tt-shs-keep-scrolling {
  position: absolute;
  bottom: 16px;
  right: 40px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0.45rem 1rem;
  border-radius: 9999px;
  border: 1px solid rgba(14, 74, 156, 0.15);
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: 0.78rem;
  font-weight: 700;
  color: #0E4A9C;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 15px rgba(14, 74, 156, 0.08);
  pointer-events: none;
  z-index: 10;
  animation: ttShsFloat 2.5s infinite ease-in-out;
}

.tt-shs-keep-scrolling i {
  color: #004aad;
  font-size: 0.82rem;
}

@keyframes ttShsFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@media (max-width: 991px) {
  .tt-shs-pin-wrap {
    height: auto;
    max-height: none;
    overflow-x: auto;
    padding-bottom: 1.5rem;
    scrollbar-width: thin;
  }
  .tt-shs-animation-wrap {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
  .tt-shs-item {
    flex: 0 0 280px;
    width: 280px;
  }
  .tt-shs-keep-scrolling {
    display: none;
  }
}

/* Results Grid Fallback */
.results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.75rem;
  perspective: 1200px;
}

/* Topper Card */
.topper-card {
  position: relative;
  background: #ffffff;
  border-radius: 20px;
  padding: 1.75rem 1.25rem 1.4rem 1.25rem;
  text-align: center;
  border: 1px solid rgba(14, 74, 156, 0.1);
  box-shadow: 0 6px 20px rgba(0, 32, 74, 0.05);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  transform-style: preserve-3d;
  will-change: transform, opacity;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.topper-card:hover {
  border-color: rgba(14, 74, 156, 0.35);
  box-shadow: 0 16px 36px rgba(14, 74, 156, 0.14);
}

/* Rank Medal Badge */
.topper-rank-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: 0.82rem;
  font-weight: 800;
  padding: 0.28rem 0.75rem;
  border-radius: 9999px;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.gold-badge {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  color: #92400e;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.silver-badge {
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  color: #334155;
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.bronze-badge {
  background: linear-gradient(135deg, #ffedd5 0%, #fed7aa 100%);
  color: #9a3412;
  border: 1px solid rgba(234, 88, 12, 0.3);
}

.medal-icon {
  font-size: 0.85rem;
}

/* Avatar Wrap & Verified Badge */
.topper-avatar-wrap {
  position: relative;
  width: 96px;
  height: 96px;
  margin: 0.85rem auto 1.1rem auto;
}

.topper-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, #0E4A9C, #00c9ff, #f59e0b);
  box-shadow: 0 6px 18px rgba(14, 74, 156, 0.18);
  overflow: hidden;
}

.topper-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  background: #f1f5f9;
  transition: transform 0.4s ease;
}

.topper-card:hover .topper-avatar img {
  transform: scale(1.08);
}

.topper-verified-badge {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #10b981;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.4);
}

/* Card details */
.topper-name {
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: 1.15rem;
  font-weight: 800;
  color: #003069;
  margin-bottom: 0.35rem;
  line-height: 1.2;
}

.topper-exam-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #0E4A9C;
  background: rgba(14, 74, 156, 0.08);
  padding: 0.2rem 0.65rem;
  border-radius: 9999px;
  margin-bottom: 0.5rem;
}

.topper-score-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #fffbeb;
  border: 1px solid #fef3c7;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  margin-bottom: 0.45rem;
}

.score-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: #b45309;
  text-transform: uppercase;
}

.score-val {
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: 0.85rem;
  font-weight: 800;
  color: #92400e;
}

.topper-program {
  font-size: 0.78rem;
  color: #64748b;
  margin-bottom: 0.5rem;
}

.topper-college-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #0f172a;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 0.3rem 0.7rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  width: 100%;
  justify-content: center;
}

.topper-college-badge svg {
  color: #0E4A9C;
  flex-shrink: 0;
}

/* View Strategy Button */
.btn-topper-story {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  margin-top: auto;
  padding: 0.55rem 0.9rem;
  border-radius: 10px;
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: 0.85rem;
  font-weight: 700;
  color: #0E4A9C;
  background: rgba(14, 74, 156, 0.05);
  border: 1px solid rgba(14, 74, 156, 0.15);
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-topper-story svg {
  transition: transform 0.25s ease;
}

.btn-topper-story:hover {
  background: #0E4A9C;
  color: #ffffff;
  border-color: #0E4A9C;
  box-shadow: 0 4px 12px rgba(14, 74, 156, 0.25);
}

.btn-topper-story:hover svg {
  transform: translateX(3px);
}

/* Results Section Bottom CTA */
.results-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

/* Topper Spotlight Modal */
.topper-modal-dialog {
  max-width: 540px;
  padding: 2rem 2.25rem;
  text-align: center;
}

.topper-modal-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.25rem;
}

.topper-modal-badge {
  display: inline-block;
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  color: #92400e;
  border: 1px solid rgba(245, 158, 11, 0.35);
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-weight: 800;
  font-size: 0.95rem;
  padding: 0.3rem 0.9rem;
  border-radius: 9999px;
  margin-bottom: 0.75rem;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.2);
}

.topper-modal-avatar-box {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, #0E4A9C, #00c9ff, #f59e0b);
  margin-bottom: 0.75rem;
  box-shadow: 0 8px 20px rgba(14, 74, 156, 0.2);
  overflow: hidden;
}

.topper-modal-avatar-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.modal-score-highlight {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 0.85rem;
  margin-bottom: 1.25rem;
}

.highlight-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.highlight-label {
  font-size: 0.72rem;
  color: #64748b;
  text-transform: uppercase;
  font-weight: 600;
}

.highlight-val {
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: 0.92rem;
  font-weight: 800;
}

.topper-strategy-card {
  text-align: left;
  background: rgba(14, 74, 156, 0.03);
  border: 1px solid rgba(14, 74, 156, 0.1);
  border-radius: 12px;
  padding: 1rem 1.15rem;
  margin-bottom: 1.1rem;
}

.strategy-title {
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: 0.95rem;
  font-weight: 800;
  color: #003069;
  margin-bottom: 0.65rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.strategy-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.strategy-list li {
  font-size: 0.82rem;
  line-height: 1.45;
  color: #334155;
}

.strategy-list li strong {
  color: #0E4A9C;
}

.topper-quote-box {
  background: #fff;
  border-left: 3px solid #0E4A9C;
  padding: 0.75rem 1rem;
  margin-bottom: 1.25rem;
  text-align: left;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.quote-text {
  font-style: italic;
  font-size: 0.85rem;
  color: #475569;
  line-height: 1.45;
  margin: 0;
}

/* Responsive Breakpoints */
@media (max-width: 1200px) {
  .results-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 991px) {
  .legacy-stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  .results-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .results-section {
    padding: 4rem 0;
  }
  .legacy-stats-bar {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
  .results-grid {
    grid-template-columns: 1fr;
  }
  .modal-score-highlight {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .results-filter-nav {
    border-radius: 16px;
    width: 100%;
  }
  .filter-tab {
    padding: 0.5rem 0.9rem;
    font-size: 0.82rem;
  }
}

/* ================= 6. SMARTPHONE APP SHOWCASE ================= */

/* ================= 6. SMARTPHONE APP SHOWCASE ================= */
.app-showcase-section {
  padding: 5.5rem 0;
  background: linear-gradient(180deg, #f8fafc 0%, #edf2f9 100%);
  overflow: hidden;
}

.app-showcase-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 4.5rem;
}

.app-headline {
  font-size: 2.6rem;
  font-weight: 900;
  color: #103f7f;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.app-headline.tt-text-reveal span {
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1.2;
}

.app-subtext {
  font-size: 1.08rem;
  color: #222222;
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

.app-tabs-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.app-feature-tab {
  display: flex;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid var(--border-light);
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
}

.app-feature-tab.active {
  border-color: #004aad;
  box-shadow: 0 8px 24px rgba(0, 74, 173, 0.12);
  background: #ffffff;
}

.app-feature-tab:hover:not(.active) {
  border-color: rgba(0, 74, 173, 0.35);
  box-shadow: 0 4px 14px rgba(0, 74, 173, 0.08);
  background: #f5f9ff;
}

.tab-indicator {
  width: 4px;
  background: var(--border-light);
  border-radius: var(--radius-full);
  transition: background var(--transition-fast);
}

.app-feature-tab.active .tab-indicator,
.app-feature-tab:hover .tab-indicator {
  background: #004aad;
}

.tab-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #103f7f;
  margin-bottom: 0.35rem;
}

.tab-desc {
  font-size: 0.9rem;
  color: #222222;
  line-height: 1.5;
}

/* Smartphone Mockup Frame */
.phone-stage {
  position: relative;
  width: 320px;
  margin: 0 auto;
}

.phone-frame {
  width: 320px;
  height: 620px;
  background: #003069;
  border-radius: 44px;
  padding: 12px;
  box-shadow: 0 25px 60px rgba(0, 48, 105, 0.35), inset 0 0 0 3px #103f7f;
  position: relative;
}

.phone-notch {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 22px;
  background: #00224a;
  border-radius: 0 0 16px 16px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.notch-speaker { width: 40px; height: 4px; background: #334155; border-radius: 2px; }
.notch-camera { width: 8px; height: 8px; background: #004aad; border-radius: 50%; }

.phone-screen {
  width: 100%;
  height: 100%;
  background: #ffffff;
  border-radius: 34px;
  overflow: hidden;
  position: relative;
  padding-top: 2rem;
}

.phone-slide {
  position: absolute;
  inset: 0;
  padding: 2.2rem 1.1rem 1rem 1.1rem;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.96);
  transition: all 0.45s ease;
  display: flex;
  flex-direction: column;
}

.phone-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.phone-screen-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-light);
}

.phone-header-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #103f7f;
}

.phone-badge {
  font-size: 0.7rem;
  font-weight: 700;
  background: rgba(14, 74, 156, 0.1);
  color: #0E4A9C;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
}

.phone-badge.live-badge {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
}

.phone-screen-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.meal-item-card {
  background: #f8fafc;
  border-radius: var(--radius-sm);
  padding: 0.75rem;
  border: 1px solid var(--border-light);
}

.active-meal {
  border-color: #004aad;
  background: #eff6ff;
}

.meal-time { font-size: 0.7rem; font-weight: 700; color: #0E4A9C; }
.meal-name { font-size: 0.82rem; font-weight: 600; color: #222222; margin: 0.2rem 0; }
.meal-calories { font-size: 0.7rem; color: #555555; }
.meal-action { font-size: 0.72rem; font-weight: 700; color: #004aad; margin-top: 0.3rem; }

.doubt-query-card, .test-analytics-card, .ledger-card, .support-ticket-card {
  background: #f8fafc;
  border-radius: var(--radius-sm);
  padding: 0.85rem;
  border: 1px solid var(--border-light);
}

.doubt-tag { font-size: 0.7rem; font-weight: 700; color: #0E4A9C; }
.doubt-question { font-size: 0.8rem; color: #222222; margin: 0.3rem 0; font-style: italic; }
.doubt-solved { font-size: 0.72rem; color: #059669; font-weight: 600; display: flex; align-items: center; gap: 0.3rem; }

.ledger-balance-title { font-size: 0.72rem; color: #555555; }
.ledger-balance-amount { font-size: 1.3rem; font-weight: 900; color: #0E4A9C; }
.ledger-tag { font-size: 0.7rem; color: #059669; font-weight: 600; }

.receipt-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-light);
}

.receipt-item strong { display: block; font-size: 0.78rem; color: #103f7f; }
.receipt-item small { font-size: 0.68rem; color: #555555; }
.receipt-download { font-size: 0.72rem; font-weight: 700; color: #0E4A9C; }

.support-ticket-card .ticket-status {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.1rem 0.45rem;
  border-radius: var(--radius-full);
}

.ticket-status.resolved { background: #dcfce7; color: #15803d; }
.ticket-status.in-progress { background: #fef3c7; color: #b45309; }
.ticket-title { font-size: 0.82rem; font-weight: 700; color: #103f7f; margin-top: 0.25rem; }
.ticket-meta { font-size: 0.7rem; color: #555555; }

/* Floating Badges on Phone */
.floating-app-icon {
  position: absolute;
  background: #ffffff;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 35;
  border: 1px solid var(--border-light);
}

.icon-top-left { top: 50px; left: -50px; }
.icon-bottom-right { bottom: 60px; right: -50px; }
.icon-label { font-size: 0.8rem; font-weight: 700; color: #103f7f; }

/* Modal Video / Reel Player Enhanced Styles */
.modal-video-dialog {
  max-width: 820px !important;
  background: #06152e !important;
  border: 1.5px solid rgba(0, 229, 255, 0.3) !important;
  border-radius: 24px !important;
  padding: 0 !important;
  overflow: hidden;
  box-shadow: 0 35px 70px rgba(0, 0, 0, 0.8), 0 0 50px rgba(0, 74, 173, 0.4) !important;
}

.modal-video-dialog .modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 30;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(4, 12, 29, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
  transition: all 0.25s ease;
}

.modal-video-dialog .modal-close:hover {
  background: #ef4444;
  border-color: #ef4444;
  color: #ffffff;
  transform: rotate(90deg) scale(1.1);
}

.modal-video-wrap {
  position: relative;
  width: 100%;
  background: #000000;
  border-radius: 24px 24px 0 0;
  overflow: hidden;
}

.simulated-video-player {
  position: relative;
  width: 100%;
  height: 440px;
  background: #020712;
  cursor: pointer;
  overflow: hidden;
}

.simulated-video-player img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: transform 0.8s ease;
}

.simulated-video-player:hover img {
  transform: scale(1.03);
}

.video-overlay-elements {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.1) 40%, rgba(0,0,0,0.7) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.25rem;
  z-index: 2;
}

.video-top-hud {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.live-red-dot {
  width: 7px;
  height: 7px;
  background: #ef4444;
  border-radius: 50%;
  box-shadow: 0 0 8px #ef4444;
  animation: badgeDotBlink 1.2s infinite ease-in-out;
}

.sound-toggle-btn {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  color: #00e5ff;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid rgba(0, 229, 255, 0.3);
}

.video-prof-tag {
  align-self: flex-start;
  background: rgba(0, 74, 173, 0.85);
  color: #ffffff;
  padding: 0.35rem 0.8rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 229, 255, 0.4);
}

.video-play-state {
  align-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.play-pulse-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(0, 229, 255, 0.9);
  color: #040c1d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 0 35px rgba(0, 229, 255, 0.7);
  transition: transform 0.3s ease;
}

.video-play-state:hover .play-pulse-circle {
  transform: scale(1.15);
}

.play-label-text {
  background: rgba(0, 0, 0, 0.7);
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 600;
  backdrop-filter: blur(6px);
}

.modal-video-scrubber {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  overflow: hidden;
  margin-top: auto;
}

.scrubber-bar {
  width: 35%;
  height: 100%;
  background: #00e5ff;
  box-shadow: 0 0 8px #00e5ff;
}

.modal-video-footer {
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #06152e;
  gap: 1.5rem;
}

.modal-video-info h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 0.25rem;
}

.modal-video-info p {
  font-size: 0.82rem;
  color: #94a3b8;
  margin: 0 0 0.5rem;
}

.reel-modal-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tag-item {
  font-size: 0.72rem;
  color: #00e5ff;
  background: rgba(0, 229, 255, 0.1);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-weight: 600;
}

.modal-video-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.modal-like-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
}

.modal-like-btn:hover {
  background: rgba(255, 0, 122, 0.2);
  border-color: #ff007a;
  color: #ffffff;
}

/* Floating heart animation */
.modal-heart-burst {
  position: absolute;
  font-size: 2.2rem;
  pointer-events: none;
  animation: heartFlyUp 1.2s forwards ease-out;
  z-index: 10;
}

@keyframes heartFlyUp {
  0% { transform: translate(-50%, -50%) scale(0.6); opacity: 1; }
  50% { transform: translate(calc(-50% + 20px), calc(-50% - 70px)) scale(1.4); opacity: 0.9; }
  100% { transform: translate(calc(-50% - 15px), calc(-50% - 150px)) scale(1.1); opacity: 0; }
}

@media (max-width: 991px) {
  .coverflow-stage { height: 490px; }
  .coverflow-card { width: 265px; height: 440px; }
}

@media (max-width: 768px) {
  .campus-memories-section { padding: 4.5rem 0 4rem; }
  .coverflow-stage { height: 460px; }
  .coverflow-card { width: 245px; height: 410px; }
  .modal-video-footer { flex-direction: column; align-items: flex-start; }
  .modal-video-actions { width: 100%; justify-content: space-between; }
  .simulated-video-player { height: 320px; }
}

/* ================= 8. FACULTY SHOWCASE ================= */
.faculty-section {
  padding: 5rem 0;
  background: var(--bg-main);
}

.faculty-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.faculty-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.faculty-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: #004aad;
}

.faculty-photo-wrap {
  position: relative;
  width: 100%;
  height: 230px;
}

.faculty-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.faculty-exp-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0, 48, 105, 0.9);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  backdrop-filter: blur(4px);
}

.faculty-info {
  padding: 1.4rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.faculty-name {
  font-size: 1.2rem;
  font-weight: 800;
  color: #103f7f;
  margin-bottom: 0.2rem;
}

.faculty-subj {
  font-size: 0.84rem;
  color: #0E4A9C;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.faculty-bio {
  font-size: 0.88rem;
  color: #222222;
  line-height: 1.5;
  margin-bottom: 1.25rem;
  flex: 1;
}

/* YouTube Masterclass Cards (Aligned with Faculty Card Grid) */
.yt-lecture-card {
  position: relative;
}

.yt-duration-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(0, 0, 0, 0.82);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.22rem 0.6rem;
  border-radius: 6px;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 2;
}

.yt-stream-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #dc2626;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(220, 38, 38, 0.35);
}

.faculty-photo-wrap .yt-play-mini-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 24, 60, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.yt-lecture-card:hover .yt-play-mini-overlay {
  opacity: 1;
}

.yt-play-btn-circle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #dc2626;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 0 18px rgba(220, 38, 38, 0.6);
  transform: scale(0.9);
  transition: transform 0.2s ease;
}

.yt-lecture-card:hover .yt-play-btn-circle {
  transform: scale(1.06);
}

.faculty-card-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
  align-items: center;
  margin-top: auto;
}

.faculty-card-actions .faculty-demo-btn {
  width: 100%;
}

.btn-yt-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #fef2f2;
  color: #dc2626 !important;
  border: 1px solid #fecaca;
  transition: all 0.2s ease;
  text-decoration: none;
  flex-shrink: 0;
}

.btn-yt-icon-link:hover {
  background: #dc2626;
  color: #ffffff !important;
  border-color: #dc2626;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(220, 38, 38, 0.3);
}

.btn-yt-icon-link svg {
  fill: currentColor;
}

/* ================= 9. UPCOMING BATCHES TABLE ================= */
.batches-section {
  padding: 5rem 0;
  background: #ffffff;
}

.batches-card-wrapper {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.batches-filter-header {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.5rem;
  padding: 1.25rem 1.5rem;
  background: #f8fafc;
  border-bottom: 1px solid var(--border-light);
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.filter-group label {
  font-size: 0.85rem;
  font-weight: 700;
  color: #103f7f;
}

.filter-dropdown {
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-medium);
  font-size: 0.88rem;
  color: #103f7f;
  outline: none;
  background: #ffffff;
}

.table-responsive {
  overflow-x: auto;
}

.batches-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.batches-table th {
  background: #f1f5f9;
  padding: 1rem 1.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #103f7f;
  border-bottom: 1px solid var(--border-light);
}

.batches-table td {
  padding: 1.2rem 1.5rem;
  font-size: 0.92rem;
  color: #222222;
  border-bottom: 1px solid var(--border-light);
}

.stream-pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  margin-left: 0.4rem;
}

.stream-pill.jee { background: #eff6ff; color: #0E4A9C; }
.stream-pill.neet { background: #fef2f2; color: #dc2626; }
.stream-pill.foundation { background: #f0fdf4; color: #16a34a; }

.seat-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
}

.seat-badge.filling-fast { background: #fffbeb; color: #b45309; }
.seat-badge.available { background: #f0fdf4; color: #15803d; }

/* ================= 10. GSAT SCHOLARSHIP CALCULATOR ================= */
.scholarship-section {
  padding: 5.5rem 0;
  background: linear-gradient(135deg, #003069 0%, #0E4A9C 100%);
  color: #ffffff;
}

.scholarship-card-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 4rem;
}

.scholarship-title {
  font-size: 2.5rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.scholarship-desc {
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.scholarship-perks {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.perk-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.perk-icon {
  font-size: 1.8rem;
}

.perk-item strong {
  display: block;
  font-size: 1.05rem;
  color: #ffffff;
}

.perk-item span {
  font-size: 0.88rem;
  color: #cbd5e1;
}

/* Calculator Widget */
.calculator-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  color: #222222;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.calc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-light);
}

.calc-header h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #103f7f;
}

.calc-tag {
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(14, 74, 156, 0.1);
  color: #0E4A9C;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
}

.calc-form-group {
  margin-bottom: 1.25rem;
}

.calc-form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: #103f7f;
  margin-bottom: 0.4rem;
}

.calc-input {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-medium);
  font-size: 0.95rem;
  font-weight: 500;
  color: #222222;
  outline: none;
}

.calc-range-slider {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: #e2e8f0;
  outline: none;
  cursor: pointer;
  accent-color: #004aad;
}

.range-display {
  font-size: 1.1rem;
  font-weight: 800;
  color: #004aad;
}

.calc-result-box {
  background: #f0f7ff;
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-align: center;
  border: 1.5px dashed #004aad;
  margin-top: 1.5rem;
}

.result-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #555555;
  letter-spacing: 0.04em;
}

.result-percentage {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 900;
  color: #0E4A9C;
  margin: 0.2rem 0;
}

.result-savings {
  font-size: 0.92rem;
  font-weight: 700;
  color: #059669;
}

/* ================= 11. TESTIMONIALS & MARQUEE ================= */
.testimonials-section {
  padding: 5rem 0;
  background: #ffffff;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.testimonial-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-stars {
  color: #f59e0b;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.testimonial-quote {
  font-size: 0.95rem;
  color: #222222;
  line-height: 1.65;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #004aad;
}

.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-name {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: #103f7f;
}

.author-meta {
  font-size: 0.78rem;
  color: #555555;
}

/* Press Marquee */
.press-marquee-section {
  padding: 4rem 0 4.5rem 0;
  background: var(--bg-main);
  overflow: hidden;
}

.press-heading {
  font-size: 1.8rem;
  font-weight: 800;
  color: #103f7f;
}

.press-heading.tt-text-reveal span {
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1.25;
}

.press-sub {
  font-size: 1rem;
  color: #222222;
}

.marquee-track-container {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 3rem;
  animation: marqueeScroll 25s linear infinite;
}

.press-item span {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 900;
  color: #94a3b8;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

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

/* ================= 12. LEAD CTA FOOTER BANNER ================= */
.lead-cta-banner {
  padding: 4.5rem 0;
  background: #ffffff;
}

.lead-cta-inner {
  background: linear-gradient(135deg, #003069 0%, #0E4A9C 100%);
  border-radius: var(--radius-lg);
  padding: 3.5rem 3rem;
  color: #ffffff;
  text-align: center;
  box-shadow: 0 15px 40px rgba(0, 48, 105, 0.25);
}

.lead-cta-text h2 {
  font-size: 2.4rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.lead-cta-text p {
  font-size: 1.08rem;
  color: #e2e8f0;
  max-width: 650px;
  margin: 0 auto 2rem auto;
}

.lead-inputs-row {
  display: grid;
  grid-template-columns: 1.3fr 1.3fr 1.3fr auto;
  gap: 1rem;
  max-width: 880px;
  margin: 0 auto 1rem auto;
}

.lead-input {
  padding: 0.85rem 1.2rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 0.95rem;
  outline: none;
  background: #ffffff;
  color: #222222;
}

.btn-submit-lead {
  padding: 0.85rem 1.8rem;
}

.lead-trust-text {
  font-size: 0.78rem;
  color: #cbd5e1;
}

/* ================= 13. MODALS & TOAST ================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 24, 60, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  padding: 1.5rem;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  background: #ffffff;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 520px;
  padding: 2.2rem 2rem;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
  transform: translateY(20px) scale(0.96);
  transition: all var(--transition-normal);
}

.modal-overlay.active .modal-dialog {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: transparent;
  border: none;
  font-size: 1.6rem;
  color: #555555;
  cursor: pointer;
  line-height: 1;
}

.modal-header {
  margin-bottom: 1.5rem;
}

.modal-badge {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  background: rgba(14, 74, 156, 0.1);
  color: #0E4A9C;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.4rem;
}

.modal-badge.gold {
  background: #fef3c7;
  color: #b45309;
}

.modal-title {
  font-size: 1.55rem;
  font-weight: 800;
  color: #103f7f;
  line-height: 1.25;
}

.modal-sub {
  font-size: 0.88rem;
  color: #222222;
  margin-top: 0.25rem;
}

.form-group {
  margin-bottom: 1.1rem;
}

.form-group label {
  display: block;
  font-size: 0.84rem;
  font-weight: 700;
  color: #103f7f;
  margin-bottom: 0.35rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-medium);
  font-size: 0.95rem;
  color: #222222;
  outline: none;
  background: #ffffff;
}

.form-control:focus {
  border-color: #004aad;
  box-shadow: 0 0 0 3px rgba(0, 74, 173, 0.15);
}

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

.checkbox-group {
  margin: 1rem 0;
}

.custom-checkbox {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: #222222;
  cursor: pointer;
}

.form-privacy-note {
  font-size: 0.74rem;
  color: #555555;
  text-align: center;
  margin-top: 0.85rem;
}

/* Video Modal */
.modal-video-dialog {
  max-width: 820px;
  padding: 1.5rem;
}

.modal-video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #000;
}

.simulated-video-player {
  width: 100%;
  height: 100%;
  position: relative;
  cursor: pointer;
}

.simulated-video-player img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
}

.video-overlay-elements {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem;
  z-index: 2;
  background: rgba(0, 0, 0, 0.3);
}

.video-prof-tag {
  background: rgba(0, 48, 105, 0.85);
  color: #fff;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  align-self: flex-start;
  backdrop-filter: blur(6px);
}

.video-play-state {
  align-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: #fff;
  font-weight: 700;
}

.play-pulse-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #004aad;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 0 0 10px rgba(0, 74, 173, 0.35);
  animation: playPulse 2s infinite;
}

@keyframes playPulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 74, 173, 0.6); }
  70% { box-shadow: 0 0 0 16px rgba(0, 74, 173, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 74, 173, 0); }
}

.modal-video-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.25rem;
}

.modal-video-footer h4 {
  font-size: 1.15rem;
  color: #103f7f;
}

.modal-video-footer p {
  font-size: 0.85rem;
  color: #222222;
}

/* Toast Notification */
.toast-notification {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #003069;
  color: #ffffff;
  padding: 1rem 1.6rem;
  border-radius: var(--radius-full);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.toast-notification.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  visibility: visible;
}

.toast-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #004aad;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
}

.toast-content strong {
  display: block;
  font-size: 0.92rem;
  color: #ffffff;
}

.toast-content span {
  font-size: 0.8rem;
  color: #e2e8f0;
}

/* ==========================================================================
   LENIS MOMENTUM SMOOTH SCROLLING CORE STYLES
   ========================================================================== */
html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

/* ==========================================================================
   PORTFOLIO STYLE THREE - PINNED STACKING CARDS SHOWCASE (GURUKUL)
   ========================================================================== */
:root {
  --font-barlow: 'Barlow', 'Outfit', sans-serif;
  --bg-gray: #f4f6f9;
  --bg-gray-secondary: #e9eef5;
  --color-heading: #04000b;
  --color-paragraph: #555555;
  --color-primary-accent: #C9F31D;
  --portfolio-card-bg: #ffffff;
  --portfolio-card-border: rgba(14, 74, 156, 0.09);
  --portfolio-card-shadow: 0 25px 60px -15px rgba(0, 30, 80, 0.12), 0 0 0 1px rgba(0, 48, 105, 0.05);
}

.portfolio-style-three-area {
  position: relative;
  background-color: var(--bg-gray);
  overflow: visible; /* Required for GSAP ScrollTrigger pinning */
  width: 100%;
}

.default-padding {
  padding-top: 110px;
  padding-bottom: 120px;
  position: relative;
}

@media (min-width: 1024px) {
  .portfolio-style-three-area {
    padding-bottom: 240px;
  }
}

.bg-gray {
  background-color: var(--bg-gray);
}

/* Section Heading */
.site-heading {
  margin-bottom: 55px;
  text-align: center;
}

.site-heading .sub-title {
  font-family: var(--font-barlow);
  font-size: 0.92rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #0E4A9C;
  background: rgba(14, 74, 156, 0.08);
  padding: 6px 18px;
  border-radius: 50px;
  display: inline-block;
  margin-bottom: 16px;
}

.site-heading .title {
  font-family: var(--font-barlow);
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 800;
  color: var(--color-heading);
  line-height: 1.2;
  margin: 0;
}

.site-heading .title .line {
  display: block;
  text-align: center;
  position: relative;
}

.site-heading .title .line div {
  position: relative;
  display: inline-block;
}

.site-heading .title strong {
  color: #0E4A9C;
  position: relative;
}

/* Portfolio Items Container */
.portfolio-style-three-items {
  position: relative;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

/* Portfolio Single Card Item */
.portfolio-style-three-item {
  position: relative;
  background: #ffffff;              /* Solid white — never transparent, no black bleed */
  background-color: #ffffff;
  border-radius: 28px;
  padding: 55px 65px;
  margin-bottom: 150px;             /* Scroll distance before next card stacks over this one */
  box-shadow: var(--portfolio-card-shadow);
  border: 1px solid var(--portfolio-card-border);
  transition: box-shadow 0.3s ease;
  will-change: transform;           /* Only transform — no opacity compositing layer */
  box-sizing: border-box;
  opacity: 1 !important;            /* Force full opacity, override any residual GSAP state */
  isolation: isolate;               /* Create new stacking context — prevents dark bleed-through */
}

.portfolio-style-three-item:nth-child(1) { z-index: 2; }
.portfolio-style-three-item:nth-child(2) { z-index: 3; }
.portfolio-style-three-item:nth-child(3) { z-index: 4; }

.portfolio-style-three-item:last-child {
  margin-bottom: 0;
}

/* Layout Row & Columns inside Card */
.portfolio-style-three-item .row.align-center {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 3rem;
  margin: 0;
}

.portfolio-style-three-item .col-lg-7 {
  flex: 1 1 52%;
  max-width: 55%;
  box-sizing: border-box;
}

.portfolio-style-three-item .col-lg-5 {
  flex: 1 1 40%;
  max-width: 45%;
  box-sizing: border-box;
}

/* Image Thumbnail Wrap */
.portfolio-thumb {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.1);
  aspect-ratio: 16 / 10;
  background: #1e293b;
}

.portfolio-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-style-three-item:hover .portfolio-thumb img {
  transform: scale(1.04);
}

.portfolio-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  background: rgba(0, 30, 80, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  letter-spacing: 0.5px;
  z-index: 2;
}

.portfolio-badge i {
  color: #f59e0b;
}

/* Content Column Details */
.portfolio-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.portfolio-info .date {
  font-family: var(--font-barlow);
  font-size: 0.88rem;
  font-weight: 700;
  color: #0E4A9C;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.portfolio-info h2 {
  font-family: var(--font-barlow);
  font-size: clamp(1.8rem, 2.5vw, 2.5rem);
  font-weight: 700;
  color: #04000b;
  line-height: 1.25;
  margin-bottom: 16px;
}

.portfolio-info h2 a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.portfolio-info h2 a:hover {
  color: #0E4A9C;
}

.portfolio-info h2 strong {
  color: #0E4A9C;
  font-weight: 800;
}

.portfolio-desc {
  font-size: 1.02rem;
  color: #555555;
  line-height: 1.7;
  margin-bottom: 20px;
}

.portfolio-features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 25px;
}

.portfolio-features span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.86rem;
  font-weight: 600;
  color: #003069;
  background: rgba(14, 74, 156, 0.07);
  padding: 6px 14px;
  border-radius: 20px;
}

.portfolio-features span i {
  color: #10b981;
}

/* Button Animation */
.btn-animation {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 32px;
  background: #003069;
  color: #ffffff !important;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 48, 105, 0.25);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-animation i {
  font-size: 0.9rem;
  transition: transform 0.3s ease;
}

.btn-animation:hover {
  background: #0E4A9C;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(14, 74, 156, 0.35);
}

.btn-animation:hover i {
  transform: translateX(6px);
}

.mt-10 {
  margin-top: 10px;
}

/* Responsive Styles */
@media (max-width: 991px) {
  .portfolio-style-three-item {
    padding: 38px 28px;
    margin-bottom: 40px;
  }
  .portfolio-style-three-item .col-lg-7,
  .portfolio-style-three-item .col-lg-5 {
    flex: 1 1 100%;
    max-width: 100%;
  }
  .portfolio-style-three-item .row.align-center {
    gap: 2rem;
  }
  .portfolio-thumb {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 640px) {
  .default-padding {
    padding-top: 70px;
    padding-bottom: 70px;
  }
  .portfolio-style-three-item {
    padding: 24px 18px;
    border-radius: 20px;
    margin-bottom: 24px;
  }
  .site-heading {
    margin-bottom: 35px;
  }
  .portfolio-info h2 {
    font-size: 1.45rem;
  }
  .portfolio-features {
    gap: 8px;
  }
  .portfolio-features span {
    font-size: 0.8rem;
    padding: 5px 10px;
  }
  .btn-animation {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   FREE YOUTUBE CLASSES & CHANNEL SHOWCASE SECTION STYLES
   Official Channel: https://www.youtube.com/@Gurukul-ngp
   ========================================================================== */

.youtube-classes-section {
  position: relative;
  padding: 4.8rem 0 5.2rem;
  background: linear-gradient(180deg, #f8fafc 0%, #edf4fc 45%, #f1f6fc 100%);
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  overflow: hidden;
}

.youtube-classes-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 400px;
  background: radial-gradient(ellipse at top, rgba(239, 68, 68, 0.08) 0%, rgba(14, 74, 156, 0.04) 50%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}

.youtube-classes-section .container {
  position: relative;
  z-index: 1;
}

/* Live Pill Badge */
.yt-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #dc2626;
  padding: 0.4rem 1.1rem;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.12);
}

.yt-live-dot {
  width: 8px;
  height: 8px;
  background: #dc2626;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.7);
  animation: ytDotPulse 1.8s infinite;
}

@keyframes ytDotPulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.7);
  }
  70% {
    transform: scale(1.15);
    box-shadow: 0 0 0 8px rgba(220, 38, 38, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(220, 38, 38, 0);
  }
}

.text-yt-red {
  color: #dc2626;
  background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Official Channel Spotlight Banner Card */
.yt-channel-spotlight-card {
  margin: 2.2rem 0 0;
  background: linear-gradient(135deg, #00224a 0%, #003069 45%, #0e4a9c 100%);
  border-radius: 24px;
  padding: 2.2rem 2.8rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  box-shadow: 0 20px 45px -10px rgba(0, 34, 74, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.15) inset;
  position: relative;
  overflow: hidden;
}

.yt-channel-spotlight-card::after {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(239, 68, 68, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.yt-channel-info-left {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  flex: 1;
}

.yt-avatar-wrapper {
  position: relative;
  flex-shrink: 0;
}

.yt-avatar-icon {
  width: 74px;
  height: 74px;
  background: linear-gradient(135deg, #ff0033 0%, #cc0000 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(255, 0, 51, 0.45);
  border: 3px solid rgba(255, 255, 255, 0.35);
  transition: transform 0.3s ease;
}

.yt-channel-spotlight-card:hover .yt-avatar-icon {
  transform: scale(1.06) rotate(-3deg);
}

.yt-verified-check {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 24px;
  height: 24px;
  background: #22c55e;
  color: #ffffff;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #00224a;
}

.yt-channel-text {
  flex: 1;
}

.yt-title-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-bottom: 0.35rem;
}

.yt-channel-name {
  font-family: 'Outfit', sans-serif;
  font-size: 1.55rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.015em;
  margin: 0;
}

.yt-handle-badge {
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fef08a;
  padding: 0.25rem 0.8rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.01em;
}

.btn-yt-inline-sub {
  background: linear-gradient(135deg, #ff0033 0%, #cc0000 100%);
  color: #ffffff !important;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.95rem;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  box-shadow: 0 4px 14px rgba(255, 0, 51, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.25s ease;
}

.btn-yt-inline-sub:hover {
  background: #b91c1c;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 18px rgba(255, 0, 51, 0.65);
}

.yt-channel-desc {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
  margin: 0 0 1rem 0;
  max-width: 680px;
}

.yt-stats-row {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.yt-stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 0.35rem 0.85rem;
  border-radius: 8px;
  font-size: 0.85rem;
}

.yt-stat-pill strong {
  color: #ffffff;
  font-weight: 700;
}

.yt-stat-pill small {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.78rem;
}

/* Subscribe Button - Red Theme */
.yt-channel-cta-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.6rem;
  flex-shrink: 0;
}

.btn-yt-subscribe {
  background: linear-gradient(135deg, #ff0033 0%, #cc0000 100%);
  color: #ffffff !important;
  text-decoration: none;
  padding: 0.95rem 1.8rem;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  box-shadow: 0 10px 25px rgba(255, 0, 51, 0.42);
  border: 2px solid rgba(255, 255, 255, 0.25);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.btn-yt-subscribe::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transition: left 0.7s ease;
}

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

.btn-yt-subscribe:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 32px rgba(255, 0, 51, 0.55);
  border-color: rgba(255, 255, 255, 0.5);
  color: #ffffff !important;
}

.btn-yt-content {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.btn-yt-labels {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.btn-yt-main {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.2;
}

.btn-yt-sub {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.btn-yt-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.btn-yt-subscribe:hover .btn-yt-arrow {
  transform: translateX(3px);
  background: rgba(255, 255, 255, 0.35);
}

.yt-guarantee-note {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

/* Category Filter Tabs */
.yt-filter-bar {
  display: flex;
  justify-content: center;
  margin-bottom: 2.2rem;
}

.yt-filter-tabs {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: #ffffff;
  padding: 0.4rem 0.5rem;
  border-radius: 9999px;
  box-shadow: 0 4px 18px rgba(0, 48, 105, 0.07);
  border: 1px solid #e2e8f0;
  overflow-x: auto;
  max-width: 100%;
}

.yt-tab {
  background: transparent;
  border: none;
  padding: 0.55rem 1.25rem;
  border-radius: 9999px;
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.yt-tab:hover {
  color: #0e4a9c;
  background: #f1f5f9;
}

.yt-tab.active {
  background: #0e4a9c;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(14, 74, 156, 0.3);
}

/* Video Class Grid */
.yt-classes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}

.yt-video-card {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 24px -6px rgba(0, 0, 0, 0.06);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.yt-video-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px -8px rgba(14, 74, 156, 0.16);
  border-color: #cbd5e1;
}

/* Thumbnail Box */
.yt-thumbnail-box {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0f172a;
}

.yt-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.yt-video-card:hover .yt-thumb-img {
  transform: scale(1.08);
}

.yt-thumb-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, transparent 40%, rgba(0, 0, 0, 0.7) 100%);
  pointer-events: none;
}

.yt-badge-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 0.3rem 0.75rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #ffffff;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.yt-badge-tag.jee {
  background: #0e4a9c;
}

.yt-badge-tag.neet {
  background: #059669;
}

.yt-badge-tag.strategy {
  background: #d97706;
}

.yt-duration-pill {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.85);
  color: #ffffff;
  padding: 0.2rem 0.55rem;
  border-radius: 5px;
  font-size: 0.72rem;
  font-weight: 700;
  z-index: 2;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.yt-hd-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: #dc2626;
  color: #ffffff;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  z-index: 2;
}

/* Play overlay on card */
.yt-play-overlay-btn {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: rgba(0, 24, 60, 0.45);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 3;
  text-decoration: none;
}

.yt-video-card:hover .yt-play-overlay-btn {
  opacity: 1;
}

.yt-play-circle {
  width: 54px;
  height: 54px;
  background: #dc2626;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 24px rgba(220, 38, 38, 0.8);
  transform: scale(0.9);
  transition: transform 0.25s ease;
}

.yt-play-overlay-btn:hover .yt-play-circle {
  transform: scale(1.08);
  background: #ef4444;
}

.yt-play-text {
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

/* Card Body */
.yt-card-body {
  padding: 1.35rem 1.4rem 1.4rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.yt-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}

.yt-subject-pill {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.65rem;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.yt-subject-pill.physics {
  background: #eff6ff;
  color: #1d4ed8;
}

.yt-subject-pill.biology {
  background: #f0fdf4;
  color: #15803d;
}

.yt-subject-pill.chemistry {
  background: #faf5ff;
  color: #7e22ce;
}

.yt-subject-pill.maths {
  background: #fff7ed;
  color: #c2410c;
}

.yt-subject-pill.strategy {
  background: #fefce8;
  color: #a16207;
}

.yt-views-count {
  font-size: 0.78rem;
  color: #64748b;
  font-weight: 600;
}

.yt-card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.45;
  margin: 0 0 1rem 0;
  flex: 1;
}

.yt-card-title a {
  color: #0f172a;
  text-decoration: none;
  transition: color 0.2s ease;
}

.yt-card-title a:hover {
  color: #dc2626;
}

/* Educator Row */
.yt-educator-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 0.85rem;
  border-top: 1px solid #f1f5f9;
  margin-bottom: 1.1rem;
}

.yt-educator-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #e2e8f0;
}

.yt-educator-info {
  display: flex;
  flex-direction: column;
}

.yt-educator-info strong {
  font-size: 0.88rem;
  color: #0f172a;
  font-weight: 700;
}

.yt-educator-info small {
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 500;
}

/* Card Actions */
.yt-card-actions {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 0.55rem;
  margin-top: auto;
}

.btn-yt-watch {
  background: #003069;
  color: #ffffff !important;
  text-decoration: none;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 9px;
  padding: 0.55rem 0.75rem;
  transition: all 0.2s ease;
  font-size: 0.82rem;
}

.btn-yt-watch:hover {
  background: #0e4a9c;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(14, 74, 156, 0.25);
}

.btn-yt-sub-card {
  background: #dc2626;
  color: #ffffff !important;
  text-decoration: none;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 9px;
  padding: 0.55rem 0.75rem;
  transition: all 0.2s ease;
  font-size: 0.82rem;
}

.btn-yt-sub-card:hover {
  background: #b91c1c;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.35);
}

/* Bottom Callout Strip */
.yt-bottom-callout {
  margin-top: 3rem;
  background: #ffffff;
  border-radius: 20px;
  padding: 1.8rem 2.4rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 30px -5px rgba(0, 48, 105, 0.08);
}

.yt-callout-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.yt-callout-icon-box {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background: #fee2e2;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.yt-callout-text {
  flex: 1;
}

.yt-callout-text h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 0.35rem 0;
}

.yt-callout-text p {
  font-size: 0.92rem;
  color: #475569;
  margin: 0;
  line-height: 1.5;
}

.yt-callout-action {
  flex-shrink: 0;
}

.pulse-glow {
  animation: pulseGlowAnim 2.5s infinite;
}

@keyframes pulseGlowAnim {
  0%, 100% {
    box-shadow: 0 8px 24px rgba(255, 0, 51, 0.4);
  }
  50% {
    box-shadow: 0 12px 36px rgba(255, 0, 51, 0.7);
  }
}

/* Nav & Mobile Link Helpers */
.nav-yt-link {
  display: inline-flex !important;
  align-items: center;
  gap: 0.4rem;
  position: relative;
}

.yt-nav-dot {
  width: 7px;
  height: 7px;
  background: #dc2626;
  border-radius: 50%;
  display: inline-block;
  animation: ytDotPulse 1.8s infinite;
}

.yt-nav-badge {
  background: #dc2626;
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  line-height: 1;
}

.mobile-yt-link {
  display: flex !important;
  align-items: center;
  gap: 0.6rem;
  color: #dc2626 !important;
  font-weight: 700 !important;
}

.yt-dot-live {
  width: 8px;
  height: 8px;
  background: #dc2626;
  border-radius: 50%;
  animation: ytDotPulse 1.8s infinite;
}

.yt-pill-sm {
  background: #fee2e2;
  color: #dc2626;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  margin-left: auto;
}

.btn-yt-red {
  background: linear-gradient(135deg, #ff0033 0%, #cc0000 100%);
  color: #ffffff !important;
  border: none;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  box-shadow: 0 6px 16px rgba(220, 38, 38, 0.35);
  transition: all 0.25s ease;
}

.btn-yt-red:hover {
  background: #b91c1c;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(220, 38, 38, 0.45);
}

.social-yt-btn {
  background: #fee2e2 !important;
  color: #dc2626 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-yt-btn:hover {
  background: #dc2626 !important;
  color: #ffffff !important;
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 6px 16px rgba(220, 38, 38, 0.45);
}

/* Responsive Rules for YouTube Section */
@media (max-width: 1180px) {
  .yt-classes-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .yt-channel-spotlight-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 2.2rem 2.4rem;
    gap: 1.8rem;
  }
  .yt-channel-cta-right {
    align-items: flex-start;
    width: 100%;
  }
  .yt-channel-cta-right .btn-yt-subscribe {
    width: 100%;
    max-width: 420px;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .youtube-classes-section {
    padding: 4.5rem 0;
  }
  .yt-channel-info-left {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
  }
  .yt-classes-grid {
    grid-template-columns: 1fr;
    gap: 1.3rem;
  }
  .yt-filter-tabs {
    justify-content: flex-start;
    border-radius: 12px;
  }
  .yt-callout-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
  }
  .yt-callout-action,
  .yt-callout-action .btn-yt-subscribe {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   WHEN YOU JOIN GURUKUL - HORIZONTAL ACCORDION SECTION (WHITE BG + BLUE HOVER)
   ========================================================================== */
.join-gurukul-section {
  position: relative;
  background: #ffffff; /* Clean white section background */
  padding: 5.5rem 0 6rem 0;
  overflow: hidden;
  color: #0f172a;
  border-top: 1px solid rgba(226, 232, 240, 0.8);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.join-gurukul-header {
  margin-bottom: 3rem;
}

.join-pillars-bar {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-top: 1.2rem;
}

.join-pillar-tag {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #0b3b80;
  padding: 0.45rem 1.2rem;
  border-radius: 30px;
  font-size: 0.92rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.join-pillar-tag:hover {
  background: #0b3b80;
  border-color: #0b3b80;
  color: #ffffff;
}

/* Horizontal Accordion Container */
.tt-horizontal-accordion {
  display: flex;
  align-items: stretch;
  width: 100%;
  max-width: 1350px;
  margin: 0 auto;
  gap: 0;
  height: 360px;
  overflow: visible;
  position: relative;
}

/* Accordion Item Card - Single Straight Horizontal Line Stack */
.tt-hac-item {
  position: relative;
  flex: 1 1 0%;
  min-width: 0;
  height: 100%;
  top: 0;
  margin-top: 0;
  margin-bottom: 0;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 24px;
  overflow: hidden;
  transition: background 0.8s ease, border-color 0.8s ease, box-shadow 0.8s ease;
  cursor: pointer;
  padding: 2rem 1.6rem;
  box-shadow: -8px 0 25px rgba(0, 0, 0, 0.08), 0 4px 15px rgba(0, 0, 0, 0.04);
  transform: translateZ(0);
  backface-visibility: hidden;
}

.tt-hac-item:not(:first-child) {
  margin-left: -28px;
}

.tt-hac-item-inner {
  height: 100%;
  overflow: hidden;
}

.tt-hac-item-content {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.tt-haci-content-top {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 320px;
}

/* Step Count Badge (01, 02, 03...) */
.tt-hac-item-count {
  position: absolute;
  top: 1.6rem;
  right: 1.6rem;
  font-family: 'Big Shoulders Display', 'Outfit', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: #94a3b8;
  transition: color 0.8s ease, transform 0.8s ease;
  pointer-events: none;
}

.tt-haci-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  border-radius: 16px;
  background: rgba(11, 59, 128, 0.08);
  color: #0b3b80;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.8s ease, color 0.8s ease, transform 0.8s ease;
}

.tt-haci-title {
  font-family: 'Big Shoulders Display', 'Outfit', sans-serif;
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1.15;
  text-transform: uppercase;
  color: #0f172a;
  margin: 0;
  width: 320px;
  transition: color 0.8s ease;
  word-break: break-word;
  hyphens: auto;
}

/* Slide Description Animation (Silky Smooth Fade Reveal) */
.tt-haci-description {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #64748b;
  opacity: 0;
  width: 320px;
  transition: opacity 0.8s ease 0.15s, color 0.8s ease;
}

/* ================= HOVER / EXPANDED STATE (ULTRA-SMOOTH FLUID OPENING) ================= */
.tt-hac-item.active {
  background: linear-gradient(135deg, #0b3b80 0%, #003069 100%);
  border-color: #0b3b80;
  box-shadow: 0 25px 50px rgba(11, 59, 128, 0.35);
}

.tt-hac-item.active .tt-hac-item-count {
  color: #fbbf24;
  transform: scale(1.15);
}

.tt-hac-item.active .tt-haci-icon {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  transform: scale(1.08);
}

.tt-hac-item.active .tt-haci-title {
  color: #ffffff;
}

.tt-hac-item.active .tt-haci-description {
  opacity: 1;
  color: #e2e8f0;
}







