
:root{--blue:#2563eb;--blue-dark:#1e40af;--text:#0f172a;--muted:#64748b;--border:#e5e7eb}
*{box-sizing:border-box}html,body{margin:0;padding:0}
body{font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;color:var(--text);background:#fff;line-height:1.6}
a{color:inherit;text-decoration:none}
.container{max-width:1100px;margin:0 auto;padding:16px 16px}
h1{font-size:clamp(28px,4vw,44px);line-height:1.2;margin:8px 0 10px}
h2{font-size:clamp(22px,3vw,28px);margin: 20px 0;}
h3{font-size:18px;margin:0 0 6px}
p{margin:0 0 8px}.muted{color:var(--muted)}
.badge{display:inline-block;background:#f1f5f9;color:var(--text);border:1px solid var(--border);padding:3px 8px;border-radius:999px;font-size:12px}

/* HEADER BAR */
.site-header{background:linear-gradient(180deg,#2563eb 0%,#1e40af 100%);color:#fff;position:sticky;top:0;z-index:1000;width:100%}
.site-header .nav{display:flex;align-items:center;justify-content:space-between;height:100px}
.logo img{height:75px;display:block}
@media(max-width:768px){.logo img{height:48px}}
.links{display:flex;gap:18px;align-items:center}
.links a{color:#fff;opacity:.95;padding:8px 10px;border-radius:8px;transition:background .15s}
.links a[aria-current="page"]{background:rgba(255,255,255,.12)}
.links a:hover{background:rgba(255,255,255,.1)}
.menu-btn{background:transparent;border:1px solid rgba(255,255,255,.6);color:#fff;border-radius:10px;padding:8px;display:none}
.menu-btn svg{display:block}


/* HERO */
.hero{background:#fff;color:var(--text);padding:46px 0 54px}
.hero .cta-row{display:flex;gap:10px;margin-top:12px}
.cta{background:#0ea5e9;color:#fff;padding:10px 14px;border-radius:10px;display:inline-block;transition:background .15s}
.cta:hover{background:#0284c7}
.cta.secondary{background:#f1f5f9;color:#0f172a}
.cta.secondary:hover{background:#e2e8f0}

/* LAYOUT & CARDS */
.section{padding:12px 0}
.grid{display:grid;gap:16px}
.cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.card{background:#ffffff;border:1px solid var(--border);border-radius:16px;padding:18px}
.divider{height:1px;background:var(--border);margin:12px 0}
@media(max-width:768px){.cols-3{grid-template-columns:1fr 1fr}}
@media(max-width:768px){.cols-2,.cols-3{grid-template-columns:1fr}.menu-btn{display:inline-flex}}

/* === MOBILE MENU CARD (FULL-WIDTH, FROSTED, WITH ANIMATION) === */
.site-header,
.site-header .container.nav {
  position: relative;
}

.menu-btn {
  position: relative;
  z-index: 1001;
}

@media (max-width: 768px) {
  .site-header .links {
    display: none;
    position: absolute;
    top: 90px;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #e5e7eb;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 8px 24px rgba(2, 6, 23, 0.15);
    flex-direction: column;
    text-align: left;
    padding: 10px 0;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    z-index: 1000;
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .site-header .links.open {
    display: flex;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .site-header .links a {
    color: #1e40af !important;
    font-weight: 500;
    padding: 12px 20px;
    display: block;
    border-radius: 8px;
    transition: background 0.2s;
  }

  .site-header .links a:hover {
    background: #f1f5f9;
  }
}

/* Fade & slide animation keyframes (optional fallback for older browsers) */
@keyframes menuSlideDown {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* WHY ICONS */
.card .icon{width:250px;height:250px;margin-bottom:10px;display:block}
.card h3{margin-top:6px}

/* CONTACT FORM */
.contact-card{background:#fff;border:1px solid var(--border);border-radius:16px;padding:22px}
.form-row{display:grid;gap:12px}
.form-row.two{grid-template-columns:1fr 1fr}
.input,textarea{width:100%;padding:12px 14px;border-radius:12px;border:1px solid var(--border);font:inherit}
textarea{min-height:140px;resize:vertical}
.status{margin-top:10px;font-size:14px}
.status.ok{color:#065f54}.status.err{color:#b91c1c}

/* EXPLORE PAGE */
.pkg-filters{display:flex;gap:10px;align-items:center;margin-bottom:16px}
.pf-row{display:flex;flex-wrap:wrap;gap:10px;width:100%}
.pf-search{flex:1 1 320px}.pf-search input{width:100%;padding:11px 12px;border:1px solid var(--border);border-radius:12px;font:inherit}
.pf-selects{display:flex;gap:10px}.pf-selects select{padding:11px 12px;border:1px solid var(--border);border-radius:12px;font:inherit;background:#fff}
.pkg-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.pkg-card{background:#fff;border:1px solid var(--border);border-radius:16px;overflow:hidden;display:flex;flex-direction:column}
.pkg-media{position:relative;display:block;padding-top:62.5%;background:#e5e7eb center/cover no-repeat}
.pkg-tag{position:absolute;left:10px;top:10px;background:#fff;color:#1e40af;border:1px solid var(--border);padding:3px 8px;border-radius:999px;font-size:12px}
.pkg-body{padding:14px}.pkg-title{margin:0 0 6px}
.pkg-meta{display:flex;justify-content:space-between;color:var(--muted);font-size:14px;margin-top:8px}
@media(max-width:992px){.pkg-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.pkg-grid{grid-template-columns:1fr}}

/* PACKAGE DETAIL */
.pd-layout{display:grid;grid-template-columns:3fr 1.2fr;gap:16px}
.pd-gallery{margin-bottom:16px}.pd-hero{width:100%;padding-top:56%;background:#e5e7eb center/cover no-repeat;border-radius:14px}
.pd-thumbs{display:flex;gap:8px;margin-top:8px;flex-wrap:wrap}
.pd-thumb{all:unset;width:80px;height:56px;background:#e5e7eb center/cover no-repeat;border-radius:10px;cursor:pointer;border:1px solid var(--border)}
.pd-facts{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.pd-chip{border:1px solid var(--border);border-radius:999px;padding:6px 10px;background:#fff;font-size:13px}
.pd-itin details{border:1px solid var(--border);border-radius:12px;padding:10px 12px;margin:8px 0;background:#fff}
.pd-itin summary{cursor:pointer;font-weight:600}
.pd-flex{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.pd-list{margin:8px 0 0;padding-left:18px}
.pd-side .pd-sticky{position:sticky;top:90px}
.pd-price{font-size:22px;font-weight:700;margin-bottom:8px}
.pd-meta{color:var(--muted);margin-bottom:12px}
@media(max-width:992px){.pd-layout{grid-template-columns:1fr}}

/* CUSTOMIZE PAGE */
.cz-layout{display:grid;grid-template-columns:3fr 1.3fr;gap:16px}
.cz-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.cz-grid>div label{display:block;margin:0 0 6px;font-weight:600}
.cz-chips{display:flex;flex-wrap:wrap;gap:8px}
.cz-chips label{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--border);border-radius:999px;padding:6px 10px;background:#fff;cursor:pointer}
.cz-chips input{accent-color:#2563eb}
.range{width:100%}
.cz-side{display:flex;flex-direction:column;gap:16px}
.cz-summary{margin:0;padding-left:18px;line-height:1.7}
.cz-est{margin-top:8px}
.cz-est-head{font-weight:700;margin-bottom:2px}
.cz-est-price{font-weight:800;font-size:22px;margin:4px 0}
@media(max-width:992px){.cz-layout{grid-template-columns:1fr}}
@media(max-width:640px){.cz-grid{grid-template-columns:1fr}}

/* MEGA FOOTER */
.megafooter{background:#ffffff;border:1px solid var(--border);border-radius:16px;margin:40px 0 0;padding:24px 0 16px; z-index:1;}
.mf-head{display:flex;align-items:center;margin-bottom:10px}
.mf-grid{display:grid;gap:24px;grid-template-columns:repeat(5,minmax(0,1fr));margin-top:10px}
.mf-col h4,.mf-acc{margin:0 0 10px;color:#0f172a;font-size:14px}
.mf-col ul{list-style:none;margin:0;padding:0}
.mf-col li{margin:3px 0}
.mf-col a{font-size: 15px; color:#2563eb}.mf-col a:hover{text-decoration:underline}
.mf-rule{border:0;border-top:1px solid var(--border);margin:18px 0 12px}
.mf-legal{color:var(--muted);font-size:13px;align-items:center;}
.mf-legal a{color:inherit;text-decoration:underline}

@media(max-width:992px){.mf-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.mf-grid{grid-template-columns:1fr}.mf-logo{height:20px}}
.mf-acc{all:unset;display:block;font-weight:600}

@media(max-width:640px){
.mf-acc{cursor:pointer;position:relative;padding-right:22px}
.mf-acc:after{content:"";position:absolute;right:0;top:50%;width:10px;height:10px;border-right:2px solid #64748b;border-bottom:2px solid #64748b;transform:translateY(-50%) rotate(45deg);transition:transform .2s}
.mf-acc[aria-expanded=true]:after{transform:translateY(-50%) rotate(-135deg)}
.mf-col ul{display:none}.mf-col.open ul{display:block}}

@media(max-width:768px){
  .site-header .links{text-align:left}
  .site-header .links a{text-align:left}  
}

.mf-legal p {
  margin: 0 auto;
  max-width: 800px;
  line-height: 1.6;
}

/* page & section fade-in */
body{opacity:0;transition:opacity .6s ease}
body.fade-in{opacity:1}
.fade-seq{opacity:0;transform:translateY(10px);transition:opacity .8s ease,transform .8s ease}
.fade-seq.visible{opacity:1;transform:translateY(0)}

.badge.paid{background:#dcfce7;border:1px solid #bbf7d0;color:#166534}

/* CTA row spacing */
.cta-row {
  display: flex;
  gap: 12px;
  justify-content: flex-start;
  align-items: stretch;
  margin-top: 20px;
  margin-bottom: 28px;   /* <-- adds breathing space below the CTAs */
  flex-wrap: nowrap;
}

.cta-row .cta {
  flex: 1;
  text-align: center;
  white-space: nowrap;
  padding: 12px 0;
}

@media(max-width:640px){
  .cta-row {
    flex-direction: column;
    align-items: stretch;
  }
  .cta-row .cta {
    width: 100%;
  }
}

/* brief highlight for first invalid field */
.sv-invalid{outline:2px solid #ef4444; outline-offset:2px}

/* Trip Documents widget */
.docw{display:flex;flex-direction:column;gap:8px}
.docw h3{margin:0 0 4px}
.docw-list{margin:0;padding:0;list-style:none;display:grid;grid-template-columns:1fr 1fr;gap:8px}
.docw-item{display:flex;align-items:center;gap:8px;padding:8px;border:1px solid var(--border);border-radius:12px;background:#fff}
.docw-badge{font-size:12px;padding:2px 8px;border-radius:999px;border:1px solid var(--border);background:#f8fafc}
.docw-ok{background:#dcfce7;border-color:#bbf7d0;color:#166534}
.docw-need{background:#fee2e2;border-color:#fecaca;color:#991b1b}
.docw-footer{display:flex;gap:10px;flex-wrap:wrap;align-items:center;justify-content:space-between;margin-top:6px}
.docw-cta{font-size:12px}
@media(max-width:720px){.docw-list{grid-template-columns:1fr}}
/* Trip Docs widget */
.docs-widget{margin-top:16px;border:1px solid var(--border);border-radius:14px;background:#fff;padding:14px}
.docs-widget h3{margin:0 0 8px;font-size:16px}
.docs-row{display:flex;flex-wrap:wrap;gap:8px}
.docchip{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--border);border-radius:999px;padding:6px 10px;font-size:13px;line-height:1}
.docchip small{opacity:.75}
.docchip.ok{background:#f0fdf4;border-color:#bbf7d0}
.docchip.wait{background:#fff7ed;border-color:#fed7aa}
.docchip.bad{background:#fef2f2;border-color:#fecaca}
.docs-actions{display:flex;gap:10px;justify-content:flex-start;margin-top:10px}
.docs-actions .cta.secondary{padding:8px 12px;font-size:13px}

/* === Smart Sticky Header with Frosted Shrink Effect === */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: linear-gradient(180deg, #2563eb 0%, #1e40af 100%);
  color: #fff;
  transition: all 0.3s ease;
  backdrop-filter: none;
 
}

/* Base height + logo */
.site-header .nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100px;
  padding: 0 16px;
  transition: height 0.05s ease;
}
.logo img {
  height: 75px;
  transition: height 0.05s ease;
}

/* === Shrink mode === */
.site-header.shrink {
  height: 50px;
  background: linear-gradient(180deg, #2563eb 0%, #1e40af 100%);      
  backdrop-filter: blur(8px) saturate(180%);     /* frosted look */
  -webkit-backdrop-filter: blur(8px) saturate(180%);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);    /* soft shadow */
}
.site-header.shrink .nav { height: 50px; }
.site-header.shrink .logo img { height: 55px; }

/* Mobile adjustments */
@media (max-width: 768px) {
  body { padding-top: 80px; }
  .site-header .nav { height: 80px; }
  .site-header.shrink .nav { height: 54px; }
  .logo img { height: 60px; }
  .site-header.shrink .logo img { height: 48px; }
}

/* === Prevent overlap below sticky header === */
body {
  padding-top: var(--header-offset, 120px);
}

/* Adjust for shrink transition on smaller screens */
@media (max-width: 768px) {
  body { --header-offset: 90px; }
}

/* === Shar Voyage Photo Slider (Fixed Height + Responsive Images + Fade + Captions) === */
#photo-slider {
  position: relative;
  margin: 40px auto;
  max-width: 100%;
  overflow: hidden;
}

.slider {
  position: relative;
  height: 520px; /* fixed frame height */
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* Wrapper for all slides */
.slides {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Individual slide */
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.slide.active {
  opacity: 1;
  z-index: 1;
}

/* Image inside slide */
.slide img {
  width: 100%;
  height: 100%;                /* fills the frame */
  object-fit: cover;           /* covers without distortion */
  object-position: center;     /* centers image content */
  border-radius: 16px;
}

/* --- Captions --- */
.slide-caption {
  position: absolute;
  bottom: 40px;
  left: 40px;
  color: #fff;
  max-width: 520px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.slide-caption.active {
  opacity: 1;
  transform: translateY(0);
}
.slide-caption h2 {
  font-size: 28px;
  margin-bottom: 6px;
  font-weight: 600;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}
.slide-caption p {
  font-size: 16px;
  line-height: 1.5;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

/* --- Buttons & Dots --- */
.slider-btn {
  position: absolute;
  top: 90%;
  transform: translateY(-50%);
  background: none;
  opacity:0.8;
  border: none;
  color: #f1f1f1;
  font-size: 26px;
  padding: 0px 15px;
  cursor: pointer;
  transition: 0.3s ease;
  z-index: 2;
}

.slider-btn:hover {
  background: none;
  color: #ffffff;
  opacity:1;
}

.prev { left: 6px; }
.next { right: 6px; }

.dots {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}

.dot {
  width: 10px;
  height: 10px;
  background: rgba(255,255,255,0.7);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s ease;
}
.dot.active { background: #2563eb; }

/* --- Responsive Adjustments --- */
@media (max-width: 992px) {
  .slider {
    height: 420px;
  }
  .slide-caption {
    bottom: 30px;
    left: 24px;
    max-width: 80%;
  }
  .slide-caption h2 {
    font-size: 22px;
  }
  .slide-caption p {
    font-size: 14px;
  }
}

@media (max-width: 640px) {
  .slider {
    height: 320px; /* smaller frame on phones */
  }
  .slide-caption {
    bottom: 24px;
    left: 16px;
  }
  .slide-caption h2 {
    font-size: 18px;
  }
  .slide-caption p {
    font-size: 13px;
  }
  .slider-btn {
    font-size: 20px;
    padding: 2px 6px;
  }
  .dots {
    bottom: 10px;
  }
}


/* === Shar Voyage Home Sky Header Fix === */
.sky-header {
  position: relative;
  width: 100%;
  height: 100vh; /* allow full-screen sky */
  overflow: hidden;
  color: white;
}

/* --- Video Background --- */
.sky-header .header-video-bg {
  position: absolute;
  background-color: white;
  inset: 0;
  overflow: hidden;
  z-index: 1;
}


.sky-header .header-video-bg video {
  position: absolute;
  top: 90%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  background-color: white;
  filter: brightness(0.9) saturate(1.1);
}

/* --- Overlay for readability --- */
.sky-header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.6) 100%);
  z-index: 2;
}

/* === Homepage sky video header === */

body.home .sky-header {
  position: relative;
  width: 100%;
  height: 80vh;          /* shorter on desktop */
  min-height: 380px;     /* ensures visibility for text/buttons */
  max-height: 520px;
  overflow: hidden;
  color: white;
  background: linear-gradient(#2563eb, #1e40af); /* fallback for when video isn't loaded */
}

/* Adjust hero height on smaller screens */
@media (max-width: 992px) {
  body.home .sky-header {
    height: 65vh;
    min-height: 320px;
  }
}

@media (max-width: 640px) {
  body.home .sky-header {
    height: 55vh;
    min-height: 260px;
  }
}

/* Video styling (ensures centered, cropped look) */
body.home .sky-header video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: 0;
}

/* Optional overlay gradient for text contrast */
body.home .sky-header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(0, 0, 0, 0.15) 0%,
    rgba(0, 0, 0, 0.25) 60%,
    rgba(0, 0, 0, 0.35) 100%
  );
  z-index: 1;
}

body.home .header-video-bg {
  position: absolute;
  background: 1e40af;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}


/* Add overlay for readability */
body.home .sky-header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.25), rgba(0,0,0,0.6));
  z-index: 1;
}

body.home header.site-header {

  box-shadow: none !important;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 5;
  backdrop-filter: blur(6px);
  transition: background 0.4s ease;
}


/* === Hero Section Transparent Style (Shar Voyage Home) === */
body.home .sky-header .hero {
  position: relative;
  z-index: 3;
  text-align: center;
  top: 44%;
  transform: translateY(-50%);
  background: none; /* remove white box */
  box-shadow: none;
  padding: 0 2rem;
}

body.home .sky-header .hero h1 {
  font-size: 52px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  text-shadow: 0 4px 12px rgba(0,0,0,0.6);
}

body.home .sky-header .hero p {
  font-size: 20px;
  color: #fff;
  margin-bottom: 28px;
  text-shadow: 0 3px 10px rgba(0,0,0,0.5);
}

/* Buttons */
body.home .sky-header .hero .cta,
body.home .sky-header .hero a.button {
  background: rgba(37,99,235,0.9);
  color: #fff;
  padding: 12px 28px;
  border-radius: 9999px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  margin: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

body.home .sky-header .hero .cta:hover,
body.home .sky-header .hero a.button:hover {
  background: rgba(30,64,175,1);
  transform: translateY(-2px);
}

/* Optional: if you used a white container wrapper before */
body.home .sky-header .hero > div {
  background: none !important;
  box-shadow: none !important;
  border: none !important;
}

/* === HERO TEXT & CTA: RESPONSIVE ADJUSTMENTS === */

/* Tablet view (medium devices) */
@media (max-width: 992px) {
  body.home .sky-header .hero h1 {
    font-size: 40px;
    margin-bottom: 10px;
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.6);
  }

  body.home .sky-header .hero p {
    font-size: 18px;
    margin-bottom: 20px;
  }

  body.home .sky-header .hero .cta,
  body.home .sky-header .hero a.button {
    padding: 10px 24px;
    font-size: 16px;
    margin: 6px;
  }
}
    /* Divider */
    .hero-divider {
      position: absolute;   
      margin-top: 100px;   
      width: 100%;
      line-height: 0;
      z-index: 2;
    }
    .hero-divider svg {
      display: block;
      width: 100%;
      height: 250px;
    }
/* Mobile view (small devices) */
@media (max-width: 640px) {
  body.home .sky-header .hero h1 {
    font-size: 30px;
    line-height: 1.2;
    text-align: center;
    margin-bottom: 8px;
  }

  body.home .sky-header .hero p {
    font-size: 16px;
    line-height: 1.4;
    text-align: center;
    margin-bottom: 16px;
  }

  body.home .sky-header .hero .cta,
  body.home .sky-header .hero a.button {
    font-size: 15px;
    padding: 10px 20px;
    border-radius: 9999px;
    margin: 4px;
    display: inline-block;
  }

  /* Center-align text and buttons for smaller screens */
  body.home .sky-header .hero {
    text-align: center;
    padding: 0 12px;
  }
}


/* Fallback for mobile */
@media (max-width: 768px) {
  body.home .header-video-bg video {
    background: black;

  }
  body.home .sky-header {
    background: linear-gradient(180deg, #3b82f6 0%, #1e40af 100%);
  }
}


body.home header.site-header.solid {
  background: linear-gradient(180deg, #3b82f6 0%, #1e40af 100%) !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}


/* === Shar Voyage Moving Sky Video for All Pages === */
.header-video-bg.global {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 90px;               /* header height only */
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
  background-color: #1e40af;
}

.header-video-bg.global video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  filter: brightness(0.9) saturate(1.1);
}

/* Ensure the actual header sits above it */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 5;
  color: #fff;
  background: transparent !important;
  box-shadow: none;
  backdrop-filter: blur(6px);
}

/* Scroll state: fade to solid blue for readability */
.site-header.solid {
  background: linear-gradient(180deg, #3b82f6 0%, #1e40af 100%) !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  backdrop-filter: none;
}

@media (max-width: 768px) {
  .header-video-bg.global {
    background: #1e40af;
  }
  .header-video-bg.global video {
    background:#1e40af; 
    display: none;
  }
}


/* --- Mobile submenu animation --- */
@media (max-width: 768px) {
  .nav .sub-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: rgba(255,255,255,0.95);
    border-radius: 0 0 12px 12px;
  }

  .nav .has-sub.open > .sub-menu {
    max-height: 300px; /* adjusts automatically in JS */
  }

  .nav .sub-menu a {
    display: block;
    padding: 10px 16px;
    color: #1e3a8a;
  }

  .nav .has-sub.open > a::after {
    transform: rotate(180deg);
  }
}
.nav .sub-menu {
  pointer-events: auto;
}

.bpa-logo {
  height: 200px;
  
  filter: invert(1) brightness(2) contrast(0.8);
  opacity: 0.95;
  transition: opacity 0.3s ease;
}


/* === FIXED DROPDOWN LOGIC FOR DIV-BASED NAV === */

/* Base styles for all screen sizes */
nav.links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

/* Submenu hidden by default */
nav .sub-menu {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(255,255,255,0.98);
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
  min-width: 220px;
  padding: 6px 0;
  z-index: 99;
}

/* Desktop hover shows submenu */
.nav-item.has-sub:hover > .sub-menu {
  display: flex;
}

/* Submenu links */
nav .sub-menu a {
  padding: 10px 16px;
  color: #1e3a8a;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.25s ease;
}
nav .sub-menu a:hover {
  background: rgba(37,99,235,0.08);
  color: #2563eb;
}

/* ========== Mobile Menu ========== */
@media (max-width: 768px) {
  nav.links {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    position: relative;
    top: 90px;
    left: 0;
    width: 100%;
    background: rgba(255,255,255,0.98);
    border-radius: 0 0 16px 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
  }

  nav.links.open {
    max-height: 90vh;
    overflow-y: auto;
  }

  .nav-item {
    position: relative;
    border-bottom: 1px solid rgba(0,0,0,0.05);
  }

  .nav-item > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    color: #1e3a8a;
    font-weight: 500;
    text-decoration: none;
  }

  /* Submenu nested inline (no absolute positioning) */
  .nav-item.has-sub > .sub-menu {
    position: relative;
    display: flex;
    flex-direction: column;
    background: rgba(248,248,255,0.98);
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .nav-item.has-sub.open > .sub-menu {
    display: flex;
    max-height: 600px; /* expand smoothly */
  }

  .sub-menu a {
    padding: 12px 32px;
    font-size: 15px;
    color: #1e3a8a;
  }

  .sub-menu a:hover {
    background: rgba(37,99,235,0.1);
  }

  /* Arrow indicators */
  .nav-item.has-sub > a::after {
    content: "▾";
    font-size: 12px;
    transition: transform 0.3s ease;
  }

  .nav-item.has-sub.open > a::after {
    transform: rotate(180deg);
  }
}


/* --- Frosted translucent mobile dropdown enhancement --- */
@media (max-width: 768px) {
  nav.links {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.92);
  }

  .nav-item.has-sub > .sub-menu {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(6px);
  }
}

/* === Fix dropdown alignment under parent === */

/* Desktop alignment fix (ensures submenu aligns with parent anchor) */
@media (min-width: 769px) {
  .nav-item.has-sub {
    position: relative;
  }
  .nav-item.has-sub > .sub-menu {
    left: 0;
    right: auto;
    transform: translateX(0);
  }
}

/* Mobile alignment (nested under parent, not stuck left) */
@media (max-width: 768px) {
  .nav-item.has-sub > .sub-menu {
    position: relative !important; /* override absolute from desktop */
    left: 0 !important;
    right: 0 !important;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 0;
    box-shadow: none;
    margin: 0;
  }

  .nav-item.has-sub.open > .sub-menu {
    display: flex;
    flex-direction: column;
    max-height: 500px;
  }

  /* Optional: slightly indent child links */
  .nav-item.has-sub > .sub-menu a {
    padding-left: 28px;
  }
}

/* === FINAL FIX: Mobile Dropdown Alignment Override === */
@media (max-width: 768px) {
  /* Reset dropdown base */
  nav .sub-menu {
    position: relative !important;    /* Keep inside parent */
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    background: rgba(255,255,255,0.92);
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    margin: 0;
    transform: none !important;
  }

  /* Show submenus inline under parent when open */
  .nav-item.has-sub.open > .sub-menu {
    display: flex !important;
    flex-direction: column;
    max-height: 600px;
    opacity: 1 !important;
  }

  /* Submenu links styled as nested list items */
  .sub-menu a {
    display: block;
    padding: 12px 28px;
    text-align: left;
    font-size: 15px;
    color: #1e3a8a;
    border-top: 1px solid rgba(0,0,0,0.05);
    background: transparent;
  }

  .sub-menu a:hover {
    background: rgba(37,99,235,0.08);
  }

  /* Add slight indentation for clarity */
  .nav-item.has-sub.open > .sub-menu a {
    padding-left: 40px;
  }
}
/* === ABSOLUTE FIX: FORCE MOBILE SUBMENU ALIGNMENT === */
@media (max-width: 768px) {
  /* Parent container takes full width */
  .site-header .container.nav {
    position: relative;
  }

  /* Force nav panel full width */
  nav.links {
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    text-align: left;
  }

  /* Critical override for submenu alignment */
  nav.links .has-sub .sub-menu {
    position: relative !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
    transform: none !important;
    background: rgba(255,255,255,0.95) !important;
    box-shadow: none !important;
  }

  /* Add slight indentation for clarity */
  nav.links .has-sub.open .sub-menu a {
    padding-left: 36px !important;
  }

  /* Make sure it appears below its parent, not floating */
  nav.links .has-sub.open > .sub-menu {
    display: flex !important;
    flex-direction: column !important;
    position: relative !important;
  }
}

/* === FINAL, STRUCTURE-SPECIFIC FIX FOR DIV-BASED NAV === */
@media (max-width: 768px) {
  /* Make the parent item block-level and full width */
  .nav-item.has-sub {
    position: relative !important;
    display: block !important;
    width: 100% !important;
  }

  /* Force the submenu to flow below its parent link */
  .nav-item.has-sub > .sub-menu {
    position: relative !important;   /* no absolute positioning */
    top: auto !important;
    left: auto !important;
    right: auto !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
    background: rgba(255,255,255,0.95) !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
  }

  /* Make each submenu link align left and occupy full width */
  .nav-item.has-sub > .sub-menu a {
    display: block !important;
    width: 100% !important;
    padding: 12px 28px !important;
    text-align: left !important;
    color: #1e3a8a !important;
    background: transparent !important;
  }

  /* Hover/tap highlight */
  .nav-item.has-sub > .sub-menu a:hover {
    background: rgba(37,99,235,0.08) !important;
  }

  /* Give open state full height */
  .nav-item.has-sub.open > .sub-menu {
    max-height: 600px !important;
    opacity: 1 !important;
  }
}

/* === RIGHT-ALIGNED MOBILE MENU TEXT === */
@media (max-width: 768px) {
  /* Align all menu text to the right */
  .site-header .links {
    text-align: right !important;
  }

  /* Keep padding consistent */
  .site-header .links a {
    text-align: right !important;
    padding: 12px 24px 12px 12px !important; /* more padding on right edge */
  }

  /* Adjust submenu links to align neatly as well */
  .site-header .links .sub-menu a {
    text-align: right !important;
    padding: 12px 28px 12px 12px !important;
  }

  /* Optional: right-align the caret (▾) indicator */
  .nav-item.has-sub > a::after {
    margin-left: 0;
    margin-right: 6px;
  }
}
  .tip-card {
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 16px;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.3s ease;
  } 
  .tip-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 24px rgba(0,0,0,0.1);
  }


label:has(+ input[required])::after,
label:has(+ select[required])::after,
label:has(+ textarea[required])::after {
  content: " *";
  color: #e11d48;
  font-weight: 600;
}


/* About US */
.about-two-column {
  padding: 60px 20px;
}

.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.about-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  object-fit: cover;
}

.about-text h2 {
  margin: 10px 0 20px;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.3;
}

.about-text p {
  color: #444;
  line-height: 1.7;
  margin-bottom: 16px;
}

.badge {
  display: inline-block;
  background: #eef2ff;
  color: #1e3a8a;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .about-container {
    grid-template-columns: 1fr;
  }
  .about-image {
    order: -1; /* show image first on mobile */
  }
}


/* === Modal Overlay & Layout === */
.modal {
  position: fixed;
  padding-top: 5%;
  top: 0;
  inset: 0;
  background: rgba(15, 23, 42, 0.55); /* dark blur overlay */
  width: 100%;
  height: 100%;
  display: none;                      /* hidden by default */
  justify-content: center;
  align-items: flex-start;
  z-index: 99999;
}

.modal.show {
  display: flex;                      /* flex-centred when open */
}

.modal-content {
  background: #fff;
  position: fixed;
  /* Center the box in the viewport */
  left: 30%;
  border-radius: 16px;
  width: 100%;
  max-width: 960px;
  max-height: 80vh;
  overflow: auto;                   /* clip inside */
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.3);
}

/* Scrollable interior */
.modal-body {
  padding: 24px 24px 20px;
  max-height: 80vh;
  overflow-y: auto;
}

/* Tabs */
.modal-tabs {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 1rem;
}

.tab-btn {
  flex: 1;
  padding: 10px;
  border: none;
  background: #f1f5f9;
  cursor: pointer;
  color: #1e3a8a;
  font-weight: 500;
  border-radius: 6px 6px 0 0;
}

.tab-btn.active {
  color: #1e3a8a;
  border-bottom-color: #2563eb;
}

/* Tab content visibility */
.tab-content.hidden {
  display: none;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 28px;
  color: #475569;
  background: none;
  border: none;
  cursor: pointer;
}

/* Button in footer */
.modal-footer {
  text-align: center;
  margin-top: 1.5rem;
}      


/* Make itinerary area especially scrollable if it gets long */
#tab-itinerary {
  max-height: 60vh;
  overflow-y: auto;
  padding-right: 4px;
}

@media (max-width: 768px) {
  .modal {
    padding: 40px 12px;
    align-items: flex-start;
  }

  .modal-content {
      left: 0;
    max-height: 90vh;
  }
}
