/* =========================================================
   Divnitiy Travels — Core Stylesheet
   Design language: "Night Charts" — midnight-indigo aviation
   navigation charts + brushed-gold ticket details.
   ========================================================= */

:root {
  /* ---- Color tokens ---- */
  --indigo-950: #0B1130;
  --indigo-900: #10173B;
  --indigo-800: #131B3D;
  --indigo-700: #1B2550;
  --ivory:      #F6F4EE;
  --ivory-dim:  #EDE9DD;
  --gold:       #C6A15B;
  --gold-soft:  #E4CFA0;
  --gold-deep:  #9C7B39;
  --ink:        #1B1A17;
  --slate:      #6B7280;
  --slate-light:#98A0AE;
  --line:       rgba(198,161,91,0.28);
  --success:    #3E7D5A;
  --danger:     #B4553F;

  /* ---- Type ---- */
  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
  --font-mono: "Space Mono", monospace;

  /* ---- Shape ---- */
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 8px;

  /* ---- Shadow ---- */
  --shadow-soft: 0 20px 60px rgba(11,17,48,0.14);
  --shadow-deep: 0 30px 80px rgba(11,17,48,0.35);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, .font-display {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--indigo-950);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: "";
  width: 22px; 
  height: 1px;
  background: var(--gold-deep);
  display: inline-block;
}

a { text-decoration: none; color: inherit; }
::selection { background: var(--gold-soft); color: var(--indigo-950); }

.btn {
  border-radius: 100px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.75rem 1.7rem;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: all .35s ease;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-soft), var(--gold) 60%, var(--gold-deep));
  color: var(--indigo-950);
  box-shadow: 0 12px 30px rgba(198,161,91,0.35);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(198,161,91,0.5);
  color: var(--indigo-950);
}

.btn-outline-ivory {
  border-color: rgba(246,244,238,0.5);
  color: var(--ivory);
  background: transparent;
}

.btn-outline-ivory:hover {
  background: rgba(246,244,238,0.12);
  color: var(--ivory);
  border-color: var(--ivory);
}

.btn-outline-navy {
  border-color: var(--indigo-800);
  color: var(--indigo-800);
  background: transparent;
}

.btn-outline-navy:hover {
  background: var(--indigo-800);
  color: var(--ivory);
}

.btn-sm-pill { padding: 0.5rem 1.2rem; font-size: 0.82rem; }

.topbar {
  background: var(--indigo-950);
  color: var(--slate-light);
  font-size: 0.8rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(198,161,91,0.15);
}

.topbar a { color: var(--gold-soft); }
.topbar .divider { opacity: 0.3; margin: 0 12px; }

.navbar-divinity {
  /* Remains transparent initially to blend with the hero section */
  background: transparent !important; 
  backdrop-filter: none !important;
  border-bottom: none !important;
  padding: 24px 0;
  transition: all .4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
}

.navbar-divinity.scrolled {
    padding: 12px 0;
    /* Exact hero gradient layout to match the background perfectly on scroll */
    background: 
        linear-gradient(90deg, rgb(26 51 183 / 96%) 0%, rgba(11, 17, 48, 0.9) 38%, rgba(11, 17, 48, 0.8) 64%, rgba(11, 17, 48, 0.7) 100%), 
        linear-gradient(300deg, #F4E3C1 0%, #E7B98A 18%, #C97F6B 32%, #6A4E82 50%, #2A2E64 68%, var(--indigo-950) 100%) !important;
    backdrop-filter: blur(14px) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(198, 161, 91, 0.15) !important;
}

.brand-mark {
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: var(--ivory);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.brand-mark span { color: var(--gold); }

.navbar-divinity .nav-link {
  color: rgba(246,244,238,0.82);
  font-size: 0.92rem;
  font-weight: 600;
  margin: 0 4px;
  padding: 8px 14px !important;
  position: relative;
}

.navbar-divinity .nav-link.active,
.navbar-divinity .nav-link:hover { color: var(--gold-soft); }

.navbar-divinity .nav-link.active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.navbar-toggler { border: none; color: var(--ivory); }

.hero {
    position: relative;
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, rgb(26 51 183 / 95%) 0%, rgba(11, 17, 48, 0.75) 38%, rgba(11, 17, 48, 0.2) 64%, rgba(11, 17, 48, 0) 100%), linear-gradient(300deg, #F4E3C1 0%, #E7B98A 18%, #C97F6B 32%, #6A4E82 50%, #2A2E64 68%, var(--indigo-950) 100%);
    padding: 140px 0 100px;
    overflow: visible; /* Ensure nested elements (like dropdowns) aren't clipped */
    color: var(--ivory);
}

.hero-plane-wrap {
    position: absolute;
    right: 1%;
    top: 10%;
    width: 46%;
    max-width: 719px;
    pointer-events: none;
    opacity: 0.96;
    filter: drop-shadow(0 30px 45px rgba(11, 17, 48, 0.35));
}

.hero-plane-wrap svg { width: 100%; height: auto; display: block; }
.hero-eyebrow { color: var(--gold-soft); }

.hero h1 {
  color: var(--ivory);
  font-size: clamp(2.4rem, 4.6vw, 3.9rem);
  line-height: 1.08;
  max-width: 820px;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold-soft);
}

.hero p.lead {
  color: rgba(246,244,238,0.72);
  font-size: 1.08rem;
  max-width: 560px;
}

/* ---- Search widget: smooth single-row console ---- */
.search-console {
  background: rgba(246,244,238,0.08);
  border: 1px solid rgba(198,161,91,0.3);
  border-radius: var(--radius-lg);
  padding: 8px;
  box-shadow: var(--shadow-deep);
  margin-top: 48px;
}

.trip-tabs {
  display: flex; gap: 6px; padding: 8px 10px 4px;
}

.trip-tabs .tab-btn {
  background: transparent;
  border: 1px solid transparent;
  color: rgba(246,244,238,0.65);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 100px;
}

.trip-tabs .tab-btn i { margin-right: 6px; color: inherit; }
.trip-tabs .tab-btn.active {
  background: var(--gold);
  color: var(--indigo-950);
}

.search-fields {
  background: var(--ivory);
  border-radius: 16px;
  padding: 8px;
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  position: relative;
  z-index: 10; /* Ensures the form container stays above other sections */
  overflow: visible !important; /* CRITICAL FIX: Allows dropdown to spill outside the form */
}

.search-fields .field {
  flex: 1 1 0;
  min-width: 150px;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  overflow: visible !important; /* CRITICAL FIX: Ensure dropdown escapes individual field */
}

/* Specific fix for elements requiring absolute positioning over siblings */
.field.position-relative {
    position: relative !important;
    z-index: 9999 !important; 
}

.search-fields .field + .field { border-left: 1px solid rgba(27,26,23,0.1); }

.search-fields .field .field-icon {
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--ivory-dim);
  color: var(--gold-deep);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem; flex-shrink: 0;
}

.search-fields .field-text { min-width: 0; flex: 1; }

.search-fields label {
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--slate);
  display: block;
  margin-bottom: 2px;
}

.search-fields input, .search-fields select {
  border: none; background: transparent;
  width: 100%;
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--indigo-950);
  padding: 0;
  font-size: 0.95rem;
}

.search-fields input:focus, .search-fields select:focus { outline: none; box-shadow: none; }

/* Swap / exchange button between From and To */
.swap-icon-btn {
  position: absolute;
  right: -19px; top: 50%;
  transform: translateY(-50%);
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--indigo-950);
  color: var(--gold-soft);
  border: 3px solid var(--ivory);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  z-index: 2;
  cursor: pointer;
}

.swap-icon-btn:hover { background: var(--gold); color: var(--indigo-950); }

.search-fields .search-submit-field {
  flex: 0 0 auto;
  padding: 6px;
  border-left: none !important;
}

.search-fields .search-submit {
  border-radius: 12px;
  padding: 0 26px;
  height: 100%;
  min-height: 56px;
  display: flex; align-items: center; justify-content: center;
  white-space: nowrap;
}

/* ---- Multi-city rows ---- */
.multicity-row { margin-bottom: 8px; }
.multicity-row:last-child { margin-bottom: 0; }

.remove-flight-btn {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(180,85,63,0.35);
  background: rgba(180,85,63,0.08);
  color: var(--danger);
  display: flex; align-items: center; justify-content: center;
  transition: all .2s ease;
}

.remove-flight-btn:hover { background: var(--danger); color: #fff; }

/* ---- Flatpickr theme (gold / navy) ---- */
.flatpickr-calendar {
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(27,26,23,0.08);
  font-family: var(--font-body);
}

.flatpickr-months .flatpickr-month {
  background: var(--indigo-950);
  border-radius: 14px 14px 0 0;
  color: var(--ivory);
}

.flatpickr-current-month .flatpickr-monthDropdown-months,
.flatpickr-current-month input.cur-year {
  color: var(--ivory);
  font-family: var(--font-body);
  font-weight: 700;
}

.flatpickr-current-month .flatpickr-monthDropdown-months option { color: var(--ink); }
.flatpickr-weekdays { background: var(--indigo-950); }

span.flatpickr-weekday {
  background: var(--indigo-950);
  color: var(--gold-soft);
  font-weight: 700;
}

.flatpickr-prev-month, .flatpickr-next-month { color: var(--gold-soft) !important; fill: var(--gold-soft) !important; }

.flatpickr-day.selected, .flatpickr-day.selected:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--indigo-950);
}

.flatpickr-day:hover { background: var(--ivory-dim); }
.flatpickr-day.today { border-color: var(--gold-deep); }

/* =========================================================
   TICKET-STUB SIGNATURE CARD
   ========================================================= */
.stub-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid rgba(27,26,23,0.08);
  box-shadow: var(--shadow-soft);
  overflow: visible;
}

.stub-card::before,
.stub-card::after {
  content: "";
  position: absolute;
  width: 22px; height: 22px;
  background: var(--ivory);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  border: 1px solid rgba(27,26,23,0.08);
}

.stub-card::before { left: -11px; }
.stub-card::after { right: -11px; }

.stub-card .stub-divider {
  border-left: 1.5px dashed rgba(27,26,23,0.18);
  height: 100%;
}

/* =========================================================
   SECTIONS
   ========================================================= */
.section { padding: 100px 0; }
.section-tight { padding: 70px 0; }
.bg-navy { background: var(--indigo-950); color: var(--ivory); }
.bg-navy h2, .bg-navy h3 { color: var(--ivory); }
.bg-cream { background: var(--ivory-dim); }

.section-head { margin-bottom: 56px; }
.section-head h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); }
.section-head p { color: var(--slate); max-width: 560px; }

/* ---- Feature / why-choose cards ---- */
.feature-card {
  padding: 36px 30px;
  height: 100%;
}

.feature-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--indigo-900), var(--indigo-700));
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-soft);
  font-size: 1.3rem;
  margin-bottom: 20px;
}

.feature-card h4 { font-size: 1.15rem; margin-bottom: 10px; }
.feature-card p { color: var(--slate); font-size: 0.95rem; margin-bottom: 0; }

/* ---- Destination cards ---- */
.dest-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  height: 340px;
  display: flex;
  align-items: flex-end;
  box-shadow: var(--shadow-soft);
}

.dest-card img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
}

.dest-card:hover img { transform: scale(1.08); }

.dest-card .scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,17,48,0) 30%, rgba(11,17,48,0.85) 100%);
}

.dest-card .dest-body { position: relative; padding: 22px; color: var(--ivory); width: 100%; }
.dest-card .dest-price {
  font-family: var(--font-mono); color: var(--gold-soft); font-size: 0.85rem;
}

.dest-card h5 { color: var(--ivory); margin-bottom: 2px; }

/* ---- Airline strip ---- */
.airline-strip {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 30px;
  padding: 34px 0;
  opacity: 0.75;
}

.airline-strip .airline-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--slate);
  letter-spacing: 0.02em;
}

/* ---- Testimonials ---- */
.testimonial-card { padding: 34px; height: 100%; }
.testimonial-card .stars { color: var(--gold); font-size: 0.85rem; margin-bottom: 14px; }
.testimonial-card p.quote { font-family: var(--font-display); font-size: 1.08rem; font-style: italic; color: var(--indigo-950); }

.testimonial-person { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.testimonial-person .avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--indigo-800); color: var(--gold-soft);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 600;
}
.testimonial-person .name { font-weight: 700; font-size: 0.9rem; color: var(--indigo-950); }
.testimonial-person .role { font-size: 0.78rem; color: var(--slate); }

/* ---- Newsletter ---- */
.newsletter-box {
  background: linear-gradient(120deg, var(--indigo-900), var(--indigo-950));
  border-radius: var(--radius-lg);
  padding: 60px;
  position: relative;
  overflow: hidden;
  color: var(--ivory);
}

.newsletter-box::after {
  content: ""; position: absolute; right: -60px; top: -60px;
  width: 220px; height: 220px; border-radius: 50%;
  border: 1px dashed rgba(198,161,91,0.35);
}

.newsletter-form {
  display: flex; gap: 0;
  background: var(--ivory);
  border-radius: 100px;
  padding: 6px;
  max-width: 460px;
}

.newsletter-form input {
  border: none; background: transparent; flex: 1; padding: 10px 18px; font-family: var(--font-body);
}

.newsletter-form input:focus { outline: none; }

.footer {
  background: var(--indigo-950);
  color: rgba(246,244,238,0.65);
  padding-top: 80px;
}

.footer h6 {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 20px;
}

.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: 10px; }
.footer ul li a { color: rgba(246,244,238,0.65); font-size: 0.92rem; transition: color .25s; }
.footer ul li a:hover { color: var(--gold-soft); }
.footer .brand-mark { color: var(--ivory); }

.footer-bottom {
  border-top: 1px solid rgba(246,244,238,0.1);
  margin-top: 60px;
  padding: 22px 0;
  font-size: 0.82rem;
}

.social-dot {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(198,161,91,0.4);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--gold-soft); margin-right: 8px;
  transition: all .25s ease;
}

.social-dot:hover { background: var(--gold); color: var(--indigo-950); }

#backToTop {
  position: fixed; bottom: 28px; right: 28px;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--gold); color: var(--indigo-950);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 30px rgba(198,161,91,0.4);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all .3s ease;
  z-index: 999;
}
#backToTop.show { opacity: 1; visibility: visible; transform: translateY(0); }

#pageLoader {
  position: fixed; inset: 0; background: var(--indigo-950);
  z-index: 2000; display: flex; align-items: center; justify-content: center;
  transition: opacity .5s ease, visibility .5s ease;
}
#pageLoader.hidden { opacity: 0; visibility: hidden; }

.loader-ring {
  width: 48px; height: 48px; border-radius: 50%;
  border: 3px solid rgba(198,161,91,0.25);
  border-top-color: var(--gold);
  animation: spin 0.9s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.toast-divinity {
  position: fixed; top: 90px; right: 24px;
  background: var(--indigo-950); color: var(--ivory);
  border: 1px solid var(--gold);
  border-radius: 12px; padding: 14px 20px;
  font-size: 0.9rem;
  box-shadow: var(--shadow-deep);
  z-index: 2100;
  display: flex; align-items: center; gap: 10px;
  transform: translateX(120%);
  transition: transform .4s ease;
}

.toast-divinity.show { transform: translateX(0); }
.toast-divinity i { color: var(--gold-soft); }

.reveal { opacity: 1; }

.page-header {
    background: linear-gradient(90deg, rgb(26 51 183 / 95%) 0%, rgba(11, 17, 48, 0.75) 38%, rgba(11, 17, 48, 0.2) 64%, rgba(11, 17, 48, 0) 100%), linear-gradient(300deg, #F4E3C1 0%, #E7B98A 18%, #C97F6B 32%, #6A4E82 50%, #2A2E64 68%, var(--indigo-950) 100%);
    color: var(--ivory);
    padding: 150px 0 70px; /* Fixed syntax error here */
    position: relative;
    overflow: hidden;
}

.page-header .crumb { color: rgba(246,244,238,0.6); font-size: 0.85rem; }
.page-header .crumb a { color: var(--gold-soft); }
.page-header h1 { color: var(--ivory); font-size: clamp(2rem, 3.6vw, 3rem); }

/* =========================================================
   FLIGHT RESULTS PAGE
   ========================================================= */
.filters-panel {
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid rgba(27,26,23,0.08);
  padding: 26px;
  box-shadow: var(--shadow-soft);
}

.filters-panel h6 {
  font-family: var(--font-mono);
  font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--indigo-800); margin: 0 0 14px;
  padding-top: 18px; border-top: 1px dashed rgba(27,26,23,0.12);
}

.filters-panel h6:first-child { border-top: none; padding-top: 0; }
.filters-panel .form-check { margin-bottom: 8px; font-size: 0.9rem; }
.filters-panel .form-range { accent-color: var(--gold-deep); }

.flight-card {
  padding: 26px;
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 22px;
  align-items: center;
  margin-bottom: 22px;
}

.airline-logo-chip {
  width: 52px; height: 52px; border-radius: 12px;
  background: var(--indigo-950);
  color: var(--gold-soft);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.1rem;
}

.flight-route-row {
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
}

.route-time { font-family: var(--font-mono); font-size: 1.35rem; font-weight: 700; color: var(--indigo-950); }
.route-code { font-size: 0.78rem; color: var(--slate); letter-spacing: 0.04em; }

.route-path {
  flex: 1; min-width: 120px;
  display: flex; flex-direction: column; align-items: center;
  color: var(--slate); font-size: 0.75rem;
}

.route-line {
  width: 100%; height: 1px; background: repeating-linear-gradient(90deg, var(--slate-light) 0 6px, transparent 6px 11px);
  position: relative; margin: 6px 0;
}

.route-line i {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  background: #fff; color: var(--gold-deep); font-size: 0.8rem; padding: 0 4px;
}

.flight-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.flight-tags .badge {
  font-weight: 600; font-size: 0.72rem;
  border-radius: 100px; padding: 6px 12px;
}
.badge-refund { background: rgba(62,125,90,0.12); color: var(--success); }
.badge-baggage { background: rgba(198,161,91,0.14); color: var(--gold-deep); }
.badge-cabin { background: rgba(27,37,80,0.08); color: var(--indigo-800); }

.flight-price { text-align: right; }
.flight-price .amount {
  font-family: var(--font-display); font-size: 1.7rem; color: var(--indigo-950); font-weight: 600;
}
.flight-price .per { font-size: 0.78rem; color: var(--slate); }

/* =========================================================
   FLIGHT DETAILS PAGE
   ========================================================= */
.accordion-divinity .accordion-item {
  border: 1px solid rgba(27,26,23,0.08);
  border-radius: var(--radius-sm) !important;
  margin-bottom: 14px;
  overflow: hidden;
}

.accordion-divinity .accordion-button {
  font-family: var(--font-body); font-weight: 700; color: var(--indigo-950);
  background: #fff;
}

.accordion-divinity .accordion-button:not(.collapsed) {
  background: var(--ivory-dim); color: var(--indigo-950); box-shadow: none;
}
.accordion-divinity .accordion-button:focus { box-shadow: none; }

.fare-breakdown {
  background: #fff; border-radius: var(--radius-md);
  border: 1px solid rgba(27,26,23,0.08);
  padding: 26px; box-shadow: var(--shadow-soft);
  position: sticky; top: 110px;
}

.fare-breakdown .row-item {
  display: flex; justify-content: space-between;
  padding: 10px 0; border-bottom: 1px dashed rgba(27,26,23,0.12);
  font-size: 0.92rem;
}

.fare-breakdown .row-item.total {
  border-bottom: none; font-weight: 700; font-size: 1.05rem;
  color: var(--indigo-950); padding-top: 16px;
}

/* =========================================================
   CONTACT PAGE
   ========================================================= */
.contact-info-card {
  background: var(--indigo-950); color: var(--ivory);
  border-radius: var(--radius-lg);
  padding: 44px; height: 100%;
}

.contact-info-card .info-row {
  display: flex; gap: 16px; margin-bottom: 26px;
  padding-bottom: 26px; border-bottom: 1px dashed rgba(246,244,238,0.18);
}
.contact-info-card .info-row:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.contact-info-card .info-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(198,161,91,0.15); color: var(--gold-soft);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

.form-control-divinity {
  border: 1px solid rgba(27,26,23,0.14);
  border-radius: 10px;font-size: 0.95rem;
}

.form-control-divinity:focus {
  border-color: var(--gold); box-shadow: 0 0 0 3px rgba(198,161,91,0.15);
}

.map-frame { border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-soft); }

/* WhatsApp floating button */
.whatsapp-float {
  position: fixed; bottom: 28px; left: 28px;
  width: 54px; height: 54px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; box-shadow: 0 12px 30px rgba(37,211,102,0.4);
  z-index: 999;
}

/* =========================================================
   ABOUT PAGE
   ========================================================= */
.stat-block { text-align: center; padding: 20px; }
.stat-block .num {
  font-family: var(--font-display); font-size: 2.6rem; color: var(--indigo-950); font-weight: 600;
}
.stat-block .label { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate); }

.timeline-item {
  display: flex; gap: 24px; padding-bottom: 44px; position: relative;
}
.timeline-item::before {
  content: ""; position: absolute; left: 27px; top: 56px; bottom: 0;
  width: 1px; background: repeating-linear-gradient(180deg, var(--gold) 0 5px, transparent 5px 10px);
}
.timeline-item:last-child::before { display: none; }
.timeline-year {
  width: 56px; height: 56px; border-radius: 50%; flex-shrink: 0;
  background: var(--indigo-950); color: var(--gold-soft);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 0.78rem; font-weight: 700;
}

/* Float and z-index fix for the autocomplete suggestion box */
.autocomplete-suggestions {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff !important; 
    border: 1px solid rgba(198,161,91,0.2);
    border-radius: 0 0 12px 12px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    z-index: 99999 !important; /* Extremely high z-index required here */
    max-height: 250px;
    overflow-y: auto;
    margin-top: 2px;
}

/* Suggestion item styles */
/* .suggestion-item {
    padding: 12px 15px;
    cursor: pointer;
    color: #333;
    transition: background 0.2s;
}

.suggestion-item:hover {
    background-color: #f8f9fa;
    color: var(--gold-deep);
} */

.airport-item { display: flex; gap: 12px; padding: 12px 14px; cursor: pointer; border-bottom: 1px solid rgba(0,0,0,0.06); transition: all 0.2s ease; }
.airport-item:hover { background: rgba(255,90,95,0.06); }
.airport-item .code { font-weight: 800; font-size: 14px; color: var(--accent); min-width: 52px; }
.airport-item .name { font-size: 14px; font-weight: 500; color: var(--dark); }
.airport-item .meta { font-size: 12px; color: var(--text-light); }

/* =========================================================
   TRAVELLER DROPDOWN FIXES
   ========================================================= */
.traveller-wrapper { 
    position: relative !important; 
}

.traveller_block { 
    position: absolute; 
    top: 100%; 
    left: 0; 
    width: 320px; 
    background-color: #ffffff; /* Replaced invalid var(white) */ 
    padding: 14px; 
    border-radius: var(--radius-md); /* Ensures consistent radius */ 
    box-shadow: 0 18px 45px rgba(0,0,0,0.15); 
    z-index: 99999 !important; /* CRITICAL FIX: Forces dropdown above all elements */
    display: none; 
    border: 1px solid rgba(0,0,0,0.06); 
    margin-top: 10px; /* Slight offset for cleaner look */
}

/* Active class to toggle dropdown display via JavaScript */
.traveller_block.show {
    display: block !important;
}

/* =========================================================
   CALL BUTTON STYLES & ANIMATIONS
   ========================================================= */
.call-icon-box {
    width: 38px; 
    height: 38px; 
    background-color: var(--indigo-950); 
    color: var(--gold-soft); 
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.3);
}

.call-text-box { line-height: 1.2; }

.call-subtext {
    font-family: var(--font-mono); 
    font-size: 0.65rem; 
    text-transform: uppercase; 
    letter-spacing: 0.05em; 
    display: block; 
    font-weight: 700; 
    color: rgba(11, 17, 48, 0.7);
}

.call-number {
    font-family: var(--font-body); 
    font-size: 1.05rem; 
    white-space: nowrap; 
    font-weight: 800; 
    color: var(--indigo-950);
}

@keyframes phone-vibrate {
    0% { transform: rotate(0deg); }
    5% { transform: rotate(-15deg); }
    10% { transform: rotate(15deg); }
    15% { transform: rotate(-15deg); }
    20% { transform: rotate(15deg); }
    25% { transform: rotate(0deg); }
    100% { transform: rotate(0deg); }
}

@keyframes button-pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(198, 161, 91, 0.6); }
    70% { transform: scale(1.03); box-shadow: 0 0 0 10px rgba(198, 161, 91, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(198, 161, 91, 0); }
}

.moving-call-btn {
    animation: button-pulse 2s infinite ease-in-out;
}

.moving-call-btn i.fa-phone {
    display: inline-block;
    font-size: 1rem;
    animation: phone-vibrate 1.5s infinite ease-in-out;
}

/* =========================================================
   PARTNER MARQUEE ANIMATION
   ========================================================= */

.partner-wrap {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 10px 0;
}

.marquee {
    display: flex;
    overflow: hidden;
    user-select: none;
    gap: 2rem;
}

.marquee__group {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 2rem;
    min-width: 100%;
    animation: scroll-marquee 20s linear infinite;
}

@keyframes scroll-marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-100% - 2rem));
    }
}

.marquee:hover .marquee__group {
    animation-play-state: paused;
}

.partner-logo {
    max-height: 82px;
    width: auto;
    margin: 0px 40px 0px 40px;
}

/* =========================================
   Premium Sticky Call Footer CSS
========================================= */

.premium-sticky-call {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    /* Glassmorphism Effect */
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0px -5px 25px rgba(0, 0, 0, 0.08);
    z-index: 9999;
    padding: 12px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* Agent Image & Online Status */
.agent-avatar-wrap {
    position: relative;
    width: 50px;
    height: 50px;
}

.agent-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e2e8f0;
    padding: 2px;
    background: #fff;
}

.status-dot {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 13px;
    height: 13px;
    background-color: #10b981; /* Green Online indicator */
    border: 2px solid #fff;
    border-radius: 50%;
}

/* Text Styling */
.phone-context .call-headline {
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 2px;
}

.phone-context .text-highlight {
    color: #2563eb; /* Blue highlight */
}

.phone-context .call-subtext {
    font-size: 13px;
    color: #64748b;
}

.phone-link {
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
    text-decoration: none;
    letter-spacing: 0.5px;
}

.phone-link:hover {
    color: #2563eb;
    text-decoration: none;
}

/* Promo Code Badge */
.promo-badge {
    background: #fee2e2;
    color: #ef4444;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    letter-spacing: 1px;
    margin-left: 3px;
    border: 1px dashed #ef4444;
}

/* Animated Pulse Button */
.pulse-call-btn {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white !important;
    border: none;
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 15px;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
    transition: all 0.3s ease;
    animation: pulse-animation 2s infinite; /* Pulsing effect */
}

.pulse-call-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.6);
}

@keyframes pulse-animation {
    0% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.5); }
    70% { box-shadow: 0 0 0 12px rgba(37, 99, 235, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
}

body {
    padding-bottom: 80px; 
}

@media (max-width: 768px) {
    .premium-sticky-call {
        padding: 10px 15px;
    }
    .agent-avatar-wrap {
        width: 42px;
        height: 42px;
    }
    .phone-context .call-headline {
        font-size: 13px;
    }
    .phone-link {
        font-size: 14px;
    }
    .pulse-call-btn {
        padding: 10px 14px;
        border-radius: 50%; /* Make button circular icon on mobile */
    }
}