/* ==========================================================
   ADVANCE COMPANY SERVICES - PREMIUM TOUR & ITINERARY STYLES
   ========================================================== */

:root {
  --primary-color: #0d6efd;
  --primary-dark: #0b5ed7;
  --accent-orange: #ff7a00;
  --accent-gold: #ffb703;
  --dark-navy: #0f172a;
  --slate-dark: #1e293b;
  --slate-gray: #475569;
  --light-bg: #f8fafc;
  --card-bg: #ffffff;
  --border-subtle: #e2e8f0;
  --success-color: #10b981;
  --danger-color: #ef4444;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-soft: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --shadow-hover: 0 20px 35px -5px rgba(15, 23, 42, 0.15), 0 10px 10px -5px rgba(15, 23, 42, 0.04);
}

/* Section Header */
.section-title-wrap {
  text-align: center;
  margin-bottom: 2.5rem;
}
.section-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(13, 110, 253, 0.1);
  color: var(--primary-color);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 50px;
  margin-bottom: 10px;
}
.section-main-heading {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--dark-navy);
  margin-bottom: 0.5rem;
}
.section-sub-text {
  font-size: 1.05rem;
  color: var(--slate-gray);
  max-width: 650px;
  margin: 0 auto;
}

/* Modern Tour Card */
.tour-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}
.tour-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(13, 110, 253, 0.3);
}

.tour-card-img-wrap {
  position: relative;
  overflow: hidden;
  height: 240px;
  width: 100%;
}
.tour-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.tour-card:hover .tour-card-img-wrap img {
  transform: scale(1.08);
}

.tour-badge-duration {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  color: #fff;
  padding: 5px 12px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
  z-index: 2;
}

.tour-badge-featured {
  position: absolute;
  top: 15px;
  right: 15px;
  background: linear-gradient(135deg, #ff7a00, #ff5722);
  color: #fff;
  padding: 5px 12px;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(255, 87, 34, 0.4);
}

.tour-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.tour-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}
.tour-rating .stars-gold {
  color: #f59e0b;
  font-size: 0.9rem;
}
.tour-rating .rating-score {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--dark-navy);
}
.tour-rating .reviews-count {
  font-size: 0.8rem;
  color: var(--slate-gray);
}

.tour-card-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--dark-navy);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.tour-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
.tour-card-title a:hover {
  color: var(--primary-color);
}

.tour-card-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--slate-gray);
  margin-bottom: 0.85rem;
}
.tour-card-location i {
  color: var(--accent-orange);
}

.tour-card-desc {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.55;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.tour-highlights-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 1.25rem;
}
.tour-chip {
  background: #f1f5f9;
  color: #334155;
  font-size: 0.78rem;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.tour-chip i {
  font-size: 0.75rem;
  color: var(--primary-color);
}

.tour-card-footer {
  border-top: 1px solid var(--border-subtle);
  padding-top: 1rem;
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.tour-price-box {
  display: flex;
  flex-direction: column;
}
.tour-price-label {
  font-size: 0.75rem;
  color: var(--slate-gray);
  text-transform: uppercase;
  font-weight: 600;
}
.tour-price-value {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--dark-navy);
}
.tour-price-value span {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--slate-gray);
}

.btn-view-tour {
  background: linear-gradient(135deg, #0d6efd, #0b5ed7);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 8px 18px;
  border-radius: 30px;
  text-decoration: none !important;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: none;
  box-shadow: 0 4px 12px rgba(13, 110, 253, 0.25);
}
.btn-view-tour:hover {
  background: linear-gradient(135deg, #0b5ed7, #084298);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(13, 110, 253, 0.35);
  color: #ffffff !important;
}

/* ==========================================================
   PACKAGE DETAIL PAGE STYLES
   ========================================================== */

.package-detail-header-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  margin-bottom: 2rem;
}
.package-header-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--dark-navy);
  margin-bottom: 0.5rem;
}
.package-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 1rem;
}
.package-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f1f5f9;
  color: #334155;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
}
.package-meta-pill i {
  color: var(--primary-color);
}
.package-meta-pill.highlight {
  background: rgba(255, 122, 0, 0.1);
  color: var(--accent-orange);
}
.package-meta-pill.highlight i {
  color: var(--accent-orange);
}

/* Custom Tabs Navigation */
.tour-nav-tabs {
  border-bottom: 2px solid #e2e8f0;
  margin-bottom: 1.5rem;
  gap: 8px;
  display: flex;
  overflow-x: auto;
  white-space: nowrap;
  padding-bottom: 2px;
}
.tour-nav-tabs .nav-link {
  border: none;
  font-weight: 700;
  font-size: 0.98rem;
  color: #64748b;
  padding: 12px 20px;
  border-radius: 8px 8px 0 0;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  cursor: pointer;
}
.tour-nav-tabs .nav-link:hover {
  color: var(--primary-color);
  background: rgba(13, 110, 253, 0.05);
}
.tour-nav-tabs .nav-link.active {
  color: var(--primary-color);
  background: transparent;
  border-bottom: 3px solid var(--primary-color);
}

/* Content Sections */
.tab-content-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  margin-bottom: 2rem;
}

/* ITINERARY TIMELINE */
.itinerary-timeline {
  position: relative;
  padding-left: 10px;
  margin-top: 1rem;
}
.itinerary-day-card {
  position: relative;
  padding-left: 38px;
  padding-bottom: 2rem;
  border-left: 2px dashed #cbd5e1;
}
.itinerary-day-card:last-child {
  border-left: 2px solid transparent;
  padding-bottom: 0;
}
.itinerary-marker {
  position: absolute;
  left: -16px;
  top: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0d6efd, #0b5ed7);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(13, 110, 253, 0.3);
  z-index: 1;
}
.itinerary-body {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: all 0.25s ease;
}
.itinerary-body:hover {
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  border-color: #cbd5e1;
}
.itinerary-day-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark-navy);
  margin-bottom: 0.5rem;
}
.itinerary-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 0.85rem;
}
.itinerary-badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  background: #e0f2fe;
  color: #0369a1;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.itinerary-badge.meal {
  background: #fef3c7;
  color: #b45309;
}
.itinerary-badge.hotel {
  background: #ede9fe;
  color: #6d28d9;
}
.itinerary-day-desc {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.65;
  margin-bottom: 0;
}

/* INCLUSIONS & EXCLUSIONS */
.inc-exc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
@media (max-width: 768px) {
  .inc-exc-grid {
    grid-template-columns: 1fr;
  }
}
.inc-box, .exc-box {
  background: #f8fafc;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 1px solid var(--border-subtle);
}
.inc-box {
  border-top: 4px solid var(--success-color);
}
.exc-box {
  border-top: 4px solid var(--danger-color);
}
.inc-box h5 {
  color: #065f46;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 1rem;
}
.exc-box h5 {
  color: #991b1b;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 1rem;
}
.inc-list, .exc-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}
.inc-list li, .exc-list li {
  font-size: 0.92rem;
  color: #334155;
  padding: 8px 0;
  border-bottom: 1px dashed #e2e8f0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.inc-list li:last-child, .exc-list li:last-child {
  border-bottom: none;
}
.inc-list li i {
  color: var(--success-color);
  font-size: 1rem;
  margin-top: 3px;
  flex-shrink: 0;
}
.exc-list li i {
  color: var(--danger-color);
  font-size: 1rem;
  margin-top: 3px;
  flex-shrink: 0;
}

/* POLICY CARDS */
.policy-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
  transition: all 0.25s ease;
}
.policy-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}
.policy-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.85rem;
}
.policy-icon-badge {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  background: #e0f2fe;
  color: #0284c7;
}
.policy-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark-navy);
  margin-bottom: 0;
}
.policy-table {
  width: 100%;
  margin-top: 10px;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.policy-table th, .policy-table td {
  padding: 10px 14px;
  border: 1px solid #e2e8f0;
}
.policy-table th {
  background: #f1f5f9;
  font-weight: 600;
  color: #334155;
}
.policy-table td {
  background: #ffffff;
  color: #475569;
}

/* BOOKING SIDEBAR CARD */
.booking-sidebar-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  padding: 1.75rem;
  box-shadow: var(--shadow-soft);
  position: sticky;
  top: 90px;
}
.sidebar-price-header {
  text-align: center;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 1.25rem;
}
.sidebar-price-tag {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--dark-navy);
  line-height: 1;
}
.sidebar-price-tag span {
  font-size: 0.85rem;
  font-weight: 500;
  color: #64748b;
}
.sidebar-price-tag small {
  display: block;
  font-size: 0.8rem;
  color: var(--success-color);
  font-weight: 600;
  margin-top: 4px;
}

.sidebar-features-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1.5rem;
}
.sidebar-features-list li {
  font-size: 0.9rem;
  color: #475569;
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px dashed #f1f5f9;
}
.sidebar-features-list li i {
  color: var(--primary-color);
  font-size: 1rem;
}

.btn-book-now-main {
  width: 100%;
  background: linear-gradient(135deg, #ff7a00, #ff5722);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 14px;
  border-radius: 50px;
  text-align: center;
  display: block;
  text-decoration: none !important;
  box-shadow: 0 6px 20px rgba(255, 87, 34, 0.35);
  transition: all 0.3s ease;
  border: none;
  margin-bottom: 12px;
}
.btn-book-now-main:hover {
  background: linear-gradient(135deg, #f97316, #ea580c);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 87, 34, 0.45);
  color: #ffffff !important;
}

.sidebar-call-support {
  text-align: center;
  font-size: 0.88rem;
  color: #64748b;
  margin-top: 15px;
}
.sidebar-call-support a {
  color: var(--dark-navy);
  font-weight: 700;
  text-decoration: none;
}
.sidebar-call-support a:hover {
  color: var(--primary-color);
}

/* Gallery Carousel enhancements */
.tour-gallery-carousel {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  margin-bottom: 1.5rem;
}
.tour-gallery-carousel .carousel-item {
  height: 380px !important;
}
.tour-gallery-carousel .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 991px) {
  .booking-sidebar-card {
    position: static;
    margin-top: 2rem;
  }
}
