/* ═══════════════════════════════════════════════════════════════
   Hero Slider — MentorMinds Pathways
   Full-screen auto-playing Swiper slider with GSAP animations
   Brand: #FF6B00 (orange) | #0A1F44 (navy) | #FFFFFF (white)
   ═══════════════════════════════════════════════════════════════ */

/* ── Reset for hero only ────────────────────────────────── */
.hero-slider-section *,
.hero-slider-section *::before,
.hero-slider-section *::after {
  box-sizing: border-box;
}

/* ── Section Wrapper ─────────────────────────────────────── */
.hero-slider-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  /* Slides sit BEHIND the sticky header (z-index:1000) */
  z-index: 1;
}

/* ── Swiper Container ───────────────────────────────────── */
.hero-swiper {
  width: 100%;
  height: 100vh;
  min-height: 650px;
}

/* ── Individual Slide ───────────────────────────────────── */
.hero-slide {
  position: relative;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  /* CSS gradient fallbacks per slide via inline vars */
}

/* Slide 1 – Study Abroad: deep navy with subtle pattern */
.hero-slide--1 {
  background-color: #0A1F44;
  background-image:
    radial-gradient(circle at 80% 20%, rgba(255,107,0,0.12) 0%, transparent 50%),
    radial-gradient(circle at 10% 80%, rgba(19,45,94,0.8) 0%, transparent 60%);
}

/* Slide 2 – English Academy */
.hero-slide--2 {
  background-color: #0D2550;
  background-image:
    radial-gradient(circle at 70% 30%, rgba(255,107,0,0.10) 0%, transparent 50%),
    radial-gradient(circle at 20% 70%, rgba(10,31,68,0.9) 0%, transparent 55%);
}

/* Slide 3 – Visa Consultation */
.hero-slide--3 {
  background-color: #081830;
  background-image:
    radial-gradient(circle at 75% 25%, rgba(255,107,0,0.13) 0%, transparent 45%),
    radial-gradient(circle at 15% 75%, rgba(8,24,48,0.85) 0%, transparent 55%);
}

/* Slide 4 – University Admissions */
.hero-slide--4 {
  background-color: #0C2240;
  background-image:
    radial-gradient(circle at 65% 35%, rgba(255,107,0,0.11) 0%, transparent 50%),
    radial-gradient(circle at 25% 65%, rgba(12,34,64,0.8) 0%, transparent 55%);
}

/* Slide 5 – Scholarships */
.hero-slide--5 {
  background-color: #071525;
  background-image:
    radial-gradient(circle at 72% 28%, rgba(255,165,0,0.15) 0%, transparent 45%),
    radial-gradient(circle at 18% 78%, rgba(7,21,37,0.9) 0%, transparent 55%);
}

/* ── Dark Overlay Gradient & Glowing Orbs ────────────────── */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(10,31,68,0.82) 0%,
    rgba(10,31,68,0.60) 45%,
    rgba(10,31,68,0.30) 75%,
    rgba(10,31,68,0.15) 100%
  );
  z-index: 1;
  pointer-events: none;
}
.hero-orbs {
  position: absolute; inset: 0; overflow: hidden; z-index: 0; pointer-events: none;
}
.orb {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.5; animation: floatOrb 10s infinite ease-in-out alternate; mix-blend-mode: screen;
}
.orb-1 { width: 500px; height: 500px; background: rgba(255,107,0,0.15); top: -150px; right: -100px; animation-delay: 0s; }
.orb-2 { width: 400px; height: 400px; background: rgba(19,45,94,0.4); bottom: -100px; left: 15%; animation-delay: -3s; opacity: 0.8; }
.orb-3 { width: 350px; height: 350px; background: rgba(255,107,0,0.1); top: 30%; right: 30%; animation-delay: -6s; opacity: 0.6; }
@keyframes floatOrb {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(-60px) scale(1.15); }
}

/* ── Floating 3D Education Elements ──────────────────────── */
.edu-emoji-3d {
  position: absolute;
  filter: drop-shadow(0 25px 35px rgba(0,0,0,0.6));
  animation: floatEmoji 8s infinite ease-in-out alternate;
  z-index: 2;
  opacity: 0.85;
  user-select: none;
}
.emoji-cap { top: 10%; right: 40%; animation-delay: 0s; font-size: 100px; filter: drop-shadow(0 25px 35px rgba(0,0,0,0.6)) drop-shadow(0 0 20px rgba(255,255,255,0.2)); }
.emoji-globe { bottom: 12%; left: 5%; animation-delay: -2s; font-size: 85px; }
.emoji-book { top: 35%; left: 55%; animation-delay: -4s; font-size: 90px; }
.emoji-plane { bottom: 15%; right: 8%; animation-delay: -6s; font-size: 110px; }

@keyframes floatEmoji {
  0% { transform: translateY(0) rotate(-15deg) scale(1); }
  100% { transform: translateY(-50px) rotate(10deg) scale(1.15); }
}

/* ── Container inside slide ─────────────────────────────── */
.hero-slide .hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 60px;
  width: 100%;
  /* Push down slightly to account for transparent navbar (~104px) */
  padding-top: 60px;
}

/* ── Left Column ────────────────────────────────────────── */
.hero-content-left {
  flex: 0 0 55%;
  max-width: 55%;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

/* ── Right Column ───────────────────────────────────────── */
.hero-content-right {
  flex: 0 0 42%;
  max-width: 42%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

/* ── Badge ──────────────────────────────────────────────── */
.hs-badge {
  display: inline-block;
  background: #FF6B00;
  color: #FFFFFF;
  padding: 8px 20px;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  width: fit-content;
  /* Initial GSAP state */
  opacity: 0;
}

/* ── Headline ───────────────────────────────────────────── */
.hs-headline {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0px;
  line-height: 1.1;
}

.hs-headline .line-1,
.hs-headline .line-3 {
  font-size: clamp(34px, 4.5vw, 58px);
  font-weight: 700;
  color: #FFFFFF;
  opacity: 0; /* GSAP */
  display: block;
  text-shadow: 0 4px 15px rgba(0,0,0,0.4), 0 10px 30px rgba(10,31,68,0.5);
}

.hs-headline .line-2 {
  font-size: clamp(34px, 4.5vw, 58px);
  font-weight: 800;
  color: #FF6B00;
  opacity: 0; /* GSAP */
  display: block;
  text-shadow: 0 4px 15px rgba(255,107,0,0.25), 0 10px 30px rgba(10,31,68,0.5);
}

/* ── Subtext ────────────────────────────────────────────── */
.hs-subtext {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  color: rgba(255,255,255,0.88);
  line-height: 1.75;
  max-width: 520px;
  margin: 0;
  opacity: 0; /* GSAP */
}

/* ── CTA Buttons ─────────────────────────────────────────── */
.hs-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0; /* GSAP */
}

.hs-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FF6B00;
  color: #FFFFFF;
  padding: 14px 36px;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.25s ease;
  border: 2px solid #FF6B00;
  white-space: nowrap;
}
.hs-btn-primary:hover {
  background: #E05E00;
  border-color: #E05E00;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255,107,0,0.4);
  color: #FFFFFF;
}

.hs-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #FFFFFF;
  padding: 14px 36px;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 2px solid rgba(255,255,255,0.7);
  transition: all 0.25s ease;
  white-space: nowrap;
}
.hs-btn-outline:hover {
  background: #FFFFFF;
  color: #0A1F44;
  border-color: #FFFFFF;
  transform: translateY(-2px);
}

/* ── Trust Stats Row ─────────────────────────────────────── */
.hs-stats {
  display: flex;
  align-items: center;
  gap: 28px;
  opacity: 0; /* GSAP */
  flex-wrap: wrap;
}

.hs-stat-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.hs-stat-number {
  font-family: 'Poppins', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.2;
}

.hs-stat-label {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: rgba(255,255,255,0.72);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hs-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.25);
  flex-shrink: 0;
}

/* ── Floating Right Card ────────────────────────────────── */
.hs-float-card {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 32px 28px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.28);
  text-align: center;
  max-width: 280px;
  width: 100%;
  opacity: 0; /* GSAP */
}

.hs-card-icon {
  font-size: 48px;
  color: #FF6B00;
  margin-bottom: 16px;
  display: block;
}

.hs-card-value {
  font-family: 'Poppins', sans-serif;
  font-size: 34px;
  font-weight: 800;
  color: #0A1F44;
  line-height: 1.1;
  margin-bottom: 8px;
}

.hs-card-title {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #6B7280;
  line-height: 1.5;
}

/* University grid inside card (Slide 4) */
.hs-uni-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 12px 0;
}
.hs-uni-box {
  height: 40px;
  background: #F3F4F6;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 600;
  color: #6B7280;
  font-family: 'Inter', sans-serif;
}

/* Scholarship card PKR tag */
.hs-card-pkr {
  display: inline-block;
  background: rgba(255,107,0,0.1);
  color: #FF6B00;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 50px;
  margin-top: 10px;
  letter-spacing: 0.03em;
}

/* ── Custom Navigation Arrows ───────────────────────────── */
.hs-prev,
.hs-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  color: #FFFFFF;
  font-size: 16px;
  border: 1px solid rgba(255,255,255,0.3);
  user-select: none;
}
.hs-prev { left: 24px; }
.hs-next { right: 24px; }
.hs-prev:hover,
.hs-next:hover {
  background: #FF6B00;
  border-color: #FF6B00;
  transform: translateY(-50%) scale(1.05);
}

/* ── Pagination Dots ────────────────────────────────────── */
.hs-pagination {
  position: absolute;
  bottom: 32px !important;
  left: 50% !important;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hs-pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: rgba(255,255,255,0.5);
  border-radius: 50%;
  opacity: 1;
  transition: all 0.35s ease;
  cursor: pointer;
}

.hs-pagination .swiper-pagination-bullet-active {
  width: 26px;
  border-radius: 4px;
  background: #FF6B00;
}

/* ── Progress Bar ───────────────────────────────────────── */
.hs-progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(255,255,255,0.15);
  z-index: 20;
}

.hs-progress-fill {
  height: 100%;
  background: #FF6B00;
  width: 0%;
}

.hs-progress-fill.animating {
  animation: hsProgressSweep 5.5s linear forwards;
}

@keyframes hsProgressSweep {
  from { width: 0%; }
  to   { width: 100%; }
}

/* ── Scroll Indicator ────────────────────────────────────── */
.hs-scroll-down {
  position: absolute;
  bottom: 60px;
  right: 36px;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.25s ease;
}
.hs-scroll-down:hover { opacity: 1; }
.hs-scroll-down span {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: #FFFFFF;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}
.hs-scroll-down i {
  color: #FF6B00;
  font-size: 14px;
  animation: hsScrollBounce 1.5s ease infinite;
}
@keyframes hsScrollBounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(5px); }
}

/* ═══════════════════════════════════════════════════════════════
   NAVBAR — TRANSPARENT ON HERO, SOLID ON SCROLL
   ═══════════════════════════════════════════════════════════════ */

/* Transparent state: applied when hero is at top */
.header.hero-transparent {
  background: transparent !important;
  border-bottom-color: transparent !important;
  box-shadow: none !important;
}

.header.hero-transparent .top-bar {
  background: rgba(10,31,68,0.5) !important;
}

.header.hero-transparent .nav-menu > li > a {
  color: rgba(255,255,255,0.92) !important;
}

.header.hero-transparent .nav-menu > li > a:hover,
.header.hero-transparent .nav-menu > li > a.active {
  color: #FF6B00 !important;
  background: rgba(255,255,255,0.1) !important;
}

/* Logo text becomes white */
.header.hero-transparent .logo-text span:first-child,
.header.hero-transparent .logo-text span:last-child {
  color: #FFFFFF !important;
}

/* Logo image becomes white when transparent header is active */
.header.hero-transparent .logo-img {
  filter: brightness(0) invert(1) !important;
}

.header.hero-transparent .logo-brand:hover .logo-img {
  filter: brightness(0) invert(1) drop-shadow(0 4px 12px rgba(255, 107, 0, 0.35)) !important;
}

/* Hamburger lines become white */
.header.hero-transparent .hamburger span {
  background: #FFFFFF !important;
}

/* CTA button stays orange */
.header.hero-transparent .btn-cta {
  background: #FF6B00 !important;
  border-color: #FF6B00 !important;
  color: #FFFFFF !important;
}

/* WhatsApp button stays green */
.header.hero-transparent .btn-whatsapp {
  background: #25D366 !important;
}

/* Solid state (scrolled) — already set in public.blade.php, just ensure transition */
.header {
  transition: background-color 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease !important;
}

/* Remove padding-top from main on homepage (slider goes full-height behind transparent header) */
body.has-hero-slider > main {
  padding-top: 0 !important;
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — TABLET (768px – 1199px)
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 1199px) {
  .hero-slide .hero-inner {
    gap: 40px;
    padding: 0 20px;
    padding-top: 50px;
  }

  .hero-content-left {
    flex: 0 0 57%;
    max-width: 57%;
    gap: 22px;
  }

  .hero-content-right {
    flex: 0 0 40%;
    max-width: 40%;
  }

  .hs-headline .line-1,
  .hs-headline .line-2,
  .hs-headline .line-3 {
    font-size: clamp(28px, 3.8vw, 46px);
  }

  .hs-subtext {
    font-size: 15px;
  }

  .hs-float-card {
    max-width: 240px;
    padding: 24px 20px;
  }

  .hs-card-icon { font-size: 40px; }
  .hs-card-value { font-size: 28px; }

  .hs-btn-primary,
  .hs-btn-outline {
    padding: 12px 28px;
    font-size: 14px;
  }

  .hs-stat-number { font-size: 22px; }

  /* Hide 3rd stat on tablet to save space */
  .hs-stat-item:nth-child(5),
  .hs-stat-divider:nth-child(4) {
    display: none;
  }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE (< 768px)
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 767px) {
  .hero-swiper {
    height: auto;
    min-height: 580px;
  }

  .hero-slide .hero-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
    padding: 100px 20px 80px;
  }

  .hero-content-left {
    flex: none;
    max-width: 100%;
    width: 100%;
    gap: 20px;
  }

  /* Hide right card on mobile */
  .hero-content-right {
    display: none;
  }

  .hs-headline .line-1,
  .hs-headline .line-2,
  .hs-headline .line-3 {
    font-size: clamp(28px, 8vw, 36px);
  }

  .hs-subtext {
    font-size: 14px;
    line-height: 1.7;
  }

  .hs-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hs-btn-primary,
  .hs-btn-outline {
    width: 100%;
    justify-content: center;
    padding: 13px 24px;
  }

  .hs-stats {
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 4px;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    /* hide scrollbar */
    scrollbar-width: none;
  }
  .hs-stats::-webkit-scrollbar { display: none; }

  /* Hide dividers on mobile */
  .hs-stat-divider { display: none; }

  .hs-stat-item { flex-shrink: 0; }
  .hs-stat-number { font-size: 20px; }
  .hs-stat-label { font-size: 11px; }

  /* Hide arrows on mobile */
  .hs-prev,
  .hs-next { display: none !important; }

  /* Dots moved up slightly */
  .hs-pagination { bottom: 14px !important; }

  /* Badge smaller */
  .hs-badge { font-size: 10px; padding: 6px 14px; }

  /* Scroll indicator hidden on mobile */
  .hs-scroll-down { display: none; }
}

@media (max-width: 480px) {
  .hs-headline .line-1,
  .hs-headline .line-2,
  .hs-headline .line-3 {
    font-size: 28px;
  }
}
