@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800;900&family=Alexandria:wght@400;500;600;700;800;900&display=swap');

:root {
  --primary: #0d9488;
  --primary-hover: #0f766e;
  --primary-dark: #042f2e;
  --primary-deep: #0a1619;
  --accent: #f59e0b;
  --accent-light: #fef3c7;
  --accent-gold: #eab308;
  --dark-surface: #102126;
  --dark-card: #142a30;
  --dark-card-hover: #19343c;
  --dark-border: rgba(13, 148, 136, 0.22);
  --dark-border-subtle: rgba(255, 255, 255, 0.08);
  --text-main: #ffffff;
  --text-body: #e2e8f0;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --success: #10b981;
  --danger: #ef4444;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --shadow-card: 0 10px 25px rgba(0, 0, 0, 0.35);
  --shadow-hover: 0 15px 35px rgba(0, 0, 0, 0.5);
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Custom Scrollbar (Standard & Webkit) */
html, body, * {
  scrollbar-width: thin;
  scrollbar-color: #0d9488 #0a1619;
}

::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}

::-webkit-scrollbar-track {
  background: #0a1619;
}

::-webkit-scrollbar-thumb {
  background: #0f766e;
  border-radius: 9999px;
  border: 2px solid #0a1619;
  transition: all 0.25s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: #f59e0b;
}

::-webkit-scrollbar-corner {
  background: #0a1619;
}

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

body {
  font-family: 'Cairo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: #061114;
  background-image: 
    linear-gradient(to right, rgba(45, 212, 191, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(45, 212, 191, 0.055) 1px, transparent 1px),
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(13, 148, 136, 0.22) 0%, transparent 80%),
    radial-gradient(ellipse 60% 40% at 85% 65%, rgba(16, 185, 129, 0.09) 0%, transparent 70%);
  background-size: 40px 40px, 40px 40px, 100% 100%, 100% 100%;
  background-position: 0 0, 0 0, center top, center center;
  background-attachment: fixed;
  color: var(--text-body);
  line-height: 1.65;
  direction: rtl;
  text-align: right;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Floating Particles Background Canvas */
#bg_particles_canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  opacity: 0.9;
}

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

.container-cs {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========================================================
   1. Announcement Bar
   ======================================================== */
.top-announcement-bar {
  background: #081215;
  border-bottom: 1px solid var(--dark-border-subtle);
  padding: 8px 0;
  font-size: 0.88rem;
}

.live-activity-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
}

.live-activity-badge strong {
  color: #fff;
}

.live-pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--success);
}

.topbar-support-phone {
  font-size: 0.88rem;
  color: var(--text-muted);
  display: none;
}

@media (min-width: 768px) {
  .topbar-support-phone {
    display: inline;
  }
}

.sound-toggle-btn {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-full);
  padding: 5px 14px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.sound-toggle-btn:hover {
  background: var(--dark-card-hover);
  border-color: var(--accent);
}

/* ========================================================
   2. Clean Header & Navigation
   ======================================================== */
/* ========================================================
   2. Clean Header & Navigation (Elite Distinct Layout)
   ======================================================== */
.header-container {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10, 22, 25, 0.95);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 0;
}

.header-container-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-logo img,
.header-brand-img {
  height: 54px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block !important;
  filter: drop-shadow(0 0 10px rgba(13, 148, 136, 0.4));
  transition: transform 0.25s ease, filter 0.25s ease;
}

.header-logo img:hover,
.header-brand-img:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 18px rgba(13, 148, 136, 0.7));
}

.brand-emblem-badge {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
  border: 1px solid rgba(45, 212, 191, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.3rem;
  box-shadow: 0 0 16px rgba(13, 148, 136, 0.45);
  flex-shrink: 0;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.brand-emblem-badge:hover {
  transform: rotate(6deg) scale(1.06);
  box-shadow: 0 0 24px rgba(13, 148, 136, 0.7);
}

.brand-emblem-badge.lg {
  width: 72px;
  height: 72px;
  font-size: 2.2rem;
  border-radius: 22px;
  margin: 0 auto 12px;
  box-shadow: 0 0 30px rgba(13, 148, 136, 0.6);
}

.header-logo-text strong {
  font-family: 'Alexandria', sans-serif;
  font-size: 1.18rem;
  font-weight: 800;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background: none !important;
  display: block;
  line-height: 1.2;
  animation: none !important;
  filter: none !important;
}

.header-logo-text span {
  font-size: 0.75rem;
  color: #94a3b8;
  display: block;
}

.header-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Header Icon Buttons - Icons Only, No Background */
.header-icon-action-btn {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 0;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: color 0.15s ease, transform 0.15s ease;
  text-decoration: none;
  flex-shrink: 0;
}

.header-icon-action-btn:hover,
.header-icon-action-btn.icon-gold:hover,
.header-icon-action-btn.icon-cyan:hover,
.header-icon-action-btn.icon-cart:hover,
.header-icon-action-btn.icon-sound:hover {
  background: none;
  border: none;
  box-shadow: none;
  color: #ffffff;
  transform: translateY(-1px);
}

.header-icon-action-btn.icon-gold,
.header-icon-action-btn.icon-cyan,
.header-icon-action-btn.icon-cart,
.header-icon-action-btn.icon-sound {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.65);
}

/* Animated Sound Toggle Slash & Mute States */
.header-icon-action-btn.icon-sound {
  position: relative;
}

.header-icon-action-btn.icon-sound i {
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.25s ease, color 0.25s ease;
}

.header-icon-action-btn.icon-sound .sound-slash-bar {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 2.5px;
  background: #f87171;
  border-radius: 4px;
  transform: translate(-50%, -50%) rotate(-45deg);
  transform-origin: center;
  transition: width 0.32s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.25s ease;
  pointer-events: none;
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.7);
  opacity: 0;
  z-index: 2;
}

.header-icon-action-btn.icon-sound.is-muted .sound-slash-bar {
  width: 22px;
  opacity: 1;
}

.header-icon-action-btn.icon-sound.is-muted {
  color: #f87171 !important;
}

.header-icon-action-btn.icon-sound.is-muted:hover {
  color: #ef4444 !important;
}

.header-icon-action-btn.icon-sound.is-muted i {
  opacity: 0.6;
  transform: scale(0.92);
}

@keyframes unMutePop {
  0% { transform: scale(0.8); }
  60% { transform: scale(1.2); }
  100% { transform: scale(1); }
}


/* Tooltip */
.header-btn-tooltip {
  position: absolute;
  bottom: -32px;
  left: 50%;
  transform: translateX(-50%) translateY(5px);
  background: #041418;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  z-index: 100;
}

.header-icon-action-btn:hover .header-btn-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.cart-count-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--accent);
  color: #0b1a20;
  font-size: 0.72rem;
  font-weight: 900;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #0a1619;
}

.btn-header {
  padding: 9px 20px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary-custom {
  background: #0d9488;
  color: #fff;
  border: 1px solid transparent;
}

.btn-primary-custom:hover {
  background: #0f766e;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.4);
}

.btn-gold-custom {
  background: var(--accent);
  color: #0b1a20;
  border: none;
  font-weight: 800;
}

.btn-gold-custom:hover {
  background: #fbbf24;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4);
}

/* 3-Lines Burger Button (Desktop & Mobile on the Left) */
.burger-menu-btn {
  width: 44px;
  height: 42px;
  border-radius: 12px;
  background: #142a32;
  border: 1px solid rgba(13, 148, 136, 0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  transition: all 0.25s ease;
  margin-right: 4px;
}

.burger-menu-btn:hover {
  background: #0d9488;
  border-color: #2dd4bf;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(13, 148, 136, 0.4);
}

.burger-bar {
  display: block;
  width: 20px;
  height: 2.5px;
  background: #fff;
  border-radius: 9999px;
  transition: all 0.25s ease;
}

.burger-menu-btn:hover .burger-bar {
  background: #ffffff;
}

/* ========================================================
   Global Menu — OsamaElgabry Fullscreen Style
   ======================================================== */
.global-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0a1619;
  clip-path: circle(0% at calc(100% - 56px) 38px);
  transition: clip-path 0.65s cubic-bezier(0.77, 0, 0.175, 1);
  pointer-events: none;
}

.global-menu.open {
  clip-path: circle(150% at calc(100% - 56px) 38px);
  pointer-events: all;
}

/* Decorative corner accent */
.global-menu::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(13,148,136,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.global-menu::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(245,158,11,0.08) 0%, transparent 70%);
  pointer-events: none;
}

/* Close button inside fullscreen */
.close-menu-btn {
  position: absolute;
  top: 22px;
  left: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  opacity: 0;
  transform: rotate(-90deg);
}

.global-menu.open .close-menu-btn {
  opacity: 1;
  transform: rotate(0deg);
  transition-delay: 0.4s;
}

.close-menu-btn:hover {
  background: rgba(239,68,68,0.2);
  border-color: #ef4444;
  color: #ef4444;
}

/* Fullscreen nav list */
.fullscreen-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
  direction: rtl;
}

.fullscreen-nav li {
  overflow: hidden;
  margin-bottom: 8px;
}

.fullscreen-nav li a.user-link {
  display: inline-block;
  position: relative;
  font-family: 'Alexandria', sans-serif;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 900;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  line-height: 1.1;
  letter-spacing: -1px;
  transition: color 0.3s ease;
  transform: translateY(80px);
  opacity: 0;
  padding: 4px 0;
}

.global-menu.open .fullscreen-nav li a.user-link {
  transform: translateY(0);
  opacity: 1;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
}

.global-menu.open .fullscreen-nav li:nth-child(1) a { transition-delay: 0.18s; }
.global-menu.open .fullscreen-nav li:nth-child(2) a { transition-delay: 0.26s; }
.global-menu.open .fullscreen-nav li:nth-child(3) a { transition-delay: 0.34s; }

/* Hover: show English label above Arabic text */
.fullscreen-nav li a.user-link::before {
  content: attr(data-hover);
  position: absolute;
  top: -18px;
  right: 0;
  left: 0;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  font-family: 'Inter', sans-serif;
}

.fullscreen-nav li a.user-link:hover::before {
  opacity: 1;
  transform: translateY(0);
}

.fullscreen-nav li a.user-link:hover {
  color: #ffffff;
}

/* Thin underline grows on hover */
.fullscreen-nav li a.user-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.fullscreen-nav li a.user-link:hover::after {
  width: 100%;
}

/* Burger → X animation */
.burger-menu-btn.is-active .burger-bar:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.burger-menu-btn.is-active .burger-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.burger-menu-btn.is-active .burger-bar:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

.burger-bar {
  transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.2s ease, background 0.2s ease;
  transform-origin: center;
}

/* Menu footer line */
.menu-fullscreen-footer {
  position: absolute;
  bottom: 28px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.25);
  letter-spacing: 1px;
  opacity: 0;
  transition: opacity 0.4s ease 0.5s;
}

.global-menu.open .menu-fullscreen-footer {
  opacity: 1;
}

/* Unused old panel styles — kept for compatibility */
.menu-panel-footer { display: none; }
.menu-grid-nav { display: none; }
.menu-nav-card { display: none; }
.menu-panel-header { display: none; }
.menu-panel-content { display: none; }
.global-menu-panel { display: none; }
.global-menu-backdrop { display: none; }

/* ========================================================
   3. Creative Clean Hero Section
   ======================================================== */
.hero-clean-section {
  padding: 70px 0 65px;
  position: relative;
  background-color: #081215;
  background-image: radial-gradient(circle at 80% 20%, rgba(13, 148, 136, 0.16) 0%, transparent 65%);
  z-index: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Sleek Minimalist Glowing Divider Line (أخضر كامل نقي ومضيء بدون تدرجات ألوان أو ذهبي) */
.hero-clean-section::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 75%;
  max-width: 900px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.3) 20%, #10b981 50%, rgba(16, 185, 129, 0.3) 80%, transparent);
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.6), 0 0 30px rgba(16, 185, 129, 0.3);
  pointer-events: none;
}

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

.hero-badge-clean {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: var(--radius-full);
  color: var(--accent);
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-headline {
  font-family: 'Alexandria', sans-serif;
  font-size: 2.9rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 20px;
}

.hero-headline span {
  display: inline-block;
  color: #ffffff;
  animation: heroWordColorFade 3.6s ease-in-out infinite alternate;
  background: none !important;
  -webkit-text-fill-color: initial !important;
  filter: none !important;
}

@keyframes heroWordColorFade {
  0% {
    color: #ffffff;
  }
  100% {
    color: #f59e0b;
  }
}

.hero-subheadline {
  font-size: 1.12rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 30px;
  max-width: 600px;
}

.hero-action-buttons {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 35px;
}

.btn-clean-gold {
  background: var(--accent);
  color: #081215;
  font-weight: 800;
  font-size: 1rem;
  padding: 13px 26px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-clean-gold:hover {
  background: #fbbf24;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.3);
}

.btn-clean-outline {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--dark-border-subtle);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 13px 24px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: var(--transition);
}

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

.hero-trust-metrics {
  display: flex;
  align-items: center;
  gap: 20px;
  border-top: 1px solid var(--dark-border-subtle);
  padding-top: 25px;
}

.metric-box strong {
  display: block;
  font-size: 1.45rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}

.metric-box span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.metric-divider {
  width: 1px;
  height: 35px;
  background: var(--dark-border-subtle);
}

/* Hero Single Banner Wrap with Pure Emerald Green Glow */
.hero-single-banner-wrap {
  position: relative;
  width: 100%;
  border-radius: 34px;
  padding: 3px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.85), rgba(5, 150, 105, 0.35), rgba(52, 211, 153, 0.85));
  animation: heroFloatingBanner 5.5s ease-in-out infinite alternate;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.7), 0 0 35px rgba(16, 185, 129, 0.35);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-single-banner-wrap:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 30px 65px rgba(0, 0, 0, 0.8), 0 0 50px rgba(16, 185, 129, 0.55);
}

.hero-single-banner-inner {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  background: #0b1329;
}

.hero-single-banner-inner img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 30px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-single-banner-wrap:hover .hero-single-banner-inner img {
  transform: scale(1.03);
}

.hero-single-banner-inner::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 42%,
    rgba(255, 255, 255, 0.12) 50%,
    transparent 58%
  );
  transform: rotate(25deg);
  animation: heroLightSweep 6s infinite;
  pointer-events: none;
}

@keyframes heroFloatingBanner {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(0.4deg);
  }
  100% {
    transform: translateY(3px) rotate(-0.3deg);
  }
}

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

@keyframes heroLightSweep {
  0% {
    transform: translateX(-100%) rotate(25deg);
  }
  35%, 100% {
    transform: translateX(100%) rotate(25deg);
  }
}

/* Clean Human Teacher Showcase Card (Large Photo & Right/Left Arrows - No Outer Box) */
.teachers-clean-showcase-box {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  position: relative;
  overflow: visible;
}

.teacher-main-portrait-wrap {
  position: relative;
  width: 100%;
  height: 420px;
  border-radius: 24px;
  overflow: hidden;
  background: #0f172a;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Floating Right & Left Navigation Arrows */
.showcase-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  cursor: pointer;
  transition: all 0.25s ease;
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.showcase-nav-arrow:hover {
  background: linear-gradient(135deg, #10b981, #059669);
  border-color: #2dd4bf;
  color: #ffffff !important;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.55);
}

.showcase-nav-arrow:active {
  transform: translateY(-50%) scale(0.95);
}

.showcase-nav-arrow.arrow-prev {
  right: 14px;
}

.showcase-nav-arrow.arrow-next {
  left: 14px;
}

.teacher-large-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.portrait-overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.25) 55%, transparent 100%);
  pointer-events: none;
}

.portrait-info-badge {
  position: absolute;
  bottom: 18px;
  right: 18px;
  left: 18px;
  z-index: 2;
}

.portrait-subject {
  display: inline-block;
  background: rgba(16, 185, 129, 0.22);
  border: 1px solid rgba(16, 185, 129, 0.5);
  color: #2dd4bf;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 6px;
}

.portrait-name {
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.teachers-thumbs-bar {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  justify-content: space-between;
}

.teacher-thumb-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  padding: 8px 4px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.25s ease;
  user-select: none;
}

.teacher-thumb-item:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.teacher-thumb-item.active {
  background: rgba(16, 185, 129, 0.16);
  border-color: rgba(16, 185, 129, 0.6);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.25);
}

.teacher-thumb-item img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: all 0.25s ease;
}

.teacher-thumb-item.active img {
  border-color: #10b981;
  transform: scale(1.08);
}

.teacher-thumb-item span {
  font-size: 0.72rem;
  font-weight: 700;
  color: #94a3b8;
  white-space: nowrap;
}

.teacher-thumb-item.active span {
  color: #ffffff;
}
  color: #fff;
  margin-bottom: 2px;
}

.teacher-quick-card p {
  font-size: 0.72rem;
  color: var(--accent);
}

/* ========================================================
   4. Section Headers & Generic Clean Styles
   ======================================================== */
.section-clean {
  padding: 75px 0;
  position: relative;
}

.bg-surface {
  background: var(--dark-surface);
}

.section-clean-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--dark-border-subtle);
  padding-bottom: 20px;
}

.subhead-badge {
  display: inline-block;
  background: rgba(13, 148, 136, 0.12);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 800;
  padding: 3px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 6px;
}

.section-clean-head h2 {
  font-family: 'Alexandria', sans-serif;
  font-size: 1.95rem;
  font-weight: 800;
  color: #fff;
}

.section-clean-head p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Features Grid (Handcrafted Human Design) */
.features-clean-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.feature-clean-card {
  position: relative;
  background: #112228;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 18px;
  padding: 30px 24px 26px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.feature-clean-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: transparent;
  transition: background 0.25s ease;
}

.feature-clean-card:hover {
  background: #142a32;
  border-color: rgba(13, 148, 136, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.feature-clean-card:hover::before {
  background: var(--accent);
}

.feature-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.feature-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

.feature-step-num {
  font-family: 'Alexandria', monospace;
  font-size: 0.95rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.2);
  letter-spacing: 1px;
}

.feature-clean-card h3 {
  font-family: 'Alexandria', sans-serif;
  font-size: 1.18rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
  line-height: 1.4;
}

.feature-clean-card p {
  color: #94a3b8;
  font-size: 0.92rem;
  line-height: 1.7;
}

/* ========================================================
   5. Teachers Showcase Grid (Handcrafted Human Design)
   ======================================================== */
.teachers-showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}

.teacher-card-premium {
  background: #112228;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 26px 20px 22px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}

.teacher-card-premium:hover {
  background: #152c34;
  border-color: rgba(13, 148, 136, 0.5);
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.45);
}

.teacher-card-premium.active {
  background: #162f38;
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 14px 32px rgba(0, 0, 0, 0.5);
}

.teacher-avatar-wrapper {
  position: relative;
  width: 92px;
  height: 92px;
  margin: 0 auto 16px;
}

.teacher-avatar-wrapper img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.1);
  transition: border-color 0.25s ease;
}

.teacher-card-premium:hover .teacher-avatar-wrapper img,
.teacher-card-premium.active .teacher-avatar-wrapper img {
  border-color: var(--accent);
}

.teacher-verified-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 24px;
  background: #0d9488;
  color: #fff;
  border: 2px solid #112228;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

.teacher-subject-tag {
  display: inline-block;
  align-self: center;
  background: rgba(13, 148, 136, 0.15);
  color: #2dd4bf;
  border: 1px solid rgba(13, 148, 136, 0.3);
  padding: 3px 14px;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.teacher-card-premium h3 {
  font-family: 'Alexandria', sans-serif;
  font-size: 1.18rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
  line-height: 1.3;
}

.teacher-card-premium .teacher-title-desc {
  color: #94a3b8;
  font-size: 0.85rem;
  line-height: 1.5;
  margin-bottom: 16px;
  min-height: 38px;
}

.teacher-meta-info {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 8px;
  color: #cbd5e1;
  font-size: 0.82rem;
  padding: 12px 0 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 16px;
}

.teacher-meta-info span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.teacher-cta-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 12px;
  padding: 8px 14px;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
  margin-top: auto;
}

.teacher-card-premium:hover .teacher-cta-btn,
.teacher-card-premium.active .teacher-cta-btn {
  background: var(--accent);
  color: #0b1a20;
  border-color: var(--accent);
  font-weight: 800;
}

/* ========================================================
   6. Courses Grid (Handcrafted Human Design)
   ======================================================== */
.teacher-tabs-wrapper {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 14px;
  margin-bottom: 30px;
}

.teacher-tab-btn {
  background: #112228;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  padding: 10px 20px;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.teacher-tab-btn:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
  background: #152c34;
}

.teacher-tab-btn.active {
  background: #0d9488;
  color: #ffffff;
  border-color: #0d9488;
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.35);
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 26px;
}

.course-card {
  background: #112228;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.course-card:hover {
  transform: translateY(-5px);
  border-color: rgba(13, 148, 136, 0.4);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
}

.course-card-img {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #061114;
  overflow: hidden;
}

.course-card-img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.course-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(10,22,25,0.85) 100%);
}

.course-grade-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(10, 22, 25, 0.9);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 4px 12px;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.8rem;
  backdrop-filter: blur(8px);
  z-index: 2;
}

.course-teacher-chip {
  position: absolute;
  bottom: 12px;
  right: 14px;
  background: rgba(4, 47, 46, 0.92);
  color: #fff;
  border: 1px solid rgba(13, 148, 136, 0.4);
  padding: 4px 12px;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  backdrop-filter: blur(8px);
  z-index: 2;
}

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

.course-features-row {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #94a3b8;
  font-size: 0.82rem;
  margin-bottom: 12px;
}

.course-features-row span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.course-card-body h3 {
  font-family: 'Alexandria', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.4;
  margin-bottom: 10px;
}

.course-card-body p {
  color: #94a3b8;
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 20px;
  flex-grow: 1;
}

.course-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 18px;
}

.course-price-wrap {
  display: flex;
  flex-direction: column;
}

.course-price-wrap .price-val {
  font-family: 'Alexandria', sans-serif;
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1.2;
}

.course-price-wrap .price-val span {
  font-size: 0.85rem;
  font-weight: 700;
  color: #94a3b8;
}

.course-price-wrap .price-note {
  font-size: 0.74rem;
  color: #64748b;
}

/* ========================================================
   7. Free Trial Videos Grid (Handcrafted Human Design)
   ======================================================== */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 24px;
}

.video-box-item {
  background: #112228;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.video-box-item:hover {
  transform: translateY(-5px);
  border-color: rgba(13, 148, 136, 0.4);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
}

.video-thumb-container {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #021a1d;
  overflow: hidden;
}

.video-thumb-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.video-box-item:hover .video-thumb-container img {
  transform: scale(1.06);
}

.video-thumb-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(10,22,25,0.85) 100%);
}

.play-overlay-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #0d9488;
  color: #fff;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(13, 148, 136, 0.6);
  transition: all 0.25s ease;
  z-index: 2;
}

.video-box-item:hover .play-overlay-btn {
  background: var(--accent);
  color: #0b1a20;
  transform: translate(-50%, -50%) scale(1.12);
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.6);
}

.video-free-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #10b981;
  color: #fff;
  padding: 4px 12px;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.78rem;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
}

.video-duration-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  backdrop-filter: blur(6px);
  z-index: 2;
}

.video-box-content {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.video-subject-tag {
  display: inline-block;
  color: #2dd4bf;
  font-size: 0.8rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.video-box-content h4 {
  font-family: 'Alexandria', sans-serif;
  font-size: 1.12rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.5;
  margin-bottom: 8px;
}

.video-box-content p {
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.65;
  margin-bottom: 18px;
  flex-grow: 1;
}

.video-box-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 14px;
}

.video-teacher-author {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
}

.video-teacher-author img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.video-watch-btn-text {
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* ========================================================
   8. Books Grid & Promo Box (Handcrafted Human Design)
   ======================================================== */
.books-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.book-card {
  background: #112228;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 24px;
  text-align: center;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.book-card:hover {
  transform: translateY(-5px);
  border-color: rgba(13, 148, 136, 0.4);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
}

.book-shipping-tag {
  display: inline-block;
  align-self: center;
  background: rgba(245, 158, 11, 0.12);
  color: var(--accent);
  border: 1px solid rgba(245, 158, 11, 0.25);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 9999px;
  margin-bottom: 14px;
}

.book-thumb {
  width: 140px;
  height: 160px;
  margin: 0 auto 16px;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.book-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.book-card h3 {
  font-family: 'Alexandria', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.4;
  min-height: 48px;
}

.book-includes-list {
  list-style: none;
  font-size: 0.82rem;
  color: #94a3b8;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.book-includes-list li {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.book-includes-list li i {
  color: #10b981;
  font-size: 0.75rem;
}

.book-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: auto;
}

.interactive-promo-box {
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.18) 0%, rgba(17, 34, 40, 0.95) 100%);
  border: 1px solid rgba(13, 148, 136, 0.3);
  border-radius: 24px;
  padding: 40px 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

/* ========================================================
   9. Footer Animated Waves & Footer Styles
   ======================================================== */
.footer-waves-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  margin-top: 40px;
  background: transparent;
}

.waves {
  position: relative;
  width: 100%;
  height: 95px;
  min-height: 70px;
  max-height: 140px;
  margin-bottom: -1px;
  display: block;
}

/* Parallax Wave Animation (Left to Right Movement) */
.parallax > use {
  animation: move-forever-ltr 25s cubic-bezier(0.55, 0.5, 0.45, 0.5) infinite;
}

.parallax > use:nth-child(1) {
  animation-delay: -2s;
  animation-duration: 7s;
}

.parallax > use:nth-child(2) {
  animation-delay: -3s;
  animation-duration: 10s;
}

.parallax > use:nth-child(3) {
  animation-delay: -4s;
  animation-duration: 13s;
}

.parallax > use:nth-child(4) {
  animation-delay: -5s;
  animation-duration: 20s;
}

@keyframes move-forever-ltr {
  0% {
    transform: translate3d(-90px, 0, 0);
  }
  100% {
    transform: translate3d(85px, 0, 0);
  }
}

@media (max-width: 768px) {
  .waves {
    height: 55px;
    min-height: 55px;
  }
}

.footer {
  background: #071012;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 50px 0 25px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.footer-widget h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}

.footer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-nav li a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-nav li a:hover {
  color: #fff;
}

.social-links-list {
  display: flex;
  gap: 10px;
}

.social-link-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--dark-card);
  border: 1px solid var(--dark-border-subtle);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-link-icon:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.footer-bottom-row {
  border-top: 1px solid var(--dark-border-subtle);
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.stick-btn {
  position: fixed;
  bottom: 25px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.4rem;
  z-index: 999;
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
  transition: var(--transition);
}

.whatsapp-btn { right: 20px; background: #25d366; }
.telegram-btn { right: 80px; background: #0088cc; }

/* Sidecart */
.sidecart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  z-index: 9990;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.sidecart-overlay.open {
  opacity: 1;
  visibility: visible;
}

.sidecart-drawer {
  position: fixed;
  top: 0;
  left: -400px;
  width: 400px;
  max-width: 90vw;
  height: 100%;
  background: var(--dark-surface);
  border-right: 1px solid var(--dark-border-subtle);
  z-index: 9991;
  display: flex;
  flex-direction: column;
  transition: left 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.sidecart-overlay.open .sidecart-drawer {
  left: 0;
}

.sidecart-header {
  padding: 20px;
  border-bottom: 1px solid var(--dark-border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sidecart-header h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
}

.close-sidecart-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.2rem;
  cursor: pointer;
}

.sidecart-items {
  padding: 16px;
  flex-grow: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sidecart-item {
  background: var(--dark-card);
  border: 1px solid var(--dark-border-subtle);
  border-radius: var(--radius-md);
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.sidecart-item img {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.sidecart-item-info {
  flex-grow: 1;
}

.sidecart-item-info h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}

.sidecart-footer {
  padding: 20px;
  border-top: 1px solid var(--dark-border-subtle);
  background: var(--dark-card);
}

.sidecart-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 800;
  font-size: 1.15rem;
  margin-bottom: 15px;
  color: #fff;
}

/* Modals */
.custom-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.custom-modal.open {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: var(--dark-surface);
  border: 1px solid var(--dark-border-subtle);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 600px;
  overflow: hidden;
}

.video-modal-card {
  max-width: 800px;
}

.modal-header {
  padding: 18px 22px;
  border-bottom: 1px solid var(--dark-border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
}

.modal-body {
  padding: 22px;
  max-height: 80vh;
  overflow-y: auto;
}

.video-responsive-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #000;
}

.video-responsive-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Form Controls */
.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: #e2e8f0;
}

.form-control-custom {
  width: 100%;
  padding: 11px 16px;
  background: rgba(10, 22, 25, 0.8);
  border: 1px solid var(--dark-border-subtle);
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 0.95rem;
  font-family: inherit;
  transition: var(--transition);
}

.form-control-custom:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--dark-card);
}

/* Loader Animation */
.loader-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
  display: flex;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.loader-container.hidden {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.bar {
  flex: 1;
  height: 100%;
  transform-origin: top;
  transition: transform 0.8s cubic-bezier(0.83, 0, 0.17, 1);
}

.bar:nth-child(1) { background-color: #0d9488; }
.bar:nth-child(2) { background-color: #0f766e; }
.bar:nth-child(3) { background-color: #115e59; }
.bar:nth-child(4) { background-color: #134e4a; }
.bar:nth-child(5) { background-color: #042f2e; }

.loader-container.loaded .bar {
  transform: scaleY(0);
}
.loader-container.loaded .bar:nth-child(1) { transition-delay: 0.2s; }
.loader-container.loaded .bar:nth-child(2) { transition-delay: 0.15s; }
.loader-container.loaded .bar:nth-child(3) { transition-delay: 0.1s; }
.loader-container.loaded .bar:nth-child(4) { transition-delay: 0.05s; }
.loader-container.loaded .bar:nth-child(5) { transition-delay: 0s; }

.loader-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 100000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: all 0.5s ease;
}

.loader-logo img {
  max-width: 130px;
}

.loader-logo span {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--accent);
}

.loader-container.loaded .loader-logo {
  opacity: 0;
  transform: translate(-50%, -70%);
}

/* Floating AI Button */
.floating-ai-button {
  position: fixed;
  bottom: 85px;
  right: 20px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--primary);
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.4rem;
  z-index: 9998;
  box-shadow: 0 6px 20px rgba(0,0,0,0.5);
  transition: var(--transition);
}

.floating-ai-button:hover {
  transform: scale(1.08);
  background: var(--primary-hover);
}

.ai-pulse-ring {
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  animation: pulseAiRing 2s infinite;
  pointer-events: none;
}

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

.ai-widget-tooltip {
  position: absolute;
  right: 64px;
  background: #0a1619;
  color: #fff;
  border: 1px solid var(--dark-border-subtle);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: var(--transition);
}

.floating-ai-button:hover .ai-widget-tooltip {
  opacity: 1;
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
  .hero-clean-grid { grid-template-columns: 1fr; }
  .hero-headline { font-size: 2.3rem; }
}
@media (max-width: 576px) {
  .hero-headline { font-size: 1.9rem; }
  .showcase-teachers-list { grid-template-columns: 1fr; }
  .sidecart-drawer { width: 100%; }
}

/* ========================================================
   Games Page Component Styles (White Legible Text Fix)
   ======================================================== */
.game-option-btn {
  width: 100%;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 14px !important;
  padding: 14px 18px !important;
  color: #ffffff !important;
  font-family: 'Cairo', sans-serif !important;
  font-size: 1.02rem !important;
  font-weight: 700 !important;
  cursor: pointer;
  text-align: right;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.2s ease;
}

.game-option-btn:hover:not(:disabled) {
  background: rgba(13, 148, 136, 0.18) !important;
  border-color: rgba(13, 148, 136, 0.5) !important;
  color: #ffffff !important;
  transform: translateX(-3px);
}

.game-option-btn .opt-letter {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.95rem;
  flex-shrink: 0;
  color: #f59e0b !important;
  background: rgba(0, 0, 0, 0.2);
}

.game-option-btn.correct {
  background: rgba(16, 185, 129, 0.25) !important;
  border-color: #10b981 !important;
  color: #ffffff !important;
}

.game-option-btn.correct .opt-letter {
  background: #10b981 !important;
  border-color: #10b981 !important;
  color: #ffffff !important;
}

.game-option-btn.wrong {
  background: rgba(239, 68, 68, 0.25) !important;
  border-color: #ef4444 !important;
  color: #ffffff !important;
}

.game-option-btn.wrong .opt-letter {
  background: #ef4444 !important;
  border-color: #ef4444 !important;
  color: #ffffff !important;
}

.hint-box {
  background: rgba(13, 148, 136, 0.12);
  border: 1px dashed rgba(13, 148, 136, 0.4);
  border-radius: 12px;
  padding: 14px 18px;
  color: #2dd4bf !important;
  font-size: 0.92rem;
  margin-top: 20px;
}

.lb-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  margin-bottom: 10px;
}

.lb-name {
  color: #ffffff !important;
  font-size: 0.95rem;
  font-weight: 800;
}

.lb-sub {
  color: #94a3b8 !important;
  font-size: 0.78rem;
}

.lb-xp {
  color: #f59e0b !important;
  font-weight: 900;
  font-size: 1rem;
}

/* ========================================================
   Interactive Toast, Ripple, Confetti & Micro-Interactions
   ======================================================== */
.toast-notification {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999999;
  background: rgba(13, 30, 36, 0.95);
  border: 1px solid rgba(13, 148, 136, 0.4);
  color: #fff;
  padding: 14px 20px;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(13, 148, 136, 0.2);
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.95rem;
  font-weight: 700;
  direction: rtl;
  backdrop-filter: blur(14px);
  animation: toastSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  max-width: 90vw;
  overflow: hidden;
}

@keyframes toastSlideUp {
  from { opacity: 0; transform: translateY(40px) scale(0.95); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.toast-notification.toast-success {
  border-color: rgba(16, 185, 129, 0.6);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(16, 185, 129, 0.25);
}
.toast-notification.toast-success i {
  color: #10b981;
  font-size: 1.3rem;
}

.toast-notification.toast-error {
  border-color: rgba(239, 68, 68, 0.6);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(239, 68, 68, 0.25);
}
.toast-notification.toast-error i {
  color: #ef4444;
  font-size: 1.3rem;
}

.toast-notification.toast-info i {
  color: #f59e0b;
  font-size: 1.3rem;
}

/* Material Click Ripple Effect */
.interactive-ripple-effect {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transform: scale(0);
  animation: rippleScale 0.6s linear;
  pointer-events: none;
}

@keyframes rippleScale {
  to {
    transform: scale(2.5);
    opacity: 0;
  }
}

/* Confetti Particle Fall Animation */
.interactive-confetti-particle {
  position: fixed;
  z-index: 999999;
  pointer-events: none;
  border-radius: 3px;
}

@keyframes confettiFall {
  0% {
    transform: translateY(0) rotate(0deg) scale(1);
    opacity: 1;
  }
  100% {
    transform: translateY(105vh) rotate(720deg) scale(0.6);
    opacity: 0;
  }
}

/* Interactive Card & Button Micro-Animations */
.course-card, .book-card, .stat-box, .teacher-quick-card, .video-box-item {
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease, border-color 0.28s ease !important;
}

.course-card:hover, .book-card:hover, .stat-box:hover, .teacher-quick-card:hover, .video-box-item:hover {
  transform: translateY(-6px) scale(1.01) !important;
}

.btn-header, .btn-gold-custom, .btn-primary-custom, .auth-btn, .auth-btn-gold {
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.btn-header:hover, .btn-gold-custom:hover, .btn-primary-custom:hover {
  transform: translateY(-2px) scale(1.02) !important;
}

.btn-header:active, .btn-gold-custom:active, .btn-primary-custom:active {
  transform: translateY(0) scale(0.98) !important;
}

@keyframes heartBeat {
  0% { transform: scale(1); }
  14% { transform: scale(1.22); }
  28% { transform: scale(1); }
  42% { transform: scale(1.22); }
  70% { transform: scale(1); }
}

/* ========================================================
   FAQ Accordion Section
   ======================================================== */
.faq-section {
  padding: 80px 0 60px;
  position: relative;
  background: radial-gradient(circle at 20% 50%, rgba(13, 148, 136, 0.08) 0%, transparent 60%);
}

/* FAQ Header Card */
.faq-header-card {
  max-width: 960px;
  margin: 0 auto 40px;
  padding: 38px 28px;
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.12) 0%, rgba(10, 25, 30, 0.85) 100%);
  border: 1px solid rgba(45, 212, 191, 0.22);
  border-radius: 24px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.45), 0 0 25px rgba(13, 148, 136, 0.12);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.faq-header-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(45, 212, 191, 0.8), rgba(245, 158, 11, 0.8), transparent);
}

.faq-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 20px;
  border-radius: 50px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: var(--accent);
  font-family: 'Alexandria', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 18px;
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.faq-badge-pill i {
  color: #fbbf24;
  font-size: 1rem;
}

.faq-main-title {
  font-family: 'Alexandria', sans-serif;
  font-size: clamp(1.85rem, 3.8vw, 2.6rem);
  font-weight: 900;
  color: #ffffff;
  line-height: 1.35;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.faq-badge-tag {
  display: inline-block;
  font-family: 'Alexandria', sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
  color: #081215;
  background: var(--accent);
  padding: 3px 12px;
  border-radius: 8px;
  vertical-align: middle;
  margin-right: 6px;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.4);
}

.faq-main-description {
  font-family: 'Cairo', sans-serif;
  color: #94a3b8;
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.75;
  max-width: 700px;
  margin: 0 auto;
}

.faq-container-grid {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-card-item {
  background: rgba(11, 26, 32, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.25s ease, background 0.3s ease;
}

.faq-card-item:hover {
  border-color: rgba(45, 212, 191, 0.3);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), 0 0 15px rgba(13, 148, 136, 0.15);
  transform: translateY(-2px);
}

.faq-card-item.active {
  border-color: rgba(245, 158, 11, 0.45);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5), 0 0 20px rgba(245, 158, 11, 0.15);
  background: rgba(14, 32, 38, 0.9);
}

.faq-question-header {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  user-select: none;
  transition: background 0.2s ease;
}

.faq-question-header:hover {
  background: rgba(255, 255, 255, 0.02);
}

.faq-question-title {
  display: flex;
  align-items: center;
  gap: 16px;
}

.faq-number-badge {
  font-family: 'Alexandria', sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--accent);
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.25);
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.faq-card-item.active .faq-number-badge {
  background: var(--accent);
  color: #081215;
  border-color: var(--accent);
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.4);
}

.faq-question-title h3 {
  font-family: 'Cairo', sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  line-height: 1.5;
  transition: color 0.2s ease;
}

.faq-card-item.active .faq-question-title h3 {
  color: #fbbf24;
}

.faq-toggle-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  flex-shrink: 0;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.25s ease, color 0.25s ease;
}

.faq-card-item.active .faq-toggle-icon {
  transform: rotate(180deg);
  background: rgba(245, 158, 11, 0.2);
  color: var(--accent);
}

.faq-answer-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease, opacity 0.3s ease;
  opacity: 0;
  padding: 0 24px 0 78px;
}

.faq-card-item.active .faq-answer-body {
  max-height: 250px;
  opacity: 1;
  padding: 0 24px 22px 78px;
}

.faq-answer-body p {
  color: #cbd5e1;
  font-size: 0.98rem;
  line-height: 1.8;
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 16px;
}

@media (max-width: 768px) {
  .faq-answer-body {
    padding: 0 18px 0 18px;
  }
  .faq-card-item.active .faq-answer-body {
    padding: 0 18px 18px 18px;
  }
  .faq-question-header {
    padding: 16px;
  }
  .faq-question-title h3 {
    font-size: 0.96rem;
  }
}

/* ========================================================
   Admin Panel Layout & Modern Dashboard Design
   ======================================================== */
.admin-layout {
  display: flex;
  min-height: 100vh;
  width: 100%;
  background-color: #061114;
  direction: rtl;
  text-align: right;
  position: relative;
}

.admin-sidebar {
  width: 280px;
  flex-shrink: 0;
  background: rgba(8, 19, 23, 0.97);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  z-index: 100;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: -4px 0 25px rgba(0, 0, 0, 0.4);
}

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

.admin-brand .brand-emblem-badge {
  width: 44px;
  height: 44px;
  font-size: 1.3rem;
  border-radius: 12px;
}

.admin-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-grow: 1;
}

.admin-nav li {
  margin: 0;
  padding: 0;
}

.admin-nav li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 16px;
  border-radius: 12px;
  color: #94a3b8;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.22s ease;
  border: 1px solid transparent;
}

.admin-nav li a:hover {
  background: rgba(13, 148, 136, 0.15);
  color: #ffffff;
  border-color: rgba(45, 212, 191, 0.3);
  transform: translateX(-3px);
}

.admin-nav li a.active {
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.35) 0%, rgba(15, 118, 110, 0.2) 100%);
  color: #ffffff;
  border-color: rgba(45, 212, 191, 0.5);
  font-weight: 800;
  box-shadow: 0 4px 18px rgba(13, 148, 136, 0.2);
}

.admin-nav li a i {
  font-size: 1.1rem;
  width: 20px;
  text-align: center;
  color: var(--accent);
  transition: transform 0.2s ease;
}

.admin-nav li a:hover i {
  transform: scale(1.15);
}

.admin-main {
  flex-grow: 1;
  min-width: 0;
  padding: 36px 40px;
  background-color: #061114;
  background-image: 
    linear-gradient(to right, rgba(45, 212, 191, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(45, 212, 191, 0.04) 1px, transparent 1px);
  background-size: 38px 38px;
  overflow-y: auto;
  min-height: 100vh;
}

/* Statistics Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 35px;
}

.stat-box {
  background: rgba(11, 26, 32, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 18px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.stat-box:hover {
  transform: translateY(-4px);
  border-color: rgba(45, 212, 191, 0.4);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5), 0 0 20px rgba(13, 148, 136, 0.15);
}

.stat-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: rgba(13, 148, 136, 0.18);
  color: #2dd4bf;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  flex-shrink: 0;
  border: 1px solid rgba(45, 212, 191, 0.25);
  box-shadow: 0 0 14px rgba(13, 148, 136, 0.2);
}

/* Custom Table */
.custom-table {
  width: 100%;
  border-collapse: collapse;
  text-align: right;
  font-size: 0.95rem;
}

.custom-table th {
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--accent);
  font-weight: 800;
  font-size: 0.92rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  white-space: nowrap;
}

.custom-table td {
  padding: 14px 16px;
  color: #cbd5e1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-weight: 500;
  vertical-align: middle;
}

.custom-table tr:hover td {
  background: rgba(255, 255, 255, 0.025);
  color: #ffffff;
}

/* Badges & Tags */
.badge-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
}

.badge-status.active {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-status.inactive {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.badge-status.warning {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

/* Responsive Admin Layout */
@media (max-width: 992px) {
  .admin-layout {
    flex-direction: column;
  }
  .admin-sidebar {
    width: 100%;
    height: auto;
    position: relative;
    border-left: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .admin-main {
    padding: 24px 16px;
  }
}

/* ========================================================
   Admin Extended Design Tokens & Secretary Components
   ======================================================== */
.admin-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 16px;
}

.admin-card-box {
  background: rgba(11, 26, 32, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 24px;
  margin-bottom: 28px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.secretary-tabs-nav {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
  background: rgba(8, 19, 23, 0.7);
  padding: 6px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  width: fit-content;
  max-width: 100%;
  overflow-x: auto;
}

.secretary-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  color: #94a3b8;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.secretary-tab-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

.secretary-tab-btn.active {
  background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.3);
}

.grade-score-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245, 158, 11, 0.14);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #f59e0b;
  padding: 4px 12px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 1rem;
}

.student-info-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}

.student-avatar-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.3), rgba(245, 158, 11, 0.2));
  border: 1px solid rgba(45, 212, 191, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #fff;
  font-size: 1rem;
  flex-shrink: 0;
}

.quick-score-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.quick-score-btn:hover {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
}

.quick-feedback-chip {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-block;
  margin: 3px 2px;
}

.quick-feedback-chip:hover {
  background: rgba(13, 148, 136, 0.25);
  border-color: rgba(45, 212, 191, 0.4);
  color: #fff;
}

/* Student Dashboard Horizontal Navigation Bar (White Text Guarantee) */
.student-nav-tabs-bar {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
  overflow-x: auto;
  padding-bottom: 12px;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.student-nav-tabs-bar::-webkit-scrollbar {
  height: 6px;
}

.student-nav-tabs-bar::-webkit-scrollbar-thumb {
  background: rgba(16, 185, 129, 0.3);
  border-radius: 10px;
}

.student-tab-btn {
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  background: rgba(15, 23, 42, 0.85) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  color: #ffffff !important; /* Pure white text color */
  padding: 13px 22px;
  border-radius: 16px;
  font-weight: 800;
  font-size: 0.95rem;
  font-family: 'Cairo', 'Alexandria', sans-serif;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  user-select: none;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.student-tab-btn span {
  color: #ffffff !important;
}

.student-tab-btn:hover {
  background: rgba(16, 185, 129, 0.25) !important;
  border-color: rgba(16, 185, 129, 0.5) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
}

.student-tab-btn.active {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
  color: #ffffff !important;
  border-color: rgba(16, 185, 129, 0.6) !important;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4) !important;
}

.student-tab-btn i {
  color: #2dd4bf;
  font-size: 1.05rem;
  transition: transform 0.2s ease;
}

.student-tab-btn.active i {
  color: #ffffff !important;
}

/* Ensure all text inside student dashboard sections is white and readable */
.student-section-card {
  background: rgba(30, 41, 59, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  padding: 28px;
  backdrop-filter: blur(14px);
  color: #ffffff !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

/* Package Option Selection Cards */
.package-option-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 18px 22px;
  cursor: pointer;
  transition: all 0.25s ease;
  user-select: none;
}

.package-option-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(16, 185, 129, 0.4);
  transform: translateY(-2px);
}

.package-option-card.active {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.18), rgba(13, 148, 136, 0.08));
  border-color: #10b981;
  box-shadow: 0 6px 22px rgba(16, 185, 129, 0.25);
}


