/* =============================================
   BEACON SCHOOL - Main Stylesheet
   Design: Deep Navy & Gold Academic Theme
   ============================================= */

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

:root {
  --navy: #0f1b3d;
  --navy-mid: #1a2d5a;
  --navy-light: #243a72;
  --gold: #c9a227;
  --gold-light: #e8c355;
  --gold-pale: #fdf3d3;
  --cream: #faf8f3;
  --white: #ffffff;
  --gray-100: #f4f5f7;
  --gray-200: #e8eaed;
  --gray-500: #6b7280;
  --gray-800: #1f2937;
  --success: #10b981;
  --danger: #ef4444;
  --warning: #f59e0b;
  --info: #3b82f6;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(15,27,61,0.12);
  --shadow-lg: 0 12px 40px rgba(15,27,61,0.18);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--gray-800);
  background: var(--cream);
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: 'Playfair Display', serif; }

a { text-decoration: none; transition: var(--transition); }

/* ---- NAVBAR ---- */
.navbar-beacon {
  background: var(--navy);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

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

.navbar-brand .logo-icon {
  width: 44px;
  height: 44px;
  background: var(--gold);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.navbar-brand .brand-text {
  line-height: 1;
}

.navbar-brand .brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  display: block;
}

.navbar-brand .brand-sub {
  font-size: 11px;
  color: var(--gold-light);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.navbar-beacon .nav-link {
  color: rgba(255,255,255,0.85) !important;
  font-size: 14px;
  font-weight: 500;
  padding: 20px 14px !important;
  letter-spacing: 0.3px;
  position: relative;
}

.navbar-beacon .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.navbar-beacon .nav-link:hover::after,
.navbar-beacon .nav-link.active::after { width: 100%; }

.navbar-beacon .nav-link:hover { color: #fff !important; }

.btn-login-nav {
  background: var(--gold) !important;
  color: var(--navy) !important;
  border-radius: 8px !important;
  padding: 8px 20px !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  margin-left: 8px;
}

.btn-login-nav:hover {
  background: var(--gold-light) !important;
  transform: translateY(-1px);
}

/* ---- HERO SLIDER ---- */
.hero-slider {
  position: relative;
  height: 600px;
  overflow: hidden;
}

.hero-slider .carousel-item {
  height: 600px;
  background: var(--navy);
  position: relative;
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.35;
}

.slide-1 .hero-slide-bg { background: linear-gradient(135deg, #0f1b3d 0%, #1a2d5a 50%, #c9a227 100%); opacity: 1; }
.slide-2 .hero-slide-bg { background: linear-gradient(135deg, #1a2d5a 0%, #243a72 50%, #0f1b3d 100%); opacity: 1; }
.slide-3 .hero-slide-bg { background: linear-gradient(135deg, #243a72 0%, #0f1b3d 50%, #1a2d5a 100%); opacity: 1; }

.slide-geometric {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.slide-geometric::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  border: 2px solid rgba(201,162,39,0.15);
  border-radius: 50%;
}

.slide-geometric::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 600px;
  height: 600px;
  border: 2px solid rgba(255,255,255,0.05);
  border-radius: 50%;
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  background: rgba(201,162,39,0.2);
  border: 1px solid var(--gold);
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 5vw, 62px);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 16px;
}

.hero-title span { color: var(--gold); }

.hero-subtitle {
  font-size: 18px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 32px;
  max-width: 500px;
}

.btn-hero-primary {
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 10px;
  font-size: 15px;
  border: none;
  transition: var(--transition);
  display: inline-block;
}

.btn-hero-primary:hover {
  background: var(--gold-light);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,162,39,0.4);
}

.btn-hero-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.3);
  font-weight: 600;
  padding: 12px 30px;
  border-radius: 10px;
  font-size: 15px;
  transition: var(--transition);
  display: inline-block;
  margin-left: 12px;
}

.btn-hero-outline:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.1);
  color: #fff;
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 40px;
}

.hero-stat {
  text-align: center;
}

.hero-stat .number {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--gold);
}

.hero-stat .label {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.carousel-indicators button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  margin: 0 4px;
  transition: var(--transition);
}

.carousel-indicators .active {
  background: var(--gold);
  width: 24px;
  border-radius: 4px;
}

/* ---- SECTIONS ---- */
.section-padding { padding: 80px 0; }
.section-padding-sm { padding: 60px 0; }

.section-header { text-align: center; margin-bottom: 56px; }

.section-badge {
  display: inline-block;
  background: var(--gold-pale);
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 100px;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.section-title span { color: var(--gold); }

.section-subtitle {
  font-size: 16px;
  color: var(--gray-500);
  max-width: 560px;
  margin: 0 auto;
}

.divider-gold {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
  margin: 16px auto 0;
}

/* ---- ABOUT SECTION ---- */
.about-section { background: #fff; }

.about-image-wrapper {
  position: relative;
}

.about-image-wrapper img {
  border-radius: 16px;
  width: 100%;
  height: 440px;
  object-fit: cover;
}

.about-image-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 12px;
  padding: 20px 24px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.about-image-badge .years {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 900;
  display: block;
}

.about-image-badge .years-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.about-text h2 {
  font-size: 36px;
  color: var(--navy);
  margin-bottom: 16px;
}

.about-text p {
  color: var(--gray-500);
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-features { list-style: none; margin-bottom: 28px; }

.about-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 15px;
  color: var(--gray-800);
}

.about-features li::before {
  content: '✦';
  color: var(--gold);
  font-size: 12px;
}

.btn-primary-beacon {
  background: var(--navy);
  color: #fff;
  padding: 12px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  border: 2px solid var(--navy);
  transition: var(--transition);
  display: inline-block;
}

.btn-primary-beacon:hover {
  background: transparent;
  color: var(--navy);
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
  padding: 12px 28px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  border: 2px solid var(--gold);
  transition: var(--transition);
  display: inline-block;
}

.btn-gold:hover {
  background: transparent;
  color: var(--gold);
}

/* ---- WHY CHOOSE US ---- */
.why-section { background: var(--navy); }

.why-section .section-title { color: #fff; }
.why-section .section-subtitle { color: rgba(255,255,255,0.6); }

.feature-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
  height: 100%;
}

.feature-card:hover {
  background: rgba(201,162,39,0.12);
  border-color: rgba(201,162,39,0.3);
  transform: translateY(-4px);
}

.feature-icon {
  width: 64px;
  height: 64px;
  background: rgba(201,162,39,0.15);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 20px;
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  background: var(--gold);
}

.feature-title {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  color: #fff;
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
}

/* ---- COURSES ---- */
.course-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
}

.course-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.course-card-header {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  position: relative;
}

.course-card-body { padding: 20px; }

.course-tag {
  display: inline-block;
  background: var(--gold-pale);
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 8px;
}

.course-title {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  color: var(--navy);
  margin-bottom: 8px;
}

.course-desc {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.6;
  margin-bottom: 14px;
}

.course-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--gray-200);
  padding-top: 14px;
  font-size: 13px;
  color: var(--gray-500);
}

/* ---- ANNOUNCEMENTS ---- */
.announcement-item {
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  border-left: 4px solid var(--gold);
  box-shadow: var(--shadow-sm);
  margin-bottom: 16px;
  transition: var(--transition);
}

.announcement-item:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}

.announcement-icon {
  width: 40px;
  height: 40px;
  background: var(--gold-pale);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.announcement-title {
  font-weight: 600;
  font-size: 15px;
  color: var(--navy);
  margin-bottom: 4px;
}

.announcement-meta {
  font-size: 12px;
  color: var(--gray-500);
}

/* ---- GALLERY ---- */
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,27,61,0.8) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 16px;
  opacity: 0;
  transition: var(--transition);
}

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

.gallery-overlay span {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

/* ---- CONTACT ---- */
.contact-section { background: var(--cream); }

.contact-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-md);
}

.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  background: var(--gold-pale);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.contact-info-text h6 {
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  color: var(--navy);
  margin-bottom: 4px;
}

.contact-info-text p {
  font-size: 14px;
  color: var(--gray-500);
  margin: 0;
}

.form-control-beacon {
  border: 2px solid var(--gray-200);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 14px;
  transition: var(--transition);
  width: 100%;
  background: #fff;
}

.form-control-beacon:focus {
  border-color: var(--gold);
  outline: none;
  box-shadow: 0 0 0 4px rgba(201,162,39,0.1);
}

/* ---- FOOTER ---- */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 0;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-logo-icon {
  width: 44px;
  height: 44px;
  background: var(--gold);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}

.footer-desc {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.footer h5 {
  font-family: 'Playfair Display', serif;
  color: #fff;
  font-size: 17px;
  margin-bottom: 20px;
}

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

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

.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover { color: var(--gold); padding-left: 4px; }

.footer-links a::before {
  content: '→';
  font-size: 12px;
  color: var(--gold);
}

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.social-link {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 16px;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  margin-top: 40px;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

/* ---- DASHBOARD LAYOUT ---- */
.dashboard-wrapper {
  display: flex;
  min-height: 100vh;
  background: var(--gray-100);
}

.sidebar {
  width: 260px;
  background: var(--navy);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  z-index: 100;
  transition: var(--transition);
}

.sidebar-brand {
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  gap: 12px;
}

.sidebar-brand .logo-box {
  width: 40px;
  height: 40px;
  background: var(--gold);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.sidebar-brand .brand-info .brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  display: block;
}

.sidebar-brand .brand-info .brand-role {
  font-size: 11px;
  color: var(--gold-light);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.sidebar-nav { flex: 1; padding: 16px 0; overflow-y: auto; }

.nav-section-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  padding: 12px 24px 6px;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 24px;
  color: rgba(255,255,255,0.65);
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.sidebar-link .icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: var(--transition);
}

.sidebar-link:hover,
.sidebar-link.active {
  color: #fff;
  background: rgba(255,255,255,0.06);
}

.sidebar-link.active {
  background: rgba(201,162,39,0.15);
  color: var(--gold-light);
}

.sidebar-link.active .icon,
.sidebar-link:hover .icon {
  background: rgba(201,162,39,0.15);
}

.sidebar-link.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--gold);
  border-radius: 0 2px 2px 0;
}

.sidebar-user {
  padding: 16px 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  gap: 12px;
}

.sidebar-user-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(201,162,39,0.4);
}

.sidebar-user-info .name {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  display: block;
}

.sidebar-user-info .role-badge {
  font-size: 11px;
  color: var(--gold-light);
}

.main-content {
  flex: 1;
  margin-left: 260px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.topbar {
  background: #fff;
  padding: 0 28px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: var(--shadow-sm);
}

.topbar-title {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  color: var(--navy);
  font-weight: 700;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.topbar-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--gray-100);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.topbar-icon-btn:hover { background: var(--gray-200); }

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--danger);
  border-radius: 50%;
  position: absolute;
  top: 6px;
  right: 6px;
  border: 2px solid #fff;
}

.page-content { padding: 28px; flex: 1; }

/* ---- DASHBOARD CARDS ---- */
.stat-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: var(--transition);
  border: 1px solid transparent;
}

.stat-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--gold-pale);
}

.stat-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.stat-icon.navy { background: rgba(15,27,61,0.08); }
.stat-icon.gold { background: rgba(201,162,39,0.12); }
.stat-icon.green { background: rgba(16,185,129,0.1); }
.stat-icon.red { background: rgba(239,68,68,0.1); }
.stat-icon.blue { background: rgba(59,130,246,0.1); }
.stat-icon.purple { background: rgba(139,92,246,0.1); }

.stat-body { flex: 1; }
.stat-label { font-size: 13px; color: var(--gray-500); margin-bottom: 4px; }
.stat-value { font-family: 'Playfair Display', serif; font-size: 26px; font-weight: 700; color: var(--navy); }
.stat-trend { font-size: 12px; margin-top: 4px; }
.stat-trend.up { color: var(--success); }
.stat-trend.down { color: var(--danger); }

/* ---- TABLES ---- */
.table-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.table-card-header {
  padding: 18px 24px;
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.table-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
}

.table-beacon {
  width: 100%;
  font-size: 14px;
}

.table-beacon thead {
  background: var(--gray-100);
}

.table-beacon th {
  padding: 12px 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--gray-500);
  border: none;
}

.table-beacon td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--gray-200);
  vertical-align: middle;
}

.table-beacon tbody tr:last-child td { border-bottom: none; }
.table-beacon tbody tr:hover { background: var(--gray-100); }

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
}

.status-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.status-badge.success { background: rgba(16,185,129,0.1); color: #10b981; }
.status-badge.success::before { background: #10b981; }
.status-badge.danger { background: rgba(239,68,68,0.1); color: #ef4444; }
.status-badge.danger::before { background: #ef4444; }
.status-badge.warning { background: rgba(245,158,11,0.1); color: #f59e0b; }
.status-badge.warning::before { background: #f59e0b; }
.status-badge.info { background: rgba(59,130,246,0.1); color: #3b82f6; }
.status-badge.info::before { background: #3b82f6; }

/* ---- FORMS ---- */
.card-beacon {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.card-beacon-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--gray-200);
  background: linear-gradient(90deg, var(--navy) 0%, var(--navy-mid) 100%);
}

.card-beacon-header h5 {
  color: #fff;
  font-family: 'Playfair Display', serif;
  margin: 0;
  font-size: 17px;
}

.card-beacon-body { padding: 24px; }

.form-group-beacon { margin-bottom: 20px; }

.form-label-beacon {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  display: block;
  margin-bottom: 6px;
}

.form-input-beacon {
  width: 100%;
  border: 2px solid var(--gray-200);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 14px;
  font-family: 'DM Sans', sans-serif;
  transition: var(--transition);
  color: var(--gray-800);
  background: #fff;
}

.form-input-beacon:focus {
  border-color: var(--gold);
  outline: none;
  box-shadow: 0 0 0 4px rgba(201,162,39,0.1);
}

/* ---- ALERTS ---- */
.alert-beacon {
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 14px;
  border: none;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.alert-beacon.success { background: rgba(16,185,129,0.1); color: #065f46; border-left: 4px solid #10b981; }
.alert-beacon.danger { background: rgba(239,68,68,0.1); color: #991b1b; border-left: 4px solid #ef4444; }
.alert-beacon.warning { background: rgba(245,158,11,0.1); color: #92400e; border-left: 4px solid #f59e0b; }
.alert-beacon.info { background: rgba(59,130,246,0.1); color: #1e40af; border-left: 4px solid #3b82f6; }

/* ---- LOGIN PAGE ---- */
.login-page {
  min-height: 100vh;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.login-bg-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.login-bg-pattern::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  border: 1px solid rgba(201,162,39,0.1);
  border-radius: 50%;
}

.login-bg-pattern::after {
  content: '';
  position: absolute;
  bottom: -200px;
  left: -200px;
  width: 600px;
  height: 600px;
  border: 1px solid rgba(201,162,39,0.08);
  border-radius: 50%;
}

.login-card {
  background: #fff;
  border-radius: 20px;
  padding: 44px;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  position: relative;
  z-index: 2;
}

.login-logo {
  text-align: center;
  margin-bottom: 32px;
}

.login-logo .logo-box {
  width: 64px;
  height: 64px;
  background: var(--navy);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin: 0 auto 14px;
}

.login-logo h1 {
  font-size: 26px;
  color: var(--navy);
  margin-bottom: 4px;
}

.login-logo p {
  color: var(--gray-500);
  font-size: 14px;
}

.login-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  color: var(--gray-500);
  font-size: 13px;
}

.login-divider::before,
.login-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gray-200);
}

/* ---- PAYMENT PAGE ---- */
.payment-method-card {
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 16px;
  cursor: pointer;
  transition: var(--transition);
}

.payment-method-card:hover,
.payment-method-card.selected {
  border-color: var(--gold);
  background: var(--gold-pale);
}

.payment-method-card input[type="radio"] { display: none; }

/* ---- RESULTS ---- */
.result-subject-row {
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.result-subject-row:hover { box-shadow: var(--shadow-md); }

.grade-badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
}

.progress-beacon {
  height: 8px;
  border-radius: 4px;
  background: var(--gray-200);
  overflow: hidden;
  flex: 1;
  margin: 0 16px;
}

.progress-fill {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--navy), var(--gold));
  transition: width 0.8s ease;
}

/* ---- PROFILE ---- */
.profile-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  align-items: center;
  gap: 28px;
  margin-bottom: 24px;
}

.profile-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(201,162,39,0.4);
}

.profile-info h2 {
  color: #fff;
  font-size: 24px;
  margin-bottom: 4px;
}

.profile-info p {
  color: rgba(255,255,255,0.6);
  margin: 0;
}

.profile-detail-item {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}

.profile-detail-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gray-500);
  margin-bottom: 4px;
}

.profile-detail-value {
  font-size: 15px;
  color: var(--navy);
  font-weight: 500;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 992px) {
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: translateX(0); }
  .main-content { margin-left: 0; }
  .hero-slider, .hero-slider .carousel-item { height: 500px; }
  .hero-stats { gap: 20px; }
}

@media (max-width: 768px) {
  .hero-slider, .hero-slider .carousel-item { height: 420px; }
  .hero-subtitle { font-size: 15px; }
  .btn-hero-outline { display: none; }
  .section-padding { padding: 60px 0; }
  .page-content { padding: 16px; }
  .login-card { padding: 28px 20px; margin: 0 16px; }
}

/* ---- ANIMATIONS ---- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-up {
  animation: fadeInUp 0.6s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(15,27,61,0.2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(15,27,61,0.4); }
