:root {
  /* Color Palette: Dark Turquoise and Cyan */
  --bg-dark: #0f172a;
  --bg-darker: #020617;

  /* Primary Accents */
  --turquoise: #14b8a6;
  --cyan: #06b6d4;
  --cyan-light: #22d3ee;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--turquoise), var(--cyan));
  --gradient-glow: linear-gradient(
    135deg,
    rgba(20, 184, 166, 0.4),
    rgba(6, 182, 212, 0.4)
  );

  /* Typography */
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  /* Glassmorphism */
  --glass-bg: rgba(15, 23, 42, 0.6);
  --glass-border: rgba(34, 211, 238, 0.2);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  --glass-backdrop: blur(16px);
  -webkit-backdrop-filter: var(--glass-backdrop);
  backdrop-filter: var(--glass-backdrop);
}

/* Reset & Base */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Root — NO overflow or width constraints. Setting overflow on html blocks page scroll. */
html {
  scroll-behavior: smooth;
  background-color: var(--bg-darker);
}

body {
  font-family: "Outfit", sans-serif;
  background-color: var(--bg-darker);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;  /* horizontal only — on body this is safe */
  overflow-y: auto;    /* always allow vertical scroll */
  max-width: 100%;     /* prevent body from exceeding screen width */
  position: relative;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 800;
  line-height: 1.2;
}

.highlight {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Background Glow Orbs */
.glow-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  z-index: -1;
  pointer-events: none;
  animation: float 20s infinite alternate ease-in-out;
}

.orb-1 {
  top: -10%;
  left: -10%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(
    circle,
    rgba(20, 184, 166, 0.15) 0%,
    transparent 70%
  );
}

.orb-2 {
  bottom: -10%;
  right: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(
    circle,
    rgba(6, 182, 212, 0.15) 0%,
    transparent 70%
  );
  animation-delay: -10s;
}

@keyframes float {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(5%, 5%) scale(1.1);
  }
}

/* Header */
.site-header {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 50;
}

.logo-wrapper {
  display: flex;
  align-items: center;
}

.logo {
  max-height: 60px;
  width: auto;
}

main {
  flex: 1;
  display: flex;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  flex-direction: column;
}

/* Hero Section (Index Page) */
.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  min-height: calc(100vh - 100px);
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
  z-index: 1;
}

.badge {
  align-self: flex-start;
  padding: 0.5rem 1rem;
  background: rgba(34, 211, 238, 0.1);
  color: var(--cyan-light);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 0.5rem;
}

.hero-description {
  color: var(--text-secondary);
  font-size: clamp(1rem, 2vw, 1.125rem);
  max-width: 90%;
}

.features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 0.5rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-primary);
  font-weight: 400;
}

.feature-item i {
  color: var(--turquoise);
  font-size: 1.25rem;
}

.cta-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-start;
  margin-top: 1.5rem;
}

.buttons-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: var(--gradient-primary);
  color: var(--bg-darker);
  padding: 1rem 2.5rem;
  border-radius: 8px;
  font-size: 1.125rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border: none;
}

.primary-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

.primary-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 35px rgba(6, 182, 212, 0.5);
}

.primary-btn:hover::before {
  left: 100%;
}

.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: transparent;
  color: var(--text-primary);
  padding: 1rem 2.5rem;
  border-radius: 8px;
  font-size: 1.125rem;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid var(--turquoise);
}

.secondary-btn:hover {
  background: rgba(20, 184, 166, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(6, 182, 212, 0.2);
}

.pulse-anim {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(6, 182, 212, 0.4);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(6, 182, 212, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(6, 182, 212, 0);
  }
}

.sub-text {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Desktop top-right buttons positioning */
.hero-container {
  position: relative;
}

.desktop-buttons {
  position: absolute;
  top: 22%;
  right: 2.5%;
  margin-top: -100px;
  z-index: 20;
  display: flex;
  gap: 1rem;
  max-width: 500px;
  width: 100%;
}

@media (min-width: 901px) {
  .desktop-buttons {
    display: flex;
  }
  
  .mobile-buttons {
    display: none;
  }
  
  .desktop-buttons .primary-btn {
    box-shadow: 0 12px 30px rgba(6, 182, 212, 0.5);
  }
}

@media (max-width: 900px) {
  .desktop-buttons {
    display: none !important;
  }
  
  .mobile-buttons {
    display: flex;
    justify-content: center;
    width: 100%;
  }
  
  .mobile-buttons .buttons-group {
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    max-width: 300px;
  }
  
  .mobile-buttons .primary-btn {
    width: 100%;
  }
}

/* Hero Image Right Side */
.hero-image-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  perspective: 1000px;   /* 3D perspective only meaningful on desktop */
  width: 100%;
  padding-top: 4rem; /* Space for floating buttons above */
}

.hero-image-wrapper .cta-wrapper {
  align-items: center;
  text-align: center;
}

.hero-image-wrapper .buttons-group {
  justify-content: center;
}

.glass-preview {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: var(--glass-backdrop);
  backdrop-filter: var(--glass-backdrop);
  border-radius: 20px;
  width: 100%;
  max-width: 500px;
  box-shadow: var(--glass-shadow);
  transform: rotateY(-10deg) rotateX(5deg);
  transition: transform 0.5s ease;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

.glass-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.05) 0%,
    transparent 100%
  );
  pointer-events: none;
}

.hero-image-wrapper:hover .glass-preview {
  transform: rotateY(0deg) rotateX(0deg);
}

.preview-header {
  background: rgba(0, 0, 0, 0.2);
  padding: 1rem;
  border-bottom: 1px solid var(--glass-border);
}

.dots {
  display: flex;
  gap: 8px;
}

.dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #475569;
}

.dots span:nth-child(1) {
  background: #ef4444;
}
.dots span:nth-child(2) {
  background: #eab308;
}
.dots span:nth-child(3) {
  background: #22c55e;
}

.preview-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.stats-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 1.25rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition:
    transform 0.3s ease,
    background 0.3s ease;
}

.stats-card:hover {
  transform: translateX(10px);
  background: rgba(255, 255, 255, 0.1);
}

.outline-card {
  background: transparent;
  border: 1px dashed var(--turquoise);
}

.outline-card:hover {
  background: rgba(20, 184, 166, 0.05);
}

.stat-icon {
  width: 48px;
  height: 48px;
  background: var(--gradient-primary);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.25rem;
  color: var(--bg-darker);
  box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
}

.outline-card .stat-icon {
  background: transparent;
  border: 2px solid var(--turquoise);
  color: var(--cyan-light);
  box-shadow: none;
}

.stat-info h4 {
  font-size: 1.25rem;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.stat-info p {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.course-progress {
  padding: 1.5rem;
  background: linear-gradient(
    135deg,
    rgba(20, 184, 166, 0.1),
    rgba(6, 182, 212, 0.1)
  );
  border-radius: 16px;
  border: 1px solid var(--glass-border);
}

.progress-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.9rem;
}

.progress-bar-bg {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
}

.progress-fill {
  width: 0%;
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 4px;
  animation: fillProgress 2s ease-out 0.5s forwards;
}

@keyframes fillProgress {
  to {
    width: 98%;
  }
}

/* =========================================
   Form Page
   ========================================= */
.form-page main {
  align-items: center;
  justify-content: center;
}

.form-container {
  width: 100%;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 0 auto;
}

.back-link {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-weight: 300;
  transition: color 0.3s ease;
}

.back-link:hover {
  color: var(--cyan);
}

.form-glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: var(--glass-backdrop);
  backdrop-filter: var(--glass-backdrop);
  border-radius: 24px;
  padding: 3rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  width: 100%;
}

.form-title {
  font-size: clamp(2rem, 4vw, 2.5rem);
  margin-bottom: 0.5rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.form-subtitle {
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.input-group {
  margin-bottom: 1.5rem;
}

.input-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  font-weight: 400;
  font-size: 0.9rem;
}

.input-icon-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon-wrapper .icon {
  position: absolute;
  left: 1rem;
  color: var(--text-muted);
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.input-icon-wrapper input,
.input-icon-wrapper select {
  width: 100%;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  padding: 1rem 1rem 1rem 3rem;
  border-radius: 12px;
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
  outline: none;
  cursor: pointer;
}

/* For select specific arrow coloring / reset depending on OS */
.input-icon-wrapper select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%2394a3b8%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem top 50%;
  background-size: 0.65rem auto;
}

.input-icon-wrapper select option {
  background-color: var(--bg-dark);
  color: var(--text-primary);
}

.input-icon-wrapper input:focus,
.input-icon-wrapper select:focus {
  border-color: var(--turquoise);
  background: rgba(15, 23, 42, 0.95);
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.1);
}

.input-icon-wrapper input:focus + .icon,
.input-icon-wrapper select:focus + .icon {
  color: var(--cyan);
}

.input-icon-wrapper input::placeholder {
  color: var(--text-muted);
}

/* Custom Select Elements */
.custom-select-wrapper {
  position: relative;
  width: 100%;
  z-index: 20;
}

.custom-select {
  position: relative;
  width: 100%;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  z-index: 10;
}

.custom-select.open {
  border-color: var(--turquoise);
  background: rgba(15, 23, 42, 0.95);
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.1);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.hidden-select {
  display: none !important;
}

.custom-select-trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1rem 1rem 3rem;
  color: var(--text-muted);
}

.custom-select.has-value .custom-select-text {
  color: var(--text-primary);
}

.custom-select-trigger .dropdown-icon {
  transition:
    transform 0.3s ease,
    color 0.3s ease;
}

.custom-select.open .dropdown-icon {
  transform: rotate(180deg);
  color: var(--cyan);
}

.custom-options-container {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 4px;
  background: var(--bg-dark);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: var(--glass-backdrop);
  backdrop-filter: var(--glass-backdrop);
  max-height: 0;
  overflow-y: hidden;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 100;
}

.custom-select.open .custom-options-container {
  max-height: 250px;
  overflow-y: auto;
  opacity: 1;
  visibility: visible;
}

.custom-options-container::-webkit-scrollbar {
  width: 6px;
}
.custom-options-container::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}
.custom-options-container::-webkit-scrollbar-thumb {
  background: var(--text-muted);
  border-radius: 8px;
}
.custom-options-container::-webkit-scrollbar-thumb:hover {
  background: var(--turquoise);
}

.custom-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 12px 16px;
  color: var(--text-secondary);
  transition: all 0.2s ease;
  border-left: 2px solid transparent;
}

.custom-option .option-icon {
  font-size: 1.1rem;
  color: var(--text-muted);
  transition: all 0.2s ease;
  width: 20px;
  text-align: center;
}

.custom-option:hover,
.custom-option.selected {
  background: rgba(20, 184, 166, 0.1);
  color: var(--text-primary);
  border-left-color: var(--turquoise);
}

.custom-option:hover .option-icon,
.custom-option.selected .option-icon {
  color: var(--cyan);
  transform: scale(1.1);
}

.submit-btn {
  width: 100%;
  background: var(--gradient-primary);
  color: var(--bg-darker);
  border: none;
  padding: 1.25rem;
  border-radius: 12px;
  font-size: 1.125rem;
  font-weight: 800;
  cursor: pointer;
  margin-top: 1rem;
  transition: all 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  font-family: inherit;
  box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(6, 182, 212, 0.4);
  background: linear-gradient(135deg, var(--cyan), var(--turquoise));
}

/* =========================================
   Responsive Design
   ========================================= */
@media (max-width: 1024px) {
  .hero-container {
    gap: 2rem;
  }
}

@media (max-width: 900px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
    min-height: 0;
    padding-bottom: 2rem;
  }

  .hero-content {
    align-items: center;
  }

  .badge {
    align-self: center;
  }

  .hero-description {
    max-width: 100%;
  }

  .features-list {
    justify-content: center;
  }

  .cta-wrapper {
    align-items: center;
    width: 100%;
  }

  /* ✅ Fix: Remove 3D perspective + rotation that causes horizontal overflow (orange background) */
  .hero-image-wrapper {
    margin-top: 2rem;        /* Positive margin — no overlap */
    perspective: none;       /* Kill 3D perspective */
    gap: 1.5rem;
  }

  .glass-preview {
    transform: none !important;   /* Flat card on mobile — no rotateY/rotateX overflow */
    max-width: 100%;              /* Full container width */
    width: 100%;
  }

  /* Disable hover 3D reset on mobile (no hover on touch) */
  .hero-image-wrapper:hover .glass-preview {
    transform: none !important;
  }
}

@media (max-width: 768px) {
  .site-header {
    padding: 1rem 1.5rem;
  }

  main {
    padding: 1.5rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .form-glass-card {
    padding: 2rem;
  }

  .form-title {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .site-header {
    padding: 1rem;
  }

  .logo {
    max-height: 45px;
  }

  main {
    padding: 1rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .buttons-group {
    flex-direction: column;
    width: 100%;
  }

  .primary-btn, .secondary-btn {
    width: 100%;
    justify-content: center;
  }

  .form-glass-card {
    padding: 1.5rem;
  }

  .preview-body {
    padding: 1.5rem;
  }

  .stats-card {
    flex-direction: column;
    text-align: center;
  }
}

/* =========================================
   Success Page & Popup
   ========================================= */
.success-page main {
    align-items: center;
    justify-content: center;
}

.success-container {
    width: 100%;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
}

.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: opacity 0.5s ease;
}

.popup-overlay.fade-out {
    opacity: 0;
    pointer-events: none;
}

.popup-content {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    -webkit-backdrop-filter: var(--glass-backdrop);
    backdrop-filter: var(--glass-backdrop);
    padding: 3rem;
    border-radius: 24px;
    text-align: center;
    transform: scale(0.9);
    animation: popIn 0.5s forwards cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    max-width: 500px;
    width: 90%;
}

@keyframes popIn {
    to { transform: scale(1); }
}

.success-icon {
    font-size: 5rem;
    color: #10b981;
    margin-bottom: 1.5rem;
    animation: bounce 2s infinite;
    filter: drop-shadow(0 0 10px rgba(16, 185, 129, 0.5));
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-20px); }
    60% { transform: translateY(-10px); }
}

.popup-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #10b981, #34d399);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.video-container {
    width: 100%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    -webkit-backdrop-filter: var(--glass-backdrop);
    backdrop-filter: var(--glass-backdrop);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: var(--glass-shadow);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    display: none;
    z-index: 10;
    text-align: center;
}

.video-container.show {
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 1;
    transform: translateY(0);
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    border-radius: 16px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    margin: 1.5rem 0;
}

.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-title {
    font-size: 1.5rem;
    color: var(--cyan);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.home-btn {
    margin-top: 1.5rem;
    display: inline-flex;
    text-decoration: none;
}

/* =========================================
   Cognix AI Dashboard Completion Section
   ========================================= */
.completion-section {
    position: relative;
    margin-top: 3rem;
    text-align: center;
    z-index: 20;
    display: none;
    opacity: 0;
    pointer-events: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.7s ease;
}

/* Responsive Design for Completion Section */
@media (max-width: 768px) {
    .completion-section {
        margin-top: 2rem;
        width: 90%;
    }
}

@media (max-width: 480px) {
    .completion-section {
        margin-top: 1.5rem;
        width: 95%;
    }
}

.completion-section.show {
    display: flex;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.completion-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.explore-cognix-btn {
    padding: 1.25rem 2.5rem;
    font-size: 1.2rem;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #0ff, #0088ff);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
    transform: scale(0.9);
    opacity: 0;
}

.explore-cognix-btn.animate-in {
    animation: exploreBtnIn 0.7s ease forwards;
}

@keyframes exploreBtnIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.explore-cognix-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.6);
}

.social-container {
    opacity: 0;
    transform: translateY(20px);
}

.social-container.animate-in {
    animation: socialIn 0.8s ease 0.3s forwards;
}

@keyframes socialIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.social-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #0ff;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.social-icons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.social-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 50%;
    color: #0ff;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    opacity: 0;
    transform: scale(0.8);
    text-decoration: none;
}

.social-icon.animate-in {
    animation: socialIconIn 0.5s ease forwards;
}

@keyframes socialIconIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.social-icon:hover {
    transform: scale(1.1);
    background: rgba(0, 255, 255, 0.2);
    border-color: #0ff;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
}

/* Completion Section Responsive Design */
@media (max-width: 768px) {
    .completion-section {
        bottom: 15%;
        width: 90%;
    }
    
    .explore-cognix-btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .social-icons {
        gap: 0.75rem;
    }
    
    .social-icon {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    .social-title {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .completion-section {
        bottom: 10%;
        width: 95%;
    }
    
    .social-icons {
        gap: 0.5rem;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
}
