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

/* CSS Variables for Premium Design System */
:root {
  /* Dark Mode (Default) */
  --bg-primary: #040d1a;
  --bg-secondary: #071b35;
  --bg-tertiary: #0c2547;
  --bg-glass: rgba(7, 27, 53, 0.6);
  --border-glass: rgba(0, 212, 255, 0.15);
  --border-focus: rgba(0, 212, 255, 0.5);
  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --primary: #00d4ff;
  --primary-glow: rgba(0, 212, 255, 0.3);
  --accent: #ff8a00;
  --accent-glow: rgba(255, 138, 0, 0.3);
  
  --success: #10b981;
  --success-bg: rgba(16, 185, 129, 0.15);
  --error: #ef4444;
  --error-bg: rgba(239, 68, 68, 0.15);
  --warning: #f59e0b;
  --warning-bg: rgba(245, 158, 11, 0.15);
  
  --shadow: rgba(0, 0, 0, 0.5);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --header-height: 80px;
}

[data-theme="light"] {
  /* Light Mode */
  --bg-primary: #f0f4f9;
  --bg-secondary: #ffffff;
  --bg-tertiary: #e2e8f0;
  --bg-glass: rgba(255, 255, 255, 0.7);
  --border-glass: rgba(7, 27, 53, 0.08);
  --border-focus: rgba(0, 212, 255, 0.6);
  --text-primary: #071b35;
  --text-secondary: #475569;
  --text-muted: #64748b;
  
  --primary: #0088cc;
  --primary-glow: rgba(0, 136, 204, 0.2);
  --accent: #e07000;
  --accent-glow: rgba(224, 112, 0, 0.2);
  
  --shadow: rgba(7, 27, 53, 0.08);
}

/* Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  position: relative;
  line-height: 1.6;
  background: radial-gradient(circle at 50% 50%, #071f3d 0%, #030a14 100%);
  background-attachment: fixed;
}

[data-theme="light"] body {
  background: 
    radial-gradient(circle at 10% 20%, rgba(0, 212, 255, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(255, 138, 0, 0.04) 0%, transparent 40%),
    #f3f6f9;
  background-attachment: fixed;
}

/* Premium Blob Backgrounds */
.bg-blobs {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.15;
  animation: float-blob 20s infinite alternate ease-in-out;
}

.blob-1 {
  top: -10%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  background: var(--primary);
  animation-duration: 25s;
}

.blob-2 {
  bottom: -10%;
  right: -10%;
  width: 45vw;
  height: 45vw;
  background: var(--accent);
  animation-duration: 20s;
}

.blob-3 {
  top: 40%;
  left: 50%;
  width: 30vw;
  height: 30vw;
  background: var(--primary);
  opacity: 0.08;
  animation-duration: 30s;
}

@keyframes float-blob {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(50px, -30px) scale(1.1); }
  100% { transform: translate(-20px, 40px) scale(0.95); }
}

/* Grid overlay for tech look */
.bg-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-image: 
    linear-gradient(to right, rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

[data-theme="light"] .bg-grid {
  background-image: 
    linear-gradient(to right, rgba(7,27,53,0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(7,27,53,0.02) 1px, transparent 1px);
}

/* Scroll Progress Bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  z-index: 1000;
  width: 0%;
}

/* Typography & Links */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
}

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

/* Glassmorphism Styles */
.glass-card {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  box-shadow: 0 10px 30px var(--shadow);
  transition: var(--transition);
}

.glass-card:hover {
  border-color: rgba(0, 212, 255, 0.25);
  box-shadow: 0 15px 35px rgba(0, 212, 255, 0.05);
}

/* Glass Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  gap: 8px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #00aacc);
  color: #040d1a;
  box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 212, 255, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent), #ff5d00);
  color: white;
  box-shadow: 0 4px 15px var(--accent-glow);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 138, 0, 0.5);
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 100;
  transition: var(--transition);
}

header.scrolled {
  background: rgba(4, 13, 26, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-glass);
  box-shadow: 0 4px 20px var(--shadow);
}

[data-theme="light"] header.scrolled {
  background: rgba(255, 255, 255, 0.85);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

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

.logo-icon {
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 1.4rem;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1.1;
  background: linear-gradient(135deg, #ffffff, var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

[data-theme="light"] .logo-title {
  background: linear-gradient(135deg, var(--text-primary), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-subtitle {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
}

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

.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

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

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

/* Theme Toggle Button */
.theme-toggle-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-primary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
}

.theme-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--primary);
  transform: rotate(20deg);
}

.theme-toggle-btn svg {
  width: 20px;
  height: 20px;
}

.theme-toggle-btn .sun-icon {
  display: none;
}

[data-theme="light"] .theme-toggle-btn .sun-icon {
  display: block;
}

[data-theme="light"] .theme-toggle-btn .moon-icon {
  display: none;
}

/* Hero Section */
.hero {
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
}

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

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-badge {
  align-self: flex-start;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.2);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.hero-brand-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: 0.02em;
}

.hero-logo-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  font-size: 1.5rem;
}

.hero-badge-glow {
  align-self: flex-start;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.4);
  color: var(--primary);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.15);
  margin-bottom: 12px;
  animation: badge-pulse 2s infinite alternate ease-in-out;
}

@keyframes badge-pulse {
  0% {
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.15);
    border-color: rgba(0, 212, 255, 0.3);
  }
  100% {
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
    border-color: rgba(0, 212, 255, 0.6);
  }
}

.hero-headline {
  font-size: 3.8rem;
  line-height: 1.1;
  font-weight: 800;
  background: linear-gradient(135deg, #ffffff 40%, var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
}

[data-theme="light"] .hero-headline {
  background: linear-gradient(135deg, var(--text-primary) 40%, var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subheadline {
  display: block;
  font-size: 1.6rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 12px;
  -webkit-text-fill-color: initial;
  letter-spacing: 0.05em;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 580px;
  margin-bottom: 16px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 12px;
}

.btn-hero-cta {
  padding: 16px 36px;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), #ff5d00);
  color: white;
  box-shadow: 0 4px 20px var(--accent-glow);
  transition: var(--transition);
}

.btn-hero-cta:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 30px rgba(255, 138, 0, 0.6);
}

.btn-hero-secondary {
  padding: 16px 32px;
  font-size: 1.05rem;
  border-radius: 12px;
}

/* Floating Register Button (Bottom Right) */
.floating-register-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 99;
  background: linear-gradient(135deg, var(--accent), #ff5d00);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px var(--accent-glow);
  cursor: pointer;
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
  border: none;
  font-size: 1.5rem;
}

.floating-register-btn.visible {
  opacity: 1;
  visibility: visible;
}

.floating-register-btn:hover {
  transform: scale(1.1) rotate(360deg);
  box-shadow: 0 6px 25px rgba(255, 138, 0, 0.6);
}

.floating-register-btn svg {
  width: 24px;
  height: 24px;
  stroke: white;
  stroke-width: 2;
  fill: none;
}

/* Back To Top Button */
.back-to-top-btn {
  position: fixed;
  bottom: 105px;
  right: 30px;
  z-index: 99;
  background: var(--bg-glass);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
  box-shadow: 0 4px 15px var(--shadow);
}

.back-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top-btn:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  color: var(--primary);
}

.back-to-top-btn svg {
  width: 20px;
  height: 20px;
}

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

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.section-title {
  font-size: 2.5rem;
  background: linear-gradient(135deg, #ffffff, var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

[data-theme="light"] .section-title {
  background: linear-gradient(135deg, var(--text-primary), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  color: var(--text-secondary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.feature-card {
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: var(--transition);
}

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

.feature-icon-container {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: rgba(0, 212, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  border: 1px solid rgba(0, 212, 255, 0.15);
}

.feature-card:hover .feature-icon-container {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  border-color: transparent;
  transform: rotate(10deg);
  transition: var(--transition);
}

.feature-icon-container svg {
  width: 28px;
  height: 28px;
}

.feature-title {
  font-size: 1.35rem;
}

.feature-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Training Benefits Section */
.benefits-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.benefits-content h2 {
  font-size: 2.25rem;
  margin-bottom: 24px;
}

.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  list-style: none;
}

.benefit-item {
  display: flex;
  gap: 16px;
}

.benefit-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.1);
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.benefit-text h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.benefit-text p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* FAQ Accordion Styling */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-question-btn {
  width: 100%;
  background: none;
  border: none;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
}

.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  border: 1px solid var(--border-glass);
}

.faq-icon svg {
  width: 14px;
  height: 14px;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
}

.faq-answer-inner {
  padding: 0 24px 24px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Open Accordion State */
.faq-item.open {
  border-color: var(--primary);
  background: rgba(0, 212, 255, 0.02);
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
  background: var(--primary);
  color: #040d1a;
  border-color: transparent;
}

.faq-item.open .faq-answer {
  max-height: 1000px; /* Large enough */
  transition: max-height 0.6s cubic-bezier(0.85, 0, 0.15, 1);
}

/* Contact Section & Form */
.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 50px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: center;
}

.contact-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(0, 212, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  border: 1px solid var(--border-glass);
}

.contact-text h4 {
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-text p {
  font-weight: 600;
  font-size: 1.05rem;
}

/* Styling Forms */
.form-group {
  margin-bottom: 20px;
  position: relative;
}

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-secondary);
}

.form-label.required::after {
  content: '*';
  color: var(--error);
  margin-left: 4px;
}

.form-input {
  width: 100%;
  padding: 12px 18px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
}

[data-theme="light"] .form-input {
  background: rgba(0, 0, 0, 0.02);
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 10px var(--primary-glow);
  background: rgba(255, 255, 255, 0.05);
}

/* Radio & Checkbox Styling */
.radio-group, .checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.radio-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.option-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
  font-size: 0.95rem;
}

.option-btn input[type="radio"],
.option-btn input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 1px solid var(--border-glass);
  border-radius: 4px;
  outline: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  background: rgba(255, 255, 255, 0.02);
}

.option-btn input[type="radio"] {
  border-radius: 50%;
}

.option-btn input[type="radio"]:checked,
.option-btn input[type="checkbox"]:checked {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 0 8px var(--primary-glow);
}

.option-btn input[type="radio"]:checked::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #040d1a;
}

.option-btn input[type="checkbox"]:checked::after {
  content: '✓';
  color: #040d1a;
  font-size: 11px;
  font-weight: bold;
}

/* Form Grid */
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* Footer Section */
footer {
  padding: 60px 0;
  border-top: 1px solid var(--border-glass);
  background: rgba(4, 13, 26, 0.4);
}

[data-theme="light"] footer {
  background: rgba(240, 244, 249, 0.8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-about {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-links-col h4 {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: var(--primary);
}

.footer-links-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-col a {
  color: var(--text-secondary);
}

.footer-links-col a:hover {
  color: var(--primary);
  padding-left: 4px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-glass);
  padding-top: 30px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Registration Form Multi-step Progress Styling */
.registration-container {
  max-width: 800px;
  margin: 120px auto 60px;
  padding: 40px;
}

.progress-header {
  margin-bottom: 40px;
}

.progress-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-bottom: 12px;
}

.progress-steps::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--border-glass);
  z-index: 1;
  transform: translateY(-50%);
}

.step-indicator {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 2px solid var(--border-glass);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-family: var(--font-heading);
  z-index: 2;
  transition: var(--transition);
}

.step-indicator.active {
  border-color: var(--primary);
  background: var(--primary);
  color: #040d1a;
  box-shadow: 0 0 15px var(--primary-glow);
}

.step-indicator.completed {
  border-color: var(--success);
  background: var(--success);
  color: white;
}

.step-labels {
  display: flex;
  justify-content: space-between;
}

.step-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  width: 80px;
  text-align: center;
}

.step-label.active {
  color: var(--primary);
}

.progress-bar-container {
  height: 6px;
  background: rgba(255,255,255,0.05);
  border-radius: 50px;
  overflow: hidden;
  margin-top: 16px;
}

.progress-bar-fill {
  height: 100%;
  width: 25%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: width 0.4s ease;
}

.form-step {
  display: none;
}

.form-step.active {
  display: block;
  animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.step-title {
  font-size: 1.5rem;
  margin-bottom: 24px;
  color: var(--primary);
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 8px;
}

.form-actions-row {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
  border-top: 1px solid var(--border-glass);
  padding-top: 20px;
}

/* Form validation states styling */
.form-input.invalid {
  border-color: var(--error) !important;
  box-shadow: 0 0 8px var(--error-glow) !important;
}

.form-input.valid {
  border-color: var(--success) !important;
}

.validation-msg {
  font-size: 0.75rem;
  margin-top: 4px;
  display: none;
}

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

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

/* Success Popup & Animations */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(4, 13, 26, 0.85);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.success-modal {
  max-width: 500px;
  width: 90%;
  padding: 40px;
  text-align: center;
  transform: scale(0.85);
  transition: var(--transition);
  position: relative;
}

.modal-overlay.active .success-modal {
  transform: scale(1);
}

/* Animated success checkmark */
.checkmark-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--success-bg);
  border: 2px solid var(--success);
  color: var(--success);
  margin: 0 auto 24px;
  font-size: 2.5rem;
  animation: scaleUp 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) delay;
}

@keyframes scaleUp {
  from { transform: scale(0); }
  to { transform: scale(1); }
}

.success-modal h2 {
  font-size: 1.75rem;
  margin-bottom: 12px;
  color: var(--success);
}

.success-modal p {
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.receipt-slip {
  background: rgba(0,0,0,0.2);
  border-radius: 8px;
  padding: 20px;
  text-align: left;
  margin-bottom: 24px;
  border: 1px dashed var(--border-glass);
}

.receipt-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.receipt-row:last-child {
  margin-bottom: 0;
}

.receipt-label {
  color: var(--text-muted);
}

.receipt-value {
  font-weight: 600;
  color: var(--text-primary);
}

/* Auto Save Indicator */
.autosave-indicator {
  position: absolute;
  top: 15px;
  right: 25px;
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.autosave-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.9); opacity: 0.5; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.5; }
}

/* Toast Notifications Container */
#toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  padding: 16px 24px;
  border-radius: 8px;
  color: white;
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: 0 5px 15px rgba(0,0,0,0.25);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: slideIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  min-width: 300px;
  max-width: 400px;
}

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.toast.toast-success {
  background: var(--success);
}
.toast.toast-error {
  background: var(--error);
}
.toast.toast-info {
  background: var(--primary);
}

/* Admin Dashboard layout styling */
.admin-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
}

.sidebar {
  background: var(--bg-secondary);
  border-right: 1px solid var(--border-glass);
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  position: sticky;
  top: 0;
  height: 100vh;
}

.sidebar-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sidebar-item a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: 8px;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
}

.sidebar-item a:hover,
.sidebar-item.active a {
  background: rgba(0, 212, 255, 0.08);
  color: var(--primary);
}

.sidebar-item svg {
  width: 20px;
  height: 20px;
}

.main-content {
  padding: 40px;
  overflow-y: auto;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.dashboard-title h2 {
  font-size: 1.85rem;
}

.dashboard-title p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Metric Cards Grid */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.metric-card {
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.metric-icon-box {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.metric-info {
  display: flex;
  flex-direction: column;
}

.metric-value {
  font-size: 1.75rem;
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.2;
}

.metric-label {
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
}

/* Dashboard Charts Grid */
.charts-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
  margin-bottom: 40px;
}

.charts-row-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

.chart-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.chart-container {
  position: relative;
  width: 100%;
  height: 250px;
}

/* Admin Dashboard Table */
.data-card {
  padding: 30px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 20px;
}

.search-box {
  position: relative;
  max-width: 320px;
  width: 100%;
}

.search-box input {
  padding-left: 40px;
}

.search-box svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--text-muted);
}

.filter-options {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.filter-select {
  padding: 10px 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.85rem;
  outline: none;
  cursor: pointer;
  min-width: 120px;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin-bottom: 20px;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.data-table th, .data-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-glass);
}

.data-table th {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  background: rgba(255, 255, 255, 0.01);
}

.data-table tbody tr {
  transition: var(--transition);
}

.data-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.01);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}

.status-badge.new {
  background: var(--warning-bg);
  color: var(--warning);
}

.status-badge.contacted {
  background: rgba(0, 212, 255, 0.15);
  color: var(--primary);
}

.status-badge.joined {
  background: var(--success-bg);
  color: var(--success);
}

.status-badge.rejected {
  background: var(--error-bg);
  color: var(--error);
}

.action-btns {
  display: flex;
  gap: 8px;
}

.icon-btn {
  background: none;
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.icon-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(0, 212, 255, 0.05);
}

.icon-btn.delete-btn:hover {
  border-color: var(--error);
  color: var(--error);
  background: var(--error-bg);
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-info {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.page-controls {
  display: flex;
  gap: 8px;
}

/* Modal for viewing detail */
.detail-modal {
  max-width: 700px;
  width: 90%;
  padding: 30px;
  overflow-y: auto;
  max-height: 85vh;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

.detail-item h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.detail-item p {
  font-size: 0.95rem;
  font-weight: 500;
}

.detail-item.full-width {
  grid-column: span 2;
}

.notes-area {
  width: 100%;
  min-height: 100px;
  padding: 12px;
  border-radius: 8px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  resize: vertical;
  margin-top: 8px;
}

.notes-area:focus {
  outline: none;
  border-color: var(--primary);
}

/* Admin Login page */
.admin-login-container {
  max-width: 420px;
  width: 90%;
  margin: 15vh auto;
  padding: 40px;
  text-align: center;
}

.admin-login-header {
  margin-bottom: 30px;
}

.admin-login-header h2 {
  font-size: 1.85rem;
  margin-bottom: 6px;
  color: var(--primary);
}

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

/* Loader animation styling */
.loader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.loader {
  width: 48px;
  height: 48px;
  border: 3px solid var(--border-glass);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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