/* ===== CSS Variables & Reset ===== */
:root {
  --primary: #c2185b;
  --primary-light: #e91e8c;
  --primary-dark: #880e4f;
  --secondary: #1565c0;
  --secondary-light: #2ea7e0;
  --secondary-dark: #0d47a1;
  --accent: #b8860b;
  --accent-light: #d4a017;
  --gold: #c9a84c;
  --bg-body: #f7f8fc;
  --bg-white: #ffffff;
  --bg-card: #ffffff;
  --bg-section-alt: #f0f2f8;
  --text-dark: #1a1a2e;
  --text-body: #3d3e50;
  --text-muted: #5a5d78;
  --glass: rgba(255, 255, 255, 0.80);
  --glass-border: rgba(0, 0, 0, 0.07);
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.09);
  --transition: 0.3s cubic-bezier(.4, 0, .2, 1);
}

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

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg-body);
  color: var(--text-body);
  line-height: 1.7;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Header / Navbar ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.4rem;
}

.nav-logo .logo-img {
  height: 70px;
  width: auto;
  object-fit: contain;
}

.nav-logo span {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--text-muted);
  position: relative;
}

.nav-links a:hover {
  color: var(--primary);
  background: rgba(233, 30, 140, 0.06);
}

.nav-links a.active {
  color: var(--primary);
  background: rgba(233, 30, 140, 0.08);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 4px 16px rgba(233, 30, 140, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(233, 30, 140, 0.35);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
  color: #fff;
  box-shadow: 0 4px 16px rgba(46, 167, 224, 0.25);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(46, 167, 224, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--secondary);
  border: 1.5px solid var(--secondary);
}

.btn-outline:hover {
  background: var(--secondary);
  color: #fff;
}

.btn-accent {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 4px 16px rgba(233, 30, 140, 0.25);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(233, 30, 140, 0.35);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.7);
  color: var(--text-dark);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
}

.btn-glass:hover {
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.btn-lg {
  padding: 14px 32px;
  font-size: 1.05rem;
  border-radius: 12px;
}

/* ===== Mobile Menu ===== */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-dark);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
}

/* ===== Hero Section ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  background: linear-gradient(160deg, #fff5f9 0%, #f0f4ff 40%, #e8f7fc 70%, #fff9f0 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(233, 30, 140, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -25%;
  left: -8%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(46, 167, 224, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {

  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(30px, -30px);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-60px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(60px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  animation: slideInLeft 0.8s ease-out;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  background: rgba(233, 30, 140, 0.08);
  color: var(--primary);
  border: 1px solid rgba(233, 30, 140, 0.15);
  margin-bottom: 20px;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--secondary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.hero h1 {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.hero-stats .stat h3 {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-stats .stat p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.hero-visual {
  animation: slideInRight 0.8s ease-out;
  position: relative;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-image-wrapper img {
  width: 100%;
  border-radius: var(--radius);
}

.hero-image-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(233, 30, 140, 0.04), rgba(46, 167, 224, 0.03));
  border-radius: var(--radius);
}

.hero-float-card {
  position: absolute;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: var(--shadow);
  animation: fadeInUp 1s ease-out;
  color: var(--text-dark);
}

.hero-float-card.card-1 {
  top: -20px;
  right: -20px;
  animation-delay: 0.3s;
}

.hero-float-card.card-2 {
  bottom: 30px;
  left: -30px;
  animation-delay: 0.6s;
}

.hero-float-card .card-icon {
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.hero-float-card .card-num {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
}

.hero-float-card .card-label {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ===== Section Commons ===== */
.section {
  padding: 100px 0;
}

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

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  background: rgba(233, 30, 140, 0.07);
  color: var(--primary);
  border: 1px solid rgba(233, 30, 140, 0.15);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-header h2 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.section-header p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* ===== Features Section ===== */
.features {
  background: var(--bg-white);
}

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

.feature-card {
  padding: 36px 28px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  opacity: 0;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(233, 30, 140, 0.15);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.feature-icon.pink {
  background: rgba(233, 30, 140, 0.10);
  color: var(--primary);
}

.feature-icon.blue {
  background: rgba(46, 167, 224, 0.10);
  color: var(--secondary);
}

.feature-icon.teal {
  background: rgba(20, 184, 166, 0.10);
  color: #0d9488;
}

.feature-icon.rose {
  background: rgba(244, 63, 94, 0.10);
  color: #e11d48;
}

.feature-icon.violet {
  background: rgba(139, 92, 246, 0.10);
  color: #7c3aed;
}

.feature-icon.emerald {
  background: rgba(16, 185, 129, 0.10);
  color: #059669;
}

.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.feature-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== Resources Section ===== */
.resources {
  background: var(--bg-section-alt);
}

.resources-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.resources-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.resources-content h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.resources-content>p {
  color: var(--text-muted);
  margin-bottom: 32px;
  font-size: 1.05rem;
}

.resource-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.resource-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  background: var(--bg-white);
  border: 1px solid var(--glass-border);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.resource-item:hover {
  background: #fff;
  transform: translateX(6px);
  box-shadow: var(--shadow);
}

.resource-item .r-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.resource-item .r-icon.word {
  background: rgba(37, 99, 235, 0.10);
  color: #2563eb;
}

.resource-item .r-icon.ppt {
  background: rgba(239, 68, 68, 0.10);
  color: #dc2626;
}

.resource-item .r-icon.video {
  background: rgba(168, 85, 247, 0.10);
  color: #9333ea;
}

.resource-item .r-icon.pdf {
  background: rgba(212, 160, 23, 0.10);
  color: var(--accent);
}

.resource-item div h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
}

.resource-item div p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ===== Subjects Section ===== */
.subjects {
  background: var(--bg-white);
}

.subjects-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  background: var(--bg-section-alt);
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn:hover {
  color: var(--primary);
  border-color: rgba(233, 30, 140, 0.2);
  background: rgba(233, 30, 140, 0.05);
}

.tab-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

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

.subject-card {
  padding: 28px 24px;
  border-radius: var(--radius);
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  transition: var(--transition);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.subject-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(233, 30, 140, 0.2);
}

.subject-card .s-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.subject-card h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-dark);
}

.subject-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ===== Teacher Section ===== */
.teacher {
  background: linear-gradient(160deg, #fff5f9 0%, #f0f4ff 50%, #e8f7fc 100%);
  position: relative;
  overflow: hidden;
}

.teacher::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(46, 167, 224, 0.06), transparent 70%);
  border-radius: 50%;
}

.teacher-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.teacher-content h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.teacher-content>p {
  color: var(--text-muted);
  margin-bottom: 32px;
  font-size: 1.05rem;
}

.teacher-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.teacher-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.teacher-feature .tf-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(233, 30, 140, 0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.teacher-feature h4 {
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text-dark);
}

.teacher-feature p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.teacher-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

/* ===== CTA Section ===== */
.cta {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary), #c026a0);
  text-align: center;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta h2 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 16px;
  position: relative;
  color: #fff;
}

.cta p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
  position: relative;
}

.cta .btn {
  position: relative;
}

.cta .btn-glass {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

.cta .btn-glass:hover {
  background: rgba(255, 255, 255, 0.3);
}

.cta .btn-accent {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.cta .btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
}

/* ===== Footer ===== */
.footer {
  background: #1a1b2e;
  padding: 60px 0 0;
  color: #cbd5e1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand p {
  color: #94a3b8;
  margin: 16px 0 20px;
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer .nav-logo span {
  background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  transition: var(--transition);
}

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

.footer-col h4 {
  font-weight: 700;
  margin-bottom: 20px;
  font-size: 1rem;
  color: #e2e8f0;
}

.footer-col a {
  display: block;
  color: #94a3b8;
  font-size: 0.9rem;
  padding: 6px 0;
  transition: var(--transition);
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  color: #64748b;
  font-size: 0.85rem;
}

/* ===== Scroll Animations ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .subjects-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    padding: 16px 24px;
    border-bottom: 1px solid var(--glass-border);
  }

  .hero-grid,
  .resources-grid,
  .teacher-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding: 120px 0 60px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-stats {
    gap: 24px;
    flex-wrap: wrap;
  }

  .hero-visual {
    order: -1;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .subjects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .hero-float-card {
    display: none;
  }
}

/* ===== FORMAL EDUCATIONAL ENHANCEMENTS ===== */

/* Unified font for all elements */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  letter-spacing: -0.01em;
}

/* Gold decorative divider under section titles */
.section-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--accent-light));
  margin: 16px auto 20px;
  border-radius: 2px;
}
.section-divider.left {
  margin-left: 0;
}

/* Deeper hero background for gravitas */
.hero {
  background: linear-gradient(160deg, #fdf5f7 0%, #eef2fb 40%, #e6f1f8 70%, #faf8f0 100%) !important;
}

/* Refined section badge - less playful, more formal */
.section-badge {
  background: rgba(194, 24, 91, 0.06) !important;
  color: var(--primary-dark) !important;
  border-color: rgba(194, 24, 91, 0.12) !important;
  font-weight: 700 !important;
  letter-spacing: 1.5px !important;
  font-size: 0.75rem !important;
}
.section-badge i {
  color: var(--gold);
}

/* Stronger feature cards with left accent border */
.feature-card {
  border-left: 3px solid transparent !important;
}
.feature-card:hover {
  border-left-color: var(--primary) !important;
}

/* Refined feature icons with subtle gold ring */
.feature-icon {
  border: 2px solid rgba(201, 168, 76, 0.15);
  border-radius: 12px !important;
}

/* Subject card formal styling */
.subject-card .s-icon {
  font-size: 1.8rem !important;
  color: var(--secondary);
  margin-bottom: 14px !important;
}
.subject-card:hover .s-icon {
  color: var(--primary);
}

/* Tab buttons - more formal pill style */
.tab-btn.active {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary)) !important;
}

/* Teacher feature icon gold accent */
.teacher-feature .tf-icon {
  background: rgba(194, 24, 91, 0.06) !important;
  border: 1.5px solid rgba(201, 168, 76, 0.2);
}

/* CTA icon style */
.cta-icon {
  font-size: 2.5rem;
  color: rgba(255,255,255,0.25);
  margin-bottom: 16px;
}
.cta {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary), #ad1457) !important;
}

/* Float card refinements */
.hero-float-card .card-num {
  color: var(--primary-dark) !important;
}
.hero-float-card .card-icon {
  color: var(--gold);
  font-size: 1.3rem !important;
}

/* Footer with gold accent on headings */
.footer-col h4 {
  position: relative;
  padding-bottom: 10px;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
}

/* Nav link active - more dignified */
.nav-links a.active {
  color: var(--primary-dark) !important;
  font-weight: 600;
}
.nav-links a:hover {
  color: var(--primary-dark) !important;
}

/* Hero stat numbers - deeper, more distinguished */
.hero-stats .stat h3 {
  background: linear-gradient(135deg, var(--primary-dark), var(--secondary)) !important;
  -webkit-background-clip: text !important;
}

/* Responsive adjustments for formal styles */
@media (max-width: 768px) {
  .section-divider {
    margin: 12px auto 16px;
  }
  .section-divider.left {
    margin: 12px 0 16px;
  }
}

/* ===== ABOUT PAGE STYLES ===== */

/* Page Header Banner */
.page-header {
  padding: 140px 0 60px;
  background: linear-gradient(160deg, #fdf5f7 0%, #eef2fb 40%, #e6f1f8 70%, #faf8f0 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(194, 24, 91, 0.06) 0%, transparent 70%);
  border-radius: 50%;
}
.page-header h1 {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 8px;
}

/* About Intro Grid */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.about-content h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.about-content p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 1rem;
  line-height: 1.8;
}
.about-content p strong {
  color: var(--primary-dark);
}
.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}
.about-highlight-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-body);
}
.about-highlight-item i {
  color: var(--gold);
  font-size: 1rem;
  flex-shrink: 0;
}

/* Vision & Mission Cards */
.vm-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.vm-card {
  padding: 40px 30px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.vm-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  opacity: 0;
  transition: var(--transition);
}
.vm-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.vm-card:hover::before {
  opacity: 1;
}
.vm-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 20px;
  border: 2px solid rgba(201, 168, 76, 0.15);
}
.vm-icon.vision {
  background: rgba(21, 101, 192, 0.08);
  color: var(--secondary);
}
.vm-icon.mission {
  background: rgba(194, 24, 91, 0.08);
  color: var(--primary);
}
.vm-icon.value {
  background: rgba(201, 168, 76, 0.10);
  color: var(--gold);
}
.vm-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}
.vm-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Why Choose Us */
.why-us {
  background: var(--bg-section-alt);
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.why-card {
  padding: 36px 32px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}
.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-left: 3px solid var(--primary);
}
.why-number {
  font-size: 2.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
  line-height: 1;
}
.why-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}
.why-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Stats Section */
.about-stats {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary), #ad1457);
  padding: 60px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat-card {
  text-align: center;
  padding: 32px 20px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: var(--transition);
}
.stat-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
}
.stat-icon {
  font-size: 1.8rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 12px;
}
.stat-card h3 {
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}
.stat-card p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
}

/* Contact Info Cards */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.contact-card {
  padding: 36px 24px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition);
}
.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-bottom: 3px solid var(--gold);
}
.contact-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin: 0 auto 16px;
  background: rgba(194, 24, 91, 0.06);
  color: var(--primary);
  border: 2px solid rgba(201, 168, 76, 0.15);
}
.contact-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.contact-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}
.contact-card a {
  color: var(--primary);
  font-weight: 500;
}
.contact-card a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* About Page Responsive */
@media (max-width: 1024px) {
  .vm-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid,
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-image {
    order: -1;
  }
  .why-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .page-header h1 {
    font-size: 2rem;
  }
}

/* ===== LESSON PAGE STYLES ===== */

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  margin-bottom: 16px;
  color: var(--text-muted);
}
.breadcrumb a {
  color: var(--primary);
  text-decoration: none;
}
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb i { font-size: 0.65rem; color: var(--text-muted); }

/* Lesson Page Container */
.lesson-page {
  padding: 40px 0 80px;
}

/* Program Tabs */
.program-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.program-tab {
  padding: 12px 24px;
  border: 2px solid var(--glass-border);
  border-radius: var(--radius);
  background: var(--bg-card);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-body);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}
.program-tab i { font-size: 0.85rem; }
.program-tab:hover {
  border-color: var(--primary-light);
  color: var(--primary);
}
.program-tab.active {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(194, 24, 91, 0.25);
}

/* Grade Tabs */
.grade-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
  overflow-x: auto;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--glass-border);
}
.grade-tab {
  padding: 10px 20px;
  border: none;
  background: transparent;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  white-space: nowrap;
}
.grade-tab:hover { color: var(--primary); }
.grade-tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  font-weight: 700;
}

/* Filter Bar */
.filter-bar {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
  align-items: center;
  flex-wrap: wrap;
}
.filter-select select {
  padding: 10px 16px;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  font-size: 0.88rem;
  color: var(--text-body);
  min-width: 160px;
  cursor: pointer;
  font-family: inherit;
}
.filter-search {
  flex: 1;
  min-width: 200px;
  position: relative;
}
.filter-search i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.85rem;
}
.filter-search input {
  width: 100%;
  padding: 10px 16px 10px 40px;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  font-size: 0.88rem;
  color: var(--text-body);
  font-family: inherit;
}
.filter-search input:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(194, 24, 91, 0.08);
}

/* Lesson Layout: Sidebar + Content */
.lesson-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 28px;
  align-items: flex-start;
}

/* Sidebar */
.lesson-sidebar {
  position: sticky;
  top: 100px;
}
.sidebar-section {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}
.sidebar-section h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.sidebar-section h4 i {
  color: var(--gold);
  font-size: 0.8rem;
}

/* Subject Radio List */
.subject-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.subject-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.88rem;
  color: var(--text-body);
  transition: var(--transition);
}
.subject-item:hover { background: rgba(194, 24, 91, 0.04); }
.subject-item.active {
  background: rgba(194, 24, 91, 0.06);
  color: var(--primary-dark);
  font-weight: 600;
}
.subject-item input { display: none; }
.radio-custom {
  width: 16px;
  height: 16px;
  border: 2px solid var(--glass-border);
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
  transition: var(--transition);
}
.subject-item.active .radio-custom {
  border-color: var(--primary);
}
.subject-item.active .radio-custom::after {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Sidebar Info Stats */
.info-stats {
  display: flex;
  gap: 12px;
}
.info-stat {
  flex: 1;
  text-align: center;
  padding: 12px 8px;
  background: var(--bg-section-alt);
  border-radius: 10px;
}
.info-num {
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
}
.info-label {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Lesson Content */
.lesson-result-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  font-size: 0.88rem;
  color: var(--text-muted);
}
.result-count { font-size: 0.82rem; }

/* Lesson Grid */
.lesson-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Lesson Card */
.lesson-card {
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition);
}
.lesson-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

/* Lesson Thumbnail */
.lesson-thumb {
  height: 140px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.thumb-gradient {
  position: absolute;
  inset: 0;
}
.thumb-gradient.pink { background: linear-gradient(135deg, #fce4ec, #f8bbd0, #f48fb1); }
.thumb-gradient.blue { background: linear-gradient(135deg, #e3f2fd, #bbdefb, #90caf9); }
.thumb-gradient.green { background: linear-gradient(135deg, #e8f5e9, #c8e6c9, #a5d6a7); }
.thumb-gradient.purple { background: linear-gradient(135deg, #f3e5f5, #e1bee7, #ce93d8); }
.thumb-gradient.teal { background: linear-gradient(135deg, #e0f2f1, #b2dfdb, #80cbc4); }
.thumb-gradient.rose { background: linear-gradient(135deg, #fce4ec, #f8bbd0, #ef9a9a); }
.lesson-week {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255,255,255,0.9);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-dark);
  backdrop-filter: blur(4px);
}
.lesson-type {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255,255,255,0.9);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--primary-dark);
  backdrop-filter: blur(4px);
}

/* Lesson Body */
.lesson-body {
  padding: 16px;
}
.lesson-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.lesson-tags {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.tag {
  padding: 3px 10px;
  background: var(--bg-section-alt);
  border-radius: 20px;
  font-size: 0.72rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}
.tag i { font-size: 0.65rem; }
.lesson-btn {
  width: 100%;
  text-align: center;
  justify-content: center;
}
.btn-sm {
  padding: 8px 16px;
  font-size: 0.82rem;
}

/* Lesson Footer */
.lesson-footer {
  padding: 10px 16px;
  border-top: 1px solid var(--glass-border);
  display: flex;
  justify-content: space-around;
  font-size: 0.75rem;
  color: var(--text-muted);
}
.lesson-footer span {
  display: flex;
  align-items: center;
  gap: 4px;
}
.lesson-footer i { font-size: 0.7rem; }

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 40px;
}
.page-btn {
  width: 40px;
  height: 40px;
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  background: var(--bg-card);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-body);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-btn:hover:not(.disabled) {
  border-color: var(--primary-light);
  color: var(--primary);
}
.page-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.page-btn.disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.page-dots {
  padding: 0 6px;
  color: var(--text-muted);
}

/* Lesson Page Responsive */
@media (max-width: 1024px) {
  .lesson-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .lesson-layout {
    grid-template-columns: 1fr;
  }
  .lesson-sidebar {
    position: static;
  }
  .lesson-grid {
    grid-template-columns: 1fr;
  }
  .program-tabs {
    flex-direction: column;
  }
  .filter-bar {
    flex-direction: column;
  }
  .filter-select select,
  .filter-search {
    width: 100%;
  }
  .grade-tabs {
    gap: 0;
  }
  .grade-tab {
    padding: 8px 12px;
    font-size: 0.8rem;
  }
}

/* ===== LESSON DETAIL PAGE ===== */
.lesson-detail-page { padding: 30px 0 80px; }
.detail-layout { display: grid; grid-template-columns: 1fr 320px; gap: 28px; align-items: flex-start; }

/* Detail Header */
.detail-header { margin-bottom: 20px; }
.detail-meta-row { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.detail-badge { padding: 5px 14px; border-radius: 20px; font-size: 0.78rem; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.detail-badge.week { background: rgba(201,168,76,0.1); color: #b8860b; }
.detail-badge.subject { background: rgba(194,24,91,0.06); color: var(--primary); }
.detail-badge.grade { background: rgba(21,101,192,0.06); color: var(--secondary); }
.detail-header h1 { font-size: 1.8rem; font-weight: 800; color: var(--text-dark); margin-bottom: 10px; line-height: 1.3; }
.detail-desc { font-size: 0.92rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 12px; }
.detail-stats { display: flex; gap: 20px; font-size: 0.8rem; color: var(--text-muted); flex-wrap: wrap; }
.detail-stats span { display: flex; align-items: center; gap: 5px; }
.detail-stats i { color: var(--gold); font-size: 0.75rem; }

/* File Tabs */
.file-tabs { display: flex; gap: 4px; margin-bottom: 0; border-bottom: 2px solid var(--glass-border); overflow-x: auto; }
.file-tab { padding: 10px 18px; border: none; background: transparent; font-size: 0.82rem; font-weight: 500; color: var(--text-muted); cursor: pointer; transition: var(--transition); display: flex; align-items: center; gap: 6px; border-bottom: 2px solid transparent; margin-bottom: -2px; white-space: nowrap; font-family: inherit; }
.file-tab:hover { color: var(--primary); }
.file-tab.active { color: var(--primary); border-bottom-color: var(--primary); font-weight: 700; }
.file-tab i { font-size: 0.85rem; }

/* Viewer Container */
.viewer-container { border: 1px solid var(--glass-border); border-radius: 0 0 var(--radius) var(--radius); overflow: hidden; background: var(--bg-card); box-shadow: var(--shadow-sm); }
.viewer-toolbar { display: flex; justify-content: space-between; align-items: center; padding: 8px 16px; background: #f8f9fb; border-bottom: 1px solid var(--glass-border); }
.viewer-file-label { font-size: 0.82rem; font-weight: 600; color: var(--text-dark); display: flex; align-items: center; gap: 6px; }
.viewer-file-label i { color: var(--primary); }
.viewer-btn { width: 32px; height: 32px; border: 1px solid var(--glass-border); border-radius: 8px; background: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--text-muted); transition: var(--transition); font-size: 0.82rem; }
.viewer-btn:hover { border-color: var(--primary-light); color: var(--primary); }

/* Viewer Frame */
.viewer-frame { width: 100%; height: 600px; position: relative; background: #f0f0f0; }
.viewer-frame iframe { width: 100%; height: 100%; border: none; }
.video-player { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: #0a0a0a; }
.video-player video { max-width: 100%; max-height: 100%; width: 100%; }
.viewer-notice { padding: 10px 16px; background: rgba(201,168,76,0.06); border-top: 1px solid rgba(201,168,76,0.15); display: flex; align-items: center; gap: 8px; font-size: 0.78rem; color: #8b7530; }
.viewer-notice i { color: var(--gold); }

/* Sidebar Cards */
.sidebar-card { background: var(--bg-card); border: 1px solid var(--glass-border); border-radius: var(--radius); padding: 20px; margin-bottom: 16px; box-shadow: var(--shadow-sm); }
.sidebar-card h4 { font-size: 0.85rem; font-weight: 700; color: var(--text-dark); margin-bottom: 16px; display: flex; align-items: center; gap: 8px; text-transform: uppercase; letter-spacing: 0.5px; }
.sidebar-card h4 i { color: var(--gold); font-size: 0.8rem; }

/* Info List */
.info-list { display: flex; flex-direction: column; gap: 10px; }
.info-row { display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem; padding-bottom: 8px; border-bottom: 1px solid rgba(0,0,0,0.04); }
.info-row:last-child { border-bottom: none; padding-bottom: 0; }
.info-key { color: var(--text-muted); }
.info-val { font-weight: 600; color: var(--text-dark); }

/* File List */
.file-list { display: flex; flex-direction: column; gap: 6px; }
.file-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; cursor: pointer; transition: var(--transition); border: 1px solid transparent; }
.file-item:hover { background: rgba(194,24,91,0.03); }
.file-item.active { background: rgba(194,24,91,0.06); border-color: rgba(194,24,91,0.12); }
.file-icon { width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 0.85rem; flex-shrink: 0; }
.file-icon.ppt { background: #fff3e0; color: #e65100; }
.file-icon.doc { background: #e3f2fd; color: #1565c0; }
.file-icon.pdf { background: #fce4ec; color: #c62828; }
.file-icon.vid { background: #e8f5e9; color: #2e7d32; }
.file-icon.pvid { background: #f3e5f5; color: #7b1fa2; }
.file-info { flex: 1; min-width: 0; }
.file-name { display: block; font-size: 0.82rem; font-weight: 600; color: var(--text-dark); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.file-size { font-size: 0.72rem; color: var(--text-muted); }

/* Related Lessons */
.related-list { display: flex; flex-direction: column; gap: 4px; }
.related-item { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; text-decoration: none; transition: var(--transition); }
.related-item:hover { background: rgba(194,24,91,0.04); }
.rel-week { width: 28px; height: 28px; border-radius: 6px; background: var(--bg-section-alt); display: flex; align-items: center; justify-content: center; font-size: 0.7rem; font-weight: 700; color: var(--primary); flex-shrink: 0; }
.rel-title { font-size: 0.82rem; color: var(--text-body); line-height: 1.3; }
.related-item:hover .rel-title { color: var(--primary); }

/* Detail Responsive */
@media (max-width: 1024px) { .detail-layout { grid-template-columns: 1fr; } .detail-sidebar { order: -1; } }
@media (max-width: 768px) { .viewer-frame { height: 400px; } .detail-header h1 { font-size: 1.4rem; } .file-tabs { gap: 0; } }