/* ========================================
   NLITE Institute — Global Stylesheet
   ======================================== */

:root {
  --primary: #1a3f7a;
  --primary-dark: #0f2a55;
  --primary-light: #2d5fbd;
  --accent: #0ea5e9;
  --accent-hover: #0284c7;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-900: #0f172a;
  --success: #16a34a;
  --error: #dc2626;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow: 0 4px 16px rgba(26,63,122,0.10);
  --shadow-lg: 0 10px 40px rgba(26,63,122,0.14);
  --radius: 12px;
  --radius-sm: 6px;
  --transition: 0.22s ease;
}

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

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

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ── Container ── */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-accent {
  background: var(--accent);
  color: var(--white);
}
.btn-accent:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.7);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }
.btn-outline-dark {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline-dark:hover { background: var(--primary); color: var(--white); }
.btn-sm { padding: 9px 20px; font-size: 0.875rem; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }

/* ── Navigation ── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--primary-dark);
  box-shadow: 0 2px 16px rgba(0,0,0,0.18);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 96px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo img {
  height: 76px;
  width: auto;
  filter: brightness(0) invert(1);
}
.nav-brand {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.nav-brand-name {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.05em;
}
.nav-brand-tag {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.65);
  font-weight: 400;
  letter-spacing: 0.04em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.nav-links a:hover, .nav-links a.active {
  color: var(--white);
  background: rgba(255,255,255,0.12);
}
.nav-links .btn-nav-enroll {
  background: var(--accent);
  color: var(--white);
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  margin-left: 8px;
}
.nav-links .btn-nav-enroll:hover { background: var(--accent-hover); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ── Hero Section ── */
.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
}
.hero-content { color: var(--white); }
.hero-badge {
  display: inline-block;
  background: rgba(14,165,233,0.25);
  color: #7dd3fc;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 20px;
  border: 1px solid rgba(14,165,233,0.4);
  margin-bottom: 20px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}
.hero h1 span { color: #7dd3fc; }
.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 36px;
  max-width: 480px;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
/* ── Hero Course Card ── */
.hero-course-card {
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 20px;
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.25);
  width: 100%;
}
.hero-course-card-top { display: flex; flex-direction: column; gap: 8px; }
.hero-course-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7dd3fc;
}
.hero-course-name {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
}
.hero-course-duration {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
}
.hero-course-project {
  background: rgba(14,165,233,0.15);
  border: 1px solid rgba(14,165,233,0.35);
  border-radius: 10px;
  padding: 14px 16px;
}
.hero-project-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7dd3fc;
  margin-bottom: 10px;
}
.hero-project-name {
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-project-icon { font-size: 1.6rem; line-height: 1; }
.hero-project-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--white);
}
.hero-project-sub {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
  margin-top: 2px;
}
.hero-course-skills { display: flex; flex-direction: column; gap: 8px; }
.hero-skills-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.hero-skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.hero-skills-list span {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.85);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 20px;
}

/* ── Section Layout ── */
.section { padding: 80px 0; }
.section-alt { background: var(--gray-50); }
.section-header { text-align: center; margin-bottom: 56px; }
.section-tag {
  display: inline-block;
  background: rgba(26,63,122,0.08);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.2;
  margin-bottom: 14px;
}
.section-header p {
  font-size: 1.05rem;
  color: var(--gray-600);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── Featured Course (Intellihire) ── */
.featured-course {
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
}
.featured-badge {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.featured-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.8;
}
.featured-title { font-size: 1.7rem; font-weight: 800; }
.featured-tag-chip {
  background: rgba(255,255,255,0.2);
  color: var(--white);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}
.featured-body { padding: 36px 32px; }
.featured-desc {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.75;
  margin-bottom: 32px;
}
.featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}
.featured-info-card {
  background: var(--gray-50);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  border-left: 4px solid var(--primary);
}
.featured-info-card h4 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
  margin-bottom: 8px;
}
.featured-info-card p { font-size: 0.92rem; color: var(--gray-700); line-height: 1.6; }

.skills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.skill-chip {
  background: var(--white);
  border: 1px solid var(--gray-200);
  color: var(--gray-700);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  box-shadow: var(--shadow-sm);
}
.featured-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-200);
}
.featured-duration {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--gray-600);
  font-weight: 500;
}
.featured-duration span { font-weight: 700; color: var(--primary); }

/* ── Course Cards ── */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.course-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.course-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary-light); }
.course-card-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  padding: 24px 24px 20px;
  position: relative;
}
.course-card-header.alt { background: linear-gradient(135deg, #0ea5e9, #0284c7); }
.course-featured-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #fbbf24;
  color: #78350f;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.course-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}
.course-card-duration {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
}
.course-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.course-card-desc {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.65;
  margin-bottom: 16px;
  flex: 1;
}
.course-card-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}
.course-card-footer {
  padding: 0 24px 24px;
}

/* ── Enrollment Form ── */
.enrollment-section {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 80px 0;
}
.enroll-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.enroll-info { color: var(--white); }
.enroll-info h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.2;
}
.enroll-info p {
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  margin-bottom: 28px;
}
.enroll-points { display: flex; flex-direction: column; gap: 12px; }
.enroll-point {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
}
.enroll-point-icon {
  width: 20px;
  height: 20px;
  background: rgba(14,165,233,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 0.7rem;
}

.enroll-form-card {
  background: var(--white);
  border-radius: 16px;
  padding: 40px 36px;
  box-shadow: var(--shadow-lg);
}
.enroll-form-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 6px;
}
.enroll-form-card .sub { font-size: 0.88rem; color: var(--gray-600); margin-bottom: 28px; }

.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 6px;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 0.93rem;
  color: var(--gray-900);
  background: var(--gray-50);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  font-family: inherit;
}
.form-group input:focus, .form-group select:focus {
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(26,63,122,0.08);
}
.form-group input.error { border-color: var(--error); }
.form-error { font-size: 0.78rem; color: var(--error); margin-top: 4px; display: none; }
.form-error.show { display: block; }
.form-submit { width: 100%; }

.form-success {
  display: none;
  text-align: center;
  padding: 20px;
}
.form-success.show { display: block; }
.success-icon {
  width: 56px;
  height: 56px;
  background: #dcfce7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-size: 1.4rem;
}
.form-success h4 { font-size: 1.1rem; font-weight: 700; color: var(--success); margin-bottom: 8px; }
.form-success p { font-size: 0.88rem; color: var(--gray-600); }

/* ── About Page ── */
.about-hero {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 80px 0;
  color: var(--white);
  text-align: center;
}
.about-hero h1 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; margin-bottom: 16px; }
.about-hero p { font-size: 1.1rem; color: rgba(255,255,255,0.8); max-width: 560px; margin: 0 auto; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}
.value-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  text-align: center;
  transition: transform var(--transition);
}
.value-card:hover { transform: translateY(-3px); }
.value-icon {
  font-size: 2rem;
  margin-bottom: 14px;
}
.value-card h3 { font-size: 1rem; font-weight: 700; color: var(--gray-900); margin-bottom: 8px; }
.value-card p { font-size: 0.88rem; color: var(--gray-600); line-height: 1.65; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}
.team-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 20px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  text-align: center;
}
.team-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  margin: 0 auto 14px;
}
.team-card h3 { font-size: 1rem; font-weight: 700; color: var(--gray-900); margin-bottom: 4px; }
.team-card span { font-size: 0.82rem; color: var(--primary); font-weight: 500; }

/* ── Admin Panel ── */
.admin-login-page {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.admin-login-card {
  background: var(--white);
  border-radius: 16px;
  padding: 44px 40px;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-lg);
}
.admin-login-logo {
  text-align: center;
  margin-bottom: 28px;
}
.admin-login-logo img {
  height: 48px;
  width: auto;
  filter: invert(21%) sepia(73%) saturate(500%) hue-rotate(197deg);
  margin: 0 auto 10px;
}
.admin-login-logo h2 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
}
.admin-login-logo p { font-size: 0.85rem; color: var(--gray-600); }

.admin-panel { min-height: 100vh; background: var(--gray-50); }
.admin-header {
  background: var(--primary-dark);
  color: var(--white);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.admin-header-left { display: flex; align-items: center; gap: 14px; }
.admin-header-left img { height: 36px; width: auto; filter: brightness(0) invert(1); }
.admin-header h1 { font-size: 1.1rem; font-weight: 700; }
.admin-content { padding: 32px 24px; max-width: 1200px; margin: 0 auto; }

.admin-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
  border-bottom: 2px solid var(--gray-200);
  padding-bottom: 0;
}
.admin-tab {
  padding: 10px 22px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-600);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: all var(--transition);
  border-radius: 0;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
}
.admin-tab.active { color: var(--primary); border-bottom-color: var(--primary); }
.admin-tab:hover { color: var(--primary); }

.admin-table-wrap { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.admin-table th {
  background: var(--gray-50);
  padding: 12px 16px;
  text-align: left;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--gray-200);
}
.admin-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--gray-100);
  color: var(--gray-700);
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: var(--gray-50); }
.admin-table .badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 0.73rem;
  font-weight: 600;
}
.badge-featured { background: #fef9c3; color: #92400e; }

.admin-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.admin-section-header h2 { font-size: 1.15rem; font-weight: 700; color: var(--gray-900); }

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 24px;
}
.modal-overlay.show { display: flex; }
.modal {
  background: var(--white);
  border-radius: 16px;
  padding: 36px 32px;
  width: 100%;
  max-width: 540px;
  box-shadow: var(--shadow-lg);
  max-height: 90vh;
  overflow-y: auto;
}
.modal h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 24px; color: var(--gray-900); }
.modal-actions { display: flex; gap: 12px; justify-content: flex-end; margin-top: 24px; }

/* ── Footer ── */
.footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.75);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand { display: flex; flex-direction: column; gap: 14px; }
.footer-logo { display: flex; align-items: center; gap: 12px; }
.footer-logo img { height: 52px; width: auto; filter: brightness(0) invert(1); opacity: 0.9; }
.footer-logo-text .name { font-size: 1.3rem; font-weight: 800; color: var(--white); letter-spacing: 0.05em; }
.footer-logo-text .tag { font-size: 0.7rem; color: rgba(255,255,255,0.5); letter-spacing: 0.04em; }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; }
.footer-col h4 { font-size: 0.85rem; font-weight: 700; color: var(--white); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 0.88rem; color: rgba(255,255,255,0.65); transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--white); }
.footer-contact { display: flex; flex-direction: column; gap: 10px; }
.footer-contact-item { display: flex; align-items: center; gap: 8px; font-size: 0.88rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}

/* ── Alert / Toast ── */
.alert {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 16px;
  display: none;
}
.alert.show { display: block; }
.alert-error { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }
.alert-success { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .featured-grid { grid-template-columns: 1fr; }
  .enroll-wrapper { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .admin-content { padding: 20px 16px; }
}

@media (max-width: 640px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: var(--primary-dark); padding: 16px 24px; gap: 4px; }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .hero { padding: 60px 0 50px; }
  .hero h1 { font-size: 1.8rem; }
  .hero-stats { flex-direction: row; gap: 12px; }
  .hero-logo-container { padding: 24px 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .enroll-form-card { padding: 28px 20px; }
  .admin-tabs { overflow-x: auto; }
  .admin-table { font-size: 0.8rem; }
  .admin-table th, .admin-table td { padding: 10px 12px; }
}

/* ── Utility ── */
.text-center { text-align: center; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.hidden { display: none !important; }
.loading { opacity: 0.6; pointer-events: none; }
