/* ===========================
   REMESYS - Main Stylesheet
   Tech Learning Solution
=========================== */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;600;700;900&family=Rajdhani:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* ---- CSS Variables ---- */
:root {
  --primary: #002a75;
  --cyan: #00e6ff;
  --magenta: #f90395;
  --cyan-mid: #0fc;
  --gradient: linear-gradient(135deg, #00e6ff 0%, #7c3aed 50%, #f90395 100%);
  --gradient-short: linear-gradient(90deg, #00e6ff, #f90395);
  
  /* DARK MODE (default) */
  --bg: #030b18;
  --bg2: #060f22;
  --bg3: #0a1730;
  --surface: rgba(255,255,255,0.04);
  --surface2: rgba(255,255,255,0.08);
  --border: rgba(0,230,255,0.12);
  --text: #e8f0ff;
  --text-muted: #7a91b5;
  --heading: #ffffff;
  --card-bg: rgba(6,20,50,0.8);
  --nav-bg: rgba(3,11,24,0.95);
  --glow-cyan: 0 0 30px rgba(0,230,255,0.3);
  --glow-magenta: 0 0 30px rgba(249,3,149,0.3);
  --shadow: 0 4px 30px rgba(0,0,0,0.5);
}

[data-theme="light"] {
  --bg: #f0f4ff;
  --bg2: #e8eeff;
  --bg3: #dde5ff;
  --surface: rgba(0,42,117,0.04);
  --surface2: rgba(0,42,117,0.08);
  --border: rgba(0,42,117,0.15);
  --text: #1a2340;
  --text-muted: #5a6a90;
  --heading: #002a75;
  --card-bg: rgba(255,255,255,0.9);
  --nav-bg: rgba(240,244,255,0.97);
  --glow-cyan: 0 0 20px rgba(0,150,220,0.15);
  --glow-magenta: 0 0 20px rgba(249,3,149,0.1);
  --shadow: 0 4px 20px rgba(0,42,117,0.1);
}

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

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

body {
  font-family: 'Inter', 'Rajdhani', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  transition: background-color 0.4s, color 0.4s;
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Orbitron', sans-serif;
  color: var(--heading);
  line-height: 1.2;
}

a { text-decoration: none; color: var(--cyan); transition: all 0.3s; }
a:hover { color: var(--magenta); }

img { max-width: 100%; height: auto; }

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: var(--gradient); border-radius: 3px; }

/* ---- Utility ---- */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 90px 0; }
.section-sm { padding: 60px 0; }
.text-center { text-align: center; }
.text-gradient { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hidden { display: none !important; }

/* ---- Badges ---- */
.badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 11px;
  font-family: 'Orbitron', sans-serif;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--cyan);
  margin-bottom: 12px;
}
.badge.magenta { color: var(--magenta); border-color: rgba(249,3,149,0.3); }

/* ---- Section Title ---- */
.section-title { margin-bottom: 56px; }
.section-title .eyebrow { display: block; font-size: 12px; font-family: 'Orbitron', sans-serif; letter-spacing: 3px; text-transform: uppercase; color: var(--cyan); margin-bottom: 12px; }
.section-title h2 { font-size: clamp(28px, 5vw, 48px); color: var(--heading); }
.section-title p { font-size: 17px; color: var(--text-muted); max-width: 600px; margin-top: 14px; }
.section-title.center { text-align: center; }
.section-title.center p { margin: 14px auto 0; }

/* ---- Grid Divider ---- */
.divider {
  width: 60px; height: 3px;
  background: var(--gradient-short);
  border-radius: 2px;
  margin: 16px 0;
}
.center .divider { margin: 16px auto; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 8px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.5px;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient);
  color: white;
  box-shadow: 0 4px 20px rgba(0,230,255,0.2);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,230,255,0.35);
  color: white;
}

.btn-outline {
  background: transparent;
  color: var(--cyan);
  border: 1.5px solid var(--cyan);
}
.btn-outline:hover {
  background: rgba(0,230,255,0.08);
  transform: translateY(-2px);
  color: var(--cyan);
}

.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { background: var(--surface2); color: var(--text); }

.btn-sm { padding: 9px 20px; font-size: 13px; }
.btn-lg { padding: 17px 38px; font-size: 17px; }

/* ---- Cards ---- */
.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  transition: all 0.3s;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--gradient-short);
  opacity: 0;
  transition: opacity 0.3s;
}
.card:hover::before { opacity: 1; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow), var(--glow-cyan); border-color: rgba(0,230,255,0.3); }

/* ---- Glassy Panel ---- */
.glass {
  background: var(--surface);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 16px;
}

/* ========================
   NAVIGATION
======================== */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 20px;
}

.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.nav-logo img { height: 38px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-links a {
  padding: 8px 14px;
  border-radius: 8px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.3px;
  color: var(--text-muted);
  transition: all 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--cyan); background: rgba(0,230,255,0.07); }

.nav-dropdown { position: relative; }
.nav-dropdown > a::after { content: ' ▾'; font-size: 10px; }
.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 200px;
  background: var(--nav-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
}
.nav-dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a {
  display: block;
  padding: 9px 14px !important;
  font-size: 13px !important;
  border-radius: 8px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Theme Toggle */
.theme-toggle {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all 0.3s;
  flex-shrink: 0;
}
.theme-toggle:hover { background: var(--surface2); border-color: var(--cyan); }

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 70px; left: 0; right: 0; bottom: 0;
  background: var(--bg);
  z-index: 999;
  overflow-y: auto;
  padding: 20px 24px;
  flex-direction: column;
  gap: 8px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  display: block;
  padding: 13px 18px;
  border-radius: 10px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: var(--text);
  border: 1px solid var(--border);
  background: var(--surface);
}
.mobile-menu a:hover { background: var(--surface2); color: var(--cyan); }
.mobile-menu .mobile-section-title {
  font-size: 11px;
  font-family: 'Orbitron', sans-serif;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 16px 0 6px 6px;
}

/* ========================
   HERO SECTION
======================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 100px 0 60px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Animated grid */
.grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,230,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,230,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: grid-move 20s linear infinite;
}
@keyframes grid-move {
  0% { background-position: 0 0; }
  100% { background-position: 60px 60px; }
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: orb-float 8s ease-in-out infinite;
}
.orb-1 { width: 500px; height: 500px; background: radial-gradient(circle, rgba(0,230,255,0.15), transparent); top: -150px; right: -100px; animation-delay: 0s; }
.orb-2 { width: 400px; height: 400px; background: radial-gradient(circle, rgba(249,3,149,0.12), transparent); bottom: -100px; left: -100px; animation-delay: 4s; }
.orb-3 { width: 300px; height: 300px; background: radial-gradient(circle, rgba(124,58,237,0.15), transparent); top: 40%; left: 40%; animation-delay: 2s; }

@keyframes orb-float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, -30px); }
}

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

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Orbitron', sans-serif;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(0,230,255,0.08);
  border: 1px solid rgba(0,230,255,0.25);
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 24px;
}
.hero-eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); animation: pulse-dot 1.5s infinite; }
@keyframes pulse-dot { 0%,100%{opacity:1;} 50%{opacity:0.3;} }

.hero-title {
  font-size: clamp(36px, 6vw, 68px);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }

.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.stat-item { }
.stat-item .num {
  font-family: 'Orbitron', sans-serif;
  font-size: 28px;
  font-weight: 700;
  background: var(--gradient-short);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-item .label { font-size: 12px; color: var(--text-muted); font-family: 'Rajdhani', sans-serif; }

/* Hero Visual */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.tech-showcase {
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1;
  position: relative;
}

.orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--border);
}
.orbit-ring-1 { inset: 0; animation: spin 20s linear infinite; }
.orbit-ring-2 { inset: 50px; animation: spin 15s linear infinite reverse; border-color: rgba(249,3,149,0.15); }
.orbit-ring-3 { inset: 100px; animation: spin 10s linear infinite; border-color: rgba(124,58,237,0.2); }

@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.orbit-dot {
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  top: -5px; left: calc(50% - 5px);
}
.orbit-ring-2 .orbit-dot { background: var(--magenta); box-shadow: 0 0 10px var(--magenta); }
.orbit-ring-3 .orbit-dot { background: #7c3aed; box-shadow: 0 0 10px #7c3aed; }

.center-orb {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 160px; height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(0,230,255,0.3), rgba(249,3,149,0.2), transparent);
  border: 1px solid rgba(0,230,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse-orb 3s ease-in-out infinite;
}
@keyframes pulse-orb { 0%,100%{transform:translate(-50%,-50%) scale(1);} 50%{transform:translate(-50%,-50%) scale(1.05);} }

.center-orb svg { width: 80px; filter: drop-shadow(0 0 12px rgba(0,230,255,0.5)); }

/* Floating tech cards */
.float-card {
  position: absolute;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 16px;
  backdrop-filter: blur(10px);
  font-size: 13px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  white-space: nowrap;
  animation: card-float 6s ease-in-out infinite;
}
.float-card .icon { font-size: 18px; margin-right: 8px; }
.float-card-1 { top: 15%; left: -10%; animation-delay: 0s; }
.float-card-2 { bottom: 20%; right: -5%; animation-delay: 2s; }
.float-card-3 { top: 50%; left: -15%; animation-delay: 4s; }
@keyframes card-float { 0%,100%{transform:translateY(0);} 50%{transform:translateY(-8px);} }

/* ========================
   FEATURES / WHY US
======================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.feature-card {
  padding: 36px 28px;
}
.feature-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--surface2);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
  position: relative;
}
.feature-icon::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 14px;
  background: var(--gradient);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s;
}
.feature-card:hover .feature-icon::after { opacity: 1; }
.feature-card h3 { font-size: 18px; margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* ========================
   COURSES SECTION
======================== */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.course-card {
  padding: 0;
  overflow: hidden;
}
.course-card-header {
  padding: 24px;
  background: var(--surface);
  position: relative;
  overflow: hidden;
}
.course-card-header::after {
  content: '';
  position: absolute;
  top: -30%; right: -20%;
  width: 100px; height: 100px;
  border-radius: 50%;
  background: var(--gradient);
  opacity: 0.1;
  transition: all 0.5s;
}
.course-card:hover .course-card-header::after { width: 200px; height: 200px; opacity: 0.15; }

.course-emoji { font-size: 40px; margin-bottom: 12px; display: block; }
.course-card-header h3 { font-size: 17px; color: var(--heading); margin-bottom: 6px; }
.course-card-header p { font-size: 13px; color: var(--text-muted); }

.course-card-body { padding: 20px 24px; }
.course-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.course-tag {
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 50px;
  background: var(--surface2);
  color: var(--text-muted);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
}

.course-meta { display: flex; justify-content: space-between; align-items: center; }
.course-fee {
  font-family: 'Orbitron', sans-serif;
  font-size: 14px;
  color: var(--cyan);
}
.course-fee small { font-size: 10px; color: var(--text-muted); font-family: 'Inter', sans-serif; display: block; }
.course-fee .placeholder { color: var(--text-muted); font-family: 'Rajdhani', sans-serif; font-size: 13px; font-weight: 500; }

/* ========================
   STATS SECTION
======================== */
.stats-band {
  padding: 60px 0;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.stats-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient);
  opacity: 0.03;
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  position: relative;
}
.stat-block { text-align: center; }
.stat-block .big-num {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 900;
  background: var(--gradient-short);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}
.stat-block .stat-label { font-size: 14px; color: var(--text-muted); margin-top: 4px; }
.stat-block .stat-icon { font-size: 28px; margin-bottom: 10px; display: block; }

/* ========================
   TESTIMONIALS
======================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.testimonial-card { padding: 28px; }
.quote-icon { font-size: 36px; color: var(--cyan); opacity: 0.4; margin-bottom: 16px; font-family: Georgia; }
.testimonial-text { font-size: 15px; color: var(--text); line-height: 1.8; margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  color: white;
  font-family: 'Orbitron', sans-serif;
  flex-shrink: 0;
}
.author-info strong { display: block; font-size: 14px; font-weight: 600; }
.author-info span { font-size: 12px; color: var(--text-muted); }

/* ========================
   PORTAL CARDS (Login options)
======================== */
.portals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.portal-card {
  text-align: center;
  padding: 32px 20px;
  cursor: pointer;
  transition: all 0.3s;
}
.portal-card:hover { transform: translateY(-6px); }
.portal-icon { font-size: 40px; margin-bottom: 16px; display: block; }
.portal-card h3 { font-size: 15px; margin-bottom: 8px; }
.portal-card p { font-size: 12px; color: var(--text-muted); line-height: 1.5; }
.portal-card .btn { margin-top: 16px; font-size: 12px; padding: 8px 18px; }

/* ========================
   GALLERY
======================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
}
.gallery-item {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  cursor: pointer;
}
.gallery-item:nth-child(3n+1) { grid-row: span 2; aspect-ratio: auto; }
.gallery-placeholder {
  width: 100%;
  height: 100%;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 13px;
  background: linear-gradient(135deg, var(--surface), var(--surface2));
}
.gallery-placeholder .gi { font-size: 40px; }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* ========================
   FORMS
======================== */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-bottom: 7px;
  text-transform: uppercase;
}
.form-control {
  width: 100%;
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  transition: all 0.3s;
  outline: none;
  appearance: none;
}
.form-control:focus {
  border-color: var(--cyan);
  background: var(--surface2);
  box-shadow: 0 0 0 3px rgba(0,230,255,0.1);
}
.form-control::placeholder { color: var(--text-muted); opacity: 0.6; }
textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control { cursor: pointer; }

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

.form-message {
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 14px;
  margin-top: 16px;
  display: none;
}
.form-message.success { background: rgba(0,230,150,0.1); border: 1px solid rgba(0,230,150,0.3); color: #00e696; }
.form-message.error { background: rgba(249,3,149,0.1); border: 1px solid rgba(249,3,149,0.3); color: var(--magenta); }

/* Honeypot */
.hp-field { display: none !important; }

/* ========================
   LOGIN PAGE
======================== */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 24px 60px;
  position: relative;
}

.login-card {
  width: 100%;
  max-width: 440px;
  padding: 48px 40px;
  position: relative;
  z-index: 1;
}

.login-header { text-align: center; margin-bottom: 36px; }
.login-header .portal-type {
  display: inline-block;
  padding: 5px 16px;
  border-radius: 50px;
  font-size: 11px;
  font-family: 'Orbitron', sans-serif;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
  background: var(--gradient);
  color: white;
}
.login-header h2 { font-size: 26px; margin-bottom: 8px; }
.login-header p { font-size: 14px; color: var(--text-muted); }

/* ========================
   FOOTER
======================== */
footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 70px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand .logo { display: block; margin-bottom: 16px; }
.footer-brand .logo img { height: 36px; }
.footer-brand p { font-size: 14px; color: var(--text-muted); line-height: 1.7; margin-bottom: 20px; }
.social-links { display: flex; gap: 10px; }
.social-link {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  color: var(--text-muted);
  transition: all 0.3s;
}
.social-link:hover { background: var(--gradient); color: white; border-color: transparent; }

.footer-col h4 {
  font-size: 13px;
  font-family: 'Orbitron', sans-serif;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--heading);
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { font-size: 14px; color: var(--text-muted); }
.footer-col ul a:hover { color: var(--cyan); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 14px;
  color: var(--text-muted);
}
.footer-contact-item .ci { font-size: 16px; color: var(--cyan); margin-top: 2px; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 13px; color: var(--text-muted); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 13px; color: var(--text-muted); }
.footer-bottom-links a:hover { color: var(--cyan); }

/* ========================
   PAGE HERO (Inner Pages)
======================== */
.page-hero {
  padding: 140px 0 70px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient);
  opacity: 0.05;
}
.page-hero-inner { position: relative; z-index: 1; }
.page-hero .eyebrow { font-family: 'Orbitron', sans-serif; font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: var(--cyan); display: block; margin-bottom: 12px; }
.page-hero h1 { font-size: clamp(32px, 6vw, 60px); font-weight: 900; margin-bottom: 16px; }
.page-hero p { font-size: 17px; color: var(--text-muted); max-width: 600px; line-height: 1.7; }

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 20px;
}
.breadcrumb a { color: var(--cyan); }
.breadcrumb span { opacity: 0.5; }

/* ========================
   ACCORDION (FAQ)
======================== */
.accordion { border-radius: 12px; overflow: hidden; border: 1px solid var(--border); }
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-item:last-child { border-bottom: none; }
.accordion-btn {
  width: 100%;
  padding: 18px 22px;
  text-align: left;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: all 0.3s;
}
.accordion-btn:hover { background: var(--surface); color: var(--cyan); }
.accordion-btn.open { color: var(--cyan); background: var(--surface); }
.accordion-icon { font-size: 20px; transition: transform 0.3s; flex-shrink: 0; }
.accordion-btn.open .accordion-icon { transform: rotate(45deg); }
.accordion-body {
  display: none;
  padding: 0 22px 18px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
}
.accordion-body.open { display: block; }

/* ========================
   TABS
======================== */
.tabs { }
.tab-nav {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
  overflow-x: auto;
  scrollbar-width: none;
}
.tab-nav::-webkit-scrollbar { display: none; }
.tab-btn {
  padding: 11px 20px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: all 0.3s;
  margin-bottom: -1px;
}
.tab-btn.active { color: var(--cyan); border-bottom-color: var(--cyan); }
.tab-btn:hover { color: var(--text); }
.tab-pane { display: none; }
.tab-pane.active { display: block; }

/* ========================
   COURSE DETAIL CARD
======================== */
.course-detail {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}
.level-card {
  padding: 24px;
  text-align: center;
  position: relative;
}
.level-card.recommended::before { content: 'POPULAR'; position: absolute; top: -10px; left: 50%; transform: translateX(-50%); background: var(--gradient); color: white; font-size: 9px; font-family: 'Orbitron', sans-serif; padding: 3px 12px; border-radius: 50px; letter-spacing: 1px; }
.level-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 11px;
  font-family: 'Orbitron', sans-serif;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.level-badge.basic { background: rgba(0,230,255,0.15); color: var(--cyan); }
.level-badge.standard { background: rgba(124,58,237,0.15); color: #7c3aed; }
.level-badge.advanced { background: rgba(249,3,149,0.15); color: var(--magenta); }

.level-duration { font-size: 13px; color: var(--text-muted); margin-bottom: 12px; }
.level-fee {
  font-family: 'Orbitron', sans-serif;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 4px;
}
.level-fee.basic-color { color: var(--cyan); }
.level-fee.standard-color { color: #7c3aed; }
.level-fee.advanced-color { color: var(--magenta); }
.level-note { font-size: 11px; color: var(--text-muted); }

/* ========================
   ABOUT PAGE
======================== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-visual { position: relative; }
.about-img-placeholder {
  width: 100%;
  padding-top: 80%;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.about-img-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient);
  opacity: 0.05;
}
.about-img-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-muted);
}
.about-img-inner .logo-large { width: 120px; opacity: 0.3; }

.highlight-box {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px 24px;
  backdrop-filter: blur(10px);
  text-align: center;
  min-width: 150px;
}
.highlight-box .hnum {
  font-family: 'Orbitron', sans-serif;
  font-size: 32px;
  font-weight: 700;
  background: var(--gradient-short);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.highlight-box .hlabel { font-size: 12px; color: var(--text-muted); }

.values-list { margin-top: 32px; display: flex; flex-direction: column; gap: 14px; }
.value-item { display: flex; align-items: flex-start; gap: 14px; }
.value-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--surface2); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.value-item h4 { font-size: 15px; margin-bottom: 3px; }
.value-item p { font-size: 13px; color: var(--text-muted); }

/* ========================
   CONTACT PAGE
======================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; }
.contact-info { }
.contact-info-item { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 28px; }
.ci-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--surface2);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.ci-text strong { display: block; font-size: 14px; margin-bottom: 4px; color: var(--heading); }
.ci-text span { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* Map placeholder */
.map-placeholder {
  width: 100%;
  height: 200px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  color: var(--text-muted);
  font-size: 13px;
  margin-top: 24px;
}

/* ========================
   TAGS / PILLS
======================== */
.pill-list { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  font-family: 'Rajdhani', sans-serif;
  background: var(--surface2);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

/* ========================
   ALERT BOXES
======================== */
.alert {
  padding: 16px 20px;
  border-radius: 12px;
  font-size: 14px;
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.alert-info { background: rgba(0,230,255,0.08); border: 1px solid rgba(0,230,255,0.2); color: var(--cyan); }
.alert-warning { background: rgba(255,170,0,0.08); border: 1px solid rgba(255,170,0,0.2); color: #ffa500; }
.alert-icon { font-size: 18px; flex-shrink: 0; margin-top: 1px; }

/* ========================
   PROGRESS BARS
======================== */
.progress-bar-wrap { margin-bottom: 16px; }
.progress-label { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-muted); margin-bottom: 6px; font-family: 'Rajdhani', sans-serif; font-weight: 600; }
.progress-bar { height: 6px; border-radius: 3px; background: var(--surface2); overflow: hidden; }
.progress-fill { height: 100%; border-radius: 3px; background: var(--gradient); width: 0; transition: width 1.5s ease; }

/* ========================
   LOADING SPINNER
======================== */
.spinner {
  width: 20px; height: 20px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: inline-block;
}

/* ========================
   SCROLL TO TOP
======================== */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--gradient);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: white;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s;
  z-index: 900;
  box-shadow: 0 4px 20px rgba(0,230,255,0.3);
}
.scroll-top.visible { opacity: 1; transform: translateY(0); }
.scroll-top:hover { transform: translateY(-3px); }

/* ========================
   RESPONSIVE
======================== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-cta { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-sub { margin: 0 auto 36px; }
  .hero-visual { max-width: 350px; margin: 0 auto; }
  .tech-showcase { max-width: 320px; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .course-detail { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions .btn { display: none; }
  .nav-toggle { display: flex; }
  .hero-inner { gap: 40px; }
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .portals-grid { grid-template-columns: repeat(2, 1fr); }
  section, .section { padding: 60px 0; }
  .hero { padding: 80px 0 40px; }
  .login-card { padding: 32px 24px; }
}

@media (max-width: 480px) {
  .portals-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 20px; }
  .tech-showcase { max-width: 260px; }
  .about-grid, .contact-grid { gap: 36px; }
}

/* ========================
   ANIMATIONS
======================== */
.animate-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.animate-in.visible { opacity: 1; transform: translateY(0); }

/* Staggered */
.stagger > *:nth-child(1) { transition-delay: 0.05s; }
.stagger > *:nth-child(2) { transition-delay: 0.15s; }
.stagger > *:nth-child(3) { transition-delay: 0.25s; }
.stagger > *:nth-child(4) { transition-delay: 0.35s; }
.stagger > *:nth-child(5) { transition-delay: 0.45s; }
.stagger > *:nth-child(6) { transition-delay: 0.55s; }

/* ========================
   PAGE TRANSITIONS
======================== */
.page-transition {
  animation: fadeSlideIn 0.5s ease both;
}
@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Particles canvas */
#particles { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: -1; opacity: 0.4; }
