/* =====================================================
   RAAHI DRIVES - COMPLETE BOOKING PAGE
   Modern, Compact, MakeMyTrip-style layout
   ===================================================== */

/* ---------- GLOBAL BASE ---------- */
body {
  font-family: 'Poppins', sans-serif;
  background: #f9f9f9;
  color: #222;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

/* ---------- ISOLATED STICKY HEADER FIX ---------- */

/* ---------- ISOLATED STICKY HEADER FIX ---------- 
.raahi-custom-header {
  all: unset;                    /* wipe all inherited Astra header styles 
  display: block !important;
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  width: 100% !important;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  border-bottom: 1px solid #eee;
} 
==================*/
.raahi-custom-header {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: #ffffff;
  border-bottom: 1px solid #eee;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
 
  margin:0;
}
.raahi-custom-header .raahi-topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 16px;
}
.raahi-topbar-inner img {
    height: 40px;
    width: 150px;
}
.raahi-custom-header .logo {
  font-weight: 600;
  font-size: 18px;
  color: #024542;
  text-decoration: none;
}

.raahi-custom-header .raahi-nav a {
  color: #333;
  text-decoration: none;
  margin-left: 20px;
  font-weight: 500;
  transition: color 0.3s;
  font-size: .9em;
    color: #444;
    font-family: 'Karla', 'Open Sans';
}

.raahi-custom-header .raahi-nav a:hover {
  color: #ff6b00;
  border-bottom: 3px solid #ff6b00; 
   transition: all 0.3s ease;
    transition: color 0.3s ease;
     transition: border-bottom 0.1s ease;
}

/* mobile */
@media (max-width: 768px) {
  .raahi-custom-header .raahi-topbar-inner {
    flex-direction: column;
    gap: 6px;
  }
  .raahi-custom-header .raahi-nav a {
    margin: 0 8px;
  }
}


/* ---------- MINI HEADER ---------- */


.raahi-mini-header.compact {
  background: #fff;
  padding: 14px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 1px 5px rgba(0,0,0,0.08);
  border-radius: 8px;
  margin-bottom: 20px;
}

.raahi-mini-left strong {
  font-size: 18px;
  color: #024542;
}
.raahi-mini-right span {
  margin-left: 20px;
  font-size: 14px;
  color: #444;
}

/* ---------- STEP PROGRESS ---------- */
.raahi-steps-bar {
  position: relative;
  background: #eee;
  border-radius: 10px;
  height: 6px;
  margin: 20px 0;
}
.raahi-step-progress {
  background: #ff6b00;
  height: 100%;
  border-radius: 10px;
  transition: width .4s ease;
}
.raahi-step-label {
  text-align: right;
  font-size: 13px;
  color: #555;
  margin-top: 6px;
}

/* ========== STEPPER ========== */
.raahi-steps {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 16px auto 18px;
}
.raahi-step {
  padding: 8px 12px;
  font-size: 12px;
  border-radius: 999px;
  background: var(--soft);
  color: #333;
    font-family: karla, 'Open Sans';
    
}
.raahi-step.completed { background: #e8f5f2; color: var(--brand); }
.raahi-step.active { background: #ff6b00;
    color: #024542;
    font-family: karla, 'Open Sans';
    font-size: .9em; }
/* ---------- MAIN GRID ---------- */
.rd-booking-wrapper {
  display: grid;
  grid-template-columns: 70% 30%;
  gap: 24px;
  align-items: start;
}

/* ---------- CARDS ---------- */
.rd-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  padding: 24px;
}
.rd-title {
font-size: 1.2em;
    margin-bottom: 14px;
    color: #024542;
    font-family: 'Montserrat';
    font-weight: 500;
}

/* ---------- TRIP OVERVIEW ---------- */
.trip-overview .rd-overview-row {
 display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    margin-bottom: 10px;
    font-weight: 300;
    font-size: .8em;
    font-family: 'Montserrat', 'Open Sans';
}
.trip-overview .rd-overview-icons span {
  display: inline-block;
  margin-right: 14px;
  font-size: 14px;
  color: #444;
}

/* ---------- ACCORDION ---------- */
.rd-accordion-wrapper {
  margin-top: 20px;
}
.rd-acc-header {
  background: #fafafa;
  padding: 16px;
  cursor: pointer;
  border: 1px solid #eee;
  border-radius: 8px;
  margin-bottom: 6px;
  font-size: 15px;
  color: #024542;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.rd-tab-section.open .rd-acc-header {
  background: #ff6b00;
  color: #fff;
}
.rd-acc-body {
  display: none;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  margin-bottom: 12px;
}
.rd-tab-section.open .rd-acc-body {
  display: block;
}
.rd-highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.rd-highlight-card {
  text-align: center;
  padding: 12px;
}
.rd-highlight-card img {
  width: 35px;
  height: 35px;
  margin-bottom: 8px;
}

/* ---------- PASSENGER FORM ---------- */
.rd-card.passenger-details h3 {
    font-size: 1.2em;
    margin-bottom: 14px;
    color: #024542;
    font-family: 'Montserrat';
    font-weight: 500;
}
.passenger-details .rd-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 14px;
}
.rd-field label {
 font-size: .9em;
    color: #444;
    margin-bottom: 4px;
    font-family: 'Karla', 'Open Sans';
}
.rd-field input {
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 10px;
  font-size: 14px;
}
.rd-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.rd-locked {
  position: relative;
  opacity: 0.6;
  pointer-events: none;
}
.rd-locked-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  color: #024542;
  font-size: 14px;
  border-radius: 12px;
}
.rd-car-card .rd-locked-overlay {
  display: none !important;
}

/* ---------- ADDONS ---------- */
.rd-addons label {
  display: block;
  margin-bottom: 6px;
 font-size: .9em;
    color: #444;
    font-family: 'Karla', 'Open Sans';
}

/* ---------- RIGHT COLUMN ---------- */
.rd-right {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.rd-sticky {
  position: sticky;
  top: 20px;
}

/* ---------- CAR SELECTION ---------- */
.car-selection .rd-car-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.car-selection h3 {
    font-size: 1.2em;
    margin-bottom: 14px;
    color: #024542;
    font-family: 'Montserrat';
    font-weight: 500;
}
.rd-car-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid #eee;
  border-radius: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
}
.rd-car-card:hover {
  border-color: #ff6b00;
  box-shadow: 0 0 6px rgba(255,107,0,0.2);
}
.rd-car-card.active {
  border: 2px solid #ff6b00;
  box-shadow: 0 0 8px rgba(255,107,0,0.3);
  background-color: #fff !important;
}

.rd-car-card img {
  width: 60px;
  height: 40px;
  object-fit: contain;
}
.rd-car-card .car-info {
  flex: 1;
}
.rd-car-card .car-line {
  display: flex;
  justify-content: space-between;
 font-size: .9em;
    color: #024542;
    font-family: 'Montserrat';
   
}

.car-line strong {
    font-weight: 400;
}
.rd-car-card .car-tip {
  color: #666;
  font-size: .8em;
  font-family: karla, 'Open Sans';
}
.rd-car-card .car-price {
  font-weight: 600;
  color: #024542;
  font-size: 14px;
}

/* ---------- FARE SUMMARY ---------- */
.fare-summary .price-row {
  display: flex;
  justify-content: space-between;
  margin: 6px 0;
  font-size: .9em;
   
    color: #777;
    font-weight: 500;
    font-family: karla, 'Open Sans';
}
.fare-summary hr {
  border: none;
  border-top: 1px solid #eee;
  margin: 10px 0;
}
.fare-summary .total {
  font-weight: bold;
  color: #ff6b00;
}
.rd-sticky h3 {
    font-size: 1.2em;
    margin-bottom: 14px;
    color: #024542;
    font-family: 'Montserrat';
    font-weight: 500;
}
.muted {
    font-size: .8em;
    margin-bottom: 14px;
    color: #555;
    font-family: 'Karla', 'Open Sans';
    font-weight: 400;
}
/* ---------- COUPON BOX ---------- */
.coupon-box small {
    font-size: 80%;
    font-size: .9em;
   color: #ff6b00;
    margin-bottom: 4px;
    font-family: 'Karla', 'Open Sans';
}
.coupon-box label {
    font-size: 1.2em;
    color: #444;
    margin-bottom: 4px;
    font-family: 'monserrat', 'Open Sans';
}
.coupon-box .coupon-row {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}
.coupon-box input {
  flex: 1;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 8px 10px;
}
.rd-btn.small {
  padding: 8px 16px;
  font-size: 13px;
  background: #ff6b00;
  border: none;
  color: #fff;
  border-radius: 6px;
  cursor: pointer;
}

/* ---------- TRUST STRIP ---------- */
.trust-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    font-size: 1em;
    color: #444;
    margin-bottom: 4px;
    font-family: 'Karla', 'Open Sans';
}
/* ---------- ACTION BUTTONS ---------- */
.actions .rd-btn {
  width: 100%;
  margin-bottom: 10px;
  padding: 14px;
  border: none;
  border-radius: 6px;
  color: #fff;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.rd-btn.whats { background: #25d366; }
.rd-btn.email { background: #ff6b00; }
.rd-btn.alt { background: #024542; }
.rd-btn:hover { opacity: 0.9; }

/* ---------- MOBILE FARE BAR ---------- */
.rd-fare-bottom {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.15);
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 999;
}
.rd-fare-bottom .rd-btn.confirm {
  background: #ff6b00;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
}


/*=======================tab section ===================*/



/* ===================== ACCORDION SECTIONS ===================== */


.rd-tab-section h3 {
  color: #024542;
  margin-bottom: 12px;
 font-size: 1em;
    font-weight: 500;
    font-family: 'Montserrat', 'Open Sans';
}

.rd-highlights-list li,
.rd-sight-list li {
  margin-bottom: 8px;
  font-size: 15px;
}


/*=================================*/
/* =========================
   Animated Tabs — No Wrapper
   Works with:
   .rd-tabs-nav (buttons)
   .rd-tabs-content (container)
   .rd-tab-section (sections)
   ========================= */

.rd-tabs-nav {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
  margin-top: 20px;
    background: #fefefe;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.rd-tabs-nav button {
  border: none;
  background: #f5f5f5;
  color: #024542;
  padding: 10px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.22s ease;
  font-family: 'Montserrat', 'Open Sans';
}

.rd-tabs-nav button.active {
  background: #ff6b00;
  color: #fff;
  box-shadow: 0 2px 8px rgba(255,107,0,0.18);
  transform: translateY(-1px);
}

/* THE FIXED BOX THAT HOLDS CONTENT (no page jump) */
.rd-tabs-content {
  position: relative;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 20px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  transition: height 0.4s ease; /* smooth container height change */
  min-height: 265px; /* fallback; adjust as needed */
  margin-bottom: 20px;
}

/* stacked sections — only active becomes visible */
.rd-tab-section {
  position: absolute;
  inset: 0 0 auto 0; /* top:0; left:0; right:0; bottom:auto */
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: all 0.45s cubic-bezier(.22,1,.36,1);
  display: block; /* we control show/hide via JS */
  background: #fff;
}

/* visible section */
.rd-tab-section.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  position: relative; /* so the section participates in height measurement */
}

/* gentle flash overlay while animating (optional, looks smoother) */
.rd-tabs-content.animating::after {
  content: '';
  position: absolute;
  inset: 0;
  background: #fff;
  opacity: 0.25;
  pointer-events: none;
  transition: opacity .2s ease;
}

/* responsive adjustments */
@media (max-width: 768px) {
  .rd-tabs-content { padding: 16px; min-height: 180px; }
  .rd-tabs-nav button { padding: 8px 12px; }
}
/*===========
.rd-tabs-content {
  position: relative;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 20px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  transition: height 0.5s ease; /* 👈 smooth height animation 
}
===========*/
/* Each section positioned absolutely for fade/slide 

.rd-tab-section {
    background: #ffffff;
  transform: translateY(20px);
  pointer-events: none;
  transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.rd-tab-section.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  position: relative;
}

/* Overlay during transition 

.rd-tabs-content::after {
  content: '';
  position: absolute;
  inset: 0;
  background: #fff;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.rd-tabs-content.animating::after {
  opacity: 0.3;
}
*/
/* Nav buttons

.rd-tabs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
   position: sticky;
  top: var(--rd-sticky-offset, 0px); /* dynamic top based on header 
  background: #fff;
  padding: 12px 0;
  margin: 25px 0 20px;
  border-bottom: 1px solid #eee;
  display: flex;
  gap: 16px;
  z-index: 10000; /* keep high 
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}



.rd-tabs-nav button.active {
  background: #ff6b00;
  color: #fff;
  box-shadow: 0 2px 8px rgba(255,107,0,0.3);
  transform: translateY(-1px);
}





.rd-tabs-nav button {
  background: none;
  border: none;
  padding: 8px 14px;
  font-weight: 500;
  cursor: pointer;
  border-radius: 6px;
  color: #024542;
  transition: 0.3s;
}

.rd-tabs-nav button:hover
{
  background: #ff6b00;
  color: #fff;
}

@media (max-width: 768px) {
  .rd-tabs-content {
    padding: 16px;
  }
}
*/
/* ========== HIGHLIGHTS GRID STYLE ========== */
.rd-highlight-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 15px;
}

.rd-highlight-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 14px 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  transition: 0.25s;
}

.rd-highlight-card:hover {
  border-color: #ff6b00;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.rd-h-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  opacity: 0.9;
}

.rd-highlight-card h4 {
  margin: 0;
 font-size: .8em;
    font-weight: 500;
    color: #024542;
    font-family: 'Montserrat', 'Open Sans';
}

.rd-highlight-card p {
  margin: 3px 0 0;
 font-size: .8em;
    color: #555;
    line-height: 1.4;
    font-family: 'Karla', 'Open Sans';
    font-weight: 300;
}

/* ========== SIGHTSEEING GRID ========== */
.rd-sight-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 20px;
  margin-top: 15px;
}

.rd-sight-item {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  transition: 0.25s;
}
.rd-sight-item span {
    font-size: .9em;
    color: #555;
    /* margin-bottom: 4px; */
    font-family: 'Karla', 'Open Sans';
}
.rd-sight-item:hover {
  border-color: #ff6b00;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.rd-sight-icon {
  width: 18px;
  height: 18px;
  opacity: 0.85;
}

.rd-sight-item span {
  color: #024542;
  font-size: 14px;
  font-weight: 500;
}
/* ========== KNOW MORE SECTION ========== */
.rd-know-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 15px;
}

.rd-know-card {
  display: flex;
  gap: 14px;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 12px;
  align-items: flex-start;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  transition: 0.25s;
}

.rd-know-card:hover {
  border-color: #ff6b00;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.rd-know-img {
  width: 75px;
  height: 75px;
  border-radius: 6px;
  object-fit: cover;
}

.rd-know-card h4 {
  margin: 0;
 font-size: .9em;
    color: #444;
    font-family: 'Montserrat';
    font-weight: 500;
  
}

.rd-know-card p {
  margin: 4px 0 0;
 line-height: 1.45;
    font-size: .8em;
    color: #444;
    margin-bottom: 4px;
    font-family: 'Karla', 'Open Sans';
    font-weight: 300;
}
/* ========== INCLUSIONS / EXCLUSIONS ========== */
.rd-inc-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 15px;
}

.rd-inc-box, .rd-exc-box {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 16px 18px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  transition: 0.25s;
}

.rd-inc-box:hover, .rd-exc-box:hover {
  border-color: #ff6b00;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.rd-inc-box h4, .rd-exc-box h4 {
  margin: 0 0 10px;
 font-size: .9em;
    margin-bottom: 14px;
    color: #024542;
    font-family: 'Montserrat';
    font-weight: 500;
}

.rd-inc-box ul, .rd-exc-box ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rd-inc-box li, .rd-exc-box li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .9em;
    color: #444;
    font-family: 'Karla', 'Open Sans';
    font-weight: 300;
}

.rd-inc-box li img, .rd-exc-box li img {
  width: 18px;
  height: 18px;
  opacity: 0.9;
}
/* ========== IMPORTANT INFORMATION ========== */
.rd-info-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 15px;
}

.rd-info-item {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 12px 14px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  transition: 0.25s;
  
}

.rd-info-item:hover {
  border-color: #ff6b00;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.rd-info-icon {
  width: 18px;
  height: 18px;
  opacity: 0.85;
  flex-shrink: 0;
  margin-top: 14px;
}

.rd-info-item p {
  margin: 0;
  line-height: 1.45;font-size: .9em;
    color: #444;
    font-family: 'Karla', 'Open Sans';
}
/* ---------- RESPONSIVE ---------- */
@media (max-width: 992px) {
  .rd-booking-wrapper {
    grid-template-columns: 1fr;
  }
  .rd-right .rd-sticky {
    position: static;
  }
  .rd-fare-bottom {
    display: flex;
  }
  .rd-mini-header.compact {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .rd-card {
    padding: 18px;
  }
}
