/* ==========================================================================
   Bharat Yatra - Book Your Trip Page Stylesheet (Clean & Balanced Layout)
   Theme: Luxury India Tourism
   Palette: Deep Navy (#0B1736), Warm Off-White (#F8F6F1), Gold (#C9A45C), Slate (#64748B)
   ========================================================================== */

/* Accessibility / Visually Hidden Form Controls */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Main Container & Page Flow */
.book-page-wrapper {
  background-color: transparent !important;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  width: 100%;
}

/* ==========================================================================
   1. HERO SECTION
   ========================================================================== */
.book-hero-section {
  position: relative;
  width: 100%;
  min-height: 70vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 9.5rem 1.5rem 5.5rem 1.5rem;
  overflow: hidden;
  text-align: center;
}

.book-hero-bg-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.book-hero-bg-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(11, 23, 54, 0.72) 0%,
    rgba(11, 23, 54, 0.48) 45%,
    rgba(11, 23, 54, 0.88) 100%
  );
  z-index: 2;
  pointer-events: none;
}

.book-hero-bg-img {
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
  filter: none;
  display: block;
}

.book-hero-dark-overlay {
  display: none !important;
}

.book-hero-content {
  position: relative;
  z-index: 3;
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.15rem;
  color: #ffffff;
}

.book-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1.15rem;
  background: rgba(11, 23, 54, 0.7);
  border: 1px solid rgba(201, 164, 92, 0.6);
  border-radius: var(--radius-full, 9999px);
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-gold, #C9A45C);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.badge-gold-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-gold, #C9A45C);
}

.book-hero-title {
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-shadow: 0 4px 25px rgba(0, 0, 0, 0.9), 0 2px 8px rgba(0, 0, 0, 0.95);
}

.book-hero-subtitle {
  font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: #ffffff;
  max-width: 660px;
  line-height: 1.6;
  font-weight: 500;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.9), 0 1px 4px rgba(0, 0, 0, 0.9);
}

.book-hero-btn-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 0.5rem;
  flex-wrap: wrap;
}

.book-hero-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 2rem;
  background: linear-gradient(135deg, #C9A45C 0%, #D4AF37 100%);
  color: #0B1736;
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  border-radius: var(--radius-full, 9999px);
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(201, 164, 92, 0.4);
  transition: all 0.25s ease;
}

.book-hero-cta-btn:hover {
  background: linear-gradient(135deg, #dfb96c 0%, #e5c36f 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(201, 164, 92, 0.55);
  color: #0B1736;
}

.book-hero-secondary-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.85rem;
  background: rgba(11, 23, 54, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1.5px solid rgba(201, 164, 92, 0.6);
  color: #FFFFFF;
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  border-radius: var(--radius-full, 9999px);
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  transition: all 0.25s ease;
}

.book-hero-secondary-btn:hover {
  background: #0B1736;
  border-color: #C9A45C;
  color: #C9A45C;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(11, 23, 54, 0.4);
}

/* ==========================================================================
   BACKGROUND DARK BLUE DASHED JOURNEY LINE
   Scroll-driven: Starts at bottom of Hero section, draws downward behind form cards
   ========================================================================== */
.graffico-journey-line-track {
  position: absolute;
  left: 0;
  width: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: visible;
}

.graffico-journey-svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.graffico-blue-path {
  fill: none;
  stroke: #0B1736;
  stroke-width: 2.85px;
  stroke-dasharray: 12 10;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 6px rgba(11, 23, 54, 0.4));
  animation: grafficoDashTravel 22s linear infinite;
}

@keyframes grafficoDashTravel {
  from {
    stroke-dashoffset: 0;
  }
  to {
    stroke-dashoffset: -440;
  }
}

.graffico-node-group {
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform-box: fill-box;
  transform-origin: center center;
}

.graffico-node-outer {
  fill: none;
  stroke: rgba(11, 23, 54, 0.35);
  stroke-width: 1.5px;
  animation: grafficoPulseRing 3.5s ease-in-out infinite alternate;
}

.graffico-node-inner {
  fill: #0B1736;
  filter: drop-shadow(0 0 6px rgba(11, 23, 54, 0.5));
}

.graffico-node-core {
  fill: #ffffff;
}

/* Active Traveling Head Bead that rides down as you scroll */
.graffico-travel-head {
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.graffico-head-glow {
  animation: headPulseRing 1.8s ease-in-out infinite alternate;
  filter: drop-shadow(0 0 8px rgba(11, 23, 54, 0.45));
}

.graffico-head-inner {
  fill: #0B1736;
  filter: drop-shadow(0 0 6px rgba(11, 23, 54, 0.6));
}

@keyframes grafficoPulseRing {
  0% {
    r: 9px;
    opacity: 0.35;
  }
  100% {
    r: 15px;
    opacity: 0.85;
  }
}

@keyframes headPulseRing {
  0% {
    r: 11px;
    opacity: 0.45;
  }
  100% {
    r: 17px;
    opacity: 0.95;
  }
}

/* ==========================================================================
   2. TRIP DETAILS PLANNING FORM CONTAINER
   ========================================================================== */
.booking-form-section {
  position: relative;
  z-index: 10;
  padding: 3rem 1.5rem 5.5rem 1.5rem;
  width: 100%;
}

.booking-form-container {
  max-width: 1080px;
  margin: 0 auto;
  width: 100%;
}

.luxury-booking-form {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
  width: 100%;
}

/* Form Section Card */
.form-section-card {
  background: #FFFFFF;
  border: 1.5px solid var(--border-color, #D9E1E8);
  border-radius: 1.5rem;
  padding: 2.75rem 3.25rem;
  box-shadow: 0 6px 25px rgba(11, 23, 54, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
  box-sizing: border-box;
}

.form-section-card:hover {
  border-color: rgba(201, 164, 92, 0.4);
  box-shadow: 0 10px 30px rgba(11, 23, 54, 0.07);
}

.form-section-header {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #EEF2F6;
}

.section-number-badge {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #0B1736;
  color: var(--accent-gold, #C9A45C);
  border: 2px solid var(--accent-gold, #C9A45C);
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: 1.2rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.section-header-text {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.form-section-title {
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: 1.7rem;
  font-weight: 800;
  color: #0B1736;
  letter-spacing: -0.01em;
  margin: 0;
  line-height: 1.25;
}

.form-section-desc {
  font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
  font-size: 1.02rem;
  color: #64748B;
  margin: 0;
  line-height: 1.55;
}

/* ==========================================================================
   SECTION 1: DESTINATION MULTI-SELECT
   ========================================================================== */
.dest-multi-select-wrap {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  width: 100%;
}

.dest-search-bar {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: #FFFFFF;
  border: 1.5px solid var(--border-color, #D9E1E8);
  border-radius: 0.95rem;
  padding: 0.95rem 1.4rem;
  min-height: 60px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
  box-sizing: border-box;
}

.dest-search-bar:focus-within {
  border-color: #0B1736;
  box-shadow: 0 0 0 3px rgba(11, 23, 54, 0.08);
}

.dest-search-bar .search-icon {
  color: var(--accent-gold, #C9A45C);
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.dest-search-input {
  border: none;
  outline: none;
  width: 100%;
  font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
  font-size: 1.05rem;
  color: #0F172A;
  background: transparent;
}

.dest-search-input::placeholder {
  color: #94A3B8;
}

.dest-count-pill {
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: 0.82rem;
  font-weight: 800;
  padding: 0.4rem 0.9rem;
  background: #0B1736;
  color: var(--accent-gold, #C9A45C);
  border-radius: 9999px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Dropdown Menu */
.dest-dropdown-menu {
  display: none;
  position: absolute;
  top: 68px;
  left: 0;
  right: 0;
  width: 100%;
  max-height: 320px;
  overflow-y: auto;
  background: #FFFFFF;
  border: 1.5px solid var(--border-color, #D9E1E8);
  border-radius: 0.85rem;
  box-shadow: 0 16px 36px rgba(11, 23, 54, 0.14);
  padding: 0.5rem;
  z-index: 100;
  scrollbar-width: thin;
  scrollbar-color: #CBD5E1 transparent;
  box-sizing: border-box;
}

.dest-dropdown-menu::-webkit-scrollbar {
  width: 6px;
}

.dest-dropdown-menu::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 6px;
}

.dest-dropdown-menu.open {
  display: block;
}

.dest-group-title {
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #0B1736;
  padding: 0.65rem 0.75rem 0.35rem 0.75rem;
  background: #F1F5F9;
  border-radius: 0.4rem;
  margin: 0.3rem 0 0.2rem 0;
}

.dest-dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 0.75rem;
  border-radius: 0.55rem;
  cursor: pointer;
  transition: background 0.15s ease;
  user-select: none;
}

.dest-dropdown-item:hover {
  background: #F1F5F9;
}

.dest-dropdown-item.selected {
  background: rgba(201, 164, 92, 0.12);
}

.dest-item-thumb {
  width: 38px;
  height: 38px;
  border-radius: 0.45rem;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid #E2E8F0;
}

.dest-item-meta {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  flex: 1;
}

.dest-item-name {
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-weight: 700;
  font-size: 0.92rem;
  color: #0F172A;
}

.dest-item-cap {
  font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
  font-size: 0.76rem;
  color: #64748B;
}

.dest-item-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid #CBD5E1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  color: transparent;
  flex-shrink: 0;
}

.dest-dropdown-item.selected .dest-item-check {
  background: #0B1736;
  border-color: #0B1736;
  color: var(--accent-gold, #C9A45C);
}

/* Selected Chips */
.selected-dest-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  min-height: 2.2rem;
  align-items: center;
  width: 100%;
}

.dest-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.3rem 0.65rem 0.3rem 0.4rem;
  background: #0B1736;
  color: #FFFFFF;
  border: 1px solid rgba(201, 164, 92, 0.4);
  border-radius: 9999px;
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(11, 23, 54, 0.15);
}

.dest-chip-img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--accent-gold, #C9A45C);
}

.dest-chip-remove {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #FFFFFF;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  cursor: pointer;
  transition: background 0.15s ease;
  line-height: 1;
}

.dest-chip-remove:hover {
  background: #ef4444;
}

/* ==========================================================================
   SECTION 2: TRAVEL DATES
   ========================================================================== */
.form-two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  width: 100%;
}

.form-field-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  width: 100%;
}

.form-field-group.full-width {
  grid-column: 1 / -1;
}

.field-label {
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: 0.92rem;
  font-weight: 700;
  color: #0F172A;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.field-label .req {
  color: #dc2626;
  font-weight: 800;
}

.field-hint {
  font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
  font-size: 0.78rem;
  color: #64748B;
}

.luxury-form-input,
.luxury-form-select,
.luxury-form-textarea {
  width: 100%;
  height: 56px;
  padding: 0.85rem 1.35rem;
  border: 1.5px solid var(--border-color, #D9E1E8);
  border-radius: 0.95rem;
  background: #FFFFFF;
  font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
  font-size: 1.05rem;
  color: #0F172A;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}

.luxury-form-input:focus,
.luxury-form-select:focus,
.luxury-form-textarea:focus {
  border-color: #0B1736;
  box-shadow: 0 0 0 3px rgba(11, 23, 54, 0.08);
}

.luxury-form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230B1736' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.25rem center;
  background-size: 15px;
  padding-right: 2.75rem;
  cursor: pointer;
}

.luxury-form-textarea {
  height: auto;
  min-height: 115px;
  resize: vertical;
  line-height: 1.55;
}

/* ==========================================================================
   SECTIONS 3 & 4: CHOICE CARDS (Travel Type & Transportation)
   ========================================================================== */
.travel-type-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.15rem;
  width: 100%;
}

.transportation-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.95rem;
  width: 100%;
}

.choice-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.45rem;
  padding: 1.45rem 0.85rem;
  min-height: 145px;
  background: #FAFAFA;
  border: 1.5px solid var(--border-color, #D9E1E8);
  border-radius: 1.1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
  box-sizing: border-box;
}

.choice-card:hover {
  border-color: var(--accent-gold, #C9A45C);
  background: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(11, 23, 54, 0.08);
}

.choice-card.active {
  background: #0B1736;
  border-color: var(--accent-gold, #C9A45C);
  color: #FFFFFF;
  box-shadow: 0 8px 22px rgba(11, 23, 54, 0.2);
}

.choice-card-icon {
  font-size: 2.35rem;
  margin-bottom: 0.15rem;
  line-height: 1;
}

.choice-card-title {
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: 1.12rem;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.2;
}

.choice-card.active .choice-card-title {
  color: #FFFFFF;
}

.choice-card-sub {
  font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
  font-size: 0.84rem;
  color: #64748B;
  line-height: 1.35;
}

.choice-card.active .choice-card-sub {
  color: rgba(255, 255, 255, 0.8);
}

/* ==========================================================================
   SECTION 5: INTERESTS MULTI-SELECT PILLS
   ========================================================================== */
.interests-pills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  width: 100%;
}

.interest-pill-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.45rem;
  background: #FAFAFA;
  border: 1.5px solid var(--border-color, #D9E1E8);
  border-radius: var(--radius-full, 9999px);
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.interest-pill-checkbox:hover {
  border-color: var(--accent-gold, #C9A45C);
  background: #FFFFFF;
  transform: translateY(-1px);
}

.interest-pill-checkbox.active {
  background: #0B1736;
  border-color: var(--accent-gold, #C9A45C);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(11, 23, 54, 0.15);
}

.interest-pill-text {
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: 1.02rem;
  font-weight: 700;
  color: #0F172A;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.interest-pill-checkbox.active .interest-pill-text {
  color: #FFFFFF;
}

.interest-check-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 900;
  color: transparent;
  flex-shrink: 0;
}

.interest-pill-checkbox.active .interest-check-icon {
  background: var(--accent-gold, #C9A45C);
  color: #0B1736;
}

/* ==========================================================================
   SECTION 6: TRAVELLER DETAILS & ACCOMMODATION
   ========================================================================== */
.form-fields-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  width: 100%;
}

.traveler-counts-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  width: 100%;
}

.count-input-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.count-sub-label {
  font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
  font-size: 0.78rem;
  color: #64748B;
  font-weight: 600;
}

.counter-control {
  display: flex;
  align-items: center;
  height: 56px;
  border: 1.5px solid var(--border-color, #D9E1E8);
  border-radius: 0.95rem;
  background: #FAFAFA;
  overflow: hidden;
  box-sizing: border-box;
}

.counter-control:focus-within {
  border-color: #0B1736;
  box-shadow: 0 0 0 3px rgba(11, 23, 54, 0.08);
}

.counter-btn {
  width: 54px;
  height: 100%;
  background: #EEF3F6;
  border: none;
  font-size: 1.45rem;
  font-weight: 700;
  color: #0B1736;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
  flex-shrink: 0;
}

.counter-btn:hover {
  background: #0B1736;
  color: var(--accent-gold, #C9A45C);
}

.counter-number-input {
  flex: 1;
  width: 100%;
  height: 100%;
  border: none;
  outline: none;
  text-align: center;
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: 1.25rem;
  font-weight: 800;
  color: #0B1736;
  background: transparent;
}

/* Accommodation Radio Grid */
.accommodation-radio-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.85rem;
  width: 100%;
}

.accom-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
  padding: 1.35rem 1.15rem;
  min-height: 135px;
  background: #FAFAFA;
  border: 1.5px solid var(--border-color, #D9E1E8);
  border-radius: 1.1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
  text-align: left;
  box-sizing: border-box;
}

.accom-card:hover {
  border-color: var(--accent-gold, #C9A45C);
  background: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(11, 23, 54, 0.08);
}

.accom-card.active {
  background: #0B1736;
  border-color: var(--accent-gold, #C9A45C);
  color: #FFFFFF;
  box-shadow: 0 8px 22px rgba(11, 23, 54, 0.2);
}

.accom-badge {
  display: inline-block;
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-gold, #C9A45C);
}

.accom-title {
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-weight: 800;
  font-size: 1.15rem;
  color: #0F172A;
  line-height: 1.2;
}

.accom-card.active .accom-title {
  color: #FFFFFF;
}

.accom-desc {
  font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
  font-size: 0.86rem;
  color: #64748B;
  line-height: 1.4;
}

.accom-card.active .accom-desc {
  color: rgba(255, 255, 255, 0.85);
}

/* ==========================================================================
   SECTION 7: SUBMIT BUTTON & FOOTER
   ========================================================================== */
.form-submit-card {
  background: #FFFFFF;
  border: 1.5px solid var(--border-color, #D9E1E8);
  border-radius: 1.5rem;
  padding: 2.75rem 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
  text-align: center;
  box-shadow: 0 6px 22px rgba(11, 23, 54, 0.04);
  width: 100%;
  box-sizing: border-box;
}

.submit-info-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
  font-size: 0.96rem;
  color: #64748B;
  max-width: 680px;
  line-height: 1.5;
}

.plan-my-trip-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  max-width: 440px;
  height: 64px;
  background: #0B1736;
  color: var(--accent-gold, #C9A45C);
  border: 2px solid var(--accent-gold, #C9A45C);
  border-radius: var(--radius-full, 9999px);
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(11, 23, 54, 0.22);
  transition: all 0.25s ease;
}

/* ==========================================================================
   INTERACTIVE REACTIVE BANNERS & STATE HIGHLIGHTS
   ========================================================================== */
.dest-selected-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
  width: 100%;
  margin-top: 1rem;
}

.dest-highlight-mini-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 1rem;
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: 1rem;
  transition: all 0.25s ease;
}

.dest-highlight-mini-card:hover {
  border-color: var(--accent-gold, #C9A45C);
  background: #FFFFFF;
  box-shadow: 0 4px 14px rgba(11, 23, 54, 0.08);
  transform: translateY(-2px);
}

.dest-mini-img {
  width: 48px;
  height: 48px;
  border-radius: 0.75rem;
  object-fit: cover;
  flex-shrink: 0;
  border: 1.5px solid var(--accent-gold, #C9A45C);
}

.dest-mini-meta {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.dest-mini-title {
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: 0.95rem;
  font-weight: 800;
  color: #0B1736;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dest-mini-place {
  font-size: 0.78rem;
  color: #64748B;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dest-mini-spots {
  font-size: 0.72rem;
  color: #0284C7;
  font-weight: 600;
}

/* Info & Guidance Banners */
.dates-duration-banner,
.travel-type-info-banner,
.transport-info-banner,
.interests-summary-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0.85rem 1.25rem;
  background: rgba(11, 23, 54, 0.04);
  border: 1px solid rgba(11, 23, 54, 0.12);
  border-radius: 0.85rem;
  margin-top: 1.25rem;
  width: 100%;
  box-sizing: border-box;
}

.duration-highlight-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #0B1736;
  color: var(--accent-gold, #C9A45C);
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: 0.88rem;
  font-weight: 800;
}

.duration-sub-text,
.tip-text {
  font-size: 0.84rem;
  color: #475569;
  font-weight: 500;
}

.tip-icon {
  font-size: 1.15rem;
}

/* ==========================================================================
   SECTION 7: REAL-TIME DYNAMIC TRIP SUMMARY & ESTIMATE HUD
   ========================================================================== */
.live-summary-card {
  background: linear-gradient(135deg, #0B1736 0%, #11224D 100%);
  border: 2px solid var(--accent-gold, #C9A45C);
  color: #FFFFFF;
  box-shadow: 0 12px 36px rgba(11, 23, 54, 0.25);
}

.live-summary-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.live-summary-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.95rem;
  background: rgba(201, 164, 92, 0.15);
  border: 1px solid rgba(201, 164, 92, 0.45);
  border-radius: 9999px;
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--accent-gold, #C9A45C);
  letter-spacing: 0.08em;
}

.live-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 8px #22C55E;
  animation: pulseDot 1.8s infinite;
}

.live-summary-title {
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: 1.55rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0;
}

.live-summary-subtitle {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.live-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  width: 100%;
}

.summary-metric-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1rem;
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.metric-label {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-gold, #C9A45C);
}

.metric-value-row {
  min-height: 28px;
  display: flex;
  align-items: center;
}

.metric-highlight {
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: 1.05rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.25;
}

.metric-sub {
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.65);
}

/* Dynamic Price Box */
.live-price-estimate-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
  background: rgba(201, 164, 92, 0.12);
  border: 1.5px solid rgba(201, 164, 92, 0.5);
  border-radius: 1.15rem;
  padding: 1.25rem 1.75rem;
  margin-top: 1.5rem;
  width: 100%;
  box-sizing: border-box;
}

.price-estimate-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.price-est-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
}

.price-est-value-wrap {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.price-est-value {
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: 1.75rem;
  font-weight: 900;
  color: #FFE29F;
  letter-spacing: -0.02em;
}

.price-est-per {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 600;
}

.price-est-note {
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

.verified-guarantee-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(201, 164, 92, 0.6);
  border-radius: 9999px;
  padding: 0.45rem 1rem;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--accent-gold, #C9A45C);
  white-space: nowrap;
}

@media (max-width: 900px) {
  .live-summary-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 550px) {
  .live-summary-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   CONFIRMATION MODAL DIALOG
   ========================================================================== */
.booking-confirmation-modal {
  position: fixed;
  inset: 0;
  background: rgba(11, 23, 54, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.booking-confirmation-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.confirmation-dialog-card {
  background: #FFFFFF;
  border-radius: 1.5rem;
  border: 1.5px solid var(--accent-gold, #C9A45C);
  box-shadow: 0 20px 50px rgba(11, 23, 54, 0.35);
  max-width: 520px;
  width: 100%;
  padding: 2.5rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.15rem;
  transform: scale(0.95);
  transition: transform 0.25s ease;
  box-sizing: border-box;
}

.booking-confirmation-modal.active .confirmation-dialog-card {
  transform: scale(1);
}

.confirmation-icon-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--accent-gold, #C9A45C);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(201, 164, 92, 0.35);
}

.confirmation-title {
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: 1.65rem;
  font-weight: 800;
  color: #0B1736;
  margin: 0;
}

.confirmation-message {
  font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}

.confirmation-summary-box {
  width: 100%;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 0.75rem;
  padding: 1rem;
  text-align: left;
  font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
  font-size: 0.85rem;
  color: #0F172A;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  box-sizing: border-box;
}

.confirmation-close-btn {
  background: #0B1736;
  color: #FFFFFF;
  border: 1.5px solid #0B1736;
  padding: 0.8rem 2.5rem;
  border-radius: var(--radius-full, 9999px);
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 0.25rem;
}

.confirmation-close-btn:hover {
  background: var(--accent-gold, #C9A45C);
  border-color: var(--accent-gold, #C9A45C);
  color: #0B1736;
}

/* ==========================================================================
   COMPREHENSIVE RESPONSIVE STYLES (320px to 1280px)
   ========================================================================== */

/* 1. Large Tablet & Small Laptop (1025px - 1280px) */
@media (min-width: 1025px) and (max-width: 1280px) {
  .booking-form-container {
    max-width: 1000px;
    padding: 0 1rem;
  }
  .form-section-card {
    padding: 2.25rem 2.5rem;
  }
}

/* 2. Standard Tablet (769px - 1024px) */
@media (max-width: 1024px) {
  .book-hero-section {
    min-height: 500px;
    padding: 8rem 1.5rem 4.5rem 1.5rem;
  }
  .form-section-card {
    padding: 2rem 2rem;
  }
  .travel-type-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
  .transportation-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.85rem;
  }
  .accommodation-radio-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.85rem;
  }
  .live-summary-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }
}

/* 3. Small Tablet (601px - 768px) */
@media (max-width: 768px) {
  .book-hero-section {
    padding: 7rem 1.25rem 3.5rem 1.25rem;
    min-height: 440px;
  }
  .booking-form-section {
    padding: 2rem 1rem 4rem 1rem;
  }
  .form-section-card {
    padding: 1.75rem 1.35rem;
    border-radius: 1.15rem;
  }
  .form-section-header {
    gap: 0.9rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
  }
  .section-number-badge {
    width: 42px;
    height: 42px;
    font-size: 1rem;
  }
  .form-section-title {
    font-size: 1.35rem;
  }
  .form-section-desc {
    font-size: 0.92rem;
  }
  .form-two-col-grid,
  .form-fields-grid {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }
  .traveler-counts-row {
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
  }
  .interests-pills-grid {
    gap: 0.55rem;
  }
  .interest-pill-checkbox {
    padding: 0.65rem 1.15rem;
  }
  .interest-pill-text {
    font-size: 0.92rem;
  }
  .luxury-form-input,
  .luxury-form-select,
  .luxury-form-textarea {
    font-size: 16px !important; /* Prevents auto-zoom in mobile browsers */
  }
}

/* 4. Large Mobile (481px - 600px) */
@media (max-width: 600px) {
  .book-hero-title {
    font-size: clamp(1.85rem, 6.5vw, 2.5rem);
  }
  .book-hero-subtitle {
    font-size: 0.95rem;
  }
  .travel-type-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .transportation-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .accommodation-radio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .live-summary-grid {
    grid-template-columns: 1fr;
  }
  .live-price-estimate-box {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
  }
  .plan-my-trip-submit-btn {
    max-width: 100%;
    width: 100%;
  }
  .dest-selected-highlights {
    grid-template-columns: 1fr;
  }
}

/* 5. Standard Mobile (376px - 480px) */
@media (max-width: 480px) {
  .booking-form-section {
    padding: 1.5rem 0.85rem 3.5rem 0.85rem;
  }
  .form-section-card {
    padding: 1.35rem 1rem;
    border-radius: 1rem;
  }
  .form-section-title {
    font-size: 1.2rem;
  }
  .section-number-badge {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }
  .dest-search-bar {
    min-height: 52px;
    padding: 0.75rem 0.95rem;
  }
  .dest-search-input {
    font-size: 16px !important;
  }
  .dest-chip {
    font-size: 0.76rem;
    padding: 0.25rem 0.55rem 0.25rem 0.35rem;
  }
  .traveler-counts-row {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
  .counter-control {
    height: 50px;
  }
  .counter-btn {
    width: 48px;
    font-size: 1.25rem;
  }
  .counter-number-input {
    font-size: 1.1rem;
  }
  .form-submit-card {
    padding: 1.75rem 1.15rem;
  }
  .submit-info-text {
    font-size: 0.86rem;
  }
  .plan-my-trip-submit-btn {
    height: 56px;
    font-size: 1.05rem;
  }
  .confirmation-dialog-card {
    padding: 2rem 1.25rem;
    max-width: 95vw;
    border-radius: 1.25rem;
  }
  .confirmation-title {
    font-size: 1.35rem;
  }
}

/* 6. Small Mobile (320px - 375px) */
@media (max-width: 375px) {
  .booking-form-section {
    padding: 1.25rem 0.5rem 3rem 0.5rem;
  }
  .form-section-card {
    padding: 1.15rem 0.75rem;
  }
  .form-section-header {
    gap: 0.65rem;
  }
  .travel-type-grid,
  .transportation-grid,
  .accommodation-radio-grid {
    grid-template-columns: 1fr;
  }
  .choice-card {
    min-height: 110px;
    padding: 1rem 0.75rem;
  }
  .choice-card-icon {
    font-size: 1.85rem;
  }
  .choice-card-title {
    font-size: 1rem;
  }
  .interest-pill-checkbox {
    width: 100%;
    justify-content: space-between;
    padding: 0.6rem 0.95rem;
  }
  .dates-duration-banner,
  .travel-type-info-banner,
  .transport-info-banner,
  .interests-summary-banner {
    padding: 0.75rem 0.85rem;
    font-size: 0.8rem;
  }
  .confirmation-dialog-card {
    padding: 1.5rem 0.85rem;
  }
}



/* ==========================================================================
   INTERACTIVE 3D TOURISM ATLAS OF INDIA (BOOK YOUR TRIP PAGE)
   Palette: Deep Navy (#0B1736), Royal Gold (#C9A45C), Warm Ivory (#F8F6F1)
   Layout: 70% 3D Interactive Map Stage : 30% Live Destination Filter Panel
   ========================================================================== */

.book-map-section {
  position: relative;
  width: 100%;
  padding: 4.5rem 1.5rem 3.5rem 1.5rem;
  background: linear-gradient(180deg, #F8F6F1 0%, #EDF3F7 50%, #F8F6F1 100%);
  z-index: 10;
}

.book-map-container {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.book-map-header {
  margin-bottom: 2.25rem;
  text-align: center;
}

.book-map-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.38rem 1.15rem;
  background: rgba(11, 23, 54, 0.06);
  border: 1.5px solid rgba(201, 164, 92, 0.5);
  border-radius: var(--radius-full, 9999px);
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0B1736;
  margin-bottom: 0.85rem;
}

.badge-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #C9A45C;
  box-shadow: 0 0 8px #C9A45C;
  animation: badge-pulse 2s infinite ease-in-out;
}

@keyframes badge-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.5; }
}

.book-map-title {
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: clamp(1.85rem, 3.2vw, 2.75rem);
  font-weight: 900;
  color: #0B1736;
  letter-spacing: -0.02em;
  margin-bottom: 0.65rem;
}

.gold-gradient-text {
  background: linear-gradient(135deg, #C9A45C 0%, #b89148 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.book-map-subtitle {
  font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
  font-size: clamp(0.92rem, 1.4vw, 1.05rem);
  color: #475467;
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ==========================================================================
   FULL-WIDTH 3D INTERACTIVE TOURISM ITINERARY MAP STAGE (NO SIDEBAR)
   Theme: Luxury Navy (#0B1736), Royal Gold (#C9A45C), Warm Ivory (#F8F6F1)
   ========================================================================== */

/* Circuit Switcher Tab Bar */
.map-circuit-tabs-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.circuit-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1.15rem;
  background: #FFFFFF;
  border: 1.5px solid rgba(201, 164, 92, 0.45);
  color: #0B1736;
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: 0.84rem;
  font-weight: 700;
  border-radius: var(--radius-full, 9999px);
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(11, 23, 54, 0.05);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.circuit-tab-btn .circuit-icon {
  font-size: 1rem;
  line-height: 1;
}

.circuit-tab-btn:hover {
  background: #F8F6F1;
  border-color: #C9A45C;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(11, 23, 54, 0.1);
}

.circuit-tab-btn.active {
  background: linear-gradient(135deg, #0B1736 0%, #162650 100%);
  color: var(--accent-gold, #C9A45C);
  border-color: #C9A45C;
  font-weight: 800;
  box-shadow: 0 8px 24px rgba(11, 23, 54, 0.25), 0 0 15px rgba(201, 164, 92, 0.35);
  transform: translateY(-2px);
}

/* Full Width 3D Map Showcase Wrapper */
.book-map-showcase-full {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 1.25rem;
}

/* 3D Map Stage Container - Luxury Warm Ivory & White Card */
.map-3d-stage-full {
  position: relative;
  width: 100%;
  max-width: 900px;
  height: 780px;
  background: radial-gradient(circle at 50% 45%, #FFFFFF 0%, #FAF8F5 65%, #EBF1F6 100%);
  border: 1.5px solid rgba(201, 164, 92, 0.5);
  border-radius: 28px;
  box-shadow: 0 25px 65px rgba(11, 23, 54, 0.12), 0 0 35px rgba(201, 164, 92, 0.15);
  overflow: hidden;
  perspective: 1400px;
  cursor: grab;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-3d-stage-full:active {
  cursor: grabbing;
}

/* 3D Canvas with hardware acceleration */
.map-3d-canvas {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
  transition: transform 0.12s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}

/* Surface Layer holding the map, SVG routes and pins */
.map-surface-itinerary {
  position: relative;
  width: 88%;
  max-width: 600px;
  height: 96%;
  max-height: 720px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
}

.india-map-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 15px 35px rgba(11, 23, 54, 0.14)) contrast(1.03);
  border-radius: 12px;
  pointer-events: none;
}

.map-overlay-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(201, 164, 92, 0.02) 0%, rgba(11, 23, 54, 0.04) 90%);
  pointer-events: none;
  border-radius: 12px;
}

/* Animated SVG Travel Circuit Path Overlays */
.map-routes-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 10;
  overflow: visible;
}

.circuit-path {
  fill: none;
  stroke: #C9A45C;
  stroke-width: 2.8px;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 6 5;
  opacity: 0.18;
  filter: drop-shadow(0 0 5px rgba(201, 164, 92, 0.8));
  transition: opacity 0.4s ease, stroke-width 0.4s ease, stroke 0.4s ease;
}

.circuit-path.active {
  opacity: 0.95;
  stroke: #D4AF37;
  stroke-width: 3.2px;
  animation: circuitFlowDash 1.2s linear infinite;
}

@keyframes circuitFlowDash {
  from { stroke-dashoffset: 22; }
  to { stroke-dashoffset: 0; }
}

.map-moving-tracer {
  fill: #FFD700;
  stroke: #0B1736;
  stroke-width: 0.8px;
  filter: drop-shadow(0 0 8px #FFD700);
  opacity: 0.95;
  animation: tracerGlow 1.5s ease-in-out infinite alternate;
}

@keyframes tracerGlow {
  0% { transform: scale(1); filter: drop-shadow(0 0 4px #FFD700); }
  100% { transform: scale(1.35); filter: drop-shadow(0 0 12px #FFD700); }
}

/* 36 / 29 Hotspot Pins Container */
.map-pins-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: auto;
  transform-style: preserve-3d;
  z-index: 20;
}

/* Individual 3D Pin Marker */
.map-pin-marker {
  position: absolute;
  transform: translate(-50%, -50%) translateZ(28px);
  cursor: pointer;
  z-index: 25;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-pin-marker:hover,
.map-pin-marker.active {
  transform: translate(-50%, -50%) translateZ(75px) scale(1.25);
  z-index: 70;
}

.map-pin-marker.highlighted {
  z-index: 50;
}

.map-pin-marker.highlighted .pin-core-dot {
  background: #FFD700;
  border-color: #0B1736;
  box-shadow: 0 0 16px #FFD700, 0 0 24px rgba(201, 164, 92, 0.9);
}

.map-pin-marker.highlighted .pin-beacon-pulse {
  background: rgba(255, 215, 0, 0.6);
  animation-duration: 1.4s;
}

.map-pin-marker.dimmed {
  opacity: 0.22;
  filter: grayscale(0.85);
  pointer-events: none;
}

.pin-beacon-pulse {
  position: absolute;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(201, 164, 92, 0.45);
  animation: pin-pulse 2s infinite ease-out;
  pointer-events: none;
}

@keyframes pin-pulse {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(2.3); opacity: 0; }
}

.pin-core-dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0B1736 0%, #1a2f62 100%);
  border: 2.5px solid #C9A45C;
  box-shadow: 0 3px 8px rgba(11, 23, 54, 0.3), 0 0 10px rgba(201, 164, 92, 0.6);
  position: relative;
  z-index: 2;
  transition: all 0.2s ease;
}

.map-pin-marker:hover .pin-core-dot,
.map-pin-marker.active .pin-core-dot {
  background: #C9A45C;
  border-color: #0B1736;
  box-shadow: 0 0 18px rgba(201, 164, 92, 0.95), 0 0 25px #0B1736;
}

/* Pin indicator for states already selected in trip form */
.map-pin-marker.selected-in-plan .pin-core-dot {
  background: #C9A45C;
  border-color: #0B1736;
  box-shadow: 0 0 16px rgba(201, 164, 92, 0.95), 0 0 8px #0B1736;
}

.map-pin-marker.selected-in-plan .pin-beacon-pulse {
  background: rgba(201, 164, 92, 0.7);
}

/* Pin Tooltip Label Badge on Hover */
.pin-label-badge {
  position: absolute;
  bottom: calc(100% + 7px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  opacity: 0;
  pointer-events: none;
  background: #0B1736;
  color: #FFFFFF;
  border: 1px solid #C9A45C;
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm, 0.5rem);
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(11, 23, 54, 0.35);
  transition: all 0.2s ease;
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.map-pin-marker:hover .pin-label-badge,
.map-pin-marker.active .pin-label-badge {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Floating 3D State Popup Card on Map */
.map-state-floating-popup {
  position: absolute;
  width: 290px;
  background: #FFFFFF;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1.5px solid var(--accent-gold, #C9A45C);
  border-radius: var(--radius-lg, 1.25rem);
  box-shadow: 0 25px 60px rgba(11, 23, 54, 0.18), 0 0 25px rgba(201, 164, 92, 0.2);
  transform: translate(-50%, -105%) translateZ(90px);
  z-index: 100;
  overflow: hidden;
  animation: popup-bounce 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes popup-bounce {
  from { opacity: 0; transform: translate(-50%, -90%) translateZ(20px) scale(0.85); }
  to { opacity: 1; transform: translate(-50%, -105%) translateZ(90px) scale(1); }
}

.map-popup-close-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid #D9E1E8;
  color: #0B1736;
  font-size: 1.1rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease;
}

.map-popup-close-btn:hover {
  background: #0B1736;
  color: #FFFFFF;
  border-color: #0B1736;
}

.map-popup-thumb-wrap {
  position: relative;
  width: 100%;
  height: 130px;
  overflow: hidden;
  background: #0B1736;
}

.map-popup-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.map-popup-thumb-wrap:hover img {
  transform: scale(1.08);
}

.map-popup-type-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(11, 23, 54, 0.9);
  border: 1px solid var(--accent-gold, #C9A45C);
  color: var(--accent-gold, #C9A45C);
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.18rem 0.5rem;
  border-radius: var(--radius-full, 9999px);
}

.map-popup-content {
  padding: 0.85rem 1rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  text-align: left;
}

.map-popup-region {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #a67c2e;
}

.map-popup-title {
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: 1.15rem;
  font-weight: 800;
  color: #0B1736;
  margin: 0;
}

.map-popup-place {
  font-size: 0.82rem;
  font-weight: 700;
  color: #b89148;
  margin: 0;
}

.map-popup-capital {
  font-size: 0.75rem;
  color: #64748B;
  margin: 0;
}

.map-popup-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.map-popup-select-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, #0B1736 0%, #15244F 100%);
  color: #C9A45C;
  border: 1.5px solid #C9A45C;
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-full, 9999px);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(11, 23, 54, 0.15);
  transition: all 0.2s ease;
}

.map-popup-select-btn:hover {
  background: #C9A45C;
  color: #0B1736;
  transform: translateY(-1px);
}

.map-popup-select-btn.selected {
  background: #C9A45C;
  color: #0B1736;
  border-color: #0B1736;
  font-weight: 800;
}

.map-popup-open-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  background: #F8F6F1;
  border: 1px solid #D9E1E8;
  color: #0B1736;
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.45rem 0.65rem;
  border-radius: var(--radius-full, 9999px);
  text-decoration: none;
  transition: all 0.2s ease;
}

.map-popup-open-btn:hover {
  background: #EEF3F6;
  border-color: var(--accent-gold, #C9A45C);
}

/* Floating 3D Controls Bar at Bottom of Map */
.map-3d-controls-overlay {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  z-index: 30;
  pointer-events: none;
}

.map-control-btn-group {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(201, 164, 92, 0.4);
  padding: 0.32rem 0.5rem;
  border-radius: var(--radius-full, 9999px);
  pointer-events: auto;
  box-shadow: 0 8px 24px rgba(11, 23, 54, 0.08);
}

.map-ctrl-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: transparent;
  border: none;
  color: #0B1736;
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.35rem 0.7rem;
  border-radius: var(--radius-full, 9999px);
  cursor: pointer;
  transition: all 0.2s ease;
}

.map-ctrl-btn:hover {
  background: #EEF3F6;
  color: #0B1736;
}

.map-ctrl-btn.active {
  background: #0B1736;
  color: #C9A45C;
  font-weight: 800;
}

.map-3d-hint {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid #D9E1E8;
  padding: 0.38rem 0.95rem;
  border-radius: var(--radius-full, 9999px);
  color: #475467;
  font-size: 0.74rem;
  font-weight: 600;
  pointer-events: auto;
  box-shadow: 0 4px 16px rgba(11, 23, 54, 0.06);
}

/* Destination Step Focus Highlight Pulse Animation */
@keyframes destSectionFocusPulse {
  0% { box-shadow: 0 0 0 0 rgba(201, 164, 92, 0.8), 0 10px 30px rgba(11, 23, 54, 0.08); }
  40% { box-shadow: 0 0 0 14px rgba(201, 164, 92, 0.35), 0 15px 40px rgba(201, 164, 92, 0.25); border-color: #C9A45C; }
  100% { box-shadow: 0 0 0 0 rgba(201, 164, 92, 0), 0 10px 30px rgba(11, 23, 54, 0.08); }
}

.dest-section-pulse-active {
  animation: destSectionFocusPulse 1.8s cubic-bezier(0.16, 1, 0.3, 1) 2 !important;
  border-color: var(--accent-gold, #C9A45C) !important;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS FOR 3D FULL MAP
   ========================================================================== */
@media (max-width: 992px) {
  .map-3d-stage-full {
    height: 660px;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .book-map-section {
    padding: 3rem 1rem 2.5rem 1rem;
  }
  .book-map-title {
    font-size: 1.65rem;
  }
  .map-circuit-tabs-wrap {
    gap: 0.4rem;
  }
  .circuit-tab-btn {
    font-size: 0.76rem;
    padding: 0.45rem 0.85rem;
  }
  .map-3d-stage-full {
    height: 520px;
    border-radius: 20px;
  }
  .map-surface-itinerary {
    width: 96%;
    height: 96%;
  }
  .map-3d-hint {
    display: none;
  }
  .map-state-floating-popup {
    width: 260px;
  }
}

@media (max-width: 480px) {
  .book-map-section {
    padding: 2.5rem 0.75rem 2rem 0.75rem;
  }
  .map-3d-stage-full {
    height: 440px;
    border-radius: 16px;
  }
  .map-control-btn-group {
    gap: 0.25rem;
    padding: 0.22rem 0.35rem;
  }
  .map-ctrl-btn {
    font-size: 0.7rem;
    padding: 0.22rem 0.45rem;
  }
  .map-state-floating-popup {
    width: 240px;
  }
  .map-popup-thumb-wrap {
    height: 105px;
  }
}
