/* =============================================
   SKY TUTORIALS - Premium CSS Stylesheet
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;800&family=DM+Sans:wght@300;400;500;600;700&display=swap');

/* CSS Variables */
:root {
  --primary: #0a2463;
  --primary-light: #1a3a8f;
  --secondary: #e6c84a;
  --gold: #d4a017;
  --gold-light: #f0d060;
  --accent: #1e88e5;
  --accent2: #e53935;
  --white: #ffffff;
  --off-white: #f8f9ff;
  --light: #eef2ff;
  --gray: #6b7280;
  --dark: #0d1b3e;
  --text: #1e2d5a;
  --border: rgba(10,36,99,0.12);

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', sans-serif;

  --shadow-sm: 0 2px 12px rgba(10,36,99,0.08);
  --shadow-md: 0 8px 32px rgba(10,36,99,0.14);
  --shadow-lg: 0 20px 60px rgba(10,36,99,0.18);
  --shadow-gold: 0 8px 32px rgba(212,160,23,0.25);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 40px;

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  --navbar-h: 80px;
}

/* Dark Mode */
body.dark-mode {
  --off-white: #0f1624;
  --light: #111827;
  --white: #1a2540;
  --text: #d0d9f0;
  --gray: #9ca3af;
  --border: rgba(255,255,255,0.10);
  --dark: #e8edff;
}

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--off-white);
  line-height: 1.7;
  overflow-x: hidden;
  transition: background 0.3s, color 0.3s;
}

h1,h2,h3,h4,h5 {
  font-family: var(--font-heading);
  color: var(--primary);
  font-weight: 700;
  line-height: 1.25;
}
body.dark-mode h1,body.dark-mode h2,body.dark-mode h3,body.dark-mode h4,body.dark-mode h5 {
  color: #c8d6ff;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; display: block; }
ul { list-style: none; padding: 0; }

/* =============================================
   PRELOADER
   ============================================= */
#preloader {
  position: fixed; inset: 0; z-index: 99999;
  background: var(--primary);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.5s, visibility 0.5s;
}
#preloader.hide { opacity: 0; visibility: hidden; }
.loader-logo {
  text-align: center;
  animation: loaderPulse 1s ease-in-out infinite alternate;
}
.loader-logo span {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--secondary);
  display: block;
}
.loader-logo small {
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  letter-spacing: 3px;
  text-transform: uppercase;
}
.loader-bar {
  width: 200px; height: 3px;
  background: rgba(255,255,255,0.2);
  border-radius: 99px;
  margin: 16px auto 0;
  overflow: hidden;
}
.loader-bar::after {
  content: '';
  display: block;
  height: 100%;
  width: 0;
  background: var(--secondary);
  border-radius: 99px;
  animation: loaderFill 1.5s ease forwards;
}
@keyframes loaderPulse { from { opacity: 0.7; } to { opacity: 1; } }
@keyframes loaderFill { to { width: 100%; } }

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  height: var(--navbar-h);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
  z-index: 1000;
}
body.dark-mode .navbar { background: rgba(10,18,40,0.95); }
.navbar.scrolled {
  height: 64px;
  box-shadow: var(--shadow-md);
}
.navbar-brand .brand-name {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
}
body.dark-mode .navbar-brand .brand-name { color: #c8d6ff; }
.navbar-brand .brand-name span { color: var(--secondary); }
.navbar-brand small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.65rem;
  color: var(--gray);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
}
.nav-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text) !important;
  padding: 6px 14px !important;
  border-radius: 6px;
  letter-spacing: 0.3px;
  transition: var(--transition);
}
.nav-link:hover, .nav-link.active {
  color: var(--primary) !important;
  background: var(--light);
}
body.dark-mode .nav-link { color: #c8d6ff !important; }
body.dark-mode .nav-link:hover, body.dark-mode .nav-link.active {
  color: var(--secondary) !important;
  background: rgba(255,255,255,0.08);
}
.btn-enroll {
  background: linear-gradient(135deg, var(--secondary), var(--gold));
  color: var(--primary) !important;
  font-weight: 700 !important;
  padding: 10px 22px !important;
  border-radius: 50px !important;
  font-size: 0.85rem !important;
  box-shadow: 0 4px 15px rgba(212,160,23,0.35);
  letter-spacing: 0.3px;
}
.btn-enroll:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212,160,23,0.5) !important;
  background: linear-gradient(135deg, var(--gold-light), var(--secondary)) !important;
}

/* Dark mode toggle */
#darkModeToggle {
  background: none; border: 2px solid var(--border);
  border-radius: 50%; width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text); cursor: pointer; transition: var(--transition);
  font-size: 1rem;
}
#darkModeToggle:hover { background: var(--light); border-color: var(--primary); }
body.dark-mode #darkModeToggle { color: var(--secondary); border-color: rgba(255,255,255,0.2); }

/* =============================================
   HERO SECTION
   ============================================= */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, #05153f 0%, #0a2463 40%, #1a3a8f 100%);
  position: relative;
  display: flex; align-items: center;
  overflow: hidden;
  padding-top: var(--navbar-h);
}
.hero-bg-pattern {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(230,200,74,0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(30,136,229,0.1) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(255,255,255,0.02) 0%, transparent 70%);
  pointer-events: none;
}
.hero-grid {
  position: absolute; inset: 0; opacity: 0.04;
  background-image: linear-gradient(var(--white) 1px, transparent 1px), linear-gradient(90deg, var(--white) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(230,200,74,0.15);
  border: 1px solid rgba(230,200,74,0.3);
  color: var(--secondary);
  padding: 8px 18px; border-radius: 50px;
  font-size: 0.8rem; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-badge i { font-size: 0.75rem; }
.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  color: var(--white);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero-title .highlight {
  background: linear-gradient(90deg, var(--secondary), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  max-width: 540px;
  margin-bottom: 36px;
  font-weight: 400;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-hero-primary {
  background: linear-gradient(135deg, var(--secondary), var(--gold));
  color: var(--primary);
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 0.95rem;
  box-shadow: 0 8px 25px rgba(212,160,23,0.4);
  transition: var(--transition);
  border: none;
}
.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(212,160,23,0.55);
  color: var(--primary);
}
.btn-hero-outline {
  background: transparent;
  color: var(--white);
  font-weight: 600;
  padding: 13px 30px;
  border-radius: 50px;
  font-size: 0.95rem;
  border: 2px solid rgba(255,255,255,0.4);
  transition: var(--transition);
}
.btn-hero-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.8);
  color: var(--white);
  transform: translateY(-3px);
}
.hero-stats {
  display: flex; gap: 32px; flex-wrap: wrap;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.hero-stat-item .stat-num {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--secondary);
  display: block;
  line-height: 1;
}
.hero-stat-item .stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}
.hero-visual {
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.hero-card-stack {
  position: relative;
  width: 100%;
  max-width: 420px;
}
.hero-main-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-lg);
  padding: 32px;
  color: var(--white);
}
.hero-main-card .card-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--secondary), var(--gold));
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--primary);
}
.hero-main-card h3 { color: var(--white); font-size: 1.4rem; margin-bottom: 8px; }
.hero-main-card p { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.hero-floating-badge {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 10px;
  font-size: 0.8rem; font-weight: 600;
  color: var(--primary);
  white-space: nowrap;
  animation: float 3s ease-in-out infinite;
}
.hero-floating-badge.badge-1 { top: -20px; right: -20px; animation-delay: 0s; }
.hero-floating-badge.badge-2 { bottom: -20px; left: -20px; animation-delay: 1.5s; }
.hero-floating-badge i { color: var(--secondary); font-size: 1.2rem; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* =============================================
   SECTION COMMON
   ============================================= */
.section-padding { padding: 90px 0; }
.section-sm { padding: 60px 0; }

.section-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-tag::before {
  content: '';
  width: 24px; height: 3px;
  background: linear-gradient(90deg, var(--secondary), var(--gold));
  border-radius: 2px;
  display: block;
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  margin-bottom: 16px;
  color: var(--primary);
}
body.dark-mode .section-title { color: #c8d6ff; }
.section-subtitle {
  color: var(--gray);
  max-width: 580px;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* =============================================
   STAT COUNTERS
   ============================================= */
.stats-section {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}
.stats-section::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.stat-card {
  text-align: center;
  padding: 20px;
  position: relative;
}
.stat-card .count {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--secondary);
  display: block;
  line-height: 1;
}
.stat-card .stat-title {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  margin-top: 8px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.stat-divider {
  width: 1px;
  background: rgba(255,255,255,0.15);
  align-self: stretch;
}

/* =============================================
   COURSE CARDS
   ============================================= */
.course-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border);
  height: 100%;
}
body.dark-mode .course-card { background: #1a2540; border-color: rgba(255,255,255,0.08); }
.course-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--secondary);
}
.course-card-header {
  padding: 28px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  position: relative;
  overflow: hidden;
}
.course-card-header::after {
  content: '';
  position: absolute;
  right: -20px; top: -20px;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
}
.course-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--secondary), var(--gold));
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 16px;
  position: relative; z-index: 1;
}
.course-card-header h4 { color: var(--white); margin-bottom: 4px; font-size: 1.25rem; }
.course-badge {
  display: inline-block;
  background: rgba(230,200,74,0.2);
  color: var(--secondary);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 50px;
  border: 1px solid rgba(230,200,74,0.3);
  letter-spacing: 0.5px;
}
.course-body { padding: 24px; }
.course-feat { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 10px; font-size: 0.88rem; }
.course-feat i { color: var(--gold); margin-top: 3px; flex-shrink: 0; }
.btn-course {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  font-weight: 600;
  padding: 11px 24px;
  border-radius: 50px;
  font-size: 0.88rem;
  transition: var(--transition);
  border: none;
  /* margin-top: 12px; */
}
.btn-course:hover {
  background: linear-gradient(135deg, var(--secondary), var(--gold));
  color: var(--primary);
  transform: translateX(4px);
}

/* =============================================
   WHY CHOOSE US
   ============================================= */
.feature-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
  height: 100%;
}
body.dark-mode .feature-card { background: #1a2540; border-color: rgba(255,255,255,0.08); }
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--secondary);
}
.feature-icon {
  width: 72px; height: 72px;
  border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--light), #dde6ff);
  color: var(--primary);
  transition: var(--transition);
}
body.dark-mode .feature-icon { background: rgba(255,255,255,0.1); }
.feature-card:hover .feature-icon {
  background: linear-gradient(135deg, var(--secondary), var(--gold));
  color: var(--primary);
  transform: rotate(-5deg) scale(1.1);
}
.feature-card h5 { font-size: 1.05rem; margin-bottom: 8px; color: var(--primary); }
body.dark-mode .feature-card h5 { color: #c8d6ff; }
.feature-card p { font-size: 0.88rem; color: var(--gray); }

/* =============================================
   RESULT CARDS
   ============================================= */
.result-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
body.dark-mode .result-card { background: #1a2540; border-color: rgba(255,255,255,0.08); }
.result-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary), var(--gold));
}
.result-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.result-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  margin: 0 auto 12px;
  background: linear-gradient(135deg, var(--light), #dde6ff);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  color: var(--primary);
  font-family: var(--font-heading);
  font-weight: 700;
  border: 3px solid var(--secondary);
}
.result-card h5 { font-size: 1rem; color: var(--primary); margin-bottom: 4px; }
body.dark-mode .result-card h5 { color: #c8d6ff; }
.result-rank {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gold);
  font-family: var(--font-heading);
}
.result-exam {
  font-size: 0.78rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
body.dark-mode .testimonial-card { background: #1a2540; border-color: rgba(255,255,255,0.08); }
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: -10px; left: 20px;
  font-size: 8rem;
  color: var(--secondary);
  opacity: 0.15;
  font-family: Georgia, serif;
  line-height: 1;
}
.stars { color: var(--secondary); margin-bottom: 16px; }
.testimonial-text { font-size: 0.95rem; color: var(--gray); line-height: 1.8; margin-bottom: 20px; font-style: italic; }
.test-author { display: flex; align-items: center; gap: 12px; }
.test-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  font-family: var(--font-heading);
  flex-shrink: 0;
}
.test-author h6 { font-size: 0.95rem; color: var(--primary); margin: 0; }
body.dark-mode .test-author h6 { color: #c8d6ff; }
.test-author small { color: var(--gray); font-size: 0.8rem; }

/* =============================================
   CTA BANNER
   ============================================= */
.cta-section {
  background: linear-gradient(135deg, #0a2463, #1a3a8f);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(230,200,74,0.1) 0%, transparent 70%);
}
.cta-section h2 { color: var(--white); font-size: 2.4rem; margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,0.75); font-size: 1.1rem; margin-bottom: 32px; max-width: 560px; margin-left: auto; margin-right: auto; }

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.75);
  padding: 70px 0 0;
}
body.dark-mode .footer { background: #060d1f; }
.footer-brand .brand-name {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
}
.footer-brand .brand-name span { color: var(--secondary); }
.footer-brand p { font-size: 0.9rem; margin-top: 12px; line-height: 1.8; }
.footer-heading {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  transition: var(--transition);
  display: flex; align-items: center; gap: 8px;
}
.footer-links a:hover { color: var(--secondary); transform: translateX(4px); }
.footer-links a i { font-size: 0.7rem; color: var(--secondary); }
.footer-contact-item {
  display: flex; gap: 14px; align-items: flex-start;
  margin-bottom: 16px;
}
.footer-contact-item i {
  color: var(--secondary);
  font-size: 1rem;
  margin-top: 3px;
  flex-shrink: 0;
}
.footer-contact-item p { font-size: 0.88rem; margin: 0; color: rgba(255,255,255,0.65); }
.social-links { display: flex; gap: 10px; margin-top: 16px; }
.social-link {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.12);
}
.social-link:hover {
  background: var(--secondary);
  color: var(--primary);
  transform: translateY(-3px);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  margin-top: 48px;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}

/* =============================================
   BACK TO TOP
   ============================================= */
#backToTop {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 999;
  width: 46px; height: 46px;
  background: linear-gradient(135deg, var(--secondary), var(--gold));
  color: var(--primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-gold);
  cursor: pointer;
  opacity: 0; visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  border: none;
}
#backToTop.show { opacity: 1; visibility: visible; transform: translateY(0); }
#backToTop:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(212,160,23,0.5); }

/* =============================================
   PAGE HERO (inner pages)
   ============================================= */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 100px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(230,200,74,0.08) 0%, transparent 60%);
}
.page-hero h1 { color: var(--white); font-size: 2.6rem; margin-bottom: 12px; }
.page-hero .breadcrumb { justify-content: center; background: transparent; padding: 0; }
.page-hero .breadcrumb-item, .page-hero .breadcrumb-item a { color: rgba(255,255,255,0.65); font-size: 0.9rem; }
.page-hero .breadcrumb-item.active { color: var(--secondary); }
.page-hero .breadcrumb-item+.breadcrumb-item::before { color: rgba(255,255,255,0.3); }

/* =============================================
   ABOUT PAGE
   ============================================= */
.about-intro-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.about-img-placeholder {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  height: 420px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  color: var(--white);
  border-radius: var(--radius-lg);
}
.about-img-placeholder i { font-size: 4rem; color: var(--secondary); margin-bottom: 16px; }
.about-img-placeholder span { font-size: 1.1rem; font-weight: 600; }
.about-badge-float {
  position: absolute;
  bottom: -20px; right: -20px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  box-shadow: var(--shadow-lg);
  text-align: center;
}
body.dark-mode .about-badge-float { background: #1a2540; }
.about-badge-float .num {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1;
  display: block;
}
.about-badge-float .lbl { font-size: 0.78rem; color: var(--gray); text-transform: uppercase; letter-spacing: 1px; }

.value-item {
  display: flex; gap: 16px; align-items: flex-start;
  margin-bottom: 24px;
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
body.dark-mode .value-item { background: #1a2540; border-color: rgba(255,255,255,0.08); }
.value-item:hover { transform: translateX(6px); border-color: var(--secondary); }
.value-item .icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--secondary), var(--gold));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  color: var(--primary);
  flex-shrink: 0;
}
.value-item h6 { color: var(--primary); font-size: 1rem; margin-bottom: 4px; }
body.dark-mode .value-item h6 { color: #c8d6ff; }
.value-item p { color: var(--gray); font-size: 0.88rem; margin: 0; }

.faculty-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}
body.dark-mode .faculty-card { background: #1a2540; border-color: rgba(255,255,255,0.08); }
.faculty-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--secondary); }
.faculty-avatar {
  width: 90px; height: 90px;
  border-radius: 50%;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem;
  color: var(--secondary);
  border: 3px solid var(--secondary);
  font-family: var(--font-heading);
  font-weight: 700;
}
.faculty-card h5 { color: var(--primary); font-size: 1.05rem; margin-bottom: 4px; }
body.dark-mode .faculty-card h5 { color: #c8d6ff; }
.faculty-subject { font-size: 0.78rem; color: var(--gold); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.faculty-qual { font-size: 0.85rem; color: var(--gray); margin-top: 8px; }
.faculty-exp {
  display: inline-block;
  background: var(--light);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 50px;
  margin-top: 10px;
}
body.dark-mode .faculty-exp { background: rgba(255,255,255,0.1); color: #c8d6ff; }

.timeline {
  position: relative;
  padding-left: 40px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 14px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--secondary), var(--primary));
  border-radius: 2px;
}
.timeline-item {
  position: relative;
  margin-bottom: 36px;
  padding-left: 20px;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -33px; top: 5px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--secondary), var(--gold));
  border: 3px solid var(--white);
  box-shadow: 0 0 0 3px rgba(212,160,23,0.25);
}
.timeline-year {
  font-size: 0.78rem; font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 4px;
}
.timeline-item h5 { color: var(--primary); font-size: 1rem; margin-bottom: 4px; }
body.dark-mode .timeline-item h5 { color: #c8d6ff; }
.timeline-item p { color: var(--gray); font-size: 0.88rem; margin: 0; }

/* =============================================
   COURSES PAGE
   ============================================= */
.course-detail-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  margin-bottom: 30px;
  transition: var(--transition);
}
body.dark-mode .course-detail-card { background: #1a2540; border-color: rgba(255,255,255,0.08); }
.course-detail-card:hover { box-shadow: var(--shadow-lg); }
.course-detail-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  padding: 32px;
  display: flex; align-items: flex-start; gap: 20px;
}
.course-detail-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--secondary), var(--gold));
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  color: var(--primary);
  flex-shrink: 0;
}
.course-detail-header h3 { color: var(--white); font-size: 1.4rem; margin-bottom: 6px; }
.course-detail-header p { color: rgba(255,255,255,0.7); font-size: 0.9rem; margin: 0; }
.course-detail-body { padding: 32px; }
.course-meta { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 24px; }
.course-meta-item {
  display: flex; align-items: center; gap: 8px;
  background: var(--light);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
}
body.dark-mode .course-meta-item { background: rgba(255,255,255,0.1); color: #c8d6ff; }
.course-meta-item i { color: var(--gold); }
.course-features-list { padding: 0; }
.course-features-list li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}
.course-features-list li:last-child { border-bottom: none; }
.course-features-list li i { color: var(--gold); margin-top: 3px; flex-shrink: 0; }

.admission-step {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 24px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  margin-bottom: 16px;
  transition: var(--transition);
}
body.dark-mode .admission-step { background: #1a2540; border-color: rgba(255,255,255,0.08); }
.admission-step:hover { border-color: var(--secondary); box-shadow: var(--shadow-sm); }
.step-num {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  font-family: var(--font-heading);
  flex-shrink: 0;
}
.admission-step h5 { color: var(--primary); font-size: 1rem; margin-bottom: 4px; }
body.dark-mode .admission-step h5 { color: #c8d6ff; }
.admission-step p { color: var(--gray); font-size: 0.88rem; margin: 0; }

/* =============================================
   RESULTS PAGE
   ============================================= */
.results-hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.results-stat {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--secondary);
  transition: var(--transition);
}
body.dark-mode .results-stat { background: #1a2540; }
.results-stat:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.results-stat .big-num {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
body.dark-mode .results-stat .big-num { color: #c8d6ff; }
.results-stat .label { font-size: 0.85rem; color: var(--gray); text-transform: uppercase; letter-spacing: 1px; margin-top: 8px; }

.topper-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
body.dark-mode .topper-card { background: #1a2540; border-color: rgba(255,255,255,0.08); }
.topper-card::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary), var(--gold));
}
.topper-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.topper-rank-badge {
  position: absolute;
  top: 16px; right: 16px;
  background: linear-gradient(135deg, var(--secondary), var(--gold));
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 50px;
}
.topper-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--light), #dde6ff);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  color: var(--primary);
  font-family: var(--font-heading);
  font-weight: 700;
  border: 3px solid var(--secondary);
}
.topper-card h5 { color: var(--primary); font-size: 1rem; margin-bottom: 4px; }
body.dark-mode .topper-card h5 { color: #c8d6ff; }
.topper-score { font-size: 1.8rem; font-weight: 800; color: var(--gold); font-family: var(--font-heading); }
.topper-exam { font-size: 0.78rem; color: var(--gray); text-transform: uppercase; letter-spacing: 1px; }
.topper-year { font-size: 0.82rem; color: var(--gray); }

/* =============================================
   FACILITIES
   ============================================= */
.facility-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
  height: 100%;
}
body.dark-mode .facility-card { background: #1a2540; border-color: rgba(255,255,255,0.08); }
.facility-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--secondary); }
.facility-img {
  height: 180px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--secondary);
  font-size: 3.5rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.facility-img::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(230,200,74,0.15) 0%, transparent 70%);
  opacity: 0;
  transition: var(--transition);
}
.facility-card:hover .facility-img::before { opacity: 1; }
.facility-card:hover .facility-img { font-size: 4rem; }
.facility-body { padding: 24px; }
.facility-body h5 { color: var(--primary); margin-bottom: 8px; }
body.dark-mode .facility-body h5 { color: #c8d6ff; }
.facility-body p { color: var(--gray); font-size: 0.88rem; }
.facility-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.facility-tag {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  background: var(--light);
  color: var(--primary);
  border-radius: 50px;
}
body.dark-mode .facility-tag { background: rgba(255,255,255,0.1); color: #c8d6ff; }

/* =============================================
   GALLERY
   ============================================= */
.gallery-filter { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 40px; }
.filter-btn {
  padding: 8px 22px;
  border-radius: 50px;
  border: 2px solid var(--border);
  background: var(--white);
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
body.dark-mode .filter-btn { background: #1a2540; color: #c8d6ff; }
.filter-btn:hover, .filter-btn.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  border-color: var(--primary);
}
.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  /* aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--primary), var(--primary-light)); */
}
.gallery-item-inner {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  color: var(--secondary);
  font-size: 3rem;
  transition: var(--transition);
}
.gallery-overlay {
  position: absolute; inset: 0;
  background: rgba(10,36,99,0.7);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  opacity: 0;
  transition: var(--transition);
  color: var(--white);
  padding: 20px;
  text-align: center;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-item:hover .gallery-item-inner { transform: scale(1.1); }
.gallery-overlay h6 { color: var(--white); font-size: 1rem; margin-bottom: 4px; }
.gallery-overlay p { font-size: 0.8rem; color: rgba(255,255,255,0.7); margin: 0; }
.gallery-overlay i { font-size: 2rem; color: var(--secondary); margin-bottom: 12px; }

/* Lightbox */
.lightbox-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: var(--transition);
  backdrop-filter: blur(8px);
}
.lightbox-overlay.active { opacity: 1; visibility: visible; }
.lightbox-content {
  max-width: 700px;
  width: 90%;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.lightbox-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  padding: 20px 24px;
  display: flex; justify-content: space-between; align-items: center;
}
.lightbox-header h5 { color: var(--white); margin: 0; }
.lightbox-close {
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  background: none; border: none;
  opacity: 0.7;
  transition: var(--transition);
}
.lightbox-close:hover { opacity: 1; transform: rotate(90deg); }
.lightbox-body {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 40px;
  min-height: 300px;
  background: var(--light);
  font-size: 5rem;
  color: var(--primary);
}

/* =============================================
   FAQ PAGE
   ============================================= */
.faq-accordion .accordion-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md) !important;
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
body.dark-mode .faq-accordion .accordion-item {
  background: #1a2540;
  border-color: rgba(255,255,255,0.08);
}
.faq-accordion .accordion-button {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--primary);
  background: var(--white);
  padding: 20px 24px;
  border-radius: var(--radius-md) !important;
}
body.dark-mode .faq-accordion .accordion-button { background: #1a2540; color: #c8d6ff; }
.faq-accordion .accordion-button:not(.collapsed) {
  color: var(--primary);
  background: var(--light);
  box-shadow: none;
}
body.dark-mode .faq-accordion .accordion-button:not(.collapsed) { background: rgba(255,255,255,0.08); }
.faq-accordion .accordion-button::after { filter: hue-rotate(180deg); }
.faq-accordion .accordion-body { font-size: 0.9rem; color: var(--gray); padding: 20px 24px; }
body.dark-mode .faq-accordion .accordion-body { color: #9ca3af; }

/* =============================================
   CONTACT PAGE
   ============================================= */
.contact-info-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  /* height: 100%; */
}
body.dark-mode .contact-info-card { background: #1a2540; border-color: rgba(255,255,255,0.08); }
.contact-item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.contact-item:last-child { border-bottom: none; }
.contact-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: var(--secondary);
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-item h6 { color: var(--primary); font-size: 0.95rem; margin-bottom: 4px; font-weight: 700; }
body.dark-mode .contact-item h6 { color: #c8d6ff; }
.contact-item p { color: var(--gray); font-size: 0.88rem; margin: 0; line-height: 1.6; }
.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
body.dark-mode .contact-form-card { background: #1a2540; border-color: rgba(255,255,255,0.08); }
.form-label { font-weight: 600; font-size: 0.88rem; color: var(--text); margin-bottom: 6px; }
body.dark-mode .form-label { color: #c8d6ff; }
.form-control, .form-select {
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.92rem;
  color: var(--text);
  background: var(--off-white);
  transition: var(--transition);
}
body.dark-mode .form-control, body.dark-mode .form-select {
  background: #0f1624;
  color: #c8d6ff;
  border-color: rgba(255,255,255,0.12);
}
.form-control:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(10,36,99,0.1);
  background: var(--white);
}
body.dark-mode .form-control:focus, body.dark-mode .form-select:focus {
  background: #1a2540;
}
.btn-submit {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  font-weight: 700;
  padding: 14px 40px;
  border-radius: 50px;
  font-size: 0.95rem;
  border: none;
  transition: var(--transition);
  width: 100%;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-submit:hover { background: linear-gradient(135deg, var(--secondary), var(--gold)); color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow-gold); }
.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 400px;
  background: var(--light);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
  color: var(--gray);
}
.map-container i { font-size: 3rem; color: var(--primary); opacity: 0.4; margin-bottom: 12px; }

/* =============================================
   ALERTS & TOASTS
   ============================================= */
.alert-success-custom {
  background: linear-gradient(135deg, #d4edda, #c3e6cb);
  border: 1px solid #b1dfbb;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  color: #155724;
  font-weight: 600;
  display: none;
  margin-top: 16px;
}
.alert-success-custom.show { display: block; animation: fadeIn 0.3s; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

/* =============================================
   UTILITIES
   ============================================= */
.bg-primary-grad { background: linear-gradient(135deg, var(--primary), var(--primary-light)); }
.bg-gold { background: var(--secondary); }
.text-gold { color: var(--secondary) !important; }
.text-primary-custom { color: var(--primary) !important; }
.badge-gold {
  background: linear-gradient(135deg, var(--secondary), var(--gold));
  color: var(--primary);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 5px 14px;
  border-radius: 50px;
}
.divider-gold {
  width: 60px; height: 4px;
  background: linear-gradient(90deg, var(--secondary), var(--gold));
  border-radius: 2px;
  margin: 16px 0;
}

/* =============================================
   MOBILE SIDEBAR NAV
   ============================================= */

/* Hamburger button */
.sidebar-toggle {
  background: none;
  border: none;
  width: 40px; height: 40px;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  border-radius: 8px;
  transition: var(--transition);
}
.sidebar-toggle:hover { background: var(--light); }
.sidebar-toggle .bar {
  display: block;
  width: 22px; height: 2.5px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}
body.dark-mode .sidebar-toggle .bar { background: #c8d6ff; }
.sidebar-toggle.open .bar:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.sidebar-toggle.open .bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.sidebar-toggle.open .bar:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Overlay backdrop */
.sidebar-overlay {
  position: fixed; inset: 0;
  background: rgba(5, 15, 40, 0.55);
  backdrop-filter: blur(4px);
  z-index: 1040;
  opacity: 0; visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.sidebar-overlay.active { opacity: 1; visibility: visible; }

/* Sidebar panel */
.mobile-sidebar {
  position: fixed;
  top: 0; left: 0;
  width: 300px; height: 100dvh;
  background: var(--white);
  z-index: 1050;
  transform: translateX(-100%);
  transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex; flex-direction: column;
  overflow-y: auto;
  box-shadow: 8px 0 40px rgba(10,36,99,0.18);
}
body.dark-mode .mobile-sidebar { background: #0f1828; }
.mobile-sidebar.active { transform: translateX(0); }

/* Sidebar header */
.sidebar-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  flex-shrink: 0;
}
.sidebar-brand {
  font-family: var(--font-heading);
  font-size: 1.4rem; font-weight: 800;
  color: var(--white);
}
.sidebar-brand span { color: var(--secondary); }
.sidebar-brand small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.62rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 1px;
}
.sidebar-close {
  background: rgba(255,255,255,0.15);
  border: none;
  color: var(--white);
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
}
.sidebar-close:hover { background: rgba(255,255,255,0.28); transform: rotate(90deg); }

/* Nav links inside sidebar */
.sidebar-nav {
  padding: 16px 0;
  flex: 1;
}
.sidebar-nav a {
  display: flex; align-items: center; gap: 14px;
  padding: 13px 24px;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
  border-left: 3px solid transparent;
  text-decoration: none;
}
body.dark-mode .sidebar-nav a { color: #c8d6ff; }
.sidebar-nav a i {
  width: 20px; text-align: center;
  color: var(--gray);
  font-size: 0.9rem;
  transition: var(--transition);
}
.sidebar-nav a:hover,
.sidebar-nav a.active {
  color: var(--primary);
  background: var(--light);
  border-left-color: var(--secondary);
}
body.dark-mode .sidebar-nav a:hover,
body.dark-mode .sidebar-nav a.active {
  color: var(--secondary);
  background: rgba(255,255,255,0.07);
}
.sidebar-nav a:hover i,
.sidebar-nav a.active i { color: var(--secondary); }

.sidebar-divider {
  height: 1px;
  background: var(--border);
  margin: 8px 24px;
}

/* Sidebar footer area */
.sidebar-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}
.sidebar-enroll {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(135deg, var(--secondary), var(--gold));
  color: var(--primary);
  font-weight: 700;
  padding: 13px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  text-decoration: none;
  width: 100%;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(212,160,23,0.35);
}
.sidebar-enroll:hover {
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212,160,23,0.5);
}
.sidebar-dark-row {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 14px;
  padding: 10px 0 0;
}
.sidebar-dark-label {
  font-size: 0.85rem; font-weight: 600;
  color: var(--text);
  display: flex; align-items: center; gap: 8px;
}
body.dark-mode .sidebar-dark-label { color: #c8d6ff; }
.sidebar-dark-label i { color: var(--secondary); }

/* Toggle switch */
.dark-switch {
  position: relative; display: inline-block;
  width: 44px; height: 24px;
}
.dark-switch input { opacity: 0; width: 0; height: 0; }
.dark-switch-slider {
  position: absolute; inset: 0;
  background: var(--border);
  border-radius: 24px;
  cursor: pointer;
  transition: var(--transition);
}
.dark-switch-slider::before {
  content: '';
  position: absolute;
  width: 18px; height: 18px;
  left: 3px; top: 3px;
  background: var(--white);
  border-radius: 50%;
  transition: var(--transition);
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
.dark-switch input:checked + .dark-switch-slider { background: var(--primary); }
.dark-switch input:checked + .dark-switch-slider::before { transform: translateX(20px); }

/* Sidebar social links */
.sidebar-social {
  display: flex; gap: 8px; margin-top: 14px;
}
.sidebar-social a {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--light);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); font-size: 0.85rem;
  transition: var(--transition);
  text-decoration: none;
}
body.dark-mode .sidebar-social a { background: rgba(255,255,255,0.1); color: #c8d6ff; }
.sidebar-social a:hover { background: var(--secondary); color: var(--primary); transform: translateY(-2px); }

/* On mobile, Bootstrap collapse is hidden — sidebar handles mobile nav */
@media (max-width: 991px) {
  .navbar-collapse { display: none !important; }
}
/* On desktop (lg+), sidebar toggle is hidden — full navbar shows */
@media (min-width: 992px) {
  .sidebar-toggle { display: none !important; }
  #sidebarOverlay, .mobile-sidebar { display: none !important; }
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 991px) {
  .hero-visual { margin-top: 40px; }
  .section-padding { padding: 70px 0; }
}
@media (max-width: 767px) {
  .section-padding { padding: 50px 0; }
  .hero-stats { gap: 20px; }
  .hero-stat-item .stat-num { font-size: 1.8rem; }
  .hero-title { font-size: 2rem; }
  .contact-form-card { padding: 24px; }
  .course-detail-header { flex-direction: column; }
  .navbar-brand .brand-name { font-size: 1.3rem; }
}

/* AOS custom */
[data-aos] { transition-duration: 0.7s !important; }
