/* ==========================================================================
   Prerna Career Academy - Official Stylesheet (style.css)
   Circular Road, Lalpur, Ranchi, Jharkhand
   Theme: Warm Light Mode (Amber / Deep Yellow / Charcoal Black)
   Rule: Modern, Smooth Animations & Micro-interactions
   ========================================================================== */

/* Universal Box Sizing & Smooth Scrolling */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

:root {
  /* Color Palette */
  --bg-white: #FFFFFF;
  --bg-warm-light: #FFFDF7;
  --bg-slate-50: #F8FAFC;
  --bg-amber-50: #FEF3C7;
  --bg-amber-100: #FDE68A;
  --primary-amber: #F59E0B;
  --primary-amber-dark: #D97706;
  --primary-orange: #EA580C;
  --text-charcoal: #0F172A;
  --text-slate: #334155;
  --text-muted: #64748B;
  --border-light: #E2E8F0;
  --border-amber: #FCD34D;
  --border-amber-dark: #F59E0B;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-card: 0 4px 6px -1px rgba(15, 23, 42, 0.06), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
  --font-display: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-charcoal);
  background-color: var(--bg-warm-light);
  -webkit-font-smoothing: antialiased;
}

/* Typography Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--text-charcoal);
  font-weight: 700;
  line-height: 1.25;
}

p {
  color: var(--text-slate);
  margin-bottom: 0.75rem;
}

a {
  color: var(--primary-amber-dark);
  text-decoration: none;
}

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

/* Container Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* Section Spacing */
.section {
  padding-top: 72px;
  padding-bottom: 72px;
}

.section-alt {
  background-color: var(--bg-slate-50);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.section-warm {
  background-color: #FFFDF5;
  border-top: 1px solid #FEF08A;
  border-bottom: 1px solid #FEF08A;
}

/* Section Header */
.section-header {
  text-align: center;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 48px;
}

.badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 4px;
  background-color: var(--bg-amber-100);
  color: #92400E;
  border: 1px solid var(--border-amber);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.65rem, 3.5vw, 2.35rem);
  line-height: 1.25;
  margin-bottom: 12px;
  color: var(--text-charcoal);
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  line-height: 1.6;
  color: var(--text-muted);
}

/* Top Announcement Strip */
.top-announcement {
  background-color: var(--text-charcoal);
  color: #F8FAFC;
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 2px solid var(--primary-amber);
}

.announcement-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.announcement-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.announcement-item strong {
  color: var(--primary-amber);
}

/* Navigation Bar */
.site-header {
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.site-header.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.08);
  border-bottom-color: var(--border-light);
}

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

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.logo-wrapper:hover {
  transform: translateY(-1px);
}

.logo-symbol {
  width: 36px;
  height: 36px;
  background: var(--primary-amber);
  color: var(--text-charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 18px;
  border-radius: 5px;
  border: 2px solid #D97706;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.logo-wrapper:hover .logo-symbol {
  transform: rotate(-4deg) scale(1.04);
  box-shadow: 0 4px 10px rgba(245, 158, 11, 0.3);
}

.logo-text-group {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--text-charcoal);
  line-height: 1.1;
}

.logo-tagline {
  font-size: 11px;
  color: var(--primary-orange);
  font-weight: 600;
  letter-spacing: 0.2px;
  line-height: 1.1;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 24px;
}

.nav-item a {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-charcoal);
  padding: 6px 4px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
  position: relative;
}

.nav-item a:hover,
.nav-item a.active {
  color: var(--primary-orange);
  border-bottom-color: var(--primary-orange);
}

.nav-cta-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-nav-call {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--primary-amber);
  color: var(--text-charcoal);
  font-weight: 700;
  font-size: 12.5px;
  padding: 6px 12px;
  border-radius: 5px;
  border: 1px solid var(--primary-amber-dark);
  white-space: nowrap;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-nav-call:hover {
  background-color: var(--primary-amber-dark);
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.25);
}

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

/* Mobile Hamburger Button with CSS cross transform */
.mobile-menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  background-color: transparent;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 8px 6px;
  cursor: pointer;
  position: relative;
  z-index: 1100;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.mobile-menu-btn:hover {
  background-color: var(--bg-slate-50);
  border-color: var(--primary-amber);
}

.mobile-menu-btn .hamburger-bar {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--text-charcoal);
  border-radius: 2px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, background-color 0.3s ease;
  transform-origin: center;
}

/* Transform to 'X' (cross) icon when open */
.mobile-menu-btn[aria-expanded="true"] {
  background-color: rgba(15, 23, 42, 0.92);
  border-color: rgba(245, 158, 11, 0.8);
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.25);
}

.mobile-menu-btn[aria-expanded="true"] .hamburger-bar {
  background-color: #F8FAFC;
}

.mobile-menu-btn[aria-expanded="true"] .hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn[aria-expanded="true"] .hamburger-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-menu-btn[aria-expanded="true"] .hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Drawer Backdrop Overlay */
.mobile-drawer-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.45s ease, visibility 0.45s ease;
  z-index: 1040;
}

.mobile-drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Hero Section */
.hero-section {
  position: relative;
  background-color: var(--bg-white);
  background-image: 
    radial-gradient(circle at 85% 15%, rgba(245, 158, 11, 0.08) 0%, rgba(251, 191, 36, 0.03) 45%, transparent 70%),
    radial-gradient(circle at 10% 85%, rgba(234, 88, 12, 0.05) 0%, transparent 60%);
  padding-top: clamp(40px, 6vw, 68px);
  padding-bottom: clamp(44px, 6vw, 68px);
  border-bottom: 1px solid var(--border-light);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--bg-amber-50);
  border: 1px solid var(--border-amber);
  color: #92400E;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 4px;
  margin-bottom: 18px;
  box-shadow: 0 1px 3px rgba(245, 158, 11, 0.1);
}

.hero-pill-dot {
  width: 8px;
  height: 8px;
  background-color: var(--primary-orange);
  border-radius: 50%;
  animation: pulseDot 2s ease-in-out infinite;
}

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

.hero-headline {
  font-size: clamp(2rem, 4.6vw, 3.35rem);
  line-height: 1.18;
  color: var(--text-charcoal);
  margin-bottom: 18px;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.hero-headline span.highlight {
  color: var(--primary-orange);
  position: relative;
}

.hero-subheadline {
  font-size: clamp(0.98rem, 1.8vw, 1.125rem);
  line-height: 1.62;
  color: var(--text-slate);
  margin-bottom: 28px;
}

.hero-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--primary-amber);
  color: var(--text-charcoal);
  font-size: 13.5px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 6px;
  border: 1px solid var(--primary-amber-dark);
  cursor: pointer;
  transition: transform 0.22s ease, background-color 0.22s ease, color 0.22s ease, box-shadow 0.22s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 3px 10px -2px rgba(217, 119, 6, 0.28);
}

.btn-primary i,
.btn-primary svg,
.btn-primary .btn-icon {
  width: 17px;
  height: 17px;
}

/* Button Shimmer Beam Micro-interaction */
.btn-primary::after,
.btn-card::after,
.btn-nav-call::after,
.btn-whatsapp::after,
.btn-secondary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -130%;
  width: 65%;
  height: 100%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0) 100%);
  transform: skewX(-22deg);
  transition: left 0.75s ease;
  pointer-events: none;
}

.btn-primary:hover::after,
.btn-card:hover::after,
.btn-nav-call:hover::after,
.btn-whatsapp:hover::after,
.btn-secondary:hover::after {
  left: 175%;
}

.btn-primary:hover {
  background-color: var(--primary-amber-dark);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px -4px rgba(217, 119, 6, 0.35);
}

.btn-primary:active {
  transform: translateY(0) scale(0.98);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--bg-white);
  color: var(--text-charcoal);
  font-size: 13.5px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 6px;
  border: 1.5px solid var(--border-light);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.22s ease, border-color 0.22s ease, background-color 0.22s ease, box-shadow 0.22s ease;
}

.btn-secondary i,
.btn-secondary svg {
  width: 17px;
  height: 17px;
}

.btn-secondary:hover {
  border-color: var(--primary-amber);
  background-color: var(--bg-warm-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px -4px rgba(15, 23, 42, 0.08);
}

.btn-secondary:active {
  transform: translateY(0) scale(0.98);
}

.hero-guarantee {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-muted);
  border-top: 1px solid var(--border-light);
  padding-top: 18px;
}

.guarantee-point {
  display: flex;
  align-items: center;
  gap: 6px;
}

.guarantee-point span.check {
  color: #16A34A;
  font-weight: 800;
}

.hero-image-wrapper {
  position: relative;
  overflow: visible;
}

.hero-main-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 8px;
  border: 3px solid #FEF08A;
  box-shadow: var(--shadow-card);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease;
}

.hero-image-wrapper:hover .hero-main-img {
  transform: scale(1.025);
  box-shadow: 0 20px 30px -10px rgba(15, 23, 42, 0.15);
}

.hero-card-floating {
  position: absolute;
  bottom: -20px;
  left: 20px;
  background-color: var(--bg-white);
  border: 2px solid var(--primary-amber);
  border-radius: 8px;
  padding: 14px 18px;
  box-shadow: 0 12px 24px -4px rgba(15, 23, 42, 0.15);
  display: flex;
  align-items: center;
  gap: 14px;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  z-index: 10;
}

.hero-card-floating:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 28px -4px rgba(217, 119, 6, 0.2);
}

.floating-icon {
  width: 40px;
  height: 40px;
  background-color: var(--bg-amber-100);
  color: var(--primary-orange);
  font-weight: 800;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
}

.floating-text strong {
  display: block;
  font-size: 15px;
  color: var(--text-charcoal);
}

.floating-text span {
  font-size: 12px;
  color: var(--text-muted);
}

/* Scroll Reveal & Directional Animation Engine */
/* Silky deliberate luxury transition: 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) */
[data-reveal],
.reveal-item:not([data-reveal]) {
  opacity: 0;
  will-change: transform, opacity;
  transition: all 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

[data-reveal="left"],
[data-reveal="slide-left"] {
  transform: perspective(1200px) translate3d(-40px, 0, 0) rotateY(-4deg);
}

[data-reveal="right"],
[data-reveal="slide-right"] {
  transform: perspective(1200px) translate3d(40px, 0, 0) rotateY(4deg);
}

[data-reveal="bottom"],
[data-reveal="up"],
.reveal-item:not([data-reveal]) {
  transform: translate3d(0, 45px, 0) scale(0.96);
}

[data-reveal="top"],
[data-reveal="down"] {
  transform: translate3d(0, -45px, 0) scale(0.96);
}

[data-reveal].revealed,
.reveal-item.revealed,
.reveal-item:not([data-reveal]).revealed {
  opacity: 1;
  transform: perspective(1200px) translate3d(0, 0, 0) rotateY(0deg) scale(1);
}

/* Staggered transition delays */
[data-delay="0"]   { transition-delay: 0ms; }
[data-delay="50"]  { transition-delay: 80ms; }
[data-delay="80"]  { transition-delay: 130ms; }
[data-delay="100"] { transition-delay: 170ms; }
[data-delay="120"] { transition-delay: 210ms; }
[data-delay="140"] { transition-delay: 250ms; }
[data-delay="160"] { transition-delay: 290ms; }
[data-delay="200"] { transition-delay: 350ms; }
[data-delay="240"] { transition-delay: 410ms; }
[data-delay="280"] { transition-delay: 470ms; }
[data-delay="300"] { transition-delay: 520ms; }
[data-delay="320"] { transition-delay: 560ms; }
[data-delay="400"] { transition-delay: 640ms; }

/* Base reveal item compatibility */
.reveal-item:not([data-reveal]) {
  opacity: 0;
  transform: translate3d(0, 45px, 0) scale(0.96);
  transition: all 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform, opacity;
}

.reveal-item:not([data-reveal]).revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

/* ==========================================================================
   Deliberate Staggered Child-Element Reveal Architecture (.stagger-box & .stagger-item)
   ========================================================================== */
.stagger-box {
  position: relative;
}

/* Initial State of Child Elements (.stagger-item) */
.stagger-item {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

/* Revealed State (.stagger-box.is-visible .stagger-item) */
.stagger-box.is-visible .stagger-item {
  opacity: 1;
  transform: translateY(0);
}

/* Sequential transition delays (120ms to 150ms step gap) */
.stagger-box.is-visible > .stagger-item:nth-child(1),
.stagger-box.is-visible .stagger-delay-1 {
  transition-delay: 0.1s;
}

.stagger-box.is-visible > .stagger-item:nth-child(2),
.stagger-box.is-visible .stagger-delay-2 {
  transition-delay: 0.25s;
}

.stagger-box.is-visible > .stagger-item:nth-child(3),
.stagger-box.is-visible .stagger-delay-3 {
  transition-delay: 0.4s;
}

.stagger-box.is-visible > .stagger-item:nth-child(4),
.stagger-box.is-visible .stagger-delay-4 {
  transition-delay: 0.55s;
}

.stagger-box.is-visible > .stagger-item:nth-child(5),
.stagger-box.is-visible .stagger-delay-5 {
  transition-delay: 0.7s;
}

.stagger-box.is-visible > .stagger-item:nth-child(6),
.stagger-box.is-visible .stagger-delay-6 {
  transition-delay: 0.85s;
}

.stagger-box.is-visible > .stagger-item:nth-child(7),
.stagger-box.is-visible .stagger-delay-7 {
  transition-delay: 1.0s;
}

.stagger-box.is-visible > .stagger-item:nth-child(8),
.stagger-box.is-visible .stagger-delay-8 {
  transition-delay: 1.15s;
}

/* Custom CSS variable support for dynamic inline delays */
.stagger-box.is-visible .stagger-item[style*="--stagger-delay"] {
  transition-delay: var(--stagger-delay);
}

/* Fallback & Reduced Motion Accessibility */
@media (prefers-reduced-motion: reduce) {
  .stagger-item {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    transition-delay: 0s !important;
  }
}

/* Luxury Editorial Text-Mask Reveals */
.text-mask-wrap {
  overflow: visible;
}

.mask-line {
  display: block;
  overflow: hidden;
  vertical-align: bottom;
}

.mask-inner {
  display: inline-block;
  transform: translateY(120%);
  transition: transform 1.15s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.revealed .mask-inner,
.text-mask-wrap.revealed .mask-inner,
[data-reveal].revealed .mask-inner {
  transform: translateY(0);
}

.mask-line:nth-child(1) .mask-inner { transition-delay: 80ms; }
.mask-line:nth-child(2) .mask-inner { transition-delay: 220ms; }
.mask-line:nth-child(3) .mask-inner { transition-delay: 360ms; }

/* Shimmering Metallic Gradient Highlight */
.shimmer-highlight {
  background: linear-gradient(135deg, #D97706 0%, #F59E0B 25%, #EA580C 50%, #FCD34D 75%, #D97706 100%);
  background-size: 260% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmerFlow 5.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  display: inline;
  font-weight: 800;
  filter: drop-shadow(0 2px 8px rgba(245, 158, 11, 0.2));
}

@keyframes shimmerFlow {
  0% {
    background-position: 0% center;
  }
  100% {
    background-position: 260% center;
  }
}

/* Subheading Typewriter Box */
.hero-typewriter-container {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(254, 243, 199, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(245, 158, 11, 0.35);
  padding: 6px 14px;
  border-radius: 9999px;
  margin-bottom: 18px;
  font-size: 13.5px;
  font-weight: 600;
  color: #92400E;
  box-shadow: 0 4px 12px -2px rgba(245, 158, 11, 0.12);
  min-height: 36px;
  flex-wrap: wrap;
}

.typewriter-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #B45309;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.5px;
}

.typewriter-icon {
  width: 14px;
  height: 14px;
  color: var(--primary-orange);
}

.typewriter-text {
  color: var(--text-charcoal);
  font-weight: 700;
  letter-spacing: -0.2px;
}

.typewriter-cursor {
  display: inline-block;
  color: var(--primary-orange);
  font-weight: 900;
  animation: typewriterBlink 0.9s infinite;
}

@keyframes typewriterBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Ambient Floating Particles */
.ambient-particle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(45px);
}

.ambient-p1 {
  width: 380px;
  height: 380px;
  top: -10%;
  left: -5%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.14) 0%, rgba(245, 158, 11, 0) 70%);
  animation: driftParticle1 12s ease-in-out infinite alternate;
}

.ambient-p2 {
  width: 320px;
  height: 320px;
  bottom: 5%;
  right: 5%;
  background: radial-gradient(circle, rgba(234, 88, 12, 0.12) 0%, rgba(234, 88, 12, 0) 70%);
  animation: driftParticle2 14s ease-in-out infinite alternate;
}

.ambient-p3 {
  width: 260px;
  height: 260px;
  top: 40%;
  right: 40%;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.10) 0%, rgba(251, 191, 36, 0) 70%);
  animation: driftParticle3 10s ease-in-out infinite alternate;
}

@keyframes driftParticle1 {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(40px, 30px, 0) scale(1.15); }
}

@keyframes driftParticle2 {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(-35px, -25px, 0) scale(1.1); }
}

@keyframes driftParticle3 {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(25px, -35px, 0) scale(0.9); }
}

/* Curtain Reveal Animation for Luxury Images */
.curtain-reveal-wrap {
  position: relative;
  overflow: hidden;
}

.curtain-reveal-wrap::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 40%, #B45309 100%);
  transform-origin: right center;
  transform: scaleX(1);
  transition: transform 1.25s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 4;
  pointer-events: none;
}

.revealed .curtain-reveal-wrap::before,
.revealed.curtain-reveal-wrap::before,
[data-reveal].revealed.curtain-reveal-wrap::before,
[data-reveal].revealed .curtain-reveal-wrap::before {
  transform: scaleX(0);
}

/* Luxury Image Wrap & Glare Micro-interaction */
.luxury-img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background-color: #F1F5F9;
}

.luxury-img-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.14);
  filter: brightness(0.96);
  transition: transform 1.3s cubic-bezier(0.25, 1, 0.5, 1), filter 0.9s ease;
  will-change: transform;
}

.revealed .luxury-img-wrap img,
.revealed.luxury-img-wrap img,
[data-reveal].revealed .luxury-img-wrap img,
[data-reveal].revealed img {
  transform: scale(1);
  filter: brightness(1);
}

.luxury-img-wrap:hover img {
  transform: scale(1.06);
}

.luxury-img-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  left: -140%;
  width: 70%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.35) 50%, transparent 100%);
  transform: skewX(-25deg);
  pointer-events: none;
  transition: left 0.95s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 2;
}

.luxury-img-wrap:hover::after {
  left: 180%;
}

/* Ambient Pulse on Floating Badges */
.pulse-ambient {
  animation: ambientNeonBreathing 3.8s ease-in-out infinite;
}

@keyframes ambientNeonBreathing {
  0%, 100% {
    box-shadow: 0 0 14px rgba(245, 158, 11, 0.28), 0 0 28px rgba(234, 88, 12, 0.12), 0 10px 24px -4px rgba(15, 23, 42, 0.14);
    border-color: rgba(245, 158, 11, 0.5);
  }
  50% {
    box-shadow: 0 0 24px rgba(245, 158, 11, 0.55), 0 0 48px rgba(234, 88, 12, 0.3), 0 16px 36px -4px rgba(217, 119, 6, 0.22);
    border-color: rgba(234, 88, 12, 0.85);
  }
}

/* Key Metrics Bar */
.metrics-section {
  background-color: var(--text-charcoal);
  padding-top: 36px;
  padding-bottom: 36px;
  color: #FFFFFF;
}

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

.metric-card {
  background-color: #1E293B;
  border: 1px solid #334155;
  border-top: 4px solid var(--primary-amber);
  border-radius: 6px;
  padding: 24px 20px;
  text-align: left;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.metric-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-amber);
  box-shadow: 0 12px 24px -4px rgba(0, 0, 0, 0.35);
}

.metric-value {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  color: var(--primary-amber);
  margin-bottom: 6px;
  line-height: 1.1;
  display: flex;
  align-items: baseline;
}

.stat-counter {
  font-variant-numeric: tabular-nums;
  display: inline-block;
  transition: transform 0.4s ease, color 0.4s ease;
}

.stat-counter.counter-pulsed {
  animation: counterGlowPulse 0.85s cubic-bezier(0.25, 1, 0.5, 1);
}

@keyframes counterGlowPulse {
  0% { transform: scale(1); filter: brightness(1); }
  45% { transform: scale(1.12); color: #FCD34D; text-shadow: 0 0 16px rgba(245, 158, 11, 0.85); }
  100% { transform: scale(1); filter: brightness(1); }
}

.metric-title {
  font-size: 16px;
  font-weight: 700;
  color: #F8FAFC;
  margin-bottom: 6px;
}

.metric-desc {
  font-size: 13px;
  color: #94A3B8;
  line-height: 1.4;
  margin-bottom: 0;
}

/* Courses & Batches Section */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  perspective: 1200px;
}

.course-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  position: relative;
  transform-style: preserve-3d;
  transform: perspective(1000px) rotateX(0deg) rotateY(0deg) scale3d(1, 1, 1);
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.5s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.35s ease;
  will-change: transform;
}

.course-card:hover {
  border-color: var(--primary-amber);
  box-shadow: 0 24px 40px -10px rgba(15, 23, 42, 0.16), 0 10px 20px -5px rgba(245, 158, 11, 0.15);
}

.course-card.featured {
  border: 2px solid var(--primary-amber);
  position: relative;
}

.course-card.featured:hover {
  border-color: var(--primary-orange);
  box-shadow: 0 26px 44px -10px rgba(234, 88, 12, 0.22), 0 12px 24px -5px rgba(245, 158, 11, 0.18);
}

/* Glowing Border Beam on Course Cards */
.course-border-beam {
  position: absolute;
  inset: 0;
  border-radius: 10px;
  padding: 2px;
  background: linear-gradient(115deg, transparent 20%, rgba(245, 158, 11, 0.95) 48%, rgba(234, 88, 12, 0.95) 55%, transparent 80%);
  background-size: 260% 260%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 10;
}

.course-card:hover .course-border-beam {
  opacity: 1;
  animation: borderBeamRotate 3s linear infinite;
}

@keyframes borderBeamRotate {
  0% { background-position: 0% 50%; }
  100% { background-position: 260% 50%; }
}

.course-img-wrap {
  overflow: hidden;
  height: 200px;
  position: relative;
  background-color: #0F172A;
}

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

.course-card:hover .course-img {
  transform: scale(1.06);
}

.course-badge-top {
  background-color: var(--primary-amber);
  color: var(--text-charcoal);
  font-weight: 800;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
  padding: 6px;
}

.course-header {
  padding: 24px 24px 16px 24px;
  border-bottom: 1px solid var(--border-light);
}

.course-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.course-header-top .course-header-icon {
  margin-bottom: 0;
}

.course-header-top .course-category {
  margin-bottom: 0;
}

.course-category {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary-orange);
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.course-title {
  font-size: 22px;
  margin-bottom: 8px;
}

.course-target {
  font-size: 14px;
  color: var(--text-muted);
}

.course-body {
  padding: 24px;
  flex-grow: 1;
}

.course-info-list {
  list-style: none;
  margin-bottom: 20px;
}

.course-info-item {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 14px;
}

.course-info-label {
  font-weight: 700;
  color: var(--text-charcoal);
  min-width: 90px;
}

.course-info-value {
  color: var(--text-slate);
}

.course-features-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-charcoal);
  margin-bottom: 10px;
  border-top: 1px dashed var(--border-light);
  padding-top: 14px;
}

.course-features {
  list-style: none;
  font-size: 13px;
  color: var(--text-slate);
}

.course-features li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
}

.course-features li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #16A34A;
  font-weight: 800;
  font-size: 11px;
}

.course-footer {
  padding: 16px 24px 24px 24px;
  border-top: 1px solid var(--border-light);
  background-color: var(--bg-warm-light);
}

.btn-card {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--primary-amber);
  color: var(--text-charcoal);
  font-weight: 700;
  font-size: 13.5px;
  padding: 9px 18px;
  border-radius: 6px;
  border: 1px solid var(--primary-amber-dark);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.btn-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -130%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.6) 50%, transparent 100%);
  transform: skewX(-25deg);
  transition: left 0.85s cubic-bezier(0.25, 1, 0.5, 1);
  pointer-events: none;
}

.btn-card:hover::after {
  left: 180%;
}

.btn-card i,
.btn-card svg {
  width: 16px;
  height: 16px;
}

.btn-card:hover {
  background-color: var(--primary-amber-dark);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px -2px rgba(217, 119, 6, 0.35);
}

.btn-card:active {
  transform: translateY(0);
}

/* Weekly Academic Schedule Section */
.schedule-container {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 32px;
  box-shadow: var(--shadow-card);
}

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

.schedule-column {
  background-color: var(--bg-slate-50);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.schedule-column:hover {
  transform: translateY(-4px);
  border-color: var(--primary-amber);
  box-shadow: 0 12px 24px -4px rgba(15, 23, 42, 0.08);
}

.schedule-header {
  background-color: var(--text-charcoal);
  color: #FFFFFF;
  padding: 14px 16px;
  text-align: center;
}

.schedule-day {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-amber);
}

.schedule-tag {
  font-size: 12px;
  color: #CBD5E1;
}

.schedule-content {
  padding: 18px 16px;
}

.schedule-item {
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid #E2E8F0;
}

.schedule-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.schedule-item-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-charcoal);
  margin-bottom: 4px;
}

.schedule-item-detail {
  font-size: 13px;
  color: var(--text-slate);
  line-height: 1.4;
  margin-bottom: 0;
}

.schedule-note {
  margin-top: 24px;
  padding: 14px 20px;
  background-color: var(--bg-amber-50);
  border-left: 4px solid var(--primary-amber);
  font-size: 14px;
  color: #78350F;
  border-radius: 0 6px 6px 0;
}

/* Infrastructure & Facilities */
.facilities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.facility-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.facility-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-amber);
  box-shadow: 0 16px 28px -6px rgba(15, 23, 42, 0.12);
}

.facility-img-wrap {
  overflow: hidden;
  height: 180px;
  background-color: #0F172A;
  position: relative;
  border-bottom: 3px solid var(--primary-amber);
}

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

.facility-card:hover .facility-img {
  transform: scale(1.06);
}

.facility-info {
  padding: 20px;
}

.facility-title {
  font-size: 17px;
  margin-bottom: 8px;
  color: var(--text-charcoal);
  display: flex;
  align-items: center;
  gap: 8px;
}

.facility-desc {
  font-size: 13px;
  color: var(--text-slate);
  margin-bottom: 0;
  line-height: 1.5;
}

/* Study Material & Test Series */
.study-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.study-box {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-top: 4px solid var(--primary-orange);
  border-radius: 8px;
  padding: 30px 24px;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.study-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 30px -6px rgba(15, 23, 42, 0.12), 0 8px 16px -4px rgba(234, 88, 12, 0.08);
}

.study-icon-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: var(--bg-amber-100);
  color: #B45309;
  font-weight: 800;
  border-radius: 4px;
  margin-bottom: 16px;
}

.study-box h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.study-box p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-slate);
}

.study-list {
  list-style: none;
  font-size: 13px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}

.study-list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  color: var(--text-charcoal);
  font-weight: 500;
}

.study-list li::before {
  content: "•";
  position: absolute;
  left: 4px;
  color: var(--primary-orange);
  font-size: 18px;
  line-height: 14px;
}

/* Faculty & Pedagogy */
.pedagogy-banner {
  background-color: #FEF3C7;
  border: 1px solid #FCD34D;
  border-radius: 8px;
  padding: 24px 30px;
  margin-bottom: 40px;
  text-align: center;
}

.pedagogy-banner h3 {
  font-size: 22px;
  color: #92400E;
  margin-bottom: 8px;
}

.pedagogy-banner p {
  font-size: 15px;
  color: #78350F;
  margin-bottom: 0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Faculty Section: Sequential One-by-One Reveal with Faster, Decreased Animation Timing */
#faculty-members-grid .faculty-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
  box-shadow: var(--shadow-card);
  opacity: 0;
  transform: translate3d(0, 36px, 0) scale(0.97);
  transition: opacity 0.58s cubic-bezier(0.25, 1, 0.5, 1),
              transform 0.58s cubic-bezier(0.25, 1, 0.5, 1),
              box-shadow 0.25s ease,
              border-color 0.25s ease;
  will-change: transform, opacity;
}

#faculty-members-grid .faculty-card.revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

/* Staggered one-by-one sequence delays */
#faculty-members-grid .faculty-card:nth-child(1) {
  transition-delay: 0ms;
}

#faculty-members-grid .faculty-card:nth-child(2) {
  transition-delay: 140ms;
}

#faculty-members-grid .faculty-card:nth-child(3) {
  transition-delay: 280ms;
}

#faculty-members-grid .faculty-card:nth-child(4) {
  transition-delay: 420ms;
}

#faculty-members-grid .faculty-card:nth-child(n+5) {
  transition-delay: 560ms;
}

#faculty-members-grid .faculty-card.revealed:hover {
  transform: translate3d(0, -6px, 0) scale(1.01);
  border-color: var(--primary-amber);
  box-shadow: 0 16px 28px -6px rgba(15, 23, 42, 0.12);
  transition-delay: 0ms;
  transition-duration: 0.25s;
}

.faculty-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.faculty-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-amber);
  box-shadow: 0 16px 28px -6px rgba(15, 23, 42, 0.12);
}

.faculty-img-wrap {
  overflow: hidden;
  height: 200px;
  background-color: #0F172A;
  position: relative;
}

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

.faculty-card:hover .faculty-img {
  transform: scale(1.06);
}

.faculty-info {
  padding: 20px 16px;
}

.faculty-name {
  font-size: 17px;
  margin-bottom: 4px;
  color: var(--text-charcoal);
}

.faculty-subject {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-orange);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.faculty-creds {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 0;
}

/* Scholarship Banner */
.scholarship-box {
  background-color: #FFFBEB;
  border: 2px solid var(--primary-amber);
  border-radius: 10px;
  padding: 40px;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 32px;
  align-items: center;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.scholarship-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(217, 119, 6, 0.2);
}

.scholarship-title {
  font-size: 28px;
  color: #92400E;
  margin-bottom: 12px;
}

.scholarship-desc {
  font-size: 16px;
  color: #78350F;
  line-height: 1.6;
  margin-bottom: 20px;
}

.scholarship-perks {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.scholarship-pill {
  background-color: #FFFFFF;
  border: 1px solid var(--border-amber);
  color: #92400E;
  font-weight: 700;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 4px;
}

.scholarship-card-side {
  background-color: #FFFFFF;
  border: 1px solid var(--border-amber);
  border-radius: 8px;
  padding: 24px;
  text-align: center;
}

.scholarship-highlight-number {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 900;
  color: var(--primary-orange);
  line-height: 1;
  margin-bottom: 6px;
}

.scholarship-sub {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-charcoal);
  margin-bottom: 16px;
}

/* Results & Testimonials Slider Layout */
.testimonials-slider-wrapper {
  position: relative;
  overflow: hidden;
  padding: 10px 4px 20px 4px;
}

.testimonials-track {
  display: flex;
  gap: 24px;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.testimonials-track .testimonial-card {
  flex: 0 0 calc(33.333% - 16px);
  min-width: 300px;
}

@media (max-width: 1024px) {
  .testimonials-track .testimonial-card {
    flex: 0 0 calc(50% - 12px);
  }
}

@media (max-width: 680px) {
  .testimonials-track .testimonial-card {
    flex: 0 0 100%;
  }
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-top: 4px solid var(--primary-amber);
  border-radius: 10px;
  padding: 28px;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(255, 255, 255, 0.6);
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.35s ease;
  position: relative;
  overflow: hidden;
}

.topper-watermark {
  position: absolute;
  right: 16px;
  top: 4px;
  font-size: 100px;
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1;
  color: var(--primary-amber);
  opacity: 0.12;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  border-top-color: var(--primary-orange);
  box-shadow: 0 24px 44px -10px rgba(15, 23, 42, 0.14), 0 0 20px rgba(245, 158, 11, 0.12);
}

.topper-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.topper-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-amber);
  transition: transform 0.3s ease;
}

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

.topper-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-charcoal);
  line-height: 1.2;
}

.topper-score {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  background-color: var(--bg-amber-100);
  color: #92400E;
  padding: 2px 8px;
  border-radius: 4px;
  margin-top: 4px;
}

.topper-stars {
  display: flex;
  gap: 3px;
  color: #F59E0B;
  margin-bottom: 12px;
}

.topper-stars i {
  width: 16px;
  height: 16px;
}

.topper-quote {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-slate);
  font-style: italic;
  flex-grow: 1;
  margin-bottom: 16px;
  position: relative;
}

.topper-college {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-top: 1px solid var(--border-light);
  padding-top: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #15803D;
  font-size: 11px;
  font-weight: 700;
  text-transform: none;
}

.verified-badge i {
  width: 14px;
  height: 14px;
}

/* Slider Controls Bar */
.slider-controls-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 32px;
}

.slider-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  color: var(--text-charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all 0.22s ease;
}

.slider-btn i,
.slider-btn svg {
  width: 16px;
  height: 16px;
}

.slider-btn:hover {
  background-color: var(--primary-amber);
  color: var(--text-charcoal);
  border-color: var(--primary-amber-dark);
  transform: scale(1.08);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.slider-btn:active {
  transform: scale(0.96);
}

.slider-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.slider-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #CBD5E1;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.25s ease;
}

.slider-dot:hover {
  background-color: #94A3B8;
}

.slider-dot.active {
  background-color: var(--primary-orange);
  width: 24px;
  border-radius: 10px;
}

/* 3-Step Admission Process */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.step-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-card);
  position: relative;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.step-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary-amber);
  box-shadow: 0 18px 30px -6px rgba(15, 23, 42, 0.12);
}

.step-number {
  width: 50px;
  height: 50px;
  background-color: var(--primary-amber);
  color: var(--text-charcoal);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px;
  border: 2px solid var(--primary-amber-dark);
}

.step-title {
  font-size: 19px;
  margin-bottom: 10px;
}

.step-desc {
  font-size: 14px;
  color: var(--text-slate);
  line-height: 1.5;
  margin-bottom: 0;
}

/* Interactive FAQ Accordion */
.faq-accordion {
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-accordion-item {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1), background-color 0.4s cubic-bezier(0.25, 1, 0.5, 1), transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.faq-accordion-item:hover {
  border-color: rgba(245, 158, 11, 0.6);
  box-shadow: 0 10px 24px -4px rgba(15, 23, 42, 0.08);
}

.faq-accordion-item.active {
  border-color: var(--primary-orange);
  background-color: #FFFDF9;
  box-shadow: 0 12px 28px -4px rgba(234, 88, 12, 0.14), 0 0 0 1px rgba(234, 88, 12, 0.25);
  transform: translateY(-2px);
}

.faq-accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 26px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: background-color 0.25s ease;
}

.faq-accordion-trigger:focus-visible {
  outline: 2px solid var(--primary-amber);
  outline-offset: -2px;
}

.faq-accordion-title {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 17.5px;
  font-weight: 700;
  color: var(--text-charcoal);
  line-height: 1.35;
  transition: color 0.3s ease;
}

.faq-accordion-item.active .faq-accordion-title {
  color: #9A3412;
}

.faq-q-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background-color: #FEF3C7;
  color: #B45309;
  font-size: 13px;
  font-weight: 800;
  font-family: var(--font-display);
  flex-shrink: 0;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.faq-accordion-item.active .faq-q-number {
  background-color: var(--primary-orange);
  color: #FFFFFF;
}

.faq-toggle-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #F8FAFC;
  border: 1px solid var(--border-light);
  color: var(--text-charcoal);
  flex-shrink: 0;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1), background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.faq-accordion-item.active .faq-toggle-icon {
  transform: rotate(45deg);
  background-color: #FFEDD5;
  color: #C2410C;
  border-color: #FDBA74;
}

.faq-toggle-icon svg,
.faq-toggle-icon i {
  width: 18px;
  height: 18px;
}

.faq-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.4s ease;
  opacity: 0;
}

.faq-accordion-item.active .faq-accordion-content {
  max-height: 350px;
  opacity: 1;
}

.faq-accordion-body {
  padding: 0 26px 24px 72px;
}

@media (max-width: 640px) {
  .faq-accordion-body {
    padding: 0 20px 20px 20px;
  }
}

.faq-accordion-body .faq-answer {
  font-size: 15px;
  color: var(--text-slate);
  line-height: 1.6;
  margin-bottom: 0;
}

/* Contact & Lead Capture Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
}

.contact-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 32px;
  box-shadow: var(--shadow-card);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 28px -6px rgba(15, 23, 42, 0.1);
}

.contact-card h3 {
  font-size: 24px;
  margin-bottom: 12px;
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-charcoal);
  margin-bottom: 6px;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 15px;
  font-family: var(--font-body);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  color: var(--text-charcoal);
  background-color: #FFFFFF;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--primary-amber);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.25);
}

.form-help {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

.form-status {
  display: none;
  padding: 14px;
  margin-bottom: 18px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.form-status.success {
  display: block;
  background-color: #DCFCE7;
  color: #15803D;
  border: 1px solid #86EFAC;
}

.form-status.error {
  display: block;
  background-color: #FEE2E2;
  color: #B91C1C;
  border: 1px solid #FCA5A5;
}

/* Contact Info Side */
.info-box {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 32px;
  box-shadow: var(--shadow-card);
  margin-bottom: 24px;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.info-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 28px -6px rgba(15, 23, 42, 0.1);
}

.info-box h3 {
  font-size: 22px;
  margin-bottom: 16px;
}

.contact-detail-item {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
  transition: transform 0.2s ease;
}

.contact-detail-item:hover {
  transform: translateX(4px);
}

.contact-icon {
  width: 38px;
  height: 38px;
  background-color: var(--bg-amber-100);
  color: #B45309;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  flex-shrink: 0;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.contact-detail-item:hover .contact-icon {
  transform: scale(1.08);
  background-color: var(--primary-amber);
  color: var(--text-charcoal);
}

.contact-text strong {
  display: block;
  font-size: 14px;
  color: var(--text-charcoal);
  margin-bottom: 2px;
}

.contact-text span, .contact-text a {
  font-size: 14px;
  color: var(--text-slate);
  transition: color 0.2s ease;
}

.contact-text a:hover {
  color: var(--primary-orange);
}

.whatsapp-box {
  background-color: #ECFDF5;
  border: 1px solid #A7F3D0;
  border-radius: 8px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
  margin-bottom: 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px -4px rgba(16, 185, 129, 0.2);
}

.whatsapp-text strong {
  display: block;
  color: #065F46;
  font-size: 15px;
  margin-bottom: 4px;
}

.whatsapp-text span {
  font-size: 13.5px;
  color: #047857;
  display: block;
  line-height: 1.5;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #10B981;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 6px;
  border: 1px solid #059669;
  white-space: nowrap;
  width: 100%;
  text-align: center;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-whatsapp i,
.btn-whatsapp svg {
  width: 16px;
  height: 16px;
}

.btn-whatsapp:hover {
  background-color: #059669;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(16, 185, 129, 0.35);
}

.btn-whatsapp:active {
  transform: translateY(0);
}

/* Map Mock / Placeholder */
.map-container {
  background-color: #F1F5F9;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 24px;
  text-align: center;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.map-container:hover {
  transform: translateY(-2px);
  border-color: var(--primary-amber);
}

.map-pin-icon {
  font-size: 28px;
  margin-bottom: 8px;
  color: var(--primary-orange);
}

.map-title {
  font-weight: 700;
  color: var(--text-charcoal);
  margin-bottom: 4px;
}

.map-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.map-directions-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  color: var(--primary-amber-dark);
  font-weight: 700;
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.map-directions-btn i,
.map-directions-btn svg {
  width: 14px;
  height: 14px;
}

.map-directions-btn:hover {
  background-color: var(--bg-slate-50);
  border-color: var(--primary-amber);
  color: var(--primary-orange);
  transform: translateY(-1px);
}

/* Site Footer */
.site-footer {
  background-color: var(--text-charcoal);
  color: #94A3B8;
  padding-top: 60px;
  padding-bottom: 30px;
  font-size: 14px;
  border-top: 4px solid var(--primary-amber);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: 36px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: #FFFFFF;
  font-size: 16px;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background-color: var(--primary-amber);
}

.footer-desc {
  color: #94A3B8;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #CBD5E1;
  font-size: 14px;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--primary-amber);
  transform: translateX(4px);
}

.footer-hours-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  border-bottom: 1px dashed #334155;
  padding-bottom: 6px;
}

.footer-hours-item span.day {
  color: #F8FAFC;
  font-weight: 600;
}

.footer-bottom {
  border-top: 1px solid #334155;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: #64748B;
}

/* Floating Action Buttons */
.floating-actions {
  position: fixed;
  bottom: 18px;
  right: 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  z-index: 999;
  pointer-events: none;
}

.fab-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
  transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.22s ease, opacity 0.25s ease;
  position: relative;
  pointer-events: auto;
}

.fab-btn i,
.fab-btn svg {
  width: 17px;
  height: 17px;
}

.fab-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.22);
}

.fab-btn:active {
  transform: scale(0.95);
}

.fab-back-to-top {
  order: 1;
  background-color: var(--text-charcoal);
  color: var(--primary-amber);
  border: 1px solid #334155;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px) scale(0.85);
  transition: opacity 0.22s ease, transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.22s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.fab-back-to-top.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.fab-back-to-top:hover {
  background-color: var(--primary-amber);
  color: var(--text-charcoal);
  border-color: var(--primary-amber-dark);
}

.fab-whatsapp {
  order: 2;
  background-color: #25D366;
  color: #FFFFFF;
}

.fab-tooltip {
  position: absolute;
  right: 46px;
  background-color: #1E293B;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  padding: 4px 8px;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  transform: translateX(4px);
}

.fab-whatsapp:hover .fab-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* Modal / Prompt Dialog */
.syllabus-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.syllabus-modal.active {
  display: flex;
  opacity: 1;
}

.modal-card {
  background-color: #FFFFFF;
  border-radius: 8px;
  max-width: 520px;
  width: 100%;
  padding: 28px;
  border: 2px solid var(--primary-amber);
  box-shadow: 0 25px 40px -10px rgba(0, 0, 0, 0.3);
  transform: scale(0.92) translateY(12px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.syllabus-modal.active .modal-card {
  transform: scale(1) translateY(0);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.modal-header h3 {
  font-size: 20px;
  color: var(--text-charcoal);
}

.modal-close-btn {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-slate);
  transition: color 0.2s ease, transform 0.2s ease;
}

.modal-close-btn:hover {
  color: var(--primary-orange);
  transform: rotate(90deg);
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .facilities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .faculty-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .schedule-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .scholarship-box {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  /* Hide announcement bar from top of page on mobile */
  body > aside#top-announcement-bar {
    display: none;
  }

  /* Style aside#top-announcement-bar at the bottom of the mobile navigation menu */
  aside#top-announcement-bar {
    display: block;
    width: 100%;
    margin-top: 10px;
    padding: 14px 16px;
    border-radius: 6px;
    background-color: #1E293B;
    border: 1px solid #334155;
    border-top: 3px solid var(--primary-amber);
    box-sizing: border-box;
  }
  aside#top-announcement-bar .announcement-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 0;
  }
  aside#top-announcement-bar .announcement-item {
    font-size: 13px;
    line-height: 1.4;
    color: #F1F5F9;
  }

  .logo-tagline {
    display: none !important;
  }
  .logo-title {
    font-size: 16px;
  }
  .mobile-menu-btn {
    display: flex;
  }

  /* Full-height 85% width slide-in drawer from the right with frosted glass backdrop */
  .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    width: min(340px, 85vw);
    height: 100vh;
    height: 100dvh;
    background: rgba(15, 23, 42, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-left: 1px solid rgba(245, 158, 11, 0.35);
    box-shadow: -12px 0 40px rgba(0, 0, 0, 0.55);
    padding: 76px 20px 32px 20px;
    gap: 8px;
    z-index: 1050;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateX(100%);
    transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
  }

  .nav-links.active {
    transform: translateX(0);
  }

  /* Staggered Link Cascade inside Mobile Drawer (70ms intentional delay per item) */
  .nav-links .nav-item {
    width: 100%;
    opacity: 0;
    transform: translateX(35px);
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.45s ease;
  }

  .nav-links.active .nav-item {
    opacity: 1;
    transform: translateX(0);
  }

  .nav-links.active .nav-item:nth-child(1) { transition-delay: 70ms; }
  .nav-links.active .nav-item:nth-child(2) { transition-delay: 140ms; }
  .nav-links.active .nav-item:nth-child(3) { transition-delay: 210ms; }
  .nav-links.active .nav-item:nth-child(4) { transition-delay: 280ms; }
  .nav-links.active .nav-item:nth-child(5) { transition-delay: 350ms; }
  .nav-links.active .nav-item:nth-child(6) { transition-delay: 420ms; }
  .nav-links.active .nav-item:nth-child(7) { transition-delay: 490ms; }

  .nav-links .nav-item a {
    display: flex;
    align-items: center;
    width: 100%;
    font-size: 15.5px;
    font-weight: 600;
    color: #F1F5F9;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background-color: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(51, 65, 85, 0.7);
    transition: all 0.25s ease;
  }

  .nav-links .nav-item a:hover,
  .nav-links .nav-item a.active {
    color: #FFFFFF;
    background-color: rgba(245, 158, 11, 0.18);
    border-color: rgba(245, 158, 11, 0.4);
    border-bottom-color: var(--primary-amber);
    padding-left: 20px;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.12);
  }

  /* Style aside#top-announcement-bar inside mobile drawer */
  .nav-links aside#top-announcement-bar {
    display: block;
    width: 100%;
    margin-top: 14px;
    padding: 14px 16px;
    border-radius: 8px;
    background-color: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(51, 65, 85, 0.8);
    border-top: 3px solid var(--primary-amber);
    box-sizing: border-box;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.4s ease 540ms, transform 0.4s ease 540ms;
  }

  .nav-links.active aside#top-announcement-bar {
    opacity: 1;
    transform: translateY(0);
  }

  /* Prevent background scrolling when menu drawer is open */
  body.mobile-menu-open {
    overflow: hidden;
  }

  /* Mobile Touch & Card Interactions: Active Tap Tactile State */
  .course-card,
  .facility-card,
  .faculty-card,
  .testimonial-card,
  .step-card,
  .study-card,
  .btn-primary,
  .btn-secondary,
  .btn-card,
  .btn-whatsapp,
  .fab-btn,
  .faq-accordion-trigger {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }

  .course-card:active,
  .facility-card:active,
  .faculty-card:active,
  .testimonial-card:active,
  .step-card:active,
  .study-card:active,
  .btn-primary:active,
  .btn-secondary:active,
  .btn-card:active,
  .btn-whatsapp:active,
  .fab-btn:active {
    transform: scale(0.97) !important;
    transition: transform 0.12s ease !important;
  }

  /* Swipeable Testimonial Cards with native CSS touch scrolling */
  .testimonials-slider-wrapper {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    padding: 10px 16px 20px 16px;
    scrollbar-width: none;
  }

  .testimonials-slider-wrapper::-webkit-scrollbar {
    display: none;
  }

  .testimonials-track {
    display: flex;
    gap: 16px;
    width: max-content;
    transform: none !important;
  }

  .testimonials-track .testimonial-card {
    scroll-snap-align: center;
    flex: 0 0 84vw;
    max-width: 320px;
    margin-bottom: 0;
  }
  .hero-section {
    padding-top: 24px;
    padding-bottom: 36px;
  }
  .hero-grid {
    gap: 24px;
  }
  .hero-pill {
    font-size: 11.5px;
    padding: 5px 12px;
    margin-bottom: 12px;
  }
  .hero-headline {
    font-size: clamp(1.85rem, 6vw, 2.4rem);
    line-height: 1.2;
    margin-bottom: 14px;
    letter-spacing: -0.02em;
  }
  .hero-subheadline {
    font-size: 15px;
    line-height: 1.55;
    margin-bottom: 20px;
  }
  .hero-cta-buttons {
    gap: 12px;
    margin-bottom: 20px;
    flex-direction: column;
  }
  .hero-cta-buttons .btn-primary,
  .hero-cta-buttons .btn-secondary {
    width: 100%;
    text-align: center;
  }
  .hero-guarantee {
    gap: 10px;
    padding-top: 14px;
    font-size: 12px;
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-main-img {
    height: 260px;
  }
  .section {
    padding-top: 44px;
    padding-bottom: 44px;
  }
  .section-header {
    margin-bottom: 28px;
  }
  .scholarship-box {
    padding: 24px 20px;
  }
  .courses-grid {
    grid-template-columns: 1fr;
  }
  .schedule-grid {
    grid-template-columns: 1fr;
  }
  .study-grid {
    grid-template-columns: 1fr;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .btn-nav-call {
    display: none;
  }
  .hero-card-floating {
    position: static;
    margin-top: 16px;
  }
}

@media (max-width: 480px) {
  .hero-section {
    padding-top: 18px;
    padding-bottom: 30px;
  }
  .hero-main-img {
    height: 220px;
  }
  .metrics-grid {
    grid-template-columns: 1fr;
  }
  .facilities-grid {
    grid-template-columns: 1fr;
  }
  .faculty-grid {
    grid-template-columns: 1fr;
  }
  .hero-headline {
    font-size: clamp(1.68rem, 6.8vw, 2.1rem);
  }
  .section-title {
    font-size: clamp(1.4rem, 5.5vw, 1.85rem);
  }
}
