/* --- Variables & Global Reset --- */
:root {
  --cyan: #00d4ff;
  --cyan-glow: rgba(0, 212, 255, 0.4);
  --dark-cyan: #0088cc;
  --warning: #ff5252;
  --bg-color: #060b11;
  --card-bg: #10151c;
  --card-border: rgba(255, 255, 255, 0.05);
  --text-primary: #ffffff;
  --text-secondary: #a0aec0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

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

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

a {
  text-decoration: none;
  color: inherit;
}

/* --- Common Utilities --- */
.cyan-text {
  color: var(--cyan);
}

.glow-text {
  background: linear-gradient(135deg, var(--cyan), var(--dark-cyan));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 20px var(--cyan-glow);
}

.btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--cyan), var(--dark-cyan));
  color: white;
  border: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--cyan-glow);
}

.glow-btn {
  box-shadow: 0 0 30px var(--cyan-glow);
}

.glow-btn:hover {
  box-shadow: 0 0 45px var(--cyan-glow);
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  color: var(--text-primary);
}

/* --- Floating Elements --- */
.fab {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: var(--cyan);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 0 20px var(--cyan-glow);
  z-index: 100;
  transition: transform 0.3s ease;
}

.fab:hover {
  transform: scale(1.1);
}

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  position: relative;
}

.hero-title {
  font-size: 4.5rem;
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.scroll-down {
  position: absolute;
  bottom: 40px;
  color: var(--cyan);
  font-size: 24px;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-20px); }
  60% { transform: translateY(-10px); }
}

/* --- Section Divider --- */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  width: 100%;
}

/* --- Features Section --- */
.features {
  padding: 80px 0;
}

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

.feature-item {
  display: flex;
  gap: 20px;
}

.feature-icon {
  width: 50px;
  height: 50px;
  background: rgba(0, 212, 255, 0.1);
  color: var(--cyan);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.feature-text h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

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

/* --- Courses Section --- */
.courses {
  padding: 80px 0;
}

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

.course-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border-color: rgba(0, 212, 255, 0.2);
}

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

.course-number {
  color: var(--cyan);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.course-icon {
  width: 40px;
  height: 40px;
  background: rgba(0, 212, 255, 0.1);
  color: var(--cyan);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.course-title {
  font-size: 1.4rem;
  margin-bottom: 0;
  line-height: 1.3;
  transition: margin-bottom 0.4s ease;
}

.course-card:hover .course-title {
  margin-bottom: 20px;
}

.course-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  padding-top: 0;
  border-top: 1px solid transparent;
  transition: all 0.4s ease;
}

.course-card:hover .course-desc {
  max-height: 200px;
  opacity: 1;
  padding-top: 20px;
  border-top-color: var(--card-border);
}


/* --- Intake Section --- */
.intake {
  padding: 80px 0;
}

.intake-container {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 60px 40px;
  text-align: center;
}

.intake-subtitle {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 40px;
}

.intake-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 50px;
}

.intake-card {
  background: var(--bg-color);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 24px;
  text-align: left;
}

.intake-card h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.seats-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.progress-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  margin-bottom: 12px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--cyan);
  border-radius: 3px;
}

.progress-fill.warning {
  background: var(--warning);
}

.status {
  font-size: 0.85rem;
  font-weight: 600;
}

.status.warning {
  color: var(--warning);
}

.cta-wrapper {
  margin-top: 40px;
}

.cta-wrapper .btn.large {
  font-size: 1.1rem;
  padding: 16px 48px;
  margin-bottom: 12px;
}

.cta-subtitle {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* --- Footer --- */
.footer {
  padding: 60px 0;
  text-align: center;
}

.footer-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.footer p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.copyright {
  font-size: 0.8rem !important;
  opacity: 0.6;
}

.text-center {
  text-align: center;
}

/* --- Responsive --- */
@media (max-width: 992px) {
  .hero-title { font-size: 3.5rem; }
  .features-grid { grid-template-columns: 1fr; }
  .courses-grid { grid-template-columns: repeat(2, 1fr); }
  .intake-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .hero-title { font-size: 2.8rem; }
  .courses-grid { grid-template-columns: 1fr; }
  .intake-container { padding: 40px 20px; }
  .enroll-container { padding: 40px 15px; }
}

/* --- Enroll Form Section --- */
.back-link {
  position: absolute;
  top: 30px;
  left: 30px;
  color: var(--cyan);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.3s ease;
}

.back-link:hover {
  transform: translateX(-5px);
}

.enroll-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
}

.enroll-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 60px 50px;
  max-width: 650px;
  width: 100%;
}

.enroll-card .section-title {
  margin-bottom: 20px;
  font-size: 2.2rem;
}

.enroll-subtitle {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.enroll-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

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

.form-group input,
.form-group select {
  background: var(--bg-color);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 16px;
  color: var(--text-primary);
  font-size: 1rem;
  transition: all 0.3s ease;
  outline: none;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.2);
}

.form-group select option {
  background: var(--bg-color);
  color: var(--text-primary);
}

.submit-btn {
  margin-top: 20px;
  width: 100%;
  padding: 18px !important;
  font-size: 1.1rem;
  border-radius: 16px !important;
}

.submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none !important;
}

.form-success,
.form-error {
  padding: 16px;
  border-radius: 12px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.form-success {
  background: rgba(0, 255, 128, 0.1);
  color: #00ff80;
  border: 1px solid rgba(0, 255, 128, 0.2);
}

.form-error {
  background: rgba(255, 82, 82, 0.1);
  color: var(--warning);
  border: 1px solid rgba(255, 82, 82, 0.2);
}

.hidden {
  display: none !important;
}
