/* ==========================================================================
   BRIGHT FUTURE ACADEMY — Master Stylesheet
   Theme: Deep Blue, Royal Indigo, Sky Cyan, Warm Amber & Crisp White
   ========================================================================== */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

/* --- Root CSS Variables --- */
:root {
  /* Brand Palette */
  --primary: #0f172a;        /* Deep Slate Navy */
  --primary-dark: #070d1e;   /* Midnight Abyss */
  --primary-light: #1e293b;  /* Dark Blue Slate */
  
  --brand-blue: #1d4ed8;     /* Royal Core Blue */
  --brand-blue-hover: #1e40af;
  --accent-cyan: #06b6d4;    /* Vibrant Sky Cyan */
  --accent-cyan-light: #e0f2fe;
  
  --accent-amber: #f59e0b;   /* Achievement Gold / Amber */
  --accent-amber-light: #fef3c7;
  
  --accent-emerald: #10b981; /* Success Green */
  --accent-rose: #f43f5e;    /* Rank Accent */

  /* Neutral Backgrounds */
  --bg-page: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-muted: #f1f5f9;
  --bg-dark-section: #0b1329;
  
  /* Text Colors */
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --text-white: #ffffff;

  /* Borders & Shadows */
  --border-light: #e2e8f0;
  --border-glass: rgba(255, 255, 255, 0.15);
  --border-glass-dark: rgba(15, 23, 42, 0.08);
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.07), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.05);
  --shadow-glow: 0 0 25px rgba(37, 99, 235, 0.25);
  --shadow-amber-glow: 0 0 20px rgba(245, 158, 11, 0.3);

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
}

/* --- Base & Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: auto !important; /* Managed smoothly by Lenis */
}

html.lenis, html.lenis-smooth {
  height: auto;
}

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

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

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

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--bg-page);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography Defaults */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--primary);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

p {
  margin-bottom: 1rem;
  color: var(--text-muted);
}

a {
  color: var(--brand-blue);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: var(--brand-blue-hover);
}

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

/* --- Section Layout & Shared Styles --- */
.section-padding {
  padding: 100px 0;
  position: relative;
}

.section-padding-sm {
  padding: 60px 0;
  position: relative;
}

.section-header {
  margin-bottom: 50px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--accent-cyan-light);
  color: var(--brand-blue);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
  border: 1px solid rgba(6, 182, 212, 0.2);
}

.section-badge i {
  font-size: 0.95rem;
  color: var(--accent-cyan);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
}

.section-header.text-start .section-subtitle {
  margin-left: 0;
}

/* Gradient Text Helper */
.text-gradient-primary {
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-amber {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --- Custom Buttons --- */
.btn {
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  transition: all var(--transition-normal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.975rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary-custom {
  background: linear-gradient(135deg, var(--brand-blue) 0%, #1e40af 100%);
  color: var(--text-white);
  border: none;
  box-shadow: 0 4px 14px rgba(29, 78, 216, 0.35);
}

.btn-primary-custom:hover {
  color: var(--text-white);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(29, 78, 216, 0.45);
}

.btn-accent-custom {
  background: linear-gradient(135deg, var(--accent-amber) 0%, #ea580c 100%);
  color: var(--text-white);
  border: none;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}

.btn-accent-custom:hover {
  color: var(--text-white);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.45);
}

.btn-outline-custom {
  background: transparent;
  color: var(--brand-blue);
  border: 2px solid var(--brand-blue);
}

.btn-outline-custom:hover {
  background: var(--brand-blue);
  color: var(--text-white);
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(29, 78, 216, 0.25);
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-white);
  border: 2px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
}

.btn-outline-white:hover {
  background: var(--text-white);
  color: var(--primary);
  border-color: var(--text-white);
  transform: translateY(-3px);
}

.btn-lg-custom {
  padding: 15px 34px;
  font-size: 1.05rem;
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.bfa-navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: all var(--transition-normal);
  background: transparent;
}

.bfa-navbar.scrolled {
  padding: 12px 0;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0;
}

.brand-logo-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand-blue), var(--accent-cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  font-size: 1.4rem;
  box-shadow: 0 4px 12px rgba(6, 182, 212, 0.35);
  transition: transform var(--transition-bounce);
}

.navbar-brand:hover .brand-logo-icon {
  transform: rotate(10deg) scale(1.08);
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.brand-tagline {
  font-size: 0.725rem;
  color: var(--accent-cyan);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* Nav Links */
.navbar-nav {
  gap: 4px;
}

.nav-link {
  font-family: var(--font-heading);
  color: rgba(255, 255, 255, 0.85) !important;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 14px !important;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  position: relative;
}

.nav-link:hover, 
.nav-link.active {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.12);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 3px;
  background: var(--accent-cyan);
  border-radius: var(--radius-full);
}

.nav-cta-btn {
  padding: 9px 22px;
  font-size: 0.9rem;
}

/* Mobile Navbar Toggle */
.navbar-toggler {
  border: none;
  padding: 6px;
  color: var(--text-white);
  font-size: 1.5rem;
  outline: none !important;
  box-shadow: none !important;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  background: radial-gradient(circle at 80% 20%, #1e3a8a 0%, #0f172a 60%, #070d1e 100%);
  display: flex;
  align-items: center;
  padding: 140px 0 100px;
  overflow: hidden;
  color: var(--text-white);
}

/* Background animated decorative orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.45;
  animation: orbFloat 10s ease-in-out infinite alternate;
}

.hero-orb-1 {
  width: 500px;
  height: 500px;
  background: #1d4ed8;
  top: -100px;
  right: -100px;
}

.hero-orb-2 {
  width: 400px;
  height: 400px;
  background: #06b6d4;
  bottom: 50px;
  left: -150px;
  animation-duration: 14s;
}

.hero-orb-3 {
  width: 300px;
  height: 300px;
  background: #f59e0b;
  top: 40%;
  right: 35%;
  opacity: 0.15;
  animation-duration: 8s;
}

@keyframes orbFloat {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(40px, 30px) scale(1.1); }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-cyan);
  margin-bottom: 24px;
}

.hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 10px #10b981;
  animation: pulseAnimation 2s infinite;
}

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

.hero-title {
  font-size: 3.6rem;
  font-weight: 900;
  line-height: 1.12;
  color: var(--text-white);
  margin-bottom: 22px;
  letter-spacing: -0.03em;
}

.hero-description {
  font-size: 1.2rem;
  color: #cbd5e1;
  line-height: 1.7;
  max-width: 580px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 45px;
}

.hero-highlights {
  display: flex;
  gap: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.highlight-item i {
  font-size: 1.3rem;
  color: var(--accent-cyan);
}

.highlight-item span {
  font-size: 0.925rem;
  color: #e2e8f0;
  font-weight: 500;
}

/* Hero Visual Composition */
.hero-visual-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-main-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.15);
  background: var(--primary-light);
  transform: perspective(1000px) rotateY(-4deg) rotateX(2deg);
  transition: transform var(--transition-slow);
}

.hero-image-main-card:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.02);
}

.hero-main-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

/* Floating Badges on Hero */
.floating-badge {
  position: absolute;
  padding: 14px 20px;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 2;
  animation: floatCard 6s ease-in-out infinite;
}

.floating-badge-1 {
  top: 30px;
  left: -35px;
  animation-delay: 0s;
}

.floating-badge-2 {
  bottom: 40px;
  right: -30px;
  animation-delay: 2s;
}

.floating-badge-3 {
  top: 50%;
  right: -45px;
  animation-delay: 4s;
}

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

.badge-icon-box {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: var(--text-white);
}

.badge-icon-box.blue {
  background: linear-gradient(135deg, var(--brand-blue), var(--accent-cyan));
}

.badge-icon-box.amber {
  background: linear-gradient(135deg, var(--accent-amber), #ea580c);
}

.badge-icon-box.emerald {
  background: linear-gradient(135deg, var(--accent-emerald), #059669);
}

.badge-text-val {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.1;
}

.badge-text-lbl {
  font-size: 0.775rem;
  color: #94a3b8;
  font-weight: 500;
}

/* ==========================================================================
   STATISTICS BAR SECTION
   ========================================================================== */
.stats-section {
  background: var(--bg-surface);
  position: relative;
  z-index: 10;
  margin-top: -50px;
}

.stats-card-container {
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
  border: 1px solid var(--border-light);
  padding: 40px 30px;
}

.stat-item {
  text-align: center;
  padding: 15px;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--border-light);
}

.stat-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
  display: inline-block;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* ==========================================================================
   ABOUT ACADEMY SECTION
   ========================================================================== */
.about-image-stack {
  position: relative;
}

.about-main-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 8px solid var(--bg-surface);
  position: relative;
  z-index: 1;
}

.about-main-frame img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.about-main-frame:hover img {
  transform: scale(1.04);
}

.about-exp-badge {
  position: absolute;
  bottom: -25px;
  right: -20px;
  background: var(--primary);
  color: var(--text-white);
  padding: 24px 28px;
  border-radius: var(--radius-lg);
  box-shadow: 0 15px 30px rgba(15, 23, 42, 0.25);
  border: 2px solid rgba(255, 255, 255, 0.15);
  z-index: 2;
  text-align: center;
}

.about-exp-badge .exp-num {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--accent-amber);
  line-height: 1;
  margin-bottom: 4px;
}

.about-exp-badge .exp-txt {
  font-size: 0.825rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #cbd5e1;
}

.about-backdrop-shape {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 80%;
  height: 80%;
  background: linear-gradient(135deg, var(--accent-cyan-light), #dbeafe);
  border-radius: var(--radius-xl);
  z-index: 0;
}

.feature-pill-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 28px 0 36px;
}

.feature-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-surface);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.feature-pill:hover {
  border-color: var(--brand-blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.feature-pill i {
  color: var(--accent-emerald);
  font-size: 1.15rem;
}

.feature-pill span {
  font-weight: 600;
  color: var(--text-main);
  font-size: 0.925rem;
}

/* ==========================================================================
   COURSES SECTION
   ========================================================================== */
.courses-section {
  background: var(--bg-surface-muted);
}

.course-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(37, 99, 235, 0.3);
}

.course-img-wrap {
  position: relative;
  height: 210px;
  overflow: hidden;
}

.course-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.course-category-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  color: var(--text-white);
  font-size: 0.775rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.course-duration-badge {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: var(--bg-surface);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 6px;
}

.course-duration-badge i {
  color: var(--accent-amber);
}

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

.course-icon-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.course-icon-box {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--accent-cyan-light);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.course-card-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
}

.course-desc {
  font-size: 0.925rem;
  color: var(--text-muted);
  margin-bottom: 18px;
  line-height: 1.55;
}

.course-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.course-features-list li {
  font-size: 0.875rem;
  color: var(--text-main);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.course-features-list li i {
  color: var(--accent-emerald);
  font-size: 0.95rem;
}

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

.course-btn-link {
  font-weight: 700;
  font-size: 0.925rem;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--brand-blue);
}

.course-btn-link:hover {
  gap: 10px;
  color: var(--brand-blue-hover);
}

/* ==========================================================================
   WHY CHOOSE US SECTION
   ========================================================================== */
.why-choose-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.why-choose-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0%;
  background: linear-gradient(to bottom, var(--brand-blue), var(--accent-cyan));
  transition: height var(--transition-normal);
}

.why-choose-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(37, 99, 235, 0.2);
}

.why-choose-card:hover::before {
  height: 100%;
}

.why-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
  transition: all var(--transition-bounce);
}

.why-choose-card:hover .why-icon-box {
  background: linear-gradient(135deg, var(--brand-blue), var(--accent-cyan));
  color: var(--text-white);
  transform: rotate(6deg) scale(1.05);
}

.why-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}

.why-card-text {
  font-size: 0.925rem;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.6;
}

/* ==========================================================================
   LEARNING PROCESS TIMELINE
   ========================================================================== */
.process-section {
  background: var(--bg-dark-section);
  color: var(--text-white);
  position: relative;
  overflow: hidden;
}

.process-section .section-title {
  color: var(--text-white);
}

.process-section .section-subtitle {
  color: #94a3b8;
}

.process-timeline-wrap {
  position: relative;
  margin-top: 40px;
}

.process-timeline-line {
  position: absolute;
  top: 35px;
  left: 5%;
  right: 5%;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-blue), var(--accent-cyan), var(--accent-amber), #10b981);
  z-index: 1;
}

.process-step-item {
  position: relative;
  z-index: 2;
  text-align: center;
}

.step-node-badge {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--primary);
  border: 4px solid var(--accent-cyan);
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--text-white);
  transition: all var(--transition-bounce);
}

.process-step-item:hover .step-node-badge {
  transform: scale(1.15);
  border-color: var(--accent-amber);
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.6);
}

.step-box-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 24px 18px;
  border-radius: var(--radius-lg);
  transition: all var(--transition-normal);
}

.process-step-item:hover .step-box-card {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.25);
}

.step-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 8px;
}

.step-desc {
  font-size: 0.875rem;
  color: #cbd5e1;
  margin: 0;
  line-height: 1.5;
}

/* ==========================================================================
   FACULTY SECTION
   ========================================================================== */
.faculty-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  text-align: center;
}

.faculty-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(37, 99, 235, 0.3);
}

.faculty-img-box {
  position: relative;
  height: 280px;
  overflow: hidden;
  background: #e2e8f0;
}

.faculty-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform var(--transition-slow);
}

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

.faculty-exp-pill {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  color: var(--accent-amber);
  font-size: 0.775rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.faculty-body {
  padding: 24px 20px;
}

.faculty-name {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
}

.faculty-subject {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--brand-blue);
  margin-bottom: 6px;
}

.faculty-qualification {
  font-size: 0.825rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.faculty-socials {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.faculty-social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-surface-muted);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.faculty-social-link:hover {
  background: var(--brand-blue);
  color: var(--text-white);
  transform: translateY(-2px);
}

/* ==========================================================================
   RESULTS & ACHIEVEMENTS SECTION
   ========================================================================== */
.results-section {
  background: var(--bg-surface-muted);
}

.result-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
}

.result-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(245, 158, 11, 0.4);
}

.result-rank-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: var(--text-white);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.775rem;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 10px rgba(245, 158, 11, 0.3);
}

.result-student-info {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.result-student-avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent-cyan-light);
}

.result-student-name {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 2px;
}

.result-exam-tag {
  font-size: 0.85rem;
  color: var(--brand-blue);
  font-weight: 700;
}

.result-score-box {
  background: linear-gradient(135deg, #f8fafc, #f1f5f9);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
  border: 1px solid var(--border-light);
}

.result-score-num {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}

.result-score-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  margin-top: 4px;
}

/* ==========================================================================
   SUCCESS STORY SPOTLIGHT
   ========================================================================== */
.success-story-card {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: var(--radius-xl);
  color: var(--text-white);
  padding: 50px;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.success-story-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.success-story-img-wrap {
  position: relative;
}

.success-story-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 4px solid rgba(255, 255, 255, 0.15);
}

.success-score-comparison {
  display: flex;
  gap: 20px;
  margin: 24px 0;
}

.score-box {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  text-align: center;
  flex: 1;
}

.score-box.highlight {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.4);
}

.score-val {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1;
}

.score-box.highlight .score-val {
  color: #34d399;
}

.score-lbl {
  font-size: 0.775rem;
  color: #cbd5e1;
  margin-top: 4px;
}

.success-quote {
  font-style: italic;
  font-size: 1.05rem;
  color: #e2e8f0;
  line-height: 1.7;
  margin-bottom: 24px;
}

/* ==========================================================================
   GALLERY SECTION WITH FILTER TABS & LIGHTBOX
   ========================================================================== */
.gallery-filter-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}

.gallery-filter-btn {
  padding: 9px 20px;
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
  background: var(--brand-blue);
  color: var(--text-white);
  border-color: var(--brand-blue);
  box-shadow: 0 4px 12px rgba(29, 78, 216, 0.3);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 260px;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: all var(--transition-normal);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.3) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 4px;
}

.gallery-item-cat {
  font-size: 0.8rem;
  color: var(--accent-cyan);
  font-weight: 600;
  text-transform: uppercase;
}

.gallery-zoom-icon {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  font-size: 1.1rem;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(7, 13, 30, 0.94);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 900px;
  width: 100%;
  text-align: center;
}

.lightbox-img {
  max-height: 80vh;
  width: auto;
  max-width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
  margin: 0 auto;
}

.lightbox-caption {
  color: var(--text-white);
  margin-top: 16px;
  font-size: 1.1rem;
  font-weight: 600;
}

.lightbox-close-btn {
  position: absolute;
  top: -45px;
  right: 0;
  background: transparent;
  border: none;
  color: var(--text-white);
  font-size: 2rem;
  cursor: pointer;
  transition: transform var(--transition-fast);
}

.lightbox-close-btn:hover {
  transform: scale(1.2);
  color: var(--accent-amber);
}

/* ==========================================================================
   TESTIMONIALS CAROUSEL
   ========================================================================== */
.testimonials-section {
  background: var(--bg-surface);
}

.testimonial-card {
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  padding: 40px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
  position: relative;
  margin: 20px 10px;
}

.testimonial-stars {
  color: #f59e0b;
  font-size: 1.1rem;
  margin-bottom: 18px;
  display: flex;
  gap: 4px;
}

.testimonial-text {
  font-size: 1.075rem;
  line-height: 1.7;
  color: var(--text-main);
  font-style: italic;
  margin-bottom: 28px;
}

.testimonial-author-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonial-avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--brand-blue);
}

.testimonial-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 2px;
}

.testimonial-role {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--brand-blue);
  opacity: 0.3;
  margin: 0 6px;
  border: none;
  transition: all var(--transition-fast);
}

.carousel-indicators .active {
  opacity: 1;
  width: 32px;
  border-radius: var(--radius-full);
}

/* ==========================================================================
   ADMISSION CTA & FORM SECTION
   ========================================================================== */
.admission-cta-banner {
  background: radial-gradient(circle at 10% 20%, #1e3a8a 0%, #0f172a 70%, #070d1e 100%);
  border-radius: var(--radius-xl);
  padding: 60px;
  color: var(--text-white);
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.admission-cta-banner .cta-title {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--text-white);
  margin-bottom: 16px;
}

.admission-cta-banner .cta-desc {
  font-size: 1.15rem;
  color: #cbd5e1;
  margin-bottom: 30px;
}

/* Admission Form Card */
.form-card {
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-light);
}

.form-card-header {
  margin-bottom: 28px;
  text-align: center;
}

.form-card-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 6px;
}

.form-label {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--primary);
  margin-bottom: 6px;
}

.form-control,
.form-select {
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-light);
  font-size: 0.95rem;
  color: var(--text-main);
  transition: all var(--transition-fast);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-info-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 20px;
  transition: all var(--transition-fast);
}

.contact-info-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(37, 99, 235, 0.3);
}

.contact-info-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--accent-cyan-light);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.contact-info-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
}

.contact-info-desc {
  font-size: 0.925rem;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.5;
}

.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  height: 280px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer-section {
  background: #070d1e;
  color: #94a3b8;
  padding: 80px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text-white);
  margin-bottom: 14px;
}

.footer-about-text {
  font-size: 0.925rem;
  line-height: 1.7;
  margin-bottom: 24px;
  color: #94a3b8;
}

.footer-social-links {
  display: flex;
  gap: 12px;
}

.footer-social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all var(--transition-fast);
}

.footer-social-btn:hover {
  background: var(--brand-blue);
  color: var(--text-white);
  transform: translateY(-3px);
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--accent-cyan);
  border-radius: var(--radius-full);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-links a {
  color: #94a3b8;
  font-size: 0.925rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent-cyan);
  transform: translateX(5px);
}

.footer-bottom {
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.875rem;
  color: #64748b;
  text-align: center;
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS (INTERSECTION OBSERVER)
   ========================================================================== */
.reveal-fade-up {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-fade-in {
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-slide-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-slide-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale-up {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-active {
  opacity: 1 !important;
  transform: translate(0, 0) scale(1) !important;
}

/* Delay helpers */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }
.delay-500 { transition-delay: 500ms; }

/* Accessible motion reduction */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal-fade-up, .reveal-fade-in, .reveal-slide-left, .reveal-slide-right, .reveal-scale-up {
    opacity: 1 !important;
    transform: none !important;
  }
}
