
/* Full View (100vh) Grand Hero */
.tb-p-full-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 720px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #ffffff;
  overflow: hidden;
  padding-top: 80px;
}

.tb-p-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.tb-p-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: heroAmbientZoom 20s infinite alternate cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

@keyframes heroAmbientZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.12); }
}

.tb-p-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg, 
    rgba(15, 28, 63, 0.45) 0%, 
    rgba(15, 28, 63, 0.25) 50%, 
    rgba(15, 28, 63, 0.85) 100%
  );
  z-index: 2;
}

.tb-p-hero-container {
  position: relative;
  z-index: 3;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 25px;
  width: 100%;
}

.tb-p-hero-content {
  max-width: 780px;
}

.fun-badge-gold {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff !important;
  backdrop-filter: blur(8px);
}

.script-word-gold {
  font-family: 'Satisfy', cursive;
  color: #ffb703;
  font-size: 1.25em;
  font-weight: 400;
}

.tb-p-hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  margin: 12px 0 16px 0;
  text-shadow: 2px 4px 15px rgba(0, 0, 0, 0.6);
}

.tb-p-hero-tagline {
  font-size: 1.05rem;
  color: #e2e8f0;
  line-height: 1.6;
  margin-bottom: 25px;
  text-shadow: 1px 2px 6px rgba(0, 0, 0, 0.8);
}

.tb-p-hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 35px;
}

.tb-p-pill {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.tb-p-pill i { color: #f26522; }
.highlight-pill { background: rgba(242, 101, 34, 0.25); border-color: #f26522; color: #ffffff; }

.tb-p-hero-buttons {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.tb-btn-orange-hero {
  background: linear-gradient(135deg, #f26522 0%, #e05312 100%);
  color: #ffffff !important;
  padding: 16px 36px;
  border-radius: 8px;
  text-decoration: none !important;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 25px rgba(242, 101, 34, 0.5);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.tb-btn-orange-hero:hover {
  background: linear-gradient(135deg, #ff712e 0%, #f26522 100%);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(242, 101, 34, 0.7);
}

.tb-btn-wa-hero {
  background: rgba(0, 0, 0, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.9);
  color: #ffffff !important;
  padding: 15px 34px;
  border-radius: 8px;
  text-decoration: none !important;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  backdrop-filter: blur(6px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.wa-icon { color: #25D366; font-size: 1.45rem; }

.tb-btn-wa-hero:hover {
  background: rgba(37, 211, 102, 0.25);
  border-color: #25D366;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.35);
}

/* Transparent Bottom Ribbon Bar */
.tb-p-hero-ribbon {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 22px 0;
  background: rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 3;
}

.tb-p-ribbon-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tb-p-ribbon-col {
  display: flex;
  align-items: center;
  gap: 14px;
}

.tb-p-ribbon-col i {
  font-size: 1.5rem;
  color: #f26522;
}

.ribbon-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  display: block;
}

.ribbon-val {
  font-size: 0.88rem;
  font-weight: 800;
  color: #ffffff;
  display: block;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
}

.tb-p-ribbon-divider {
  width: 1px;
  height: 28px;
  background: rgba(255, 255, 255, 0.25);
}

/* Journey Flow Route */
.tb-p-route-section {
  padding: 60px 0 80px 0;
  background-color: #f8fafc;
}

.tb-route-flow-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 35px;
  background: #ffffff;
  padding: 30px;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.tb-route-step {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tb-route-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #fff1ec;
  color: #f26522;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  box-shadow: 0 4px 12px rgba(242, 101, 34, 0.2);
}

.tb-route-step h6 {
  font-size: 0.95rem;
  font-weight: 800;
  color: #0f1c3f;
  margin-bottom: 2px;
}

.tb-route-step span {
  font-size: 0.78rem;
  color: #64748b;
  font-weight: 600;
}

.tb-route-arrow {
  color: #cbd5e1;
  font-size: 1.2rem;
}

/* Master Daily Itinerary */
.tb-p-itinerary-section {
  padding: 80px 0;
}

.tb-itinerary-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 40px;
}

.tb-day-accordion {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(15, 28, 63, 0.03);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.tb-day-accordion.open {
  border-color: rgba(242, 101, 34, 0.5);
  box-shadow: 0 10px 30px rgba(15, 28, 63, 0.08);
}

.tb-day-header {
  padding: 24px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  background: #ffffff;
  transition: background 0.3s ease;
}

.tb-day-header-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.tb-day-num-badge {
  background: linear-gradient(135deg, #f26522 0%, #d85212 100%);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 800;
  padding: 8px 18px;
  border-radius: 30px;
  box-shadow: 0 4px 10px rgba(242, 101, 34, 0.3);
  flex-shrink: 0;
}

.tb-day-header-titles h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f1c3f;
  margin-bottom: 4px;
}

.tb-day-header-titles p {
  font-size: 0.88rem;
  color: #64748b;
  margin: 0;
}

.tb-day-header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.tb-mini-tags {
  display: flex;
  gap: 10px;
}

.tb-mini-tag {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #0f1c3f;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.tb-mini-tag i { color: #f26522; }

.tb-expand-indicator {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f8fafc;
  color: #0f1c3f;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s ease, background 0.3s ease;
}

.tb-day-accordion.open .tb-expand-indicator {
  transform: rotate(180deg);
  background: #f26522;
  color: #ffffff;
}

.tb-day-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  background: #fdfdfd;
  border-top: 1px dashed #e2e8f0;
}

.tb-panel-inner {
  padding: 30px;
}

.tb-timeline-flow {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tb-timeline-item {
  display: flex;
  gap: 25px;
}

.tb-timeline-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 70px;
  flex-shrink: 0;
}

.tb-timeline-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff1ec;
  color: #f26522;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.tb-timeline-time {
  font-size: 0.75rem;
  font-weight: 800;
  color: #64748b;
  text-transform: uppercase;
}

.tb-activity-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px 24px;
  width: 100%;
}

.tb-activity-card h5 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f1c3f;
  margin-bottom: 8px;
}

.tb-activity-card p {
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 12px;
}

.tb-card-pills {
  display: flex;
  gap: 10px;
}

.tb-card-pill {
  font-size: 0.75rem;
  font-weight: 700;
  color: #16a34a;
  background: #dcfce7;
  padding: 4px 12px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* Inclusions & Exclusions */
.tb-p-details-section {
  padding: 80px 0;
  background-color: #f8fafc;
}

.tb-p-details-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
}

.tb-p-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 35px;
  border: 1px solid #e2e8f0;
}

.tb-p-card h4 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f1c3f;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-green { color: #16a34a; }
.icon-red { color: #e11d48; }

.tb-p-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tb-p-list li {
  display: flex;
  gap: 16px;
}

.tb-p-list li i {
  font-size: 1.2rem;
  margin-top: 3px;
}

.tb-p-list strong {
  display: block;
  font-size: 0.98rem;
  color: #0f1c3f;
  margin-bottom: 4px;
}

.tb-p-list p {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}

/* Booking CTA Card */
.tb-p-booking-cta {
  padding: 40px 0 80px 0;
}

.cta-inner-card {
  background: linear-gradient(135deg, #0f1c3f 0%, #1a2e63 100%);
  border-radius: 28px;
  padding: 50px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  box-shadow: 0 20px 45px rgba(15, 28, 63, 0.2);
}

.cta-text-side h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 800;
  margin-top: 10px;
  margin-bottom: 10px;
}

.cta-text-side p {
  color: #cbd5e1;
  font-size: 0.98rem;
  margin: 0;
}

.cta-btn-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex-shrink: 0;
  width: 300px;
}

.btn-lg {
  width: 100%;
  justify-content: center;
  padding: 15px 24px;
}

/* Advisories Section */
.tb-p-advisories-section {
  padding: 0 0 90px 0;
}

.tb-adv-accordion-box {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 25px;
}

.tb-adv-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
}

.tb-adv-btn {
  width: 100%;
  padding: 18px 24px;
  background: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.98rem;
  font-weight: 800;
  color: #0f1c3f;
  cursor: pointer;
  text-align: left;
}

.tb-adv-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  background: #f8fafc;
  padding: 0 24px;
}

.tb-adv-item.open .tb-adv-content {
  padding: 16px 24px 20px 24px;
}

.tb-adv-item.open i {
  transform: rotate(180deg);
}

.tb-adv-content p {
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}

/* Responsive Rules */
@media (max-width: 1024px) {
  .tb-p-ribbon-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .tb-p-ribbon-divider { display: none; }
  .tb-p-hero-ribbon { position: relative; }
  .tb-route-flow-grid {
    overflow-x: auto;
    gap: 20px;
  }
  .cta-inner-card {
    flex-direction: column;
    text-align: center;
  }
  .cta-btn-side {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .tb-p-hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  .tb-btn-orange-hero, .tb-btn-wa-hero {
    justify-content: center;
    padding: 14px 20px;
    font-size: 0.95rem;
  }
  .tb-p-ribbon-grid {
    grid-template-columns: 1fr;
  }
  .tb-day-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  .tb-day-header-right {
    width: 100%;
    justify-content: space-between;
  }
  .tb-timeline-item {
    flex-direction: column;
    gap: 10px;
  }
  .tb-timeline-marker {
    flex-direction: row;
    width: 100%;
    gap: 12px;
  }
}

/* ================= FIX FOR TRIPBINDERS SIGNATURE CURATED BADGE ================= */
.fun-badge-gold,
.tb-gh-badge,
.sub-heading.fun-badge-gold {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 8px 20px !important;
    border-radius: 50px !important; /* Smooth glass pill shape */
    background: rgba(15, 28, 63, 0.6) !important; /* Frosted dark navy background */
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important; /* Soft clean border */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25) !important;
    outline: none !important;
    color: #ffffff !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    letter-spacing: 1.2px !important;
    text-transform: uppercase !important;
    line-height: 1 !important;
}

/* Crown Icon Fix */
.fun-badge-gold i,
.tb-gh-badge i,
.sub-heading.fun-badge-gold i {
    color: #ffb703 !important; /* Golden crown */
    font-size: 0.95rem !important;
    margin: 0 !important;
}

/* Cursive Script Word "CURATED" Fix */
.script-word-gold {
    font-family: 'Satisfy', cursive !important;
    color: #ffb703 !important; /* Golden glowing text */
    font-size: 1.3rem !important;
    font-weight: 400 !important;
    letter-spacing: 0.5px !important;
    text-transform: none !important; /* Keeps script font fluid and readable */
    margin-left: 4px !important;
    display: inline-block !important;
    text-shadow: 0 2px 8px rgba(255, 183, 3, 0.4) !important;
}

/* ================= INCLUSIONS & EXCLUSIONS MOBILE OVERFLOW FIX ================= */

/* 1. Ensure Full Width Wrapper & Padding */
.tb-p-details-section {
    width: 100% !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

/* 2. Responsive 1-Column Stack on Mobile & Tablets */
.tb-p-details-split {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* 3. Card Container Bounds */
.tb-p-card {
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

.tb-p-card h4 {
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
}

/* 4. List Items & Text Flex Overflow Fix */
.tb-p-list {
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}

.tb-p-list li {
    display: flex !important;
    align-items: flex-start !important;
    gap: 14px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Prevent Icon from Squishing */
.tb-p-list li i,
.tb-p-list li .tb-li-icon {
    flex-shrink: 0 !important;
    width: 24px !important;
    font-size: 1.2rem !important;
    text-align: center !important;
    margin-top: 2px !important;
}

/* Force Text Container to Wrap Cleanly (Fixes Flexbox Overflow) */
.tb-p-list li div,
.tb-p-list li .tb-li-txt {
    flex: 1 !important;
    min-width: 0 !important; /* CRITICAL FLEXBOX OVERFLOW FIX */
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
}

.tb-p-list strong {
    display: block !important;
    font-size: 0.98rem !important;
    line-height: 1.3 !important;
}

.tb-p-list p {
    font-size: 0.88rem !important;
    line-height: 1.5 !important;
    margin: 4px 0 0 0 !important;
}

/* 5. Mobile & Tablet Responsive Breakpoints */
@media (max-width: 992px) {
    .tb-p-details-split {
        grid-template-columns: 1fr !important; /* Single column on tablet & mobile */
        gap: 25px !important;
    }
}

@media (max-width: 600px) {
    .tb-p-card {
        padding: 24px 18px !important; /* Reduced padding for small mobile screens */
        border-radius: 18px !important;
    }
    
    .tb-p-list li {
        gap: 12px !important;
    }
}


/* ================= MOBILE HERO FULL IMAGE COVER FIX ================= */

/* 1. Force the Hero Section to stretch dynamically for all mobile text */
.tb-p-full-hero,
.tb-full-hero,
.tb-p-hero-section {
    position: relative !important;
    width: 100% !important;
    min-height: 100vh !important;
    height: auto !important;
    padding-top: 100px !important;
    padding-bottom: 60px !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
}

/* 2. Force Background Container to cover 100% of mobile height */
.tb-p-hero-bg,
.tb-hero-bg-container {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 1 !important;
}

/* 3. CRITICAL FIX: Overrides theme 'height: auto' reset on mobile */
.tb-p-hero-img,
.tb-hero-full-img {
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
}

/* 4. Fix Gradient Overlay to reveal image instead of solid grey fade */
.tb-p-hero-overlay,
.tb-hero-dark-overlay {
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(
        180deg, 
        rgba(15, 28, 63, 0.4) 0%, 
        rgba(15, 28, 63, 0.65) 100%
    ) !important;
    z-index: 2 !important;
}

/* 5. Keep Text and Buttons strictly above the background image */
.tb-p-hero-container,
.tb-hero-body-container {
    position: relative !important;
    z-index: 3 !important;
    width: 100% !important;
}

/* Mobile Typography & Spacing Optimization */
@media (max-width: 768px) {
    .tb-p-hero-title {
        font-size: 1.85rem !important;
        line-height: 1.25 !important;
        margin-bottom: 12px !important;
        color: #ffffff !important;
        text-shadow: 0 3px 12px rgba(0, 0, 0, 0.8) !important;
    }

    .tb-p-hero-tagline {
        font-size: 0.9rem !important;
        line-height: 1.55 !important;
        color: #f1f5f9 !important;
        margin-bottom: 22px !important;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8) !important;
    }

    .tb-p-hero-pills {
        gap: 8px !important;
        margin-bottom: 25px !important;
    }

    .tb-p-pill {
        font-size: 0.78rem !important;
        padding: 6px 14px !important;
        background: rgba(255, 255, 255, 0.18) !important;
        backdrop-filter: blur(8px) !important;
        border: 1px solid rgba(255, 255, 255, 0.3) !important;
        color: #ffffff !important;
    }
}




/* All Sections on Package Page */
.tb-p-full-hero,
.tb-p-route-section,
.tb-p-itinerary-section,

.tb-p-booking-cta,
.tb-p-advisories-section {
    margin-top: -40px !important;
}

/* All Containers on Package Page */
.tb-p-full-hero .container,
.tb-p-route-section .container,
.tb-p-itinerary-section .container,
.tb-p-details-section .container,
.tb-p-booking-cta .container,
.tb-p-advisories-section .container {
    margin-bottom: -40px !important;
}

.tb-p-details-section,
.tb-p-booking-cta,
.tb-p-advisories-section {
    margin-top: -20px !important;
}