/* =========================================
   1. RESET & GLOBALS
   ========================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  background: #fff;
  color: #2A2A2A;
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

section {
  padding: 80px 0;
  position: relative;
}

h2 {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 15px;
  color: #111;
}

.section-subtitle {
  font-size: 18px;
  max-width: 800px;
  margin: 0 auto 50px auto;
  text-align: center;
  color: #666;
}


/* =========================================
   2. ANIMATION UTILITIES
   ========================================= */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.gradient-text {
  background: linear-gradient(to right, #60a5fa, #2563EB, #60a5fa);
  background-size: 200% auto;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  animation: shine 4s linear infinite;
}

@keyframes shine {
  to {
    background-position: 200% center;
  }
}

.pulse-btn {
  animation: pulse-blue 2s infinite;
  box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.7);
}

@keyframes pulse-blue {
  0% {
    transform: scale(0.98);
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(37, 99, 235, 0);
  }
  100% {
    transform: scale(0.98);
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
  }
}


/* =========================================
   3. HEADER (Transparent & Merged)
   ========================================= */
/* === HEADER (Fixed & Animated) === */
header {
  position: fixed; /* Sticks to screen */
  top: 0; 
  left: 0; 
  width: 100%; 
  z-index: 1000;
  
  /* 1. INITIAL STATE: Transparent (Shows Video) */
  background: transparent;    
  padding: 20px 0;
  border: none;
  
  /* Smooth transition for the color change */
  transition: all 0.4s ease; 
}

/* 2. SCROLLED STATE: Dark Background */
/* This class is added by JavaScript when you scroll down */
header.scrolled {
  background: #0f172a !important; /* Solid Dark Blue */
  box-shadow: 0 4px 20px rgba(0,0,0,0.2); /* Drop Shadow */
  padding: 10px 0; /* Shrink slightly */
}

header .container {
  width: 100%;
  max-width: 100%;
  padding: 0 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo Styles */
.site-logo {
  height: 90px;
  width: 90px;
  padding: 12px;
  background: white;
  border-radius: 50%;
  object-fit: contain;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  display: block;
}

/* Shrink logo slightly when scrolled (Optional nice touch) */
header.scrolled .site-logo {
  height: 70px;
  width: 70px;
  padding: 8px;
}

.site-logo:hover { transform: scale(1.05); }

/* Navigation Styles */
nav { display: flex; align-items: center; gap: 30px; }

nav a {
  font-size: 15px; 
  font-weight: 500; 
  text-decoration: none; 
  /* Text stays WHITE in both states */
  color: #ffffff; 
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  transition: color 0.3s ease;
  white-space: nowrap;
}

nav a:hover { color: #60a5fa; }

/* Responsive */
@media (max-width: 768px) {
  header .container { padding: 0 20px; }
  .site-logo { height: 60px; }
  header.scrolled .site-logo { height: 50px; }
}


/* =========================================
   4. HERO SECTION (Animated Background)
   ========================================= */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: white;
  text-align: center;
  padding-bottom: 100px; /* Space for carousel */
}

.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.video-background video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.4);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  max-width: 900px;
  margin: 0 auto 20px;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 20px;
  /* color: #cbd5e1; */
  margin-bottom: 30px;
}

.hero-values {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-values span {
  background: rgba(255, 255, 255, 0.1);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-desc {
  max-width: 700px;
  margin: 0 auto 40px;
  /* color: #94a3b8; */
  font-size: 16px;
}

.btn-primary {
  display: inline-block;
  padding: 12px 30px;
  background: #2563EB;
  color: white;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: #1D4ED8;
}

.btn-nav {
  padding: 8px 20px;
  background: #111;
  color: #fff !important;
  border-radius: 4px;
}


/* =========================================
   5. PARTNER CAROUSEL (Fixed & Colored)
   ========================================= */
.carousel-wrapper {
  display: flex;
  width: 100%;
  height: 80px;
  background: rgba(255, 255, 255, 0.1); /* Transparent Glass */
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: none;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 10;
  overflow: hidden;
}

.fixed-tag {
  background-color: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  white-space: nowrap;
}

.partner-carousel {
  flex-grow: 1;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: transparent;
  position: relative;
}

.carousel-track {
  display: flex;
  width: max-content;
  animation: scroll-loop 30s linear infinite;
}

.logo-slide {
  display: flex;
  align-items: center;
}

.partner-logo {
  height: 40px;
  margin: 0 40px;
  opacity: 0.9;
  /* Removed filter to keep original colors */
  transition: 0.3s;
}

.partner-logo:hover {
  opacity: 1;
  transform: scale(1.1);
}

@keyframes scroll-loop {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}


/* =========================================
   6. CORE OFFERINGS (Popup Cards)
   ========================================= */
.bg-light {
  background: #f8fafc;
}

.cards-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.card-wrapper {
  position: relative;
  width: 350px;
  height: 240px;
  margin-bottom: 20px;
  z-index: 1;
}

.card-wrapper:hover {
  z-index: 500;
}

.card {
  width: 100%;
  min-height: 100%;
  background: linear-gradient(to bottom, #dbeafe, #bfdbfe);
  border-radius: 12px;
  padding: 25px;
  box-sizing: border-box;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.6);
  overflow: hidden;
}

.card:hover {
  transform: scale(1.05);
  height: auto;
  min-height: 100%;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
  background: linear-gradient(to bottom, #eff6ff, #dbeafe);
}

.card-title {
  font-size: 20px;
  font-weight: 700;
  color: #1e3a8a;
  margin-top: 0;
  margin-bottom: 8px;
  line-height: 1.3;
  padding-right: 30px;
}

.flagship-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: #2563EB;
  text-transform: uppercase;
  margin-bottom: 15px;
  background: rgba(255, 255, 255, 0.7);
  padding: 4px 10px;
  border-radius: 4px;
}

.hidden-content {
  max-height: 0;
  opacity: 0;
  transition: max-height 0.4s ease-out, opacity 0.3s ease-in;
  font-size: 14px;
  color: #334155;
  line-height: 1.6;
}

.card:hover .hidden-content {
  max-height: 1000px;
  opacity: 1;
  margin-top: 15px;
  transition-delay: 0.1s;
}

.hidden-content ul {
  padding-left: 20px;
  margin: 10px 0;
}

.hidden-content li {
  margin-bottom: 6px;
}

.outcome-box {
  background: #fff;
  padding: 12px;
  border-radius: 6px;
  margin-top: 15px;
  font-weight: 600;
  color: #1e40af;
  border-left: 4px solid #2563EB;
  font-size: 13px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.go-corner {
  position: absolute;
  top: 0;
  right: 0;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #2563EB, #1e40af);
  border-radius: 0 0 0 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: width 0.3s, height 0.3s;
}

.go-arrow {
  color: white;
  margin-left: 10px;
  margin-bottom: 10px;
  font-size: 20px;
  font-family: sans-serif;
}

.card:hover .go-corner {
  width: 60px;
  height: 60px;
}


/* =========================================
   7. WHY GTM (Premium Sticky Stack)
   ========================================= */
/* Section Container (Dark Mode) */
#why-gtm.dark-section {
  background: radial-gradient(circle at 50% 0%, #2e1065 0%, #0f172a 60%, #000000 100%);
  color: #fff;
  padding-bottom: 120px;
  position: relative;
  z-index: 10;
}

/* Light text helpers for this dark section */
.text-light { color: #cbd5e1 !important; }
.gradient-text-light {
  background: linear-gradient(to right, #fff, #94a3b8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Stack Area Wrapper */
.stack-area {
  padding-top: 60px;
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

/* The Sticky Card */
.stack-card {
  position: sticky;
  top: 150px;
  height: 380px;
  margin-bottom: 60px;
  
  /* Glassmorphism Body */
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 24px;
  
  /* Layout */
  display: flex;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  
  z-index: 1;
}

/* Animated Neon Border */
.stack-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 26px; 
  padding: 2px;
  
  /* Moving Gradient */
  background: conic-gradient(
    from 0deg, 
    transparent 0deg, 
    transparent 90deg, 
    var(--glow-color) 180deg, 
    transparent 270deg, 
    transparent 360deg
  );
  
  animation: border-spin 4s linear infinite;
  z-index: -1;
}

/* The Glow Bloom */
.stack-card::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 26px;
  background: inherit;
  z-index: -2;
  filter: blur(20px);
  opacity: 0.5;
}

@keyframes border-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Card Content */
.card-content {
  flex: 1;
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(to right, rgba(15,23,42,0.95), rgba(15,23,42,0.6));
  z-index: 2;
}

.card-num {
  font-size: 80px;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.1);
  line-height: 1;
  margin-bottom: -20px;
  margin-left: -5px;
}

.card-content h3 {
  font-size: 28px;
  color: #fff;
  margin-bottom: 15px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.card-content p {
  font-size: 15px;
  line-height: 1.7;
  color: #cbd5e1;
  margin: 0;
}

/* Right Side Visual */
.card-visual {
  flex: 0 0 35%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  position: relative;
}

.card-visual span {
  filter: drop-shadow(0 0 20px var(--glow-color));
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
}

/* Custom Colors per Card */
.card-1 { --glow-color: #2563EB; }
.card-2 { --glow-color: #10b981; }
.card-3 { --glow-color: #f59e0b; }
.card-4 { --glow-color: #8b5cf6; }
.card-5 { --glow-color: #ec4899; }


/* =========================================
   8. MENTORS (Horizontal Alternating Layout)
   ========================================= */
.mentor-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-bottom: 80px;
}

.mentor-row {
  display: flex;
  flex-direction: row;
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.mentor-row:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.15);
  border-color: #2563EB;
}

.mentor-row:hover .img-wrapper img {
  transform: scale(1.1);
}

.mentor-row:nth-child(even) {
  flex-direction: row-reverse;
}

.mentor-profile {
  width: 35%;
  min-width: 280px;
  background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-right: 1px solid #e2e8f0;
  z-index: 2;
}

.mentor-row:nth-child(even) .mentor-profile {
  border-right: none;
  border-left: 1px solid #e2e8f0;
}

.mentor-profile h3 {
  font-size: 22px;
  color: #1e293b;
  margin: 15px 0 5px;
}

.mentor-profile .role-highlight {
  color: #2563EB;
  font-size: 14px;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-weight: 700;
}

.social-btn {
  background: #0077b5;
  color: white;
  padding: 10px 24px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
  display: inline-block;
}

.social-btn:hover {
  background: #005f93;
}

.img-wrapper {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, #2563EB, #60a5fa);
  margin-bottom: 15px;
  overflow: hidden;
}

.img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid white;
  transition: transform 0.5s ease;
}

.mentor-bio {
  width: 65%;
  padding: 50px 40px;
  display: flex;
  align-items: center;
  background: #fff;
}

.mentor-bio ul {
  padding-left: 20px;
  margin: 0;
}

.mentor-bio li {
  font-size: 14px;
  color: #475569;
  margin-bottom: 15px;
  line-height: 1.7;
}


/* =========================================
   9. ADVISORS (Grid + Flip Cards)
   ========================================= */
.advisors-section {
  text-align: center;
  margin-top: 80px;
  padding-top: 60px;
  border-top: 1px solid #e2e8f0;
}

.advisors-section h3 {
  font-size: 28px;
  margin-bottom: 40px;
  color: #333;
}

.advisor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.advisor-flip-wrapper {
  background-color: transparent;
  width: 100%;
  height: 380px;
  perspective: 1000px;
}

.advisor-flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-style: preserve-3d;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
  border-radius: 16px;
}

.advisor-flip-wrapper:hover .advisor-flip-inner {
  transform: rotateY(180deg);
}

.advisor-front,
.advisor-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 16px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid #e2e8f0;
  background: white;
}

.advisor-front .adv-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #f1f5f9;
  margin-bottom: 20px;
}

.advisor-front h4 {
  font-size: 20px;
  margin: 0 0 5px 0;
  color: #1e293b;
}

.advisor-front span {
  font-size: 14px;
  color: #2563EB;
  font-weight: 600;
  text-transform: uppercase;
}

.tap-hint {
  margin-top: auto;
  font-size: 12px;
  color: #94a3b8;
  border: 1px solid #eee;
  padding: 5px 15px;
  border-radius: 20px;
}

.advisor-back {
  background: linear-gradient(to bottom right, #f8fafc, #eff6ff);
  transform: rotateY(180deg);
  text-align: left;
  align-items: flex-start;
  padding: 30px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
}

.advisor-back::-webkit-scrollbar {
  width: 4px;
}

.advisor-back::-webkit-scrollbar-thumb {
  background-color: #cbd5e1;
  border-radius: 20px;
}

.advisor-back h4 {
  color: #2563EB;
  font-size: 18px;
  margin-bottom: 15px;
}

.long-bio {
  font-size: 13px;
  color: #475569;
  line-height: 1.6;
}


/* =========================================
   10. OTHER SECTIONS
   ========================================= */
.bg-dark {
  background: #1e293b;
  color: white;
}

.bg-dark h2,
.bg-dark .section-subtitle {
  color: white;
}

.who-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  align-items: center;
}

.who-list {
  flex: 1;
  list-style: none;
}

.who-list li {
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 18px;
}

.who-cta {
  flex: 1;
  background: #2563EB;
  padding: 40px;
  border-radius: 12px;
  text-align: center;
}

.who-cta h3 {
  color: white;
  margin-bottom: 20px;
}

.who-cta .btn-primary {
  background: white;
  color: #2563EB;
}

.journey-steps {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.step {
  flex: 1;
  min-width: 180px;
  text-align: center;
  background: white;
  padding: 20px;
  border: 1px solid #eee;
  border-radius: 8px;
  position: relative;
}

.step-number {
  background: #2563EB;
  color: white;
  width: 40px;
  height: 40px;
  line-height: 40px;
  border-radius: 50%;
  margin: 0 auto 15px;
  font-weight: 700;
}

.step h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.step p {
  font-size: 14px;
  color: #666;
}


/* =========================================
   11. FOOTER & CONTACT
   ========================================= */
footer {
  background: #111;
  color: #fff;
  padding: 60px 0;
}

footer h2 {
  color: white;
  margin-bottom: 40px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info h3 {
  font-size: 22px;
  margin-bottom: 5px;
  color: #fff;
}

.contact-info p {
  margin-bottom: 10px;
  color: #aaa;
}

.contact-info a {
  color: #3b82f6;
  text-decoration: none;
}

.contact-form {
  background: #222;
  padding: 30px;
  border-radius: 10px;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-size: 14px;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 10px;
  border-radius: 4px;
  border: none;
}


/* =========================================
   12. RESPONSIVE
   ========================================= */
@media (max-width: 900px) {
  .advisor-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  nav {
    display: none;
  }

  .hero-title {
    font-size: 32px;
  }

  .who-wrapper,
  .journey-steps,
  .contact-grid {
    flex-direction: column;
    grid-template-columns: 1fr;
  }

  .step {
    margin-bottom: 20px;
  }

  .carousel-wrapper {
    flex-direction: column;
    height: auto;
  }

  .fixed-tag {
    width: 100%;
    padding: 10px;
  }

  .partner-carousel {
    width: 100%;
    padding: 10px 0;
  }

  .site-logo {
    height: 60px;
    width: 60px;
    padding: 8px;
  }

  header {
    padding: 10px 0;
  }

  /* Mentors Stack on Mobile */
  .mentor-row,
  .mentor-row:nth-child(even) {
    flex-direction: column;
  }

  .mentor-profile {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #e2e8f0;
    border-left: none !important;
  }

  .mentor-bio {
    width: 100%;
    padding: 30px;
  }

  .advisor-grid {
    grid-template-columns: 1fr;
  }
  
  /* Why GTM Mobile Fixes */
  .stack-card {
    flex-direction: column-reverse;
    height: auto; 
    top: 100px;
  }
  .card-visual {
    height: 150px;
    background: rgba(0,0,0,0.2);
    width: 100%;
    flex: none;
  }
  .card-content { padding: 30px; }
  .card-num { font-size: 50px; }
  .card-content h3 { font-size: 24px; }
}
/* =========================================
   SECTION: JOURNEY (Animated Border)
   ========================================= */

/* 1. DEFINE ANIMATION PROPERTIES (Required for rotation) */
@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

/* 2. SECTION CONTAINER */
#journey {
  /* Dark Background to make borders pop */
  background: #0b0d12; 
  padding-bottom: 100px;
  position: relative;
  z-index: 5;
}

#journey h2 {
  color: #fff;
  margin-bottom: 10px;
}

#journey .section-subtitle {
  color: #94a3b8;
}

/* 3. GRID LAYOUT */
.journey-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

/* 4. THE MAGIC CARD */
.journey-card {
  position: relative;
  background: #15171e; /* Card Base Color */
  border-radius: 20px;
  padding: 3px; /* This padding becomes the border width */
  isolation: isolate; /* Creates a new stacking context */
  overflow: hidden;
  
  /* The Rotating Border Logic */
  background-image: conic-gradient(from var(--angle), transparent 20%, #2563EB, #60a5fa, #2563EB, transparent 80%);
  animation: borderRotate 4s linear infinite;
  
  /* Initial State for Scroll Reveal */
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Reveal Active State */
.journey-card.active {
  opacity: 1;
  transform: translateY(0);
}

/* The Animation Keyframes */
@keyframes borderRotate {
  to {
    --angle: 360deg;
  }
}

/* 5. INNER CONTENT (Covers the middle so only border shows) */
.card-inner {
  background: #15171e; /* Matches card base to hide the center of gradient */
  border-radius: 18px; /* Slightly smaller than parent */
  height: 100%;
  width: 100%;
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

/* 6. CONTENT STYLING */
.journey-card .step-number {
  font-size: 60px;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.2); /* Outline number style */
  line-height: 1;
  margin-bottom: 20px;
  position: relative;
}

/* Add a glowing dot to the number */
.journey-card .step-number::after {
  content: "";
  position: absolute;
  bottom: 10px;
  right: -15px;
  width: 10px;
  height: 10px;
  background: #2563EB;
  border-radius: 50%;
  box-shadow: 0 0 10px #2563EB;
}

.journey-card h3 {
  font-size: 24px;
  color: #fff;
  margin-bottom: 15px;
  font-weight: 600;
}

.journey-card p {
  font-size: 15px;
  color: #94a3b8; /* Soft grey text */
  line-height: 1.6;
}

/* Hover Effect: Pause animation or brighten */
.journey-card:hover {
  box-shadow: 0 0 30px rgba(37, 99, 235, 0.2); /* Blue glow */
}

/* =========================================
   SECTION: JOURNEY (Cyberpunk Roadmap)
   ========================================= */

/* 1. ANIMATION PROPERTY (Required for spinning border) */
@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

/* 2. SECTION CONTAINER */
#journey {
  /* Deep Dark Background */
  background: radial-gradient(circle at 50% 50%, #111827 0%, #000000 100%);
  padding-bottom: 120px;
  position: relative;
  z-index: 5;
  overflow: hidden;
}

/* 3. THE GLOWING TIMELINE */
.timeline {
  position: relative;
  max-width: 900px;
  margin: 60px auto 0;
  padding: 20px 0;
}

/* The Central Line */
.timeline::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0; left: 50%;
  width: 4px;
  background: rgba(37, 99, 235, 0.2);
  transform: translateX(-50%);
  border-radius: 2px;
  z-index: 0;
}

/* The "Energy Pulse" moving down the line */
.timeline::after {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  width: 4px;
  height: 150px; /* Length of the pulse */
  background: linear-gradient(to bottom, transparent, #2563EB, #60a5fa, transparent);
  transform: translateX(-50%);
  animation: line-flow 3s linear infinite;
  z-index: 1;
}

@keyframes line-flow {
  0% { top: -10%; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: 110%; opacity: 0; }
}

/* 4. TIMELINE ITEM LAYOUT */
.timeline-item {
  position: relative;
  width: 50%;
  padding: 0 50px; /* Space from center line */
  margin-bottom: 60px;
  box-sizing: border-box;
  z-index: 2; /* Sit above the line */
}

/* Alternating Sides */
.timeline-item:nth-child(odd) { left: 0; text-align: right; }
.timeline-item:nth-child(even) { left: 50%; text-align: left; }

/* The Glowing Dot */
.timeline-dot {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: -11px; /* Adjust based on line width */
  width: 22px; height: 22px;
  background: #000;
  border: 4px solid #2563EB;
  border-radius: 50%;
  box-shadow: 0 0 15px #2563EB;
  z-index: 5;
}
.timeline-item:nth-child(even) .timeline-dot { left: -11px; right: auto; }

/* 5. THE NEON CARD (Animated Border) */
.neon-card {
  position: relative;
  background: #1e293b; /* Card Base */
  border-radius: 20px;
  padding: 2px; /* Border Width */
  
  /* The Spinning Gradient Border */
  background-image: conic-gradient(from var(--angle), transparent 20%, #2563EB, #60a5fa, #2563EB, transparent 80%);
  animation: borderRotate 4s linear infinite;
  
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  transition: transform 0.3s;
}

.neon-card:hover {
  transform: scale(1.03); /* Slight Zoom */
  box-shadow: 0 0 40px rgba(37, 99, 235, 0.3); /* Stronger Glow */
}

@keyframes borderRotate {
  to { --angle: 360deg; }
}

/* 6. INNER CARD CONTENT */
.card-inner {
  background: #0f172a; /* Inner Background (hides center of gradient) */
  border-radius: 18px;
  padding: 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

/* Align content based on side */
.timeline-item:nth-child(odd) .card-inner { align-items: flex-end; }
.timeline-item:nth-child(even) .card-inner { align-items: flex-start; }

/* 7. TYPOGRAPHY */
.step-num {
  font-size: 50px;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.1);
  line-height: 1;
  margin-bottom: 10px;
}

.neon-card h3 {
  font-size: 24px;
  color: #fff;
  margin-bottom: 10px;
  text-shadow: 0 0 10px rgba(37, 99, 235, 0.5);
}

.neon-card p {
  font-size: 14px;
  color: #94a3b8;
  line-height: 1.6;
  margin: 0;
}

/* RESPONSIVE: Stack vertically on mobile */
@media (max-width: 768px) {
  .timeline::before, .timeline::after { left: 20px; } /* Move line to left */
  
  .timeline-item {
    width: 100%;
    left: 0 !important;
    padding-left: 60px;
    padding-right: 0;
    text-align: left !important;
  }
  
  .timeline-dot {
    left: 9px !important; /* Move dot to left line */
    right: auto;
  }
  
  .card-inner { align-items: flex-start !important; }
}


.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s ease-out; }
    .reveal.active { opacity: 1; transform: translateY(0); }
    .pulse-btn { animation: pulse-blue 2s infinite; box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.7); }
    @keyframes pulse-blue {
      0% { transform: scale(0.98); box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.7); }
      70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(37, 99, 235, 0); }
      100% { transform: scale(0.98); box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
    }

    /* =========================================
       SECTION: EVENT SPOTLIGHT (LANDSCAPE)
       ========================================= */
    #event-spotlight {
      background: #0f172a; /* Dark Blue */
      padding: 80px 0;
      color: #fff;
      border-bottom: 1px solid rgba(255,255,255,0.1);
      position: relative;
      text-align: center;
      overflow: hidden;
    }

    /* Header */
    .section-header { margin-bottom: 40px; }
    .event-tag {
      background: rgba(251, 191, 36, 0.2);
      color: #fbbf24;
      padding: 6px 16px;
      border-radius: 50px;
      font-size: 13px;
      font-weight: 700;
      letter-spacing: 1px;
      text-transform: uppercase;
      margin-bottom: 20px;
      display: inline-block;
      border: 1px solid rgba(251, 191, 36, 0.3);
    }

    #event-spotlight h2 { font-size: 42px; margin-bottom: 10px; color: #fff; font-weight: 700; }
    .event-sub { color: #94a3b8; font-size: 18px; margin-bottom: 0; font-weight: 500; }


    /* 1. LARGE LANDSCAPE POSTER CONTAINER */
    .event-visual-large {
      width: 100%;
      max-width: 1000px;
      margin: 0 auto 50px auto;
      position: relative;
      background: #1e293b;
      border-radius: 16px;
      padding: 10px;
      border: 1px solid rgba(255,255,255,0.1);
      box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    }

    .event-poster-landscape {
      width: 100%;
      height: 600px; /* Taller height for PDF visibility */
      border-radius: 8px;
      display: block;
      background: white; /* Fallback if PDF loads slow */
    }

    .mobile-pdf-link {
      display: none;
      margin-top: 10px;
      font-size: 14px;
      color: #cbd5e1;
    }
    .mobile-pdf-link a { color: #60a5fa; text-decoration: underline; }


    /* 2. INFO SECTION (Wide) */
    .event-info-wide {
      max-width: 900px;
      margin: 0 auto;
    }

    .event-desc-center {
      font-size: 18px;
      color: #cbd5e1;
      line-height: 1.7;
      margin-bottom: 40px;
      max-width: 700px;
      margin-left: auto;
      margin-right: auto;
    }


    /* Prize Grid */
    .prizes-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 20px;
      margin-bottom: 50px;
    }

    .prize-card {
      background: rgba(255,255,255,0.03);
      padding: 25px;
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 15px;
      text-align: left;
      border: 1px solid rgba(255,255,255,0.05);
      transition: transform 0.3s;
    }
    .prize-card:hover { transform: translateY(-5px); background: rgba(255,255,255,0.06); }
    .prize-icon { font-size: 32px; }
    .prize-card strong { display: block; font-size: 16px; color: #fff; margin-bottom: 2px; }
    .prize-card span { font-size: 14px; color: #94a3b8; }

    .prize-card.gold { border-color: rgba(251, 191, 36, 0.4); box-shadow: 0 0 20px rgba(251, 191, 36, 0.1); }
    .prize-card.silver { border-color: rgba(203, 213, 225, 0.3); }
    .prize-card.bronze { border-color: rgba(217, 119, 6, 0.3); }


    /* Bottom Row: Dates + Actions */
    .event-bottom-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      border-top: 1px solid rgba(255,255,255,0.1);
      padding-top: 40px;
      flex-wrap: wrap;
      gap: 30px;
    }

    .event-dates { display: flex; gap: 40px; }
    .date-item { text-align: left; }
    .d-label { display: block; font-size: 12px; color: #64748b; text-transform: uppercase; margin-bottom: 5px; letter-spacing: 0.5px; }
    .d-val { display: block; font-size: 20px; font-weight: 700; color: #fff; }
    .date-item.highlight .d-val { color: #fbbf24; }

    .event-actions { display: flex; align-items: center; gap: 25px; }
    
    .btn-primary {
      display: inline-block; padding: 14px 35px; background: #2563EB; color: white; border-radius: 6px; text-decoration: none; font-weight: 600; transition: 0.3s; border: none; cursor: pointer;
    }
    .btn-primary:hover { background: #1D4ED8; }

    .btn-text {
      color: #fff; text-decoration: none; font-size: 15px; font-weight: 600; border-bottom: 1px solid rgba(255,255,255,0.5); padding-bottom: 2px; transition: 0.3s;
    }
    .btn-text:hover { color: #60a5fa; border-color: #60a5fa; }

    /* Responsive */
    @media (max-width: 900px) {
      .event-poster-landscape { height: 500px; }
    }

    @media (max-width: 768px) {
      .event-visual-large { padding: 5px; }
      .event-poster-landscape { height: 400px; }
      
      /* Mobile Fallback */
      .event-poster-landscape { display: none; } 
      .mobile-pdf-link { display: block; padding: 40px; background: #2a303c; border-radius: 8px; }

      .event-bottom-row { flex-direction: column; text-align: center; }
      .event-dates { justify-content: center; width: 100%; gap: 20px; }
      .date-item { text-align: center; }
      .event-actions { flex-direction: column; width: 100%; }
      .prizes-grid { grid-template-columns: 1fr; }
    }