/* ============================================
   CSS Custom Properties (Design Tokens)
   ============================================ */
:root {
  --primary: #6c5ce7;
  --primary-dark: #5a4bd1;
  --primary-light: #a29bfe;
  --secondary: #00cec9;
  --secondary-dark: #00b5b0;
  --accent: #fd79a8;
  --gradient-1: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
  --gradient-2: linear-gradient(135deg, #00cec9 0%, #81ecec 100%);
  --gradient-3: linear-gradient(135deg, #fd79a8 0%, #fab1a0 100%);
  --gradient-hero: linear-gradient(135deg, #0c0c1e 0%, #1a1a2e 50%, #16213e 100%);
  --gradient-footer: linear-gradient(135deg, #0c0c1e 0%, #1a1a2e 100%);

  --text-primary: #2d3436;
  --text-secondary: #636e72;
  --text-light: #b2bec3;
  --text-white: #ffffff;
  --bg-primary: #ffffff;
  --bg-secondary: #f8f9fa;
  --bg-dark: #0c0c1e;
  --bg-card: #ffffff;
  --border-color: #e9ecef;
  --shadow-sm: 0 2px 8px rgba(108, 92, 231, 0.08);
  --shadow-md: 0 8px 32px rgba(108, 92, 231, 0.12);
  --shadow-lg: 0 16px 48px rgba(108, 92, 231, 0.16);
  --shadow-xl: 0 24px 64px rgba(108, 92, 231, 0.2);
  --shadow-glow: 0 0 30px rgba(108, 92, 231, 0.3);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 50px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  --max-width: 1200px;
  --header-height: 72px;
  --z-header: 1000;
  --z-overlay: 999;
  --z-modal: 1100;
}

/* ============================================
   Reset & Base
   ============================================ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-family);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  background: var(--bg-primary);
}

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

ul { list-style: none; }

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

button {
  cursor: pointer;
  border: none;
  outline: none;
  font-family: inherit;
  font-size: inherit;
  background: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  outline: none;
  border: none;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 1rem;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
}

/* ============================================
   Scrollbar
   ============================================ */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb {
  background: var(--primary-light);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* ============================================
   Focus Styles
   ============================================ */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ============================================
   Skip Link
   ============================================ */
.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  padding: 12px 24px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  z-index: 9999;
  transition: var(--transition);
}

.skip-link:focus {
  top: 0;
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: var(--z-header);
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo .logo-mark {
  flex-shrink: 0;
}

.nav-logo .logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.nav-logo .logo-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-primary);
}

.nav-logo .logo-tagline {
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--text-light);
  letter-spacing: 0.3px;
}

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

.nav-links.nav-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 4px 0;
  transition: var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-1);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-links a:hover,
.nav-links a.active { color: var(--primary); }

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

/* Search Bar */
/* Sign In Button */
.btn-signin {
  padding: 10px 24px;
  border-radius: var(--radius-full);
  background: var(--gradient-1);
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-signin:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
  cursor: pointer;
  z-index: 100;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2.5px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: var(--gradient-hero);
  background-image: url(../HERO.jpeg);
  background-size: cover;
  background-position: center;
  overflow: hidden;
  padding-top: var(--header-height);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15,12,41,0.82) 0%, rgba(15,12,41,0.35) 45%, transparent 70%);
  z-index: 0;
}

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

.hero-content { position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(108, 92, 231, 0.15);
  border: 1px solid rgba(108, 92, 231, 0.3);
  border-radius: var(--radius-full);
  color: var(--primary-light);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 24px;
}

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

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

.hero-title span {
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 540px;
}

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

.btn-primary {
  padding: 16px 36px;
  border-radius: var(--radius-full);
  background: var(--gradient-1);
  color: white;
  font-weight: 600;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}

.btn-secondary {
  padding: 16px 36px;
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--text-white);
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-secondary:hover {
  border-color: var(--primary);
  background: rgba(108, 92, 231, 0.1);
  transform: translateY(-3px);
}

.btn-lg {
  padding: 18px 40px;
  font-size: 1.05rem;
}

.btn-outline {
  padding: 16px 36px;
  border-radius: var(--radius-full);
  background: transparent;
  border: 2px solid var(--border-color);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-3px);
}

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

.hero-stat-item .stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-white);
}

.hero-stat-item .stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   Ripple Effect
   ============================================ */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transform: scale(0);
  animation: ripple-anim 0.6s ease-out;
  pointer-events: none;
}

@keyframes ripple-anim {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* ============================================
   Portal Selector Modal
   ============================================ */
.portal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  z-index: var(--z-overlay);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease, visibility 0.45s ease, background 0.45s ease, backdrop-filter 0.45s ease;
}

.portal-overlay.active {
  opacity: 1;
  visibility: visible;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.portal-modal {
  background: var(--bg-primary);
  border-radius: var(--radius-xl);
  padding: 48px;
  max-width: 460px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.7) translateY(40px);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.35s ease;
}

.portal-overlay.active .portal-modal {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.portal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-secondary);
  color: var(--text-secondary);
  transition: var(--transition);
  font-size: 1.2rem;
}

.portal-close:hover {
  background: var(--primary);
  color: white;
  transform: rotate(90deg);
}

.portal-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.portal-subtitle {
  color: var(--text-secondary);
  margin-bottom: 32px;
}

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

.portal-card {
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  background: var(--bg-secondary);
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.portal-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-1);
  opacity: 0;
  transition: var(--transition);
}

.portal-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.portal-card:hover::before {
  opacity: 0.05;
}

.portal-card-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 16px;
  position: relative;
  z-index: 1;
}

.portal-card-icon.admin { background: var(--gradient-1); }
.portal-card-icon.student { background: var(--gradient-2); }
.portal-card-icon.staff { background: var(--gradient-3); }
.portal-card-icon.parent { background: linear-gradient(135deg, #fdcb6e, #e17055); }

.portal-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.portal-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  position: relative;
  z-index: 1;
}

/* ============================================
   Form Switcher (Login / Register tabs)
   ============================================ */
.form-switcher {
  display: flex;
  position: relative;
  background: var(--bg-secondary);
  border-radius: var(--radius-full);
  padding: 4px;
  margin-bottom: 32px;
}

.form-switcher-tab {
  flex: 1;
  padding: 10px 24px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  border-radius: var(--radius-full);
  transition: var(--transition);
  position: relative;
  z-index: 1;
  text-align: center;
}

.form-switcher-tab.active {
  color: white;
}

.form-switcher-slider {
  position: absolute;
  top: 4px;
  height: calc(100% - 8px);
  background: var(--gradient-1);
  border-radius: var(--radius-full);
  transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
}

/* Auth form panels */
.auth-form-panel {
  display: none;
}

.auth-form-panel.active {
  display: block;
}

.auth-form-panel .login-card-header {
  margin-bottom: 24px;
}

.auth-form-panel .login-form .form-group {
  margin-bottom: 20px;
}

.auth-form-panel .login-form .form-group select {
  margin-top: 2px;
}

.auth-form-panel .login-form .btn-login {
  margin-top: 8px;
}

.auth-form-panel .form-terms {
  margin-bottom: 16px;
}

/* Form field labels */
.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}

/* Field description hints */
.form-hint {
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-bottom: 6px;
  line-height: 1.4;
}

/* Section divider between form groups */
.form-section-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 24px 0 20px;
}

.form-section-divider::before,
.form-section-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-color);
}

.form-section-divider span {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

/* Login form options row */
.login-form-options {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: 20px;
}

.login-form-options .forgot-link {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 500;
}

.login-form-options .forgot-link:hover {
  text-decoration: underline;
}

/* Select styling inside login form context */
.auth-form-panel .login-form .form-group select,
.auth-form-panel .login-form .form-group .input-wrapper select {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  transition: var(--transition);
  background: var(--bg-secondary);
  color: var(--text-primary);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23636e72' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.auth-form-panel .login-form .form-group select:focus,
.auth-form-panel .login-form .form-group .input-wrapper select:focus {
  border-color: var(--primary);
  background-color: var(--bg-primary);
  box-shadow: 0 0 0 4px rgba(108, 92, 231, 0.08);
}

/* Forgot password steps */
.forgot-step {
  display: none;
}

.forgot-step.active {
  display: block;
}

.forgot-info-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: rgba(108, 92, 231, 0.06);
  border: 1px solid rgba(108, 92, 231, 0.15);
  border-radius: var(--radius-md);
  margin-bottom: 24px;
}

.forgot-info-box.success {
  background: rgba(0, 206, 201, 0.06);
  border-color: rgba(0, 206, 201, 0.2);
}

.forgot-info-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.forgot-info-box p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

.forgot-info-box p strong {
  color: var(--text-primary);
}

/* ============================================
   Courses Hero
   ============================================ */
.crs-hero {
  min-height: 55vh;
  display: flex;
  align-items: center;
  position: relative;
  background: var(--gradient-hero);
  background-image: url(../HERO.jpeg);
  background-size: cover;
  background-position: center;
  overflow: hidden;
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 60px;
}
.crs-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15,12,41,0.82) 0%, rgba(15,12,41,0.35) 45%, transparent 70%);
  z-index: 0;
}

.crs-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.crs-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 100px;
  padding: 8px 20px;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
}

.crs-hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-gold);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

.crs-hero-title {
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 16px;
}

.crs-hero-desc {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto;
}

/* ============================================
   Courses Grid
   ============================================ */
.crs-grid-section {
  padding: 80px 0 100px;
  background: var(--bg-secondary);
}

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

.crs-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.crs-card-header {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.crs-card-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 32px;
  background: var(--bg-primary);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.crs-card-body {
  padding: 24px 28px 20px;
  flex: 1;
}

.crs-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.crs-card-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  background: rgba(108, 92, 231, 0.1);
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.crs-card-tag--pink { background: rgba(253, 121, 168, 0.1); color: #e84393; }
.crs-card-tag--teal { background: rgba(0, 206, 201, 0.1); color: #00b894; }
.crs-card-tag--gold { background: rgba(253, 203, 110, 0.15); color: #e17055; }
.crs-card-tag--blue { background: rgba(9, 132, 227, 0.1); color: #0984e3; }
.crs-card-tag--orange { background: rgba(225, 112, 85, 0.1); color: #e17055; }

.crs-card-duration {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-secondary);
}

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

.crs-card-body p {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.crs-card-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.crs-card-features li {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding-left: 16px;
  position: relative;
}

.crs-card-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.5;
}

.crs-card:nth-child(2) .crs-card-features li::before { background: #e84393; }
.crs-card:nth-child(3) .crs-card-features li::before { background: #00cec9; }
.crs-card:nth-child(4) .crs-card-features li::before { background: #fdcb6e; }
.crs-card:nth-child(5) .crs-card-features li::before { background: #0984e3; }
.crs-card:nth-child(6) .crs-card-features li::before { background: #e17055; }

.crs-card-footer {
  padding: 16px 28px;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.crs-card-level {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.crs-card-apply {
  padding: 8px 20px;
  border-radius: 100px;
  background: var(--primary);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.25s ease, transform 0.25s ease;
}

.crs-card-apply:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

/* ============================================
   Courses Why
   ============================================ */
.crs-why {
  padding: 100px 0;
  background: var(--bg-primary);
}

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

.crs-why-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 100px;
  background: rgba(108, 92, 231, 0.1);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.crs-why-content h2 {
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 14px;
  line-height: 1.2;
}

.crs-why-content p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 440px;
}

.crs-why-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.crs-why-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  background: var(--bg-secondary);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.crs-why-item:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}

.crs-why-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.crs-why-item strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.crs-why-item span {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

/* ============================================
   Courses CTA
   ============================================ */
.crs-cta {
  padding: 0 0 100px;
  background: var(--bg-primary);
}

.crs-cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 48px 56px;
  border-radius: var(--radius-xl);
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.crs-cta-box::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 240px;
  height: 240px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 50%;
}

.crs-cta-box::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -40px;
  width: 180px;
  height: 180px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 50%;
}

.crs-cta-content {
  position: relative;
  z-index: 1;
}

.crs-cta-content h2 {
  font-size: clamp(1.5rem, 3vw, 1.8rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}

.crs-cta-content p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 520px;
}

.crs-cta-actions {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

/* ============================================
   About Hero
   ============================================ */
.abt-hero {
  min-height: 55vh;
  display: flex;
  align-items: center;
  position: relative;
  background: var(--gradient-hero);
  background-image: url(../HERO.jpeg);
  background-size: cover;
  background-position: center;
  overflow: hidden;
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 60px;
}
.abt-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15,12,41,0.82) 0%, rgba(15,12,41,0.35) 45%, transparent 70%);
  z-index: 0;
}

.abt-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.abt-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 100px;
  padding: 8px 20px;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
}

.abt-hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-gold);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

.abt-hero-title {
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 16px;
}

.abt-hero-desc {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto;
}

/* ============================================
   Who We Are
   ============================================ */
.abt-who {
  padding: 100px 0;
  background: var(--bg-primary);
}

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

.abt-who-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.abt-who-card {
  padding: 28px 20px;
  border-radius: var(--radius-xl);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}

.abt-who-card--main { background: linear-gradient(135deg, #6c5ce7, #a29bfe); }
.abt-who-card--accent { background: linear-gradient(135deg, #fd79a8, #e84393); }
.abt-who-card--teal { background: linear-gradient(135deg, #00cec9, #81ecec); }
.abt-who-card--gold { background: linear-gradient(135deg, #fdcb6e, #e17055); }

.abt-who-card-number {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.abt-who-card-label {
  font-size: 0.78rem;
  font-weight: 500;
  opacity: 0.85;
}

.abt-who-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 100px;
  background: rgba(108, 92, 231, 0.1);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.abt-who-content h2 {
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 18px;
  line-height: 1.2;
}

.abt-who-content p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.abt-who-checks {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.abt-who-check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* ============================================
   Mission Vision Values
   ============================================ */
.abt-mvv {
  padding: 100px 0;
  background: var(--bg-secondary);
}

.abt-mvv-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
}

.abt-mvv-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 100px;
  background: rgba(108, 92, 231, 0.1);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.abt-mvv-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.2;
}

.abt-mvv-header p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

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

.abt-mvv-card {
  padding: 36px 28px;
  border-radius: var(--radius-xl);
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.abt-mvv-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.abt-mvv-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.abt-mvv-card--purple .abt-mvv-icon { background: rgba(108, 92, 231, 0.1); color: var(--primary); }
.abt-mvv-card--teal .abt-mvv-icon { background: rgba(0, 206, 201, 0.1); color: #00cec9; }
.abt-mvv-card--pink .abt-mvv-icon { background: rgba(253, 121, 168, 0.1); color: #e84393; }

.abt-mvv-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.abt-mvv-card p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* ============================================
   Our Journey (Timeline)
   ============================================ */
.abt-journey {
  padding: 100px 0;
  background: var(--bg-primary);
}

.abt-journey-header {
  text-align: center;
  max-width: 500px;
  margin: 0 auto 48px;
}

.abt-journey-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 100px;
  background: rgba(108, 92, 231, 0.1);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.abt-journey-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
}

.abt-timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  padding-left: 40px;
}

.abt-timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), var(--secondary), var(--accent));
  border-radius: 2px;
}

.abt-timeline-item {
  position: relative;
  padding-bottom: 36px;
}

.abt-timeline-item:last-child {
  padding-bottom: 0;
}

.abt-timeline-dot {
  position: absolute;
  left: -33px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid var(--bg-primary);
  box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.2);
}

.abt-timeline-item:nth-child(2) .abt-timeline-dot { background: #0984e3; box-shadow: 0 0 0 3px rgba(9, 132, 227, 0.2); }
.abt-timeline-item:nth-child(3) .abt-timeline-dot { background: #00cec9; box-shadow: 0 0 0 3px rgba(0, 206, 201, 0.2); }
.abt-timeline-item:nth-child(4) .abt-timeline-dot { background: #fdcb6e; box-shadow: 0 0 0 3px rgba(253, 203, 110, 0.2); }
.abt-timeline-item:nth-child(5) .abt-timeline-dot { background: #e84393; box-shadow: 0 0 0 3px rgba(232, 67, 147, 0.2); }

.abt-timeline-content {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.abt-timeline-year {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  background: rgba(108, 92, 231, 0.1);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.abt-timeline-item:nth-child(2) .abt-timeline-year { background: rgba(9, 132, 227, 0.1); color: #0984e3; }
.abt-timeline-item:nth-child(3) .abt-timeline-year { background: rgba(0, 206, 201, 0.1); color: #00cec9; }
.abt-timeline-item:nth-child(4) .abt-timeline-year { background: rgba(253, 203, 110, 0.15); color: #e17055; }
.abt-timeline-item:nth-child(5) .abt-timeline-year { background: rgba(232, 67, 147, 0.1); color: #e84393; }

.abt-timeline-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.abt-timeline-content p {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

/* ============================================
   Impact Numbers
   ============================================ */
.abt-impact {
  padding: 100px 0;
  background: var(--bg-secondary);
}

.abt-impact-header {
  text-align: center;
  max-width: 500px;
  margin: 0 auto 48px;
}

.abt-impact-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.2;
}

.abt-impact-header p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.abt-impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.abt-impact-card {
  text-align: center;
  padding: 36px 20px;
  border-radius: var(--radius-xl);
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.abt-impact-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.abt-impact-number {
  display: block;
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 6px;
}

.abt-impact-card:nth-child(2) .abt-impact-number { color: #0984e3; }
.abt-impact-card:nth-child(3) .abt-impact-number { color: #00cec9; }
.abt-impact-card:nth-child(4) .abt-impact-number { color: #e84393; }

.abt-impact-label {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.abt-impact-desc {
  display: block;
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

/* ============================================
   About CTA
   ============================================ */
.abt-cta {
  padding: 0 0 100px;
  background: var(--bg-secondary);
}

.abt-cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 48px 56px;
  border-radius: var(--radius-xl);
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.abt-cta-box::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 240px;
  height: 240px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 50%;
}

.abt-cta-box::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -40px;
  width: 180px;
  height: 180px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 50%;
}

.abt-cta-content {
  position: relative;
  z-index: 1;
}

.abt-cta-content h2 {
  font-size: clamp(1.5rem, 3vw, 1.8rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}

.abt-cta-content p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 520px;
}

.abt-cta-actions {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

/* ============================================
   Gallery Hero
   ============================================ */
.gal-hero {
  min-height: 55vh;
  display: flex;
  align-items: center;
  position: relative;
  background: var(--gradient-hero);
  background-image: url(../HERO.jpeg);
  background-size: cover;
  background-position: center;
  overflow: hidden;
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 60px;
}
.gal-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15,12,41,0.82) 0%, rgba(15,12,41,0.35) 45%, transparent 70%);
  z-index: 0;
}

.gal-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.gal-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 100px;
  padding: 8px 20px;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
}

.gal-hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-gold);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

.gal-hero-title {
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 16px;
}

.gal-hero-desc {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto;
}

/* ============================================
   Gallery Filters
   ============================================ */
.gal-filters {
  padding: 40px 0 0;
  background: var(--bg-primary);
}

.gal-filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.gal-filter {
  padding: 10px 24px;
  border: 2px solid var(--border-light);
  border-radius: 100px;
  background: var(--bg-primary);
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.gal-filter:hover {
  border-color: var(--primary);
  color: var(--primary);
}

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

/* ============================================
   Gallery Grid
   ============================================ */
.gal-grid-section {
  padding: 40px 0 100px;
  background: var(--bg-primary);
}

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

.gal-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
}

.gal-item-inner {
  width: 100%;
  height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: transform 0.5s ease;
}

.gal-item:hover .gal-item-inner {
  transform: scale(1.05);
}

.gal-item-label {
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
  padding: 0 12px;
}

.gal-item-category {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.gal-item-tall .gal-item-inner {
  height: 340px;
}

.gal-item-wide {
  grid-column: span 2;
}

.gal-item-wide .gal-item-inner {
  height: 260px;
}

.gal-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 12, 41, 0.95) 0%, rgba(48, 35, 123, 0.7) 50%, transparent 100%);
  display: flex;
  align-items: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.35s ease;
}

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

.gal-item-overlay-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.gal-item-overlay-content p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
  margin-bottom: 10px;
}

.gal-item-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.gal-item.hidden {
  display: none;
}

/* ============================================
   Gallery CTA
   ============================================ */
.gal-cta {
  padding: 0 0 100px;
  background: var(--bg-primary);
}

.gal-cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 48px 56px;
  border-radius: var(--radius-xl);
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.gal-cta-box::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 240px;
  height: 240px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 50%;
}

.gal-cta-box::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -40px;
  width: 180px;
  height: 180px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 50%;
}

.gal-cta-content {
  position: relative;
  z-index: 1;
}

.gal-cta-content h2 {
  font-size: clamp(1.5rem, 3vw, 1.8rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}

.gal-cta-content p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 520px;
}

.gal-cta-actions {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

/* ============================================
   Stories Hero
   ============================================ */
.stories-hero {
  min-height: 55vh;
  display: flex;
  align-items: center;
  position: relative;
  background: var(--gradient-hero);
  background-image: url(../HERO.jpeg);
  background-size: cover;
  background-position: center;
  overflow: hidden;
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 60px;
}
.stories-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15,12,41,0.82) 0%, rgba(15,12,41,0.35) 45%, transparent 70%);
  z-index: 0;
}

.stories-hero-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.stories-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  background: rgba(108, 92, 231, 0.2);
  border: 1px solid rgba(108, 92, 231, 0.35);
  border-radius: var(--radius-full);
  color: var(--primary-light);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 28px;
}

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

.stories-hero-title {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.15;
  margin-bottom: 20px;
}

.stories-hero-desc {
  font-size: 1.1rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   Stories Featured
   ============================================ */
.stories-featured {
  padding: 80px 0;
}

.stories-featured-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.stories-featured-card:hover {
  box-shadow: var(--shadow-lg);
}

.stories-featured-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.stories-featured-avatar {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.2);
  border: 3px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
}

.stories-featured-body {
  padding: 40px;
  position: relative;
}

.stories-featured-quote {
  color: var(--primary);
  opacity: 0.15;
  margin-bottom: 12px;
}

.stories-featured-text {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-secondary);
  margin-bottom: 28px;
  font-style: italic;
}

.stories-featured-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.stories-featured-avatar-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.stories-featured-author h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.stories-featured-author span {
  font-size: 0.82rem;
  color: var(--text-light);
}

/* ============================================
   Stories Grid Section
   ============================================ */
.stories-grid-section {
  padding: 80px 0;
  background: var(--bg-secondary);
}

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

.story-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.story-card-top {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.story-card-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.25);
  border: 2px solid rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
}

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

.story-card-quote {
  color: var(--primary);
  opacity: 0.2;
  margin-bottom: 10px;
}

.story-card-text {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.story-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.story-card-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.story-card-avatar-sm {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.story-card-author h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1px;
}

.story-card-author span {
  font-size: 0.72rem;
  color: var(--text-light);
}

.story-card-year {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-light);
  background: var(--bg-secondary);
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

/* ============================================
   Stories Stats
   ============================================ */
.stories-stats {
  padding: 80px 0;
}

.stories-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stories-stat {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 32px 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.stories-stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
}

.stories-stat-label {
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 500;
}

/* ============================================
   Stories CTA
   ============================================ */
.stories-cta {
  padding: 80px 0;
  background: var(--bg-secondary);
}

.stories-cta-box {
  background: linear-gradient(135deg, var(--primary), #4834d4);
  border-radius: var(--radius-xl);
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.stories-cta-content h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}

.stories-cta-content p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 480px;
}

.stories-cta-actions {
  flex-shrink: 0;
}

.stories-cta-actions .btn-primary {
  background: #fff;
  color: var(--primary);
}

.stories-cta-actions .btn-primary:hover {
  background: var(--bg-secondary);
}

/* ============================================
   Admissions Hero
   ============================================ */
.adm-hero {
  min-height: 55vh;
  display: flex;
  align-items: center;
  position: relative;
  background: var(--gradient-hero);
  background-image: url(../HERO.jpeg);
  background-size: cover;
  background-position: center;
  overflow: hidden;
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 60px;
}
.adm-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15,12,41,0.82) 0%, rgba(15,12,41,0.35) 45%, transparent 70%);
  z-index: 0;
}

.adm-hero-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.adm-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  background: rgba(108, 92, 231, 0.2);
  border: 1px solid rgba(108, 92, 231, 0.35);
  border-radius: var(--radius-full);
  color: var(--primary-light);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 28px;
}

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

.adm-hero-title {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.15;
  margin-bottom: 20px;
}

.adm-hero-desc {
  font-size: 1.1rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 36px;
}

.adm-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.adm-hero-actions .btn-primary {
  background: #fff;
  color: var(--primary);
}

.adm-hero-actions .btn-primary:hover {
  background: var(--bg-secondary);
}

.adm-hero-actions .btn-outline {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

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

/* ============================================
   Admissions Steps
   ============================================ */
.adm-steps {
  padding: 100px 0;
}

.adm-steps-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: start;
  margin-top: 48px;
}

.adm-step {
  text-align: center;
  padding: 0 16px;
}

.adm-step-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #6c5ce7, #a29bfe);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.adm-step-number {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.adm-step h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.adm-step p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.adm-step-connector {
  display: flex;
  align-items: center;
  padding-top: 32px;
  width: 80px;
}

/* ============================================
   Admissions Eligibility
   ============================================ */
.adm-eligibility {
  padding: 100px 0;
  background: var(--bg-secondary);
}

.adm-elig-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 56px;
  align-items: center;
}

.adm-elig-content > p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.adm-elig-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.adm-elig-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.adm-elig-check {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #6c5ce7, #a29bfe);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.adm-elig-item strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.adm-elig-item span {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.5;
}

.adm-elig-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.adm-elig-stat {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 28px 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.adm-elig-stat:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.adm-elig-stat-number {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 6px;
}

.adm-elig-stat-label {
  font-size: 0.8rem;
  color: var(--text-light);
  font-weight: 500;
}

/* ============================================
   Admissions Benefits
   ============================================ */
.adm-benefits {
  padding: 100px 0;
}

.adm-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.adm-benefit {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 28px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.adm-benefit-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(108, 92, 231, 0.1), rgba(162, 155, 254, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--primary);
}

.adm-benefit h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.adm-benefit p {
  font-size: 0.86rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

/* ============================================
   Admissions FAQ
   ============================================ */
.adm-faq {
  padding: 100px 0;
  background: var(--bg-secondary);
}

.adm-faq-grid {
  max-width: 720px;
  margin: 48px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.adm-faq-item {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.adm-faq-item[open] {
  box-shadow: var(--shadow-md);
}

.adm-faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  list-style: none;
  transition: color 0.2s ease;
}

.adm-faq-item summary::-webkit-details-marker { display: none; }

.adm-faq-item summary:hover {
  color: var(--primary);
}

.adm-faq-chevron {
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: var(--text-light);
}

.adm-faq-item[open] .adm-faq-chevron {
  transform: rotate(180deg);
}

.adm-faq-answer {
  padding: 0 24px 20px;
}

.adm-faq-answer p {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin: 0;
}

/* ============================================
   Admissions Final CTA
   ============================================ */
.adm-final-cta {
  padding: 80px 0;
}

.adm-final-box {
  background: linear-gradient(135deg, var(--primary), #4834d4);
  border-radius: var(--radius-xl);
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.adm-final-content h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}

.adm-final-content p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 480px;
}

.adm-final-actions {
  display: flex;
  gap: 14px;
  flex-shrink: 0;
}

.adm-final-actions .btn-primary {
  background: #fff;
  color: var(--primary);
}

.adm-final-actions .btn-primary:hover {
  background: var(--bg-secondary);
}

/* ============================================
   Home Stats
   ============================================ */
.home-stats {
  padding: 60px 0;
  background: var(--gradient-1);
}

.home-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.home-stat-item {
  color: #fff;
}

.home-stat-number {
  display: block;
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
}

.home-stat-label {
  font-size: 0.72rem;
  opacity: 0.85;
  font-weight: 500;
}

/* ============================================
   Sticky Team Bar
   ============================================ */
.sticky-team-bar {
  position: sticky;
  top: var(--header-height);
  z-index: 90;
  background: var(--bg);
  border-bottom: 1px solid var(--border-color);
  padding: 14px 0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  max-height: 120px;
  overflow: hidden;
  opacity: 1;
  transition: max-height 0.35s ease, padding 0.35s ease, opacity 0.3s ease, border-color 0.35s ease;
}
.sticky-team-bar.sticky-hidden {
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  opacity: 0;
  border-color: transparent;
  pointer-events: none;
}
.sticky-team-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.sticky-team-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
}
.sticky-team-track {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.sticky-team-grid {
  display: flex;
  gap: 8px;
  width: max-content;
  animation: team-slide 30s linear infinite;
}
.sticky-team-track:hover .sticky-team-grid {
  animation-play-state: paused;
}
@keyframes team-slide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.sticky-team-member {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: var(--card-bg, #fff);
  border: 1px solid var(--border-color);
  flex-shrink: 0;
  transition: border-color 0.2s, box-shadow 0.2s;
  cursor: default;
}
.sticky-team-member:hover {
  border-color: var(--primary-light);
  box-shadow: 0 2px 8px rgba(108,92,231,0.1);
}
.sticky-team-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
}
.sticky-team-info {
  display: flex;
  flex-direction: column;
  white-space: nowrap;
}
.sticky-team-name {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.2;
}
.sticky-team-role {
  font-size: 0.65rem;
  color: var(--text-secondary);
  line-height: 1.2;
}

@media (max-width: 767px) {
  .sticky-team-member { padding: 6px 12px; gap: 8px; }
  .sticky-team-avatar { width: 30px; height: 30px; font-size: 0.62rem; }
  .sticky-team-name { font-size: 0.72rem; }
  .sticky-team-role { font-size: 0.6rem; }
  .sticky-team-grid { animation-duration: 22s; }
}

/* ============================================
   Home Featured Courses
   ============================================ */
.home-courses {
  padding: 100px 0;
}

.home-courses-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.home-course-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.home-course-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.home-course-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.home-course-card p {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.home-course-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  transition: var(--transition);
}

.home-course-link:hover {
  color: var(--primary-dark);
  gap: 10px;
}

.home-courses-cta {
  text-align: center;
  margin-top: 40px;
}

/* ============================================
   Home Why Choose Us
   ============================================ */
.home-why {
  padding: 100px 0;
  background: var(--bg-secondary);
}

.home-why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.home-why-item {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.home-why-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.home-why-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background: var(--gradient-1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  color: #fff;
}

.home-why-item h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.home-why-item p {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

/* ============================================
   Home About Preview
   ============================================ */
.home-about {
  padding: 100px 0;
}

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

.home-about-visual {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border-radius: var(--radius-xl);
  padding: 32px;
}

.home-about-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background: var(--gradient-1);
  color: #fff;
  padding: 16px 28px;
  border-radius: var(--radius-lg);
  margin-top: 20px;
}

.home-about-badge-number {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.home-about-badge-text {
  font-size: 0.8rem;
  font-weight: 500;
  opacity: 0.9;
}

.home-about-content p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.home-about-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.home-about-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.home-about-check {
  width: 24px;
  height: 24px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #00cec9, #55efc4);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* ============================================
   Home Success Stories
   ============================================ */
.home-stories {
  padding: 100px 0;
  background: var(--bg-secondary);
}

.home-stories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.home-story-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 32px;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.home-story-quote {
  font-size: 4rem;
  line-height: 1;
  color: var(--primary);
  opacity: 0.2;
  font-family: Georgia, serif;
  position: absolute;
  top: 12px;
  left: 20px;
}

.home-story-text {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.home-story-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.home-story-avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.home-story-author h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.home-story-author span {
  font-size: 0.78rem;
  color: var(--text-light);
}

.home-stories-cta {
  text-align: center;
  margin-top: 40px;
}

/* ============================================
   Home CTA Banner
   ============================================ */
.home-cta {
  padding: 80px 0;
}

.home-cta-box {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius-xl);
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.home-cta-content h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}

.home-cta-content p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 500px;
}

.home-cta-buttons {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.home-cta-buttons .btn-primary {
  background: #fff;
  color: var(--primary);
}

.home-cta-buttons .btn-primary:hover {
  background: var(--bg-secondary);
}

.home-cta-buttons .btn-secondary {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

.home-cta-buttons .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

/* ============================================
   Home Blog Section
   ============================================ */
.home-blog {
  padding: 100px 0;
}

.home-blog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}

.home-blog-featured {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.home-blog-featured:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.home-blog-featured-image {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-blog-featured-body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.home-blog-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.home-blog-tag {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: var(--primary);
  color: #fff;
}

.home-blog-tag.tag-teal {
  background: var(--accent-teal);
  color: #fff;
}

.home-blog-tag.tag-pink {
  background: var(--accent-pink);
  color: #fff;
}

.home-blog-date,
.home-blog-side .home-blog-meta span:not(.home-blog-tag) {
  font-size: 0.8rem;
  color: var(--text-light);
}

.home-blog-dot {
  color: var(--text-light);
  font-size: 0.8rem;
}

.home-blog-featured-body h3,
.home-blog-card-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
  line-height: 1.4;
}

.home-blog-featured-body p,
.home-blog-card-body p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 16px;
  flex: 1;
}

.home-blog-read {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  transition: var(--transition);
}

.home-blog-read:hover {
  color: var(--primary-dark);
  gap: 10px;
}

.home-blog-side {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.home-blog-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: grid;
  grid-template-columns: 140px 1fr;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.home-blog-card-image {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
}

.home-blog-card-body {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
}

.home-blog-cta {
  text-align: center;
  margin-top: 40px;
}

/* ============================================
   Blog Listing Page
   ============================================ */
.blog {
  padding: 100px 0;
  background: var(--bg-secondary);
}

.blog-featured {
  margin-top: 48px;
  margin-bottom: 40px;
}

.blog-featured-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.blog-featured-image {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}

.blog-featured-body {
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.blog-tag {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: var(--primary);
  color: #fff;
}

.blog-tag.tag-teal {
  background: var(--accent-teal);
  color: #fff;
}

.blog-tag.tag-pink {
  background: var(--accent-pink);
  color: #fff;
}

.blog-date {
  font-size: 0.82rem;
  color: var(--text-light);
}

.blog-dot {
  color: var(--text-light);
  font-size: 0.82rem;
}

.blog-featured-body h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.35;
}

.blog-featured-body p {
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.blog-read-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
  transition: var(--transition);
}

.blog-read-link:hover {
  color: var(--primary-dark);
  gap: 10px;
}

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

.blog-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.blog-card-image {
  height: 180px;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  position: relative;
}

.blog-card-tag {
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-primary);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

.blog-card-meta {
  display: flex;
  gap: 16px;
  margin-bottom: 12px;
}

.blog-card-meta span {
  font-size: 0.8rem;
  color: var(--text-light);
}

.blog-card-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
  line-height: 1.4;
}

.blog-card-body p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  transition: var(--transition);
}

.blog-card-link:hover {
  color: var(--primary-dark);
  gap: 10px;
}

/* ============================================
   Blog Post Page
   ============================================ */
.post-header {
  padding: 120px 0 40px;
  background: var(--bg-secondary);
}

.post-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-light);
  margin-bottom: 20px;
  transition: var(--transition);
}

.post-back:hover {
  color: var(--primary);
}

.post-header-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.post-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: 20px;
  max-width: 750px;
}

.post-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.post-author-avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.post-author-name {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

.post-author-role {
  display: block;
  font-size: 0.8rem;
  color: var(--text-light);
}

.post-hero {
  padding: 0 0 48px;
}

.post-hero-image {
  width: 100%;
  height: 380px;
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
}

.post-body {
  padding: 0 0 80px;
}

.post-content {
  max-width: 720px;
  margin: 0 auto;
}

.post-content h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 40px;
  margin-bottom: 14px;
}

.post-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 28px;
  margin-bottom: 10px;
}

.post-content p {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text-secondary);
  margin-bottom: 18px;
}

.post-content ul,
.post-content ol {
  margin-bottom: 18px;
  padding-left: 24px;
  color: var(--text-secondary);
}

.post-content li {
  font-size: 0.98rem;
  line-height: 1.8;
  margin-bottom: 8px;
}

.post-content strong {
  color: var(--text-primary);
  font-weight: 600;
}

.post-content blockquote {
  margin: 32px 0;
  padding: 24px 28px;
  background: var(--bg-secondary);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
}

.post-content blockquote p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-primary);
  margin: 0;
}

.post-cta-box {
  margin-top: 48px;
  padding: 32px;
  background: var(--gradient-1);
  border-radius: var(--radius-xl);
  text-align: center;
}

.post-cta-box h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-top: 0;
  margin-bottom: 8px;
}

.post-cta-box p {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 20px;
}

.post-cta-box .btn-primary {
  background: #fff;
  color: var(--primary);
}

.post-cta-box .btn-primary:hover {
  background: var(--bg-secondary);
}

.post-related {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--border-color);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.post-related h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.post-related-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.post-related-card {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 14px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 14px;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post-related-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.post-related-image {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.post-related-tag {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.post-related-body h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
  margin-top: 4px;
}

/* ============================================
   Contact Hero
   ============================================ */
.ct-hero {
  min-height: 55vh;
  display: flex;
  align-items: center;
  position: relative;
  background: var(--gradient-hero);
  background-image: url(../HERO.jpeg);
  background-size: cover;
  background-position: center;
  overflow: hidden;
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 60px;
}
.ct-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15,12,41,0.82) 0%, rgba(15,12,41,0.35) 45%, transparent 70%);
  z-index: 0;
}

.ct-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.ct-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 100px;
  padding: 8px 20px;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
}

.ct-hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-gold);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

.ct-hero-title {
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 16px;
}

.ct-hero-desc {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto;
}

/* ============================================
   Contact Info Cards
   ============================================ */
.ct-cards {
  padding: 0 0 80px;
  margin-top: -40px;
  position: relative;
  z-index: 3;
}

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

.ct-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 28px 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.ct-card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}

.ct-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.ct-card p {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* ============================================
   Contact Main (Form + Details)
   ============================================ */
.ct-main {
  padding: 0 0 100px;
  background: var(--bg-primary);
}

.ct-main-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: start;
}

.ct-form-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 100px;
  background: rgba(108, 92, 231, 0.1);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}

.ct-form-side h2 {
  font-size: clamp(1.6rem, 3vw, 1.9rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 10px;
  line-height: 1.2;
}

.ct-form-side > p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.ct-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ct-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.ct-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ct-form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
}

.ct-form-group input,
.ct-form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  font-family: inherit;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  background: var(--bg-secondary);
  color: var(--text-primary);
}

.ct-form-group input::placeholder,
.ct-form-group textarea::placeholder {
  color: var(--text-light);
}

.ct-form-group input:focus,
.ct-form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(108, 92, 231, 0.08);
  background: var(--bg-primary);
}

.ct-form-group textarea {
  min-height: 130px;
  resize: vertical;
}

.ct-form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 32px;
  border: none;
  border-radius: var(--radius-md);
  background: var(--gradient-1);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
  align-self: flex-start;
}

.ct-form-submit:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Contact Details Side */
.ct-details-side {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ct-detail-block {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  background: var(--bg-secondary);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ct-detail-block:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}

.ct-detail-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ct-detail-block h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.ct-detail-block p {
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

.ct-social-box {
  padding: 20px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  background: var(--bg-secondary);
}

.ct-social-box h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

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

.ct-social-links a {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.ct-social-links a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

/* ============================================
   Map Section
   ============================================ */
.ct-map {
  padding: 0 0 100px;
  background: var(--bg-primary);
}

.ct-map-box {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.ct-map-embed {
  position: relative;
  width: 100%;
  height: 350px;
  overflow: hidden;
}

.ct-map-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.ct-map-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  padding: 10px 20px;
  border-radius: 100px;
  background: var(--primary);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.25s ease, transform 0.25s ease;
}

.ct-map-link:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--gradient-footer);
  color: var(--text-white);
  position: relative;
}

.footer-top {
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
}

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-brand .footer-logo .logo-mark {
  flex-shrink: 0;
}

.footer-brand .footer-logo .logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.footer-brand .footer-logo .logo-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
}

.footer-brand .footer-logo .logo-tagline {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.3px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.8;
  margin-bottom: 24px;
  max-width: 360px;
}

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

.footer-social a {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer-social a:hover {
  background: var(--primary);
  transform: translateY(-3px);
  color: white;
}

.footer h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 12px;
}

.footer h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--gradient-1);
  border-radius: 2px;
}

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

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

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

.footer-newsletter p {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 16px;
  line-height: 1.7;
}

.newsletter-form {
  display: flex;
  gap: 8px;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 0.9rem;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.newsletter-form input:focus {
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.15);
}

.btn-newsletter {
  padding: 12px 20px;
  border-radius: var(--radius-md);
  background: var(--gradient-1);
  color: white;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-newsletter:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--gradient-1);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow-lg);
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

/* ============================================
   Toast Notification
   ============================================ */
.toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.toast {
  padding: 16px 24px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--primary);
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 320px;
  max-width: 420px;
  animation: slideInRight 0.4s ease;
  transition: var(--transition);
}

.toast.success { border-left-color: var(--secondary); }
.toast.error { border-left-color: var(--accent); }

.toast .toast-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.toast.success .toast-icon { color: var(--secondary); }
.toast.error .toast-icon { color: var(--accent); }

.toast .toast-message {
  flex: 1;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.toast .toast-close {
  font-size: 0.8rem;
  color: var(--text-light);
  flex-shrink: 0;
  cursor: pointer;
  transition: var(--transition);
}

.toast .toast-close:hover { color: var(--text-primary); }

/* ============================================
   Loading Spinner
   ============================================ */
.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border-color);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

/* ============================================
   Page Transition
   ============================================ */
.page-transition {
  position: fixed;
  inset: 0;
  background: var(--bg-primary);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.page-transition.active {
  opacity: 1;
  pointer-events: all;
}

/* ============================================
   Login Pages Shared Styles
   ============================================ */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-hero);
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.login-bg-shapes .shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.05;
}

.login-bg-shapes .shape-1 {
  width: 500px;
  height: 500px;
  background: var(--gradient-1);
  top: -150px;
  right: -150px;
}

.login-bg-shapes .shape-2 {
  width: 350px;
  height: 350px;
  background: var(--gradient-2);
  bottom: -100px;
  left: -100px;
}

.login-card {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 48px;
  width: 100%;
  max-width: 440px;
  position: relative;
  box-shadow: var(--shadow-xl);
  animation: fadeInUp 0.6s ease;
}

.login-back {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-secondary);
  color: var(--text-secondary);
  transition: var(--transition);
  font-size: 1rem;
}

.login-back:hover {
  background: var(--primary);
  color: white;
  transform: translateX(-4px);
}

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

.login-card-header .login-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 16px;
}

.login-card-header .login-icon.admin { background: var(--gradient-1); }
.login-card-header .login-icon.student { background: var(--gradient-2); }
.login-card-header .login-icon.staff { background: var(--gradient-3); }
.login-card-header .login-icon.parent { background: linear-gradient(135deg, #fdcb6e, #e17055); }

.login-card-header h1 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.login-card-header p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

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

.login-form .form-group input {
  width: 100%;
  padding: 16px 20px;
  padding-right: 48px;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  transition: var(--transition);
  background: var(--bg-secondary);
}

.login-form .form-group input:focus {
  border-color: var(--primary);
  background: var(--bg-primary);
  box-shadow: 0 0 0 4px rgba(108, 92, 231, 0.08);
}

.login-form .input-wrapper {
  position: relative;
}

.login-form .input-wrapper .toggle-password {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  cursor: pointer;
  font-size: 1rem;
  transition: var(--transition);
  background: none;
  border: none;
  padding: 4px;
}

.login-form .input-wrapper .toggle-password:hover {
  color: var(--primary);
}

.login-form .form-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.login-form .form-options label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  cursor: pointer;
}

.login-form .form-options label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
}

.login-form .forgot-link {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 500;
}

.login-form .forgot-link:hover {
  text-decoration: underline;
}

.btn-login {
  width: 100%;
  padding: 16px;
  border-radius: var(--radius-md);
  background: var(--gradient-1);
  color: white;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-login:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.login-divider {
  text-align: center;
  margin: 24px 0;
  position: relative;
}

.login-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border-color);
}

.login-divider span {
  background: var(--bg-card);
  padding: 0 16px;
  color: var(--text-light);
  font-size: 0.85rem;
  position: relative;
}

.login-footer-text {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 24px;
}

.login-footer-text a {
  color: var(--primary);
  font-weight: 600;
}

.login-footer-text a:hover {
  text-decoration: underline;
}

/* Validation */
.validation-message {
  font-size: 0.8rem;
  margin-top: 4px;
  padding-left: 4px;
  display: none;
}

.validation-message.error {
  display: block;
  color: var(--accent);
}

.validation-message.success {
  display: block;
  color: var(--secondary);
}

.form-group.error input {
  border-color: var(--accent);
}

.form-group.success input {
  border-color: var(--secondary);
}

/* ============================================
   Registration Page Styles
   ============================================ */
.register-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-hero);
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.register-card {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 48px;
  width: 100%;
  max-width: 600px;
  position: relative;
  box-shadow: var(--shadow-xl);
  animation: fadeInUp 0.6s ease;
}

.register-card-header {
  text-align: center;
  margin-bottom: 32px;
}

.register-card-header h1 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.register-card-header p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.register-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

.register-form .form-group input,
.register-form .form-group select {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  transition: var(--transition);
  background: var(--bg-secondary);
}

.register-form .form-group input:focus,
.register-form .form-group select:focus {
  border-color: var(--primary);
  background: var(--bg-primary);
  box-shadow: 0 0 0 4px rgba(108, 92, 231, 0.08);
}

.register-form .form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23636e72' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

/* Password Strength */
.password-strength {
  display: flex;
  gap: 4px;
  margin-top: 8px;
}

.password-strength .strength-bar {
  flex: 1;
  height: 4px;
  border-radius: 4px;
  background: var(--border-color);
  transition: var(--transition);
}

.password-strength .strength-bar.weak { background: var(--accent); }
.password-strength .strength-bar.medium { background: #fdcb6e; }
.password-strength .strength-bar.strong { background: var(--secondary); }

.password-strength-text {
  font-size: 0.75rem;
  margin-top: 4px;
}

.password-strength-text.weak { color: var(--accent); }
.password-strength-text.medium { color: #e17055; }
.password-strength-text.strong { color: var(--secondary); }

/* Terms */
.form-terms {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 24px;
}

.form-terms input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  margin-top: 3px;
  flex-shrink: 0;
}

.form-terms label {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.form-terms label a {
  color: var(--primary);
  font-weight: 500;
}

.btn-register {
  width: 100%;
  padding: 16px;
  border-radius: var(--radius-md);
  background: var(--gradient-1);
  color: white;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-register:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ============================================
   SVG Illustration Inline
   ============================================ */
.edu-illustration svg {
  width: 100%;
  height: auto;
}
