/* ================= GLOBAL & LAYOUT ================= */
* {
  box-sizing: border-box;
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
}

body {
  margin: 0;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

/* ================= NAVBAR ================= */
.navbar {
  padding: 20px 40px;
  display: flex;
  justify-content: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 40px;
}

.logo img {
  height: 80px;
}

.logo span {
  color: #99111e;
}

/* ================= HERO SECTION ================= */
/* ================= HERO SECTION ================= */
.hero {
  /* Change height from 100vh to auto or a specific height */
  height: auto; 
  min-height: 420px; /* Adjust this number to get the exact look you want */
  text-align: center;
  padding-bottom: 20px; /* Tightens the gap to the image */
}

.hero-content {
  margin-top: 40px;
}
.hero h1 {
  font-size: 38px;
  margin-bottom: 4px;
}

.hero p {
  color: #99111e;
  font-size: 20px;
}

.hero-image img {
  width: 100%;
  display: block;
}

/* ================= BUTTONS (GENERAL INTERACTIVE) ================= */
/* This ensures all buttons share smooth transitions */
.primary-btn, 
.final-btn, 
.report-btn, 
.back-btn, 
.intake-btn, 
.course-btn {
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  cursor: pointer;
}

.primary-btn {
  margin-top: 30px;
  padding: 30px 60px;
  border-radius: 40px;
  border: none;
  background: linear-gradient(135deg, #99111e, #11163c);
  color: white;
  width: 65%;
}

.primary-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(153, 17, 30, 0.3);
  filter: brightness(1.1);
}

.primary-btn:active {
  transform: scale(0.98);
}

.primary-btn.full {
  width: 100%;
  margin-top: 0;
}

/* ================= FORM SECTION ================= */
.form-section {
  background: linear-gradient(135deg, #99111e, #11163c);
  padding: 80px 40px;
  color: white;
}

.form-wrapper {
  max-width: 1100px;
  margin: auto;
  display: flex;
  gap: 40px;
  align-items: center;
}

.form-left {
  flex: 0 0 35%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.form-left h2 {
  font-size: 34px;
  line-height: 1.3;
  margin-bottom: 40px;
}

.form-right {
  flex: 1 1 65%;
  min-width: 380px;
  background: #f4f5fb;
  padding: 40px;
  border-radius: 20px;
  color: #000;
}

/* OPTIONS (STEP BUTTONS) */
.options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 25px;

}

.option {
  padding: 14px;
  border-radius: 12px;
  border: 2px solid #ddd;
  background: white;
  color: #000;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: default; /* Static by default */
}

/* INTERACTIVE OPTIONS (INTAKE & COURSE) */
.intake-btn, .course-btn {
  cursor: pointer;
}

.intake-btn:hover, .course-btn:hover {
  border-color: #99111e;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.intake-btn.active, .course-btn.active {
  border-color: #99111e !important;
  background: #fde8ea !important;
  color: #99111e !important;
  transform: scale(1.02);
}

/* VERTICAL STEPS (LEFT SIDE) */
.steps-vertical {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.step-item {
  display: flex;
  align-items: center;
  gap: 18px;
  opacity: 0.6;
  transition: all 0.4s ease;
}

.step-item.active {
  opacity: 1;
}

.step-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ffffff;
  color: #11163c;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.step-item.active .step-circle {
  background: #4f46ff;
  color: #ffffff;
  box-shadow: 0 0 15px rgba(79, 70, 255, 0.4);
}

.step-text {
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
}

/* FORM INPUTS */
.input {
  width: 100%;
  padding: 16px;
  margin-bottom: 20px;
  border-radius: 12px;
  border: 1px solid #ddd;
  outline: none;
  transition: border 0.3s;
}

.input:focus {
  border-color: #4f46ff;
}

.hidden {
  display: none;
}

/* ================= BUTTON GROUPS (BACK/CONTINUE) ================= */
.button-group {
  display: flex;
  gap: 15px;
  margin-top: 30px;
  align-items: center;
}

.back-btn {
  background: transparent;
  border: 2px solid #ddd;
  color: #666;
  padding: 16px 30px;
  border-radius: 40px;
  font-weight: 600;
  white-space: nowrap;
}

.back-btn:hover {
  border-color: #99111e;
  color: #99111e;
  background: #fffafa;
  transform: translateX(-3px);
}

.button-group .primary-btn.full {
  flex: 1;
  padding: 16px 30px;
}

/* ================= ELIGIBILITY SLIDER ================= */
.eligibility-section {
  padding: 100px 40px;
  text-align: center;
  background: #f5f6ff;
}

.section-tag {
  font-size: 14px;
  letter-spacing: 1px;
  color: #666;
}

.section-title {
  font-size: 36px;
  margin: 10px 0 60px;
}

.slider {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 20px 10px;
  scrollbar-width: none;
}

.slider::-webkit-scrollbar {
  display: none;
}

.slide-card {
  min-width: 340px;
  background: #fff;
  border-radius: 24px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
}

.slide-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
  border: 1px solid #99111e;
}

.badge {
  background: #0f9d58;
  color: #fff;
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 15px;
}

.location {
  font-size: 14px;
  color: #777;
}

.slide-card h3 {
  font-size: 24px;
  margin: 10px 0 20px;
}

.divider {
  height: 2px;
  background: #e6e8ff;
  margin-bottom: 20px;
}

.info {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.label {
  font-size: 13px;
  color: #777;
}

.report-btn {
  margin-top: 60px;
  padding: 18px 50px;
  border-radius: 16px;
  border: none;
  font-size: 16px;
  background: linear-gradient(135deg, #99111e, #11163c);
  color: white;
  box-shadow: 0 10px 30px rgba(90,90,255,0.4);
}

.report-btn:hover {
  transform: translateY(-4px);
  filter: brightness(1.2);
  box-shadow: 0 15px 35px rgba(153, 17, 30, 0.4);
}

/* ================= ACHIEVERS ================= */
.achievers {
  padding: 100px 40px;
  text-align: center;
}

.cards {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.achievers .card img {
  width: 100px;         /* Increased from 56px */
  height: 100px;        /* Increased from 56px */
  border-radius: 50%;   /* Keeps them circular */
  object-fit: cover;    /* Prevents the image from stretching */
  margin-bottom: 20px;  /* Added more space below the photo */
  border: 3px solid #f4f5fb; /* Optional: adds a nice border around the photo */
  transition: transform 0.3s ease;
}

/* ================= FINAL CTA ================= */
.final-cta {
  background: radial-gradient(circle at top, #1b1b1b, #000);
  padding: 120px 40px;
  text-align: center;
  color: white;
}

.final-logo img {
  height: 70px;
}

.final-btn {
  padding: 18px 50px;
  border-radius: 14px;
  border: none;
  background: white;
  color: #1a1aff;
  font-weight: 700;
}

.final-btn:hover {
  transform: scale(1.05);
  background: #f0f0f0;
  box-shadow: 0 5px 20px rgba(255, 255, 255, 0.2);
}

.final-links {
  margin-top: 60px;
  display: flex;
  justify-content: center;
  gap: 40px;
}

.final-links a {
  color: #888;
  text-decoration: none;
  transition: color 0.3s;
}

.final-links a:hover {
  color: white;
}

.footer-venture {
  text-align: center;
  padding: 20px 0 30px;
  font-family: 'Plus Jakarta Sans', cursive;
  font-size: 25px;
  letter-spacing: 1px;
  color: #777;
}

/* ================= MOBILE RESPONSIVENESS ================= */
/* ================= COMPLETE MOBILE FIX ================= */
/* ================= COMPLETE MOBILE FIX (ALL SECTIONS) ================= */
@media (max-width: 768px) {
  /* 1. Main Container - LeapScholar Background */
.navbar {
    padding: 15px 20px !important; /* Adds room at the top so it's not cut off */
    display: flex !important;
    justify-content: center !important; /* Centers logo on mobile */
    width: 100% !important;
  }

  .logo {
    display: flex !important;
    align-items: center !important;
    font-size: 24px !important; /* Adjust text size of 'We German' */
    gap: 10px !important;
  }

  .logo img {
    height: 40px !important; /* Shrink logo slightly to fit screen */
    width: auto !important;
  }

  /* 2. Fix the Hero Content alignment */
  .hero {
    min-height: auto !important;
    height: auto !important;
    padding-top: 20px !important; /* Adds space so 'FIND YOUR PLACE' doesn't hit logo */
    padding-bottom: 30px !important; /* Tightens space before the city image */
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  .hero-content h1 {
    font-size: 32px !important;
    margin-top: 10px !important;
  }
  
  .hero-content p {
    margin-bottom: 25px !important;
  }
  
  .form-section {
    background: #f4f7fe !important;
    padding: 10px !important;
    min-height: 100vh !important;
    display: flex !important;
    flex-direction: column !important;
  }

  /* 2. Unified White Card for Steps 1, 2, and 3 */
  .form-wrapper {
    display: flex !important;
    flex-direction: column !important;
    background: #ffffff !important;
    border-radius: 20px !important;
    padding: 20px 15px !important;
    width: 100% !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06) !important;
    margin-bottom: 30px !important;
  }

  /* 3. Progress Steps & Title (Inside White Card) */
  .form-left {
    width: 100% !important;
    text-align: center !important;
    margin-bottom: 15px !important;
  }

  .form-left h2 {
    font-size: 18px !important;
    color: #1a1a1a !important;
    margin-bottom: 15px !important;
  }

  .steps-vertical {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-around !important;
    padding-bottom: 15px !important;
    margin-bottom: 15px !important;
    border-bottom: 1px solid #f0f0f0 !important;
  }

  .step-item {
    flex-direction: column !important;
    align-items: center !important;
    flex: 1;
  }

  .step-circle {
    width: 24px !important;
    height: 24px !important;
    font-size: 11px !important;
    margin: 0 0 5px 0 !important;
    background: #eee;
  }

  .step-item.active .step-circle {
    background: #5d5fef !important;
    color: white !important;
  }

  .step-text {
    font-size: 9px !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    color: #888;
  }

  /* 4. 3x3 Grid for Services & Courses */
  .options {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
    width: 100% !important;
  }

  .option {
    width: 100% !important;
    min-height: 52px !important;
    font-size: 10px !important;
    border-radius: 10px !important;
    border: 1px solid #e8e8e8 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 4px !important;
    background: #fff !important;
  }

  /* 5. Parallel Buttons for Steps 2 & 3 */
  .button-group {
    display: flex !important;
    flex-direction: row !important;
    gap: 10px !important;
    margin-top: 20px !important;
    width: 100% !important;
  }

  .back-btn {
    flex: 1 !important;
    background: #f0f0f0 !important;
    color: #333 !important;
    border-radius: 50px !important;
    height: 50px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: none !important;
  }

  .primary-btn.full {
    background: linear-gradient(to right, #8b0000, #1a1a1a) !important;
    border-radius: 50px !important;
    height: 50px !important;
    color: white !important;
    font-weight: 700 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: none !important;
    margin-top: 20px !important;
  }

  .button-group .primary-btn.full {
    flex: 2 !important;
    margin-top: 0 !important;
  }

  /* 6. UNIVERSITY SLIDER - Ensuring consistency */
  .slider {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important; /* Force start from left */
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    gap: 15px !important;
    padding: 10px 20px 40px 20px !important;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .slide-card {
    flex: 0 0 92% !important;
    min-width: 92% !important;
    scroll-snap-align: start !important; /* Changed to start for better alignment */
  }

  /* 7. ACHIEVERS SLIDER - THE SHRUTI FIX */
  .achievers {
    padding: 60px 0 !important;
    overflow: hidden !important;
    width: 100% !important;
  }

  .achievers .cards {
    display: flex !important;
    flex-direction: row !important; /* Force side-by-side */
    flex-wrap: nowrap !important; /* No stacking */
    justify-content: flex-start !important; /* Forces Shruti to the left edge */
    
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch;
    
    gap: 15px !important;
    padding: 10px 25px 40px 25px !important; /* 25px creates the left 'floating' gap */
    
    /* Reset any inherited grid or alignment */
    margin: 0 !important;
    scrollbar-width: none;
  }

  .achievers .cards::-webkit-scrollbar {
    display: none !important;
  }

  .achievers .card {
    /* 82% width allows Shruti to be fully visible while the next card peeks */
    flex: 0 0 82% !important;
    width: 82% !important;
    min-width: 82% !important;
    max-width: 82% !important;
    
    /* Align with the 25px padding on the left */
    scroll-snap-align: start !important;
    
    background: #ffffff !important;
    border-radius: 20px !important;
    padding: 30px 20px !important;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06) !important;
    border: 1px solid #f0f0f0 !important;
    
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    
    /* Reset potential desktop overrides */
    margin: 0 !important;
    position: relative !important;
  }

  .achievers .card img {
    width: 90px !important;
    height: 90px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    margin-bottom: 15px !important;
  }

  /* 8. Fix for the 'More Universities' Button Color */
  .report-btn {
    width: 90% !important;
    margin: 10px auto 40px auto !important;
    background: linear-gradient(135deg, #99111e, #11163c) !important;
    color: white !important;
    padding: 18px !important;
    border-radius: 40px !important;
    font-weight: 700 !important;
    text-align: center;
    border: none !important;
    display: block !important;
    font-size: 16px !important;
    box-shadow: 0 10px 20px rgba(153, 17, 30, 0.3) !important;
  }

  /* 9. Final CTA Fix */
  .final-btn {
    width: 90% !important;
    background: #ffffff !important;
    color: #99111e !important;
    border-radius: 40px !important;
    padding: 18px !important;
    margin: 0 auto !important;
    display: block !important;
    font-weight: 800 !important;
  }
}

/* MODAL STYLES */
.modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
}

.modal-content {
  background: #fff;
  width: 100%;
  max-width: 650px;
  max-height: 85vh;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 50px rgba(0,0,0,0.3);
  animation: modalSlideUp 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

.modal-header {
  padding: 20px 30px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-text {
  padding: 30px;
  overflow-y: auto;
  line-height: 1.7;
  color: #444;
}

.close-modal {
  font-size: 30px;
  cursor: pointer;
  color: #999;
}

.modal-footer {
  padding: 15px 30px;
  border-top: 1px solid #eee;
  text-align: right;
}
/* ADD THIS TO YOUR CSS: */
.hidden {
  display: none !important;
}