
/* HERO */
.hero{
  position:relative;
 background:
    linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.65)),
    url("/assets/images/mt.png")
    center / cover no-repeat;
  padding:30px 0;
  color:#fff;
  height: 500px;
  background-attachment: fixed; 
}

.hero-overlay{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,0);
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 170px;
}

.hero-text h1{
  font-size:42px;
  margin-bottom:10px;
  margin-top: 65px
}

.hero-text p{
  font-size:18px;
  line-height:1.6;
}







/* =========================
   FARE BOX (Responsive)
========================= */
.fare-box{
  background:#fff;
  color:#000;
  padding:27px;
  border-radius:12px;
  width:100%;
  max-width:420px;     /* 🔥 mobile + desktop balance */
  margin:auto;
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}



.fare-box h3{
  text-align:center;
  margin-bottom:12px;
}

.fare-box label{
  display:block;
  font-weight:600;
  margin-top:12px;
}

.fare-box input,
.fare-box select{
  width:100%;
  padding:10px;
  margin-top:6px;
  border-radius:6px;
  border:1px solid #ccc;
  font-size:14px;
}






/* =========================
   CALCULATE BUTTON
========================= */
.fare-box .calculate-btn{
  width:50%;
  margin-top:18px;
  padding:12px;
  background:#ff5722;
  border:none;
  color:#fff;
  font-size:16px;
  border-radius:8px;
  cursor:pointer;
}





/* =========================
   SEATER TABS (MAIN FIX)
========================= */
.seater-tabs{
  display:flex;
  flex-wrap:nowrap;        /* 🔥 line break band */
  overflow-x:auto;         /* 🔥 horizontal scroll */
  gap:10px;
  margin:12px 0 6px;
  padding-bottom:6px;
}

.seater-tabs::-webkit-scrollbar{
  display:none;
}

/* tabs ka original size safe */
.seater-tab{
  flex-shrink:0;           /* 🔥 sabse important */
  padding:8px 14px;
  border-radius:22px;
  border:1px solid #ddd;
  background:#f6f6f6;
  font-weight:600;
  cursor:pointer;
  white-space:nowrap;
}

/* active tab */
.seater-tab.active{
  background:#ff5722;
  color:#fff;
  border-color:#ff5722;
}



/* =========================
   RESULT
========================= */
.fare-result{
  margin-top:-35px;
  text-align:right;
}

.fare-result strong{
  font-size:26px;
}



/* INFO ICON */
.info-icon {
  margin-left: 6px;
  font-size: 14px;
  cursor: pointer;
  color: #ff5722;
  font-weight: bold;
}

/* MODAL OVERLAY */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

/* MODAL BOX */
.modal-box {
  background: #fff;
  max-width: 600px;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
}

/* HEADER */
.modal-header {
  background: #ff5722;
  color: #fff;
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.close-btn {
  cursor: pointer;
  font-size: 18px;
}

/* CONTENT */
.modal-content {
  padding: 18px;
  max-height: 70vh;
  overflow-y: auto;
}

.trip-type {
  margin-bottom: 16px;
}

.trip-type h4 {
  margin-bottom: 5px;
  color: #333;
}

.trip-type p {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
}

/* SHOW MODAL */
.modal-overlay.show {
  display: flex;
}
.trip-type ul {
  margin-top: 8px;
  padding-left: 18px;
}

.trip-type ul li {
  font-size: 14px;
  line-height: 1.6;
  color: #444;
  margin-bottom: 4px;
}

.trip-type h4 {
  font-size: 16px;
  font-weight: 600;
}

.trip-type {
  border-bottom: 1px solid #eee;
  padding-bottom: 14px;
}

.trip-type:last-child {
  border-bottom: none;
}

.fare-note {
  margin-top: 10px;
  padding: 8px 12px;
  background: #f6f8fa;
  border-left: 4px solid #ff9800;
  font-size: 13px;
  color: #333;
  border-radius: 4px;
}





/*Lumsum fare*/
/* Button replacement – Lumpsum bar */
.fare-lumpsum{
  margin-top:18px;
  padding:12px 16px;
  background:#ff5722;
  color:#fff;
  border-radius:8px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  font-weight:600;
  max-width: 60%;
}

.fare-lumpsum .fare-text{
  font-size:14px;
  opacity:0.95;
}

.fare-lumpsum .fare-value{
  font-size:20px;
  font-weight:700;
}



/*Whatsap Share*/
/* WhatsApp Booking Button */
.whatsapp-book{
  margin-top:12px;
}

.whatsapp-book a{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  width:100%;
  padding:14px;
  background:#25D366;
  color:#fff;
  text-decoration:none;
  font-size:16px;
  font-weight:600;
  border-radius:8px;
}

.whatsapp-book img{
  width:22px;
  height:22px;
}


/*Buttons on hero*/
/* HERO CTA BUTTONS */
.hero-cta{
  margin-top:25px;
  display:flex;
  justify-content:center;
  gap:16px;
  flex-wrap:wrap;
}

.hero-cta .btn{
  padding:14px 26px;
  font-size:16px;
  font-weight:600;
  border-radius:30px;
  text-decoration:none;
  transition:0.3s;
  text-align:center;
}

/* Primary Button */
.primary-btn{
  background:#ff5722;
  color:#fff;
}

.primary-btn:hover{
  background:#e64a19;
}

/* Secondary Button */
.secondary-btn{
  background:transparent;
  color:#fff;
  border:2px solid #fff;
}

.secondary-btn:hover{
  background:#fff;
  color:#ff5722;
}



















/* =========================
   MOBILE – FINAL SEPARATION FIX
========================= */
@media (max-width:768px){

  /* 🔥 negative margin hatao */
  .fare-result{
    margin-top:12px !important;
    text-align:center;
  }

  /* hero ke baad proper gap */
  .hero{
    padding-bottom:40px;
  }

  /* features clearly hero ke niche */
  .features{
    margin-top:40px;
    clear:both;
  }

}





/*Mobile*/
/* =========================
   HERO MOBILE – FINAL FIX
========================= */
@media (max-width:768px){

  /* hero container */
  .hero{
     position:relative;
    z-index:1;
    height:auto !important;              /* 🔥 fixed height kill */
    background-attachment:scroll !important; /* 🔥 mobile bug fix */
    padding-bottom:40px;
  }

  /* 🔥 GRID TOD DO */
  .hero-grid{
    display:flex !important;
    flex-direction:column;
    gap:24px;
    
  }

  /* HERO TEXT */
  .hero-text{
    order:1;
    text-align:center;
    margin-top:0 !important;   /* inline style kill */
    padding:0 14px;
  }

  .hero-text h1{
    font-size:26px;
    line-height:1.35;
  }

  .hero-text p{
    font-size:14px;
    line-height:1.6;
  }

  /* CTA buttons */
  .hero-cta{
    flex-direction:column;
    align-items:center;
  }

  .hero-cta .btn{
    width:100%;
    max-width:300px;
  }

  /* 🔥 KIRAYA CALCULATOR */
  .fare-box{
    order:2;
    width:100%;
    max-width:100%;
    margin:0 auto;
    padding:18px;
    box-sizing:border-box;
     position:relative !important;
    z-index:1 !important;
    position:static !important;
    margin-bottom:40px;   /* 🔥 next section ke liye space */
  }

  /* desktop leftovers kill */
  .fare-box,
  .hero-grid > *{
    left:auto !important;
    right:auto !important;
    transform:none !important;
  }

  /* result alignment */
  .fare-result{
    text-align:center;
    margin-top:12px !important; /* -35 disable */
  }

  .fare-lumpsum{
    max-width:100%;
  }
}


