/* ===================================================
   NEPAL'S 1ST E-TOURISM PLATFORM — 7 PROVINCES SLIDER
   =================================================== */

:root {
  --bg-dark: #070d18;
  --text-white: #ffffff;
  --text-dark: #0f172a;
  --text-slate: #64748b;

  /* Official Nepalese Flag Palette */
  --flag-red: #DC143C;   /* Crimson Red */
  --flag-blue: #003893;  /* Royal Flag Blue */
  --flag-white: #FFFFFF; /* Pure White */

  --font-main: 'Plus Jakarta Sans', sans-serif;
  --font-script: 'Playfair Display', serif;
  --font-display: 'Bebas Neue', sans-serif;
  --font-code: 'Space Grotesk', monospace;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100vw;
  height: 100vh;
  margin: 0;
  padding: 0;
  overflow: hidden;
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: #ffffff;
  -webkit-font-smoothing: antialiased;
}

body.slider-theme {
  position: relative;
  width: 100vw;
  height: 100vh;
}

/* Stacked Fullscreen Background Image Container for Instant Crossfading */
.slider-bg-container {
  position: fixed;
  inset: 0;
  z-index: 1;
}

.slider-bg-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 8s ease;
  transform: scale(1.02);
}

.slider-bg-slide.active {
  opacity: 1;
  transform: scale(1.05);
}

/* Transparent Luminous Overlay */
.slider-vignette-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at center, 
    rgba(15, 23, 42, 0.18) 0%, 
    rgba(8, 12, 20, 0.65) 100%
  );
  z-index: 2;
  pointer-events: none;
}

/* Main Viewport Container */
.slider-viewport {
  position: relative;
  z-index: 10;
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.75rem 3.5rem 2.25rem;
  overflow: hidden;
}

/* ===================================================
   1. FLOATING TOP HEADER NAVBAR CARD (BALANCED & PERFECTLY PROPORTIONED)
   =================================================== */
.slider-navbar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  z-index: 30;
  margin-top: 1rem !important;
}

.floating-nav-card {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 99px;
  padding: 0.45rem 0.5rem 0.45rem 1.65rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  box-shadow: 0 12px 38px rgba(0, 0, 0, 0.35), 0 2px 10px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.85);
  cursor: pointer;
  max-width: 92vw;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.floating-nav-card:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.45);
}

.nav-card-text {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #0f172a;
  font-family: var(--font-main);
  font-size: clamp(0.85rem, 1.3vw, 1.05rem);
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-menu-circle-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--flag-blue); /* Royal Flag Blue #003893 */
  color: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  box-shadow: 0 4px 15px rgba(0, 56, 147, 0.45);
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 0.2s ease, transform 0.25s ease;
}

.nav-btn-flag {
  font-size: 1.35rem;
  line-height: 1;
  display: inline-block;
}

.floating-nav-card:hover .nav-menu-circle-btn {
  background: #002c77;
  transform: scale(1.1);
}

/* Crimson Red Interactive Pill Badges (for LAUNCHING DASHAIN 2084) */
.nav-badge-pill {
  background-color: var(--flag-red) !important;
  background: var(--flag-red) !important;
  color: #ffffff !important;
  border: none !important;
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.65rem 1.6rem;
  border-radius: 99px;
  box-shadow: 0 4px 20px rgba(220, 20, 60, 0.45) !important;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

/* LAUNCHING DASHAIN 2084 HERO BADGE */
.hero-badge-pill {
  font-size: clamp(1.05rem, 1.9vw, 1.5rem) !important;
  font-weight: 800 !important;
  letter-spacing: 0.12em !important;
  padding: 0.8rem 2.15rem !important;
  margin-bottom: 1.25rem !important;
  width: auto;
  height: auto;
  box-shadow: 0 6px 25px rgba(220, 20, 60, 0.55) !important;
}

.hero-badge-pill:hover {
  transform: translateY(-2px) scale(1.04);
  background-color: #b91c1c !important;
  background: #b91c1c !important;
  box-shadow: 0 8px 30px rgba(220, 20, 60, 0.75) !important;
}

.dashain-badge-icon {
  width: 30px !important;
  height: 30px !important;
  max-width: 30px !important;
  max-height: 30px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  vertical-align: middle !important;
  margin-right: 0.7rem !important;
  border: 1.8px solid rgba(255, 255, 255, 0.95) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4) !important;
  display: inline-block !important;
  flex-shrink: 0 !important;
}

/* CHILL AND EXPLORE CTA Pill Button — FROSTED GLASS TRANSPARENT BACKGROUND */
.hero-cta-pill {
  background-color: rgba(255, 255, 255, 0.12) !important;
  background: rgba(255, 255, 255, 0.12) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  font-family: var(--font-main);
  font-size: clamp(0.95rem, 1.5vw, 1.15rem) !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.12em !important;
  padding: 0.75rem 1.95rem !important;
  margin-top: 1.35rem !important;
  border-radius: 99px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease !important;
}

.hero-cta-pill:hover {
  transform: translateY(-2px) scale(1.04) !important;
  background-color: rgba(255, 255, 255, 0.25) !important;
  background: rgba(255, 255, 255, 0.25) !important;
  border-color: rgba(255, 255, 255, 0.7) !important;
  box-shadow: 0 6px 25px rgba(255, 255, 255, 0.25) !important;
}

/* ===================================================
   2. INTERACTIVE HERO SECTION — PERFECTLY DEAD-CENTERED IN VIEWPORT
   =================================================== */
.slider-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  flex: 1;
  position: relative;
}

/* High-Reliability Clickable Chevron Arrow Buttons */
.slider-arrow-btn {
  background: none !important;
  border: none !important;
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer !important;
  z-index: 100 !important;
  pointer-events: auto !important;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.25s ease, color 0.25s ease, opacity 0.25s ease;
  padding: 0.75rem;
}

.slider-arrow-btn.left-arrow {
  left: 2.5rem;
}

.slider-arrow-btn.right-arrow {
  right: 2.5rem;
}

.arrow-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08) !important; /* Transparent glass! */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.85);
  box-shadow: none !important;
  pointer-events: none !important; /* Clicks pass straight to parent button! */
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.arrow-circle i {
  pointer-events: none !important;
}

.slider-arrow-btn:hover .arrow-circle {
  background: rgba(255, 255, 255, 0.22) !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
  color: #ffffff;
  transform: scale(1.1);
}

/* Center Stack — Perfectly Dead-Centered in Available Middle Hero Space */
.slider-center-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 88%;
  max-width: 1200px;
  margin: auto;
  z-index: 15;
  pointer-events: none; /* Allows arrows on sides to be clicked cleanly */
}

.slider-center-stack > * {
  pointer-events: auto; /* Re-enable pointer events on badges & text */
}

/* Giant Main Display Title — GIANT & BIG FOR ALL DESKTOP PROVINCES (KOSHI, MADHESH, BAGMATI, GANDAKI, LUMBINI, KARNALI) */
.giant-province-title {
  font-family: var(--font-display);
  font-size: clamp(9.5rem, 24vw, 25rem) !important;
  font-weight: 400;
  line-height: 0.8;
  letter-spacing: 0.06em !important;
  color: #ffffff;
  text-shadow: 0 18px 45px rgba(0, 0, 0, 0.75), 0 0 35px rgba(255, 255, 255, 0.18);
  margin: 0;
  text-transform: uppercase;
  white-space: nowrap !important;
  max-width: calc(100vw - 180px) !important; /* Guaranteed clear gap before side arrow buttons! */
  display: inline-block;
  transition: font-size 0.3s ease, letter-spacing 0.3s ease;
}

/* ONLY SUDURPASCHIM (12 letters) IS SCALED TO MAX BIG SIZE THAT STILL FITS WITH SAFE GAP BEFORE SIDE ARROWS */
.giant-province-title.long-title {
  font-size: clamp(5.8rem, 14.5vw, 15.5rem) !important;
  letter-spacing: 0.03em !important;
}

/* Administrative Subtext (Districts, Municipalities, Wards) — CLEAN & REFINED SMALL SIZE */
.active-prov-sub {
  font-size: clamp(0.75rem, 1.2vw, 0.95rem) !important;
  color: rgba(255, 255, 255, 0.88) !important;
  font-weight: 600 !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85) !important;
  letter-spacing: 0.1em !important;
  margin-top: 0.75rem !important;
  text-transform: uppercase !important;
}

/* ===================================================
   EARLY ACCESS MODAL DIALOG
   =================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 12, 20, 0.85);
  backdrop-filter: blur(16px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-overlay.active { opacity: 1; pointer-events: auto; }

.modal-card {
  background: #ffffff;
  border-radius: 28px;
  padding: 2.5rem;
  width: 100%;
  max-width: 480px;
  position: relative;
  text-align: center;
  color: #0f172a;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: none;
  border: none;
  color: #9ca3af;
  font-size: 1.8rem;
  cursor: pointer;
}

.modal-dashain-img {
  width: 76px;
  height: 76px;
  border-radius: 20px;
  object-fit: cover;
  margin: 0 auto 0.85rem;
  box-shadow: 0 4px 20px rgba(220, 20, 60, 0.35);
  border: 2px solid #ffffff;
}

.modal-head h3 { font-size: 1.8rem; font-weight: 800; color: #0f172a; margin-bottom: 0.2rem; }
.modal-sub-launch { font-family: var(--font-code); font-size: 0.85rem; font-weight: 700; color: var(--flag-red); margin-bottom: 0.75rem; }

.form-group { text-align: left; margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 700; color: #374151; margin-bottom: 0.4rem; }
.form-group input { width: 100%; padding: 0.95rem 1.2rem; background: #f9fafb; border: 1px solid #d1d5db; border-radius: 12px; font-family: var(--font-main); font-size: 1.05rem; }
.btn-submit-app { width: 100%; padding: 1rem; background: var(--flag-red); color: #ffffff; border: none; border-radius: 12px; font-family: var(--font-main); font-size: 1.1rem; font-weight: 800; cursor: pointer; }
.hidden { display: none; }
.margin-top { margin-top: 1.25rem; }
.success-icon { font-size: 2.2rem; color: #10b981; margin-bottom: 0.5rem; }

/* ===================================================
   RESPONSIVE RULES ACROSS ALL DEVICES (Mobile, Tablet, Laptop, 4K)
   =================================================== */
@media (max-width: 1024px) {
  .slider-viewport { padding: 1.5rem 2rem 2rem; }
  .slider-navbar { margin-top: 0.85rem !important; }
  .giant-province-title { font-size: clamp(6.5rem, 18vw, 15rem) !important; max-width: calc(100vw - 120px) !important; }
  .giant-province-title.long-title { font-size: clamp(4.5rem, 12.5vw, 10.5rem) !important; }
  .active-prov-sub { font-size: clamp(0.72rem, 1.5vw, 0.9rem) !important; margin-top: 0.6rem !important; }
  .floating-nav-card { padding: 0.4rem 0.45rem 0.4rem 1.35rem; }
  .nav-card-text { font-size: clamp(0.75rem, 1.4vw, 0.95rem); }
  .nav-menu-circle-btn { width: 38px; height: 38px; font-size: 1.15rem; }
  .hero-badge-pill { font-size: clamp(0.95rem, 2vw, 1.25rem) !important; padding: 0.65rem 1.65rem !important; }
  .dashain-badge-icon { width: 24px !important; height: 24px !important; }
  .hero-cta-pill { font-size: 0.82rem !important; padding: 0.55rem 1.4rem !important; margin-top: 1.1rem !important; }
  .slider-arrow-btn.left-arrow { left: 1.25rem; }
  .slider-arrow-btn.right-arrow { right: 1.25rem; }
}

@media (max-width: 768px) {
  .slider-viewport { padding: 1.25rem 0.75rem 1.5rem; }
  .slider-navbar { margin-top: 0.75rem !important; }
  .floating-nav-card { padding: 0.35rem 0.4rem 0.35rem 1.15rem; gap: 0.75rem; max-width: 92vw; }
  .nav-card-text { font-size: clamp(0.68rem, 3.2vw, 0.85rem); letter-spacing: 0.04em; }
  .nav-menu-circle-btn { width: 36px; height: 36px; font-size: 1.1rem; }
  .hero-badge-pill {
    font-size: clamp(0.88rem, 3.2vw, 1.15rem) !important;
    padding: 0.6rem 1.45rem !important;
    margin-bottom: 0.95rem !important;
  }
  .dashain-badge-icon { width: 24px !important; height: 24px !important; margin-right: 0.5rem !important; }
  .giant-province-title { font-size: clamp(5.2rem, 18vw, 9.5rem) !important; letter-spacing: 0.04em !important; max-width: calc(100vw - 80px) !important; }
  .giant-province-title.long-title { font-size: clamp(3.2rem, 11vw, 6.2rem) !important; letter-spacing: 0.02em !important; }
  .active-prov-sub { font-size: clamp(0.72rem, 2.6vw, 0.88rem) !important; margin-top: 0.65rem !important; letter-spacing: 0.08em !important; }
  .hero-cta-pill { font-size: clamp(0.82rem, 3vw, 1rem) !important; padding: 0.6rem 1.4rem !important; margin-top: 1.1rem !important; }
  
  .slider-arrow-btn.left-arrow { left: 0.5rem; }
  .slider-arrow-btn.right-arrow { right: 0.5rem; }
  .arrow-circle { width: 36px; height: 36px; font-size: 1rem; }
}

@media (max-width: 480px) {
  .slider-navbar { margin-top: 0.65rem !important; }
  .floating-nav-card { padding: 0.32rem 0.35rem 0.32rem 0.95rem; gap: 0.5rem; max-width: 94vw; }
  .nav-card-text { font-size: clamp(0.6rem, 2.9vw, 0.75rem); letter-spacing: 0.02em; }
  .nav-menu-circle-btn { width: 32px; height: 32px; font-size: 0.95rem; }
  .hero-badge-pill {
    font-size: clamp(0.82rem, 3.5vw, 1.05rem) !important;
    padding: 0.52rem 1.25rem !important;
  }
  .dashain-badge-icon { width: 22px !important; height: 22px !important; margin-right: 0.4rem !important; }
  .giant-province-title { font-size: clamp(4.2rem, 16vw, 7.2rem) !important; letter-spacing: 0.03em !important; max-width: calc(100vw - 60px) !important; }
  .giant-province-title.long-title { font-size: clamp(2.5rem, 10vw, 4.6rem) !important; letter-spacing: 0.01em !important; }
  .active-prov-sub { font-size: 0.68rem !important; letter-spacing: 0.06em !important; margin-top: 0.5rem !important; }
  .hero-cta-pill { font-size: clamp(0.78rem, 3.2vw, 0.92rem) !important; padding: 0.52rem 1.2rem !important; margin-top: 0.95rem !important; }
  .slider-arrow-btn.left-arrow { left: 0.35rem; }
  .slider-arrow-btn.right-arrow { right: 0.35rem; }
  .arrow-circle { width: 32px; height: 32px; font-size: 0.95rem; }
}
