/* ===== VARIABLES ===== */
:root {
  --dark-blue: #0d2f6e;
  --mid-blue: #1a4fa0;
  --teal: #1ab3c8;
  --teal-light: #2dd4e8;
  --teal-dark: #0e8fa3;
  --white: #ffffff;
  --light-bg: #f4f9fc;
  --text-dark: #0d1f3c;
  --text-muted: #5a7a9a;
  --border: #d0e4f0;
  --shadow: 0 4px 24px rgba(13, 47, 110, 0.12);
  --shadow-lg: 0 12px 48px rgba(13, 47, 110, 0.18);
  --radius: 14px;
  --radius-sm: 8px;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

/* ===== BUTTONS ===== */
.btn-primary {
  background: linear-gradient(135deg, var(--teal), var(--mid-blue));
  color: var(--white);
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  display: inline-block;
  border: none;
  cursor: pointer;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(26,179,200,0.4); }
.btn-primary.large { padding: 16px 36px; font-size: 1.05rem; }
.btn-primary.small { padding: 8px 18px; font-size: 0.85rem; }

.btn-outline {
  border: 2px solid var(--teal);
  color: var(--teal);
  padding: 10px 26px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  display: inline-block;
  background: transparent;
  cursor: pointer;
}
.btn-outline:hover { background: var(--teal); color: var(--white); }
.btn-outline.large { padding: 14px 34px; font-size: 1.05rem; }

.btn-ghost {
  border: 2px solid rgba(255,255,255,0.6);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.05rem;
  transition: all 0.3s ease;
  display: inline-block;
  background: transparent;
  cursor: pointer;
}
.btn-ghost:hover { background: rgba(255,255,255,0.15); }
.btn-ghost.large { padding: 16px 36px; }

/* ===== NAVBAR ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 16px rgba(13,47,110,0.07);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 70px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { height: 44px; }
.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark-blue);
}
.logo-text span { color: var(--teal); }
.homepage .logo {
  opacity: 0;
  animation: logoEntrance 1s ease-out 0.25s forwards;
}

@keyframes logoEntrance {
  0% {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  60% {
    opacity: 1;
    transform: translateY(4px) scale(1.05);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.nav-links { display: flex; list-style: none; gap: 8px; margin-left: auto; }
.nav-links a {
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 500;
  color: var(--text-muted);
  transition: all 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--dark-blue); background: var(--light-bg); }
.nav-actions { display: flex; gap: 12px; align-items: center; }
.hamburger { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--dark-blue); }
.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 16px 24px;
  gap: 4px;
  border-top: 1px solid var(--border);
}
.mobile-menu a { padding: 10px 0; font-weight: 500; color: var(--text-dark); border-bottom: 1px solid var(--border); }
.mobile-menu.open { display: flex; }

/* ===== HERO ===== */
.hero {
  min-height: 92vh;
  background: linear-gradient(135deg, var(--dark-blue) 0%, var(--mid-blue) 50%, #0e6b8a 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 80px 24px;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(135deg, rgba(13,47,110,0.85), rgba(14,107,138,0.55)),
    url('https://images.pexels.com/photos/36766038/pexels-photo-36766038.jpeg?cs=srgb&dl=pexels-silverkblack-36766038.jpg&fm=jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-blend-mode: overlay;
  filter: brightness(0.75) saturate(0.9);
}
.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(26,179,200,0.2);
  border: 1px solid rgba(26,179,200,0.4);
  color: var(--teal-light);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 20px;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero h1 span { color: var(--teal-light); }
.hero p {
  color: rgba(255,255,255,0.75);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 480px;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-stats { display: flex; align-items: center; gap: 24px; }
.stat { text-align: center; }
.stat strong { display: block; font-size: 1.6rem; font-weight: 700; color: var(--white); }
.stat span { font-size: 0.85rem; color: rgba(255,255,255,0.6); }
.stat-divider { width: 1px; height: 36px; background: rgba(255,255,255,0.2); }

/* Hero Visual */
.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-end;
}
.hero-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  width: 280px;
  color: white;
}
.hero-card .card-icon { font-size: 2rem; }
.hero-card strong { display: block; font-weight: 600; font-size: 1rem; }
.hero-card p { font-size: 0.85rem; color: rgba(255,255,255,0.7); margin: 0; }

/* Floating animation */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.floating { animation: float 4s ease-in-out infinite; }
.delay1 { animation-delay: 1s; }
.delay2 { animation-delay: 2s; }

/* Page entrance animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.navbar {
  opacity: 0;
  transform: translateY(-16px);
  animation: fadeInUp 0.8s ease-out 0.2s forwards;
}
.hero,
.features,
.courses-preview,
.cta-section,
.footer {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeInUp 0.85s ease-out forwards;
}
.hero { animation-delay: 0.15s; }
.features { animation-delay: 0.25s; }
.courses-preview { animation-delay: 0.35s; }
.cta-section { animation-delay: 0.45s; }
.footer { animation-delay: 0.55s; }
.hero-badge,
.hero h1,
.hero p,
.hero-buttons,
.hero-stats,
.hero-card,
.feature-card,
.course-card,
.footer-grid {
  opacity: 0;
  transform: translateY(18px);
  animation: fadeInUp 0.8s ease-out forwards;
}
.hero-badge { animation-delay: 0.4s; }
.hero h1 { animation-delay: 0.5s; }
.hero p { animation-delay: 0.6s; }
.hero-buttons { animation-delay: 0.7s; }
.hero-stats { animation-delay: 0.8s; }
.hero-card { animation-delay: 0.9s; }
.feature-card:nth-child(1) { animation-delay: 0.6s; }
.feature-card:nth-child(2) { animation-delay: 0.7s; }
.feature-card:nth-child(3) { animation-delay: 0.8s; }
.feature-card:nth-child(4) { animation-delay: 0.9s; }
.feature-card:nth-child(5) { animation-delay: 1s; }
.feature-card:nth-child(6) { animation-delay: 1.1s; }
.course-card:nth-child(1) { animation-delay: 0.6s; }
.course-card:nth-child(2) { animation-delay: 0.7s; }
.course-card:nth-child(3) { animation-delay: 0.8s; }
.footer-grid { animation-delay: 0.6s; }

/* ===== SECTION STYLES ===== */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--dark-blue);
  margin-bottom: 12px;
}
.section-header p { color: var(--text-muted); font-size: 1.05rem; }
.section-header.light h2 { color: var(--white); }
.section-header.light p { color: rgba(255,255,255,0.7); }

/* ===== FEATURES ===== */
.features {
  padding: 100px 24px;
  background: var(--light-bg);
}
.features-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border: 1px solid var(--border);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--teal); }
.feature-icon { font-size: 2.4rem; margin-bottom: 16px; }
.feature-card h3 { font-size: 1.1rem; font-weight: 600; color: var(--dark-blue); margin-bottom: 10px; }
.feature-card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }

/* ===== COURSES PREVIEW ===== */
.courses-preview {
  padding: 100px 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}
.course-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  background: var(--white);
}
.course-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.course-card.featured { border: 2px solid var(--teal); }
.course-thumb {
  height: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  gap: 12px;
}
.course-thumb.beginner { background: linear-gradient(135deg, #0e8fa3, #1ab3c8); }
.course-thumb.intermediate { background: linear-gradient(135deg, var(--mid-blue), var(--teal)); }
.course-thumb.advanced { background: linear-gradient(135deg, var(--dark-blue), var(--mid-blue)); }
.course-thumb-icon { font-size: 2.8rem; }
.level-badge {
  position: absolute;
  top: 12px; right: 12px;
  background: rgba(255,255,255,0.25);
  color: white;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
}
.course-info { padding: 24px; }
.course-info h3 { font-size: 1.05rem; font-weight: 600; color: var(--dark-blue); margin-bottom: 8px; }
.course-info p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; margin-bottom: 14px; }
.course-meta { display: flex; gap: 16px; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 16px; }
.course-footer { display: flex; align-items: center; justify-content: space-between; }
.price { font-size: 1.3rem; font-weight: 700; color: var(--dark-blue); }
.center-btn { text-align: center; }

/* ===== TESTIMONIALS ===== */
.testimonials {
  background: linear-gradient(135deg, var(--dark-blue), var(--mid-blue));
  padding: 100px 24px;
}
.testimonials-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.testimonial-card {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 32px;
  color: white;
}
.stars { color: var(--teal-light); font-size: 1.1rem; margin-bottom: 16px; }
.testimonial-card p { color: rgba(255,255,255,0.8); line-height: 1.7; margin-bottom: 24px; font-size: 0.95rem; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--mid-blue));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.85rem;
}
.testimonial-author strong { display: block; font-size: 0.95rem; }
.testimonial-author span { font-size: 0.82rem; color: rgba(255,255,255,0.55); }

/* ===== CTA ===== */
.cta-section {
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  padding: 80px 24px;
  text-align: center;
}
.cta-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: white;
  margin-bottom: 14px;
}
.cta-content p { color: rgba(255,255,255,0.8); font-size: 1.05rem; margin-bottom: 32px; }
.cta-section .btn-primary {
  background: white;
  color: var(--teal-dark);
}
.cta-section .btn-primary:hover { background: var(--light-bg); }

/* ===== FOOTER ===== */
.footer {
  background: var(--text-dark);
  color: rgba(255,255,255,0.75);
  padding: 64px 24px 0;
}
.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .logo-text { font-size: 1.2rem; display: block; margin-bottom: 12px; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; color: rgba(255,255,255,0.55); }
.footer-links h4 { color: white; font-weight: 600; margin-bottom: 16px; font-size: 0.95rem; }
.footer-links a { display: block; font-size: 0.9rem; color: rgba(255,255,255,0.55); margin-bottom: 10px; transition: color 0.2s; }
.footer-links a:hover { color: var(--teal-light); }
.footer-bottom { text-align: center; padding: 20px; font-size: 0.85rem; color: rgba(255,255,255,0.4); }

/* ===== AUTH PAGES ===== */
.auth-page {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--dark-blue), var(--mid-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}
.auth-card {
  background: white;
  border-radius: 20px;
  padding: 48px 40px;
  width: 100%;
  max-width: 460px;
  box-shadow: var(--shadow-lg);
}
.auth-card .logo-text { font-size: 1.4rem; display: block; text-align: center; margin-bottom: 8px; }
.auth-card h2 { text-align: center; font-family: 'Playfair Display', serif; font-size: 1.8rem; color: var(--dark-blue); margin-bottom: 6px; }
.auth-card .subtitle { text-align: center; color: var(--text-muted); font-size: 0.95rem; margin-bottom: 32px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 500; font-size: 0.9rem; color: var(--text-dark); margin-bottom: 8px; }
.form-group input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: border-color 0.2s;
  outline: none;
}
.form-group input:focus { border-color: var(--teal); }
.form-group input.error { border-color: #e74c3c; }
.error-msg { color: #e74c3c; font-size: 0.82rem; margin-top: 4px; display: none; }
.error-msg.show { display: block; }
.auth-card .btn-primary { width: 100%; text-align: center; padding: 14px; font-size: 1rem; border-radius: var(--radius-sm); margin-top: 8px; }
.auth-switch { text-align: center; margin-top: 20px; font-size: 0.9rem; color: var(--text-muted); }
.auth-switch a { color: var(--teal); font-weight: 600; }
.divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; color: var(--text-muted); font-size: 0.85rem; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.forgot-link { text-align: right; margin-top: -12px; margin-bottom: 16px; }
.forgot-link a { font-size: 0.85rem; color: var(--teal); }

/* ===== COURSES PAGE ===== */
.page-hero {
  background: linear-gradient(135deg, var(--dark-blue), var(--mid-blue));
  padding: 80px 24px 60px;
  text-align: center;
  color: white;
}
.page-hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,0.75); font-size: 1.05rem; }
.courses-page { padding: 60px 24px; max-width: 1200px; margin: 0 auto; }
.filter-bar { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
.filter-btn {
  padding: 8px 20px;
  border-radius: 50px;
  border: 2px solid var(--border);
  background: white;
  color: var(--text-muted);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
}
.filter-btn:hover, .filter-btn.active { border-color: var(--teal); color: var(--teal); background: rgba(26,179,200,0.08); }
.all-courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* ===== ABOUT PAGE ===== */
.about-section { padding: 80px 24px; max-width: 1200px; margin: 0 auto; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-text h2 { font-family: 'Playfair Display', serif; font-size: 2.2rem; color: var(--dark-blue); margin-bottom: 16px; }
.about-text p { color: var(--text-muted); line-height: 1.8; margin-bottom: 16px; }
.about-visual {
  background: linear-gradient(135deg, var(--dark-blue), var(--teal));
  border-radius: 20px;
  padding: 48px;
  color: white;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.about-stat strong { display: block; font-size: 2.4rem; font-weight: 700; color: var(--teal-light); }
.about-stat span { font-size: 0.9rem; color: rgba(255,255,255,0.7); }
.team-section { padding: 60px 24px; background: var(--light-bg); }
.team-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.team-card { background: white; border-radius: var(--radius); padding: 32px; text-align: center; box-shadow: var(--shadow); }
.team-avatar { width: 80px; height: 80px; border-radius: 50%; background: linear-gradient(135deg, var(--teal), var(--mid-blue)); display: flex; align-items: center; justify-content: center; font-size: 1.8rem; font-weight: 700; color: white; margin: 0 auto 16px; }
.team-card h3 { font-weight: 600; color: var(--dark-blue); margin-bottom: 4px; }
.team-card span { font-size: 0.85rem; color: var(--teal); font-weight: 500; }
.team-card p { color: var(--text-muted); font-size: 0.9rem; margin-top: 10px; line-height: 1.6; }

/* ===== CONTACT PAGE ===== */
.contact-section { padding: 80px 24px; max-width: 1200px; margin: 0 auto; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; }
.contact-info h2 { font-family: 'Playfair Display', serif; font-size: 2rem; color: var(--dark-blue); margin-bottom: 16px; }
.contact-info p { color: var(--text-muted); line-height: 1.7; margin-bottom: 32px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 24px; }
.contact-icon { width: 44px; height: 44px; border-radius: 10px; background: linear-gradient(135deg, var(--teal), var(--mid-blue)); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.contact-item strong { display: block; color: var(--dark-blue); font-weight: 600; margin-bottom: 2px; }
.contact-item span { font-size: 0.9rem; color: var(--text-muted); }
.contact-form { background: var(--light-bg); border-radius: var(--radius); padding: 40px; }
.contact-form h3 { font-family: 'Playfair Display', serif; font-size: 1.4rem; color: var(--dark-blue); margin-bottom: 24px; }
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  resize: vertical;
  min-height: 130px;
  outline: none;
  transition: border-color 0.2s;
}
.contact-form textarea:focus { border-color: var(--teal); }
.success-msg {
  background: #e8f8f0;
  border: 1px solid #2ecc71;
  color: #1a8a4a;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  margin-top: 12px;
  display: none;
  font-size: 0.9rem;
}
.success-msg.show { display: block; }

/* ===== DASHBOARD ===== */
.dashboard { display: flex; min-height: 100vh; }
.sidebar {
  width: 260px;
  background: var(--dark-blue);
  color: white;
  padding: 24px 0;
  flex-shrink: 0;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}
.sidebar-logo { padding: 0 24px 24px; border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: 24px; }
.sidebar-logo .logo-text { font-size: 1.1rem; }
.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
  transition: all 0.2s;
  font-size: 0.95rem;
}
.sidebar-nav a:hover, .sidebar-nav a.active { background: rgba(255,255,255,0.1); color: white; }
.sidebar-nav a .nav-icon { font-size: 1.1rem; width: 24px; }
.main-content { flex: 1; padding: 40px; background: var(--light-bg); overflow-y: auto; }
.dash-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; }
.dash-header h1 { font-family: 'Playfair Display', serif; font-size: 1.8rem; color: var(--dark-blue); }
.dash-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 32px; }
.dash-stat-card {
  background: white;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--teal);
}
.dash-stat-card .stat-label { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 8px; }
.dash-stat-card .stat-value { font-size: 2rem; font-weight: 700; color: var(--dark-blue); }
.enrolled-courses h2 { font-family: 'Playfair Display', serif; font-size: 1.4rem; color: var(--dark-blue); margin-bottom: 20px; }
.enrolled-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.enrolled-card { background: white; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.enrolled-card h3 { font-weight: 600; color: var(--dark-blue); margin-bottom: 8px; font-size: 1rem; }
.progress-bar { height: 6px; background: var(--border); border-radius: 3px; margin: 12px 0 8px; overflow: hidden; }
.progress-fill { height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--teal), var(--mid-blue)); transition: width 1s ease; }
.progress-text { font-size: 0.82rem; color: var(--text-muted); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .courses-grid, .all-courses-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .dash-stats { grid-template-columns: repeat(2, 1fr); }
  .enrolled-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .nav-links, .nav-actions { display: none; }
  .hamburger { display: block; margin-left: auto; }
  .features-grid, .courses-grid, .all-courses-grid, .team-grid { grid-template-columns: 1fr; }
  .auth-card { padding: 32px 24px; }
  .dashboard { flex-direction: column; }
  .sidebar { width: 100%; height: auto; position: static; }
  .main-content { padding: 24px 16px; }
  .dash-stats { grid-template-columns: repeat(2, 1fr); }
  .about-visual { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .auth-page { padding: 20px 16px; }
  .auth-card { padding: 24px 16px; max-width: 100%; }
  .auth-card h2 { font-size: 1.5rem; }
  .auth-card .subtitle { font-size: 0.9rem; margin-bottom: 24px; }
  .form-group { margin-bottom: 16px; }
  .form-group input { padding: 10px 12px; font-size: 0.9rem; }
  .auth-card .btn-primary { padding: 12px; font-size: 0.95rem; }
}
