/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Index-only: remove top margin above footer to stick banner to footer */
body.no-footer-gap .main-footer {
  margin-top: 0 !important;
}

:root { --header-height: 88px; }

/* Ensure content starts below fixed header */
body { padding-top: var(--header-height); }
html { scroll-padding-top: var(--header-height); }
/* Prevent rubber-band/overscroll gaps at the very top */
html, body { overscroll-behavior-y: contain; margin: 0 !important; }

/* Ensure scroll works on mobile after page load */
@media (max-width: 992px) {
  html, body { overscroll-behavior-y: auto; }
}
/* Ensure header never has accidental top margin */
header { margin-top: 0 !important; }
/* Ensure first element after header has no top margin */
header + * { margin-top: 0 !important; }
main { margin-top: 0 !important; padding-top: 0 !important; }

/* Force header fixed on small screens */
@media (max-width: 992px) {
  /* Local Tours: remove left padding on small screens */
  #local-tours .container { padding-left: 0 !important; }
  /* Other sections: remove left padding on small screens */
  #intercity-tours .container,
  #foreign-local-tours .container,
  #foreign-tours .container,
  #sightseeing .container,
  #tour-destination .container,
  #tour-origin .container,
  #latest-tours .container,
  #tour-leaders .container,
  #one-day-tours .container,
  #discounted-tours .container {
    padding-left: 0 !important;
  }
  header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 11000;
  }
  body {
    padding-top: var(--header-height);
  }
}

/* Ensure compact header on small screens overrides the width above */
@media (max-width: 992px) {
  /* Keep the search compact (no reserved width) when icon-only */
  .header-search .search-mini { width: 35px !important; }
  .header-search, .user-info-display { margin: 0 !important; }
  /* Reduce the horizontal space between cells in the first row */
  .header-row { column-gap: 0; row-gap: 8px; }
  /* Remove inner gaps so icons sit flush */
  .header-search { gap: 0 !important; }
  .header-search .search-mini button { margin: 0 !important; }
  .user-info-display .btn { margin: 0 !important; }
}

:root {
    --primary-color: #ff9800;
    --secondary-color: #2196f3;
    --dark-color: #333;
    --light-color: #f4f4f4;
    --danger-color: #dc3545;
    --success-color: #28a745;
    --header-bg: #ffffff;
    --header-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    /* Horizontal gutter from viewport edges for centered dropdowns */
    --dropdown-gutter: 40px;
}

body {
    font-family: 'Vazirmatn', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.4;
    color: #333;
    background-color: #f9f9f9;
    text-align: right;
    font-size: 14px; /* Reduced base font size */
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Add a wider container for tour details page */
.tour-details .container {
    max-width: 1600px;
    padding: 0 40px;
}

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: var(--dark-color);
}

ul {
    list-style: none;
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    padding: 10px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: 'Vazirmatn', sans-serif;
}

.btn:hover {
    background-color: #0d8bf0;
    transform: translateY(-3px);
}

.btn-small {
    padding: 8px 15px;
    font-size: 14px;
}

.section-title {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 10px;
    position: relative;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 50%;
    transform: translateX(50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

section {
    padding: 40px 0;
}

/* Responsive section headers */
@media (max-width: 992px) {
  .section-header { gap: 8px; flex-wrap: nowrap; align-items: center; }
  .section-header .section-title { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  .section-title { font-size: 1.2rem; white-space: nowrap; margin-bottom: 8px; }
  .view-all-btn { padding: 6px 12px; font-size: 0.85rem; }
  
  /* Stack action buttons under each other in section headers on small screens */
  .section-header {
    flex-direction: column;
    align-items: stretch;
  }
  .section-header .section-title {
    text-align: center;
    margin-bottom: 6px;
  }
  .section-header .view-all-btn,
  .section-header .map-view-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
    margin: 0;
    white-space: nowrap;
    gap: 8px;
  }
  .section-header .map-view-btn { margin-bottom: 6px; }
}

/* Modern Fancy Header Styles */
header {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 11000;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

header:hover {
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.08);
}

header .container {
    padding: 12px 0 0;
}

/* Default Desktop Header Layout */
.header-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    display: flex;
    align-items: center;
}

.header-contact {
    display: flex;
    align-items: center;
    margin: 0 60px 0 12px;
}

.header-contact .phone-number {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.header-contact .phone-number span {
    direction: ltr;
    unicode-bidi: plaintext;
}

nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.header-search {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    margin-left: 12px;
    filter: contrast(1.1);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.logo:hover img {
    transform: scale(1.05) rotate(2deg);
}

.logo h1 {
    font-size: 2.4rem;
    font-weight: 900;
    margin: 0;
    white-space: nowrap;
    position: relative;
    font-family: 'Arial', sans-serif;
    color: #333;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.logo h1::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #ff9800;
    transition: width 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 1;
}

.logo:hover h1 {
    letter-spacing: 1px;
}

.logo:hover h1::before {
    width: 100%;
}

/* Modern Navigation Styles */
nav {
    margin-right: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 8px;
}

.nav-item {
    position: relative;
    perspective: 1000px;
}

.nav-item a {
    text-decoration: none;
    color: #333;
    font-size: 1rem;
    padding: 8px 16px;
    display: block;
    transition: all 0.3s ease;
    font-weight: 600;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.nav-item a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 400px;
    background-color: rgba(255, 152, 0, 0.08);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
    z-index: -1;
}

.nav-item a:hover::before, .nav-item a.active::before {
    width: 300px;
    height: 300px;
}

.nav-item a:hover, .nav-item a.active {
    color: #ff9800;
}

.nav-item a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: #ff9800;
    box-shadow: 0 0 10px rgba(255, 152, 0, 0.5);
    transition: all 0.3s ease;
}

.nav-item:hover a.active::after {
    width: 30px;
    border-radius: 3px;
}

/* Fancy Dropdown Menu */
.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-toggle i {
    font-size: 0.7rem;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-item:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 15px);
    right: 0;
    background-color: white;
    border-radius: 12px;
    min-width: 200px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 10px;
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px) scale(0.95);
    transform-origin: top right;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 25px;
    width: 12px;
    height: 12px;
    background-color: white;
    transform: rotate(45deg);
    border-radius: 2px;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* Centered desktop dropdowns (menu center aligned to viewport center) */
/* Make header container the positioning context */
header .container { position: relative; }

/* Allow dropdown to escape the nav-item width */
header .nav-item.dropdown { position: static; }

/* Center and clamp width for both simple and fancy dropdowns */
header .nav-item:not(.tours-dropdown):not(.sightseeings-dropdown):not(.leaders-dropdown) .dropdown-menu,
header .nav-item:not(.tours-dropdown):not(.sightseeings-dropdown):not(.leaders-dropdown) .fancy-dropdown,
.site-header .nav-item:not(.tours-dropdown):not(.sightseeings-dropdown):not(.leaders-dropdown) .dropdown-menu,
.site-header .nav-item:not(.tours-dropdown):not(.sightseeings-dropdown):not(.leaders-dropdown) .fancy-dropdown {
  position: fixed;              /* avoid clipping by ancestors */
  left: 50%;
  right: auto;
  top: calc(var(--header-height, 80px) + 15px); /* just below header */
  transform: translate(-50%, 15px) scale(0.98);  /* include X-centering */
  transform-origin: top center;
  width: min(calc(100vw - var(--dropdown-gutter) * 2), 880px); /* clamp to viewport with equal gutters */
  max-width: none;
  z-index: 1100;
}

/* Hide the small pointer when centered */
header .nav-item:not(.tours-dropdown):not(.sightseeings-dropdown):not(.leaders-dropdown) .dropdown-menu::before,
header .nav-item:not(.tours-dropdown):not(.sightseeings-dropdown):not(.leaders-dropdown) .fancy-dropdown::before,
.site-header .nav-item:not(.tours-dropdown):not(.sightseeings-dropdown):not(.leaders-dropdown) .dropdown-menu::before,
.site-header .nav-item:not(.tours-dropdown):not(.sightseeings-dropdown):not(.leaders-dropdown) .fancy-dropdown::before { display: none; }

header .nav-item:not(.tours-dropdown):not(.sightseeings-dropdown):not(.leaders-dropdown):hover .dropdown-menu,
header .nav-item:not(.tours-dropdown):not(.sightseeings-dropdown):not(.leaders-dropdown):hover .fancy-dropdown,
.site-header .nav-item:not(.tours-dropdown):not(.sightseeings-dropdown):not(.leaders-dropdown):hover .dropdown-menu,
.site-header .nav-item:not(.tours-dropdown):not(.sightseeings-dropdown):not(.leaders-dropdown):hover .fancy-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0) scale(1);
}

/* Force override inline JS styles when menus are shown (center + clamp width) */
.site-header .tours-dropdown .dropdown-menu.show,
.site-header .sightseeings-dropdown .dropdown-menu.show,
.site-header .leaders-dropdown .dropdown-menu.show {
  left: 50% !important;
  right: auto !important;
  width: min(calc(100vw - var(--dropdown-gutter) * 2), 880px) !important;
  transform: translateX(-50%) !important;
}

.dropdown-menu li a:hover {
    background-color: rgba(255, 152, 0, 0.08);
    border-right-width: 3px;
    padding-right: 18px;
}

/* Fancy Search Box */
.header-search .search-mini {
    position: relative;
    width: 240px;
}

.header-search input {
    width: 100%;
    padding: 12px 20px;
    border-radius: 30px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background-color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    font-family: 'Vazirmatn', sans-serif;
    font-size: 0.9rem;
}

.header-search input:focus {
    outline: none;
    border-color: rgba(255, 152, 0, 0.3);
    box-shadow: 0 0 0 4px rgba(255, 152, 0, 0.1);
    background-color: #fff;
}

.header-search button {
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    background-color: transparent;
    color: #777;
    border: none;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.header-search button:hover {
    color: #ff9800;
    transform: translateY(-50%) scale(1.1);
}

/* Stylish Auth Button */
.auth-buttons {
    display: flex;
}

.auth-buttons .btn {
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 600;
    background-color: transparent;
    color: #333;
    border: 1px solid rgba(0, 0, 0, 0.08);
    overflow: hidden;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.auth-buttons .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: #ff9800;
    transition: all 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: -1;
}

.auth-buttons .btn:hover {
    color: white;
    border-color: #ff9800;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.auth-buttons .btn:hover::before {
    left: 0;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--dark-color);
    transition: color 0.3s ease;
}

.mobile-menu:hover {
    color: var(--primary-color);
}

/* Mobile dropdown styling */
@media (max-width: 992px) {
    .mobile-menu {
        display: block;
        position: absolute;
        top: 15px;
        left: 15px;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: hidden;
        height: 400px;
        min-width: 100%;
        background-color: rgba(0, 0, 0, 0.02);
        box-shadow: none;
        padding: 0;
        overflow: hidden;
        transform: none;
        transition: height 0.3s ease;
    }
    
    .dropdown-toggle.active + .dropdown-menu,
    .dropdown-menu.show-dropdown {
        visibility: visible;
        height: auto;
        padding: 5px 0;
    }
    
    .dropdown-menu a {
        padding: 8px 25px;
    }
}

/* Map Filter Controls */
.map-filter-controls {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 1000; /* Ensure it's above map tiles */
    display: flex;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    overflow: hidden;
    backdrop-filter: blur(5px);
}

.map-filter-controls button {
    background-color: transparent;
    border: none;
    padding: 10px 18px;
    cursor: pointer;
    font-family: inherit;
    font-size: 16px; /* Match main button */
    font-weight: 600; /* Match main button */
    color: #333;
    transition: background-color 0.3s, color 0.3s;
    border-left: 1px solid rgba(0,0,0,0.1);
}

.map-filter-controls button:last-child {
    border-left: none;
}

.map-filter-controls button:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.map-filter-controls button.active {
    background-color: #0056b3; /* Darker blue for active state */
    color: #fff;
}

/* Responsive Adjustments for Header */

/* Responsive Header (992px and below) */
@media (max-width: 992px) {
  /* Make sure overlay can extend below header and container is positioning context */
  .site-header { overflow: visible; }
  .site-header .container { position: relative; }

  .header-row {
    display: grid;
    /* Do not let the search cell stretch: all auto columns */
    grid-template-columns: auto auto auto auto;
    grid-template-rows: auto auto;
    grid-template-areas:
      "logo phone search userinfo"
      "nav nav nav nav";
    gap: 8px 12px;
    align-items: center;
    margin: 0; /* Reset margin */
  }

  /* Reset Desktop Styles */
  .header-row > * {
    margin: 0;
    flex: none;
    min-width: 0; /* allow items to shrink inside grid to avoid overflow */
  }

  /* Row 1 placement */
  .logo { grid-area: logo; }
  .header-contact { grid-area: phone; }
  .header-search { grid-area: search; }
  .user-info-display { grid-area: userinfo; }
  /* If the support trigger is a separate element, place it in the phone cell */
  .support-phone-trigger { grid-area: phone; justify-self: start; }

  /* Row 2 placement */
  nav { grid-area: nav; }

  /* General Adjustments */
  .nav-links { display: flex; justify-content: flex-start; gap: 10px; width: 100%; }
  /* By default (icon-only) keep search compact */
  .header-search .search-mini { width: auto; }
  .mobile-menu { display: none; }

  /* Defensive override: ensure search block is visible on small screens */
  .site-header .header-search { display: flex !important; }

  /* Hide text on smaller screens, show only icons */
  .header-contact .phone-number span,
  .user-info-display .btn span {
    display: none;
  }

  .user-info-display .btn {
    padding: 8px 12px; /* Adjust padding for icon-only button */
  }

  /* Search icon-only by default on 2-row layout */
  .header-search .search-mini input { display: none; }
  .header-search .search-mini button { position: static; transform: none; left: auto; }

  /* Overlay search under header when open */
  .site-header.search-open { position: sticky; top: 0; z-index: 1100; }
  .site-header.search-open .header-search {
    position: absolute;
    left: 0; right: 0; top: 100%; /* stretch horizontally under header */
    background: #fff;
    padding: 10px 20px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    z-index: 1200;
  }
  /* When open, allow the search to span full width and expand input */
  .site-header.search-open .header-search { grid-column: 1 / -1; }
  .site-header.search-open .header-search .search-mini { width: 100% !important; }
  .site-header.search-open .header-search .search-mini input { display: block; }
  .site-header.search-open .header-search .search-mini button { position: absolute; left: 8px; top: 50%; transform: translateY(-50%); }
}

/* Ensure logged-out auth button is visible on mobile/tablet (icon-only) */
@media (max-width: 992px) {
  /* When not logged in, .auth-buttons renders the login button */
  .site-header .auth-buttons .btn {
    background-color: var(--primary-color) !important;
    color: #fff !important;
    border-color: var(--primary-color) !important;
    padding: 8px 10px !important;
    border-radius: 16px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    min-height: 34px;
  }
  .site-header .auth-buttons .btn i { color: #fff !important; font-size: 16px; margin: 0; }
  /* Hide the label text on small screens, keep icon visible */
  .site-header .auth-buttons .btn span { display: none !important; }
}

/* Tablet & Mobile Adjustments (768px and below) */
@media (max-width: 992px) {
  .header-row {
    /* Put phone/support in the first row next to the logo */
    grid-template-columns: auto auto auto auto; /* logo | phone | search | user */
    grid-template-areas:
      "logo phone search userinfo"
      "nav nav nav nav";
    row-gap: 12px;
    column-gap: 0;
  }

  /* Keep search icon compact */
  .header-search .search-mini { width: 35px !important; }
  .header-search, .header-contact, .user-info-display {
    margin: 0 !important;
    grid-column: auto;
    gap: 0;
    justify-self: stretch;
  }
  /* Also ensure standalone support trigger occupies the phone slot */
  .support-phone-trigger { grid-area: phone; justify-self: start; }
  .header-contact .phone-number { justify-content: center; }
}

/* Small Mobile Adjustments (576px and below) */
@media (max-width: 992px) {
  /* Tighter header container */
  .site-header .container { padding: 8px 10px 0; }
  .header-row { column-gap: 0; row-gap: 8px; }
  .logo img { height: 36px; }
  .user-info-display .btn { padding: 6px 10px !important; }
  .header-search .search-mini { width: 32px !important; }
  .header-search .search-mini button { width: 32px; height: 32px; }
  .nav-links a { padding: 6px 8px; font-size: 0.85rem; }
}

/* Very small devices (<=360px) */
@media (max-width: 992px) {
  .site-header .container { padding: 6px 8px 0; }
  .logo img { height: 32px; }
  .header-search .search-mini { width: 28px !important; }
  .header-search .search-mini button { width: 28px; height: 28px; }
  .user-info-display .btn { padding: 5px 8px !important; }
  .header-contact .phone-number { font-size: 12px; }
}

/* Hero Slider Styles */
.hero-slider {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
    margin: 0 !important;
    padding: 0;
    margin-top: 0 !important; /* Ensure no extra margin under header */
    margin-bottom: 0 !important; /* Remove gap below banner */
    z-index: 1; /* Keep banner below fixed header */
}

/* Remove top margin from element after banner */
.hero-slider + * {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 400px;
}

/* Full-width banner on large screens */
.hero-slider .slider-container {
    max-width: 100%; /* Full width on large screens */
    width: 100%;
    margin: 0 auto;
    padding: 0; /* No padding for full-screen effect */
    box-sizing: border-box;
}

.slider-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease;
    z-index: 1;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: -1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide-content {
    display: none;
}

.slider-controls {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5;
}

.slider-prev,
.slider-next {
    display: none;
}

.slider-dots {
    display: flex;
    justify-content: center;
    align-items: center;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

/* Large screens: Full-width banner with better height */
.slider-container {
    height: 400px; /* Reduced height to minimize crop */
}
/* Fill banner area without empty space */
.hero-slider .slide {
    background-size: cover !important;
    background-position: center center !important;
}
/* Remove any gaps around banner */
.hero-slider {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* Responsive Slider: fill banner area on medium screens */
@media (max-width: 992px) {
    .slider-container {
        height: 56.25vw; /* 16:9 based on viewport width */
        max-height: 280px; /* Reduced to minimize crop */
    }
    .hero-slider .slide {
        background-size: cover !important; /* fill area without empty space */
        background-position: center center !important;
    }
}

@media (max-width: 992px) {
    html, body { 
        overflow-x: hidden; 
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-y pinch-zoom;
    }

    /* Force hero to be full-bleed (flush with viewport edges) */
    .hero-slider {
        width: 100vw;
        margin-left: calc(50% - 50vw) !important;
        margin-right: calc(50% - 50vw) !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .slider-container {
        height: 56.25vw; /* keep 16:9 */
        max-height: 220px; /* Reduced to minimize crop */
    }
    /* Make banner flush with viewport edges on small screens */
    .hero-slider .slider-container {
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    /* Ensure dots sit over the banner, not below */
    .slider-controls {
        position: absolute;
        bottom: 12px; /* Lower position on mobile */
        left: 0;
        right: 0;
        width: 100%;
        z-index: 20; /* above slides */
        justify-content: center;
        pointer-events: none; /* prevent blocking slide clicks */
    }
    .slider-dots { pointer-events: auto; }
    .slider-dot { margin: 0 4px; }
    /* Fill banner area without empty space on mobile */
    .hero-slider .slide {
        background-size: cover !important;
        background-position: center center !important;
    }
    .slider-arrows,
    .slider-arrow {
        display: none !important;
    }
}

@media (max-width: 992px) {
    .slider-container {
        height: 56.25vw; /* keep 16:9 */
        max-height: 180px; /* Reduced to minimize crop */
    }
    /* Keep dots at consistent lower position on very small screens */
    .slider-controls { bottom: 10px; }
    /* Fill banner area without empty space */
    .hero-slider .slide {
        background-size: cover !important;
        background-position: center center !important;
    }
}

@media (max-width: 992px) {
    .slider-container {
        height: 56.25vw; /* keep 16:9 */
        max-height: 200px;
    }
}

/* Quick Access Icons */

/* Horizontal scroll on small screens */
@media (max-width: 992px) {
    .quick-icons {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        gap: 12px;
        padding-bottom: 10px; /* space for scrollbar */
        -webkit-overflow-scrolling: touch;
    }
    .icon-item {
        flex: 0 0 auto; /* prevent shrink/wrap */
    }
}

.quick-access {
    padding: 6px 0 6px;
    margin-top: 0 !important; /* Remove gap above quick access */
    background-color: #fff;
    background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(249, 249, 249, 0.95) 100%);
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.quick-access::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 152, 0, 0.03) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: 0;
}

.quick-access::after {
    content: '';
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 90px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(33, 150, 243, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: 0;
}

.quick-icons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: 0 auto;
    gap: 8px;
    position: relative;
    z-index: 1;
}

.icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    width: 90px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    padding: 10px 6px;
    border-radius: 12px;
    position: relative;
    z-index: 1;
}

.icon-item:hover {
    transform: translateY(-8px);
    background-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--primary-color);
    box-shadow: 0 8px 20px rgba(255, 152, 0, 0.25), 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform: perspective(100px) translateZ(0);
}

.icon-circle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--primary-color);
    opacity: 0;
    transition: all 0.4s ease;
}

.icon-circle::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: radial-gradient(circle at 70% 70%, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0) 60%);
    opacity: 0.4;
    z-index: 1;
}

.icon-item:hover .icon-circle {
    box-shadow: 0 15px 30px rgba(255, 152, 0, 0.4), 0 5px 15px rgba(0, 0, 0, 0.08);
    transform: perspective(100px) translateZ(10px) scale(1.05);
}

.icon-item:hover .icon-circle::before {
    opacity: 1;
}

.icon-circle i {
    font-size: 24px;
    color: white;
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.icon-item:hover .icon-circle i {
    transform: scale(1.2);
    animation: pulse 1s infinite alternate;
}

@keyframes pulse {
    0% {
        text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    }
    100% {
        text-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    }
}

.icon-item span {
    font-size: 15px;
    font-weight: 700;
    color: var(--dark-color);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 5px;
}

.icon-item span::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    opacity: 0;
}

.icon-item:hover span {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.icon-item:hover span::after {
    width: 70%;
    opacity: 1;
}

@media (max-width: 992px) {
    /* Compact Quick Access on small screens */
    .quick-access { padding: 4px 0; }
    .quick-icons {
        justify-content: center;
        gap: 6px;
    }
    
    .icon-item {
        width: 64px;
        padding: 4px 2px;
    }
    
    .icon-circle {
        width: 44px;
        height: 44px;
        margin-bottom: 4px;
    }
    
    .icon-item {
        width: 60px;
        margin: 0 3px 2px;
    }
    
    .icon-circle {
        width: 44px;
        height: 44px;
    }
    
    .icon-circle i {
        font-size: 22px;
    }

    .icon-item span {
        font-size: 11px;
        line-height: 1.1;
        padding-bottom: 0;
        margin: 0;
    }
}

@media (max-width: 992px) {
    .icon-item {
        width: 70px;
    }
    
    .icon-circle {
        width: 50px;
        height: 50px;
    }
    
    .icon-circle i {
        font-size: 18px;
    }
    
    .icon-item span {
        font-size: 12px;
    }
}

/* Tour Short Description */
.tour-short-desc {
    margin-bottom: 10px;
    color: #666;
    font-size: 0.9rem;
}

/* Tour Dropdown Description */
.tour-dropdown {
    position: relative;
    margin-bottom: 10px;
    cursor: pointer;
}

.dropdown-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    max-height: 400px;
    overflow: hidden;
    background-color: #fff8ee;
    border-radius: 5px;
    border-right: 3px solid var(--primary-color);
    padding: 0 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    opacity: 0;
    z-index: 10;
}

.tour-card:hover .dropdown-content {
    max-height: 200px;
    padding: 15px;
    opacity: 1;
}

.dropdown-content p {
    margin: 0;
    color: #555;
    font-size: 0.85rem;
    line-height: 1.5;
}

/* Tour Header with Price Tag */
.tour-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.tour-header h3 {
    margin: 0;
    flex: 1;
    padding-left: 10px;
}

.price-tag {
    background-color: #f8f2e6;
    color: var(--primary-color);
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 0.9rem;
    border: 1px dashed var(--primary-color);
    white-space: nowrap;
}

/* Horizontal Scrollable Layout for Tour Sections */
#local-tours .tour-grid,
#tours .tour-grid,
#foreign-tours .tour-grid,
#latest-tours .tour-grid,
#discount-tours .tour-grid,
#discounted-tours .tour-grid,
#one-day-tours .tour-grid,
#intercity-tours .tour-grid,
#foreign-local-tours .tour-grid,
#economic-tours .tour-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    overflow-x: auto;
    padding: 10px 0 20px;
    margin: 0 -20px;
    padding: 10px 20px 20px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    
}

#local-tours .tour-grid::-webkit-scrollbar,
#tours .tour-grid::-webkit-scrollbar,
#foreign-tours .tour-grid::-webkit-scrollbar,
#latest-tours .tour-grid::-webkit-scrollbar,
#discount-tours .tour-grid::-webkit-scrollbar,
#discounted-tours .tour-grid::-webkit-scrollbar,
#one-day-tours .tour-grid::-webkit-scrollbar,
#intercity-tours .tour-grid::-webkit-scrollbar,
#foreign-local-tours .tour-grid::-webkit-scrollbar,
#economic-tours .tour-grid::-webkit-scrollbar {
    height: 6px;
}

#local-tours .tour-grid::-webkit-scrollbar-track,
#tours .tour-grid::-webkit-scrollbar-track,
#foreign-tours .tour-grid::-webkit-scrollbar-track,
#latest-tours .tour-grid::-webkit-scrollbar-track,
#discount-tours .tour-grid::-webkit-scrollbar-track,
#discounted-tours .tour-grid::-webkit-scrollbar-track,
#one-day-tours .tour-grid::-webkit-scrollbar-track,
#intercity-tours .tour-grid::-webkit-scrollbar-track,
#foreign-local-tours .tour-grid::-webkit-scrollbar-track,
#economic-tours .tour-grid::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

#local-tours .tour-grid::-webkit-scrollbar-thumb,
#tours .tour-grid::-webkit-scrollbar-thumb,
#foreign-tours .tour-grid::-webkit-scrollbar-thumb,
#latest-tours .tour-grid::-webkit-scrollbar-thumb,
#discount-tours .tour-grid::-webkit-scrollbar-thumb,
#discounted-tours .tour-grid::-webkit-scrollbar-thumb,
#one-day-tours .tour-grid::-webkit-scrollbar-thumb,
#intercity-tours .tour-grid::-webkit-scrollbar-thumb,
#foreign-local-tours .tour-grid::-webkit-scrollbar-thumb,
#economic-tours .tour-grid::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

#local-tours .tour-card,
#tours .tour-card,
#foreign-tours .tour-card,
#latest-tours .tour-card,
#discount-tours .tour-card,
#discounted-tours .tour-card,
#one-day-tours .tour-card,
#intercity-tours .tour-card,
#foreign-local-tours .tour-card,
#economic-tours .tour-card {
    flex: 0 0 350px;
    min-width: 350px;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    margin-bottom: 0;
    height: 550px; /* Fixed height for all cards */
}

/* Tour ID styling - fixed position at bottom of cards */
.tour-id-under {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 0.8rem;
    color: #777;
    padding: 5px;
    background-color: rgba(255, 255, 255, 0.8);
    border-top: 1px solid #eee;
}

/* Ensure tour content has proper padding to accommodate the tour ID */
#local-tours .tour-card .tour-content,
#tours .tour-card .tour-content,
#foreign-tours .tour-card .tour-content,
#latest-tours .tour-card .tour-content,
#discount-tours .tour-card .tour-content,
#discounted-tours .tour-card .tour-content,
#one-day-tours .tour-card .tour-content,
#intercity-tours .tour-card .tour-content,
#foreign-local-tours .tour-card .tour-content,
#economic-tours .tour-card .tour-content {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    padding-bottom: 40px; /* Make space for the tour ID */
}

/* Unified Tour Image Styles for all sections */
#local-tours .tour-card .tour-image,
#tours .tour-card .tour-image,
#foreign-tours .tour-card .tour-image,
#latest-tours .tour-card .tour-image,
#discount-tours .tour-card .tour-image,
#discounted-tours .tour-card .tour-image,
#one-day-tours .tour-card .tour-image,
#intercity-tours .tour-card .tour-image,
#foreign-local-tours .tour-card .tour-image,
#economic-tours .tour-card .tour-image {
    position: relative;
    width: 100%;
    height: 240px !important;
    min-height: 240px !important;
    max-height: 240px !important;
    padding-bottom: 0; /* Consistent aspect ratio for all tour images */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f0f0f0;
}

/* Specific overrides for local tours and intercity tours to ensure consistency */
#local-tours .tour-card .tour-image,
#intercity-tours .tour-card .tour-image {
    padding-bottom: 0 !important; /* Force same aspect ratio as other sections */
}

#local-tours .tour-card .tour-image img,
#tours .tour-card .tour-image img,
#foreign-tours .tour-card .tour-image img,
#latest-tours .tour-card .tour-image img,
#discount-tours .tour-card .tour-image img,
#discounted-tours .tour-card .tour-image img,
#one-day-tours .tour-card .tour-image img,
#intercity-tours .tour-card .tour-image img,
#foreign-local-tours .tour-card .tour-image img,
#economic-tours .tour-card .tour-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center; /* Ensure images are centered */
    transition: transform 2s ease;
}

#local-tours .tour-card:hover .tour-image img,
#tours .tour-card:hover .tour-image img,
#foreign-tours .tour-card:hover .tour-image img,
#latest-tours .tour-card:hover .tour-image img,
#discount-tours .tour-card:hover .tour-image img,
#discounted-tours .tour-card:hover .tour-image img,
#one-day-tours .tour-card:hover .tour-image img,
#intercity-tours .tour-card:hover .tour-image img,
#foreign-local-tours .tour-card:hover .tour-image img,
#economic-tours .tour-card:hover .tour-image img {
    transform: scale(1.05);
}

#local-tours .tour-card:hover,
#tours .tour-card:hover,
#foreign-tours .tour-card:hover,
#latest-tours .tour-card:hover,
#discount-tours .tour-card:hover,
#discounted-tours .tour-card:hover,
#one-day-tours .tour-card:hover,
#intercity-tours .tour-card:hover,
#foreign-local-tours .tour-card:hover,
#economic-tours .tour-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.12);
}

/* Section positioning for navigation buttons */
#local-tours,
#tours,
#foreign-tours,
#latest-tours,
#discount-tours,
#discounted-tours,
#one-day-tours,
#intercity-tours,
#foreign-local-tours,
#economic-tours {
    position: relative;
}

/* Tour Destination Image-Only Section */
#tour-destination {
    position: relative;
}

#tour-destination .tour-grid,
#tour-origin .tour-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    /* Let the outer container handle scrolling */
    width: max-content;
    margin: 0;
    padding: 10px 20px 20px;
    /* Add consistent right padding */
    padding-right: 20px;
}

#tour-destination .tour-grid::-webkit-scrollbar {
    height: 6px;
}

#tour-destination .tour-grid::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

#tour-destination .tour-grid::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

/* City Card Styles */
/* Common styles for city cards in both sections */
#tour-destination .tour-card.city-card,
#tour-origin .tour-card.city-card {
    flex: 0 0 250px;
    min-width: 250px;
    background: none;
    box-shadow: none;
    overflow: visible;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    border-radius: 8px;
    align-items: center;
}

#tour-destination .tour-card.city-card:hover {
    transform: translateY(-5px);
}

/* Common styles for city images in both sections */
#tour-destination .tour-image.city-image,
#tour-origin .tour-image.city-image {
    height: 0;
    width: 100%;
    padding-bottom: 40%; /* Original ratio */
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

#tour-destination .tour-image.city-image img,
#tour-origin .tour-image.city-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

#tour-destination .tour-card.city-card:hover .tour-image.city-image img,
#tour-origin .tour-card.city-card:hover .tour-image.city-image img {
    transform: scale(1.05);
}

#tour-destination .city-name,
#tour-origin .city-name {
    margin-top: 8px;
    font-size: 1rem;
    color: var(--dark-color);
    font-weight: 600;
    text-align: center;
    padding: 0 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

@media (max-width: 992px) {
    #tour-destination .tour-card.city-card,
    #tour-origin .tour-card.city-card {
        flex: 0 0 200px;
        min-width: 200px;
    }
    
    #tour-destination .tour-image.city-image,
    #tour-origin .tour-image.city-image {
        height: 0;
        width: 100%;
        padding-bottom: 40%;
    }
    
    #tour-destination .city-name {
        font-size: 1rem;
    }
}

/* Tour Origin Section */
#tour-origin {
    position: relative;
}

/* Tour Origin grid styles now combined with Tour Destination above */

#tour-origin .tour-grid::-webkit-scrollbar {
    height: 6px;
}

#tour-origin .tour-grid::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

#tour-origin .tour-grid::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

/* This style block is now redundant as it's combined with the common styles above */

#tour-origin .tour-card.city-card:hover {
    transform: translateY(-5px);
}

/* This style block is now redundant as it's combined with the common styles above */

#tour-origin .tour-image.city-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

#tour-origin .tour-card.city-card:hover .tour-image.city-image img {
    transform: scale(1.05);
}

#tour-origin .city-name {
    margin-top: 12px;
    font-size: 1.1rem;
    color: var(--dark-color);
    font-weight: 600;
    text-align: center;
}

@media (max-width: 992px) {
    #tour-origin .city-name {
        font-size: 1rem;
    }
}

#latest-tours {
    position: relative;
}

#latest-tours .tour-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    overflow-x: auto;
    padding: 10px 0 20px;
    margin: 0 -20px;
    padding: 10px 20px 20px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

#latest-tours .tour-grid::-webkit-scrollbar {
    height: 6px;
}

#latest-tours .tour-grid::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

#latest-tours .tour-grid::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

#latest-tours .tour-card {
    flex: 0 0 350px;
    min-width: 350px;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    margin-bottom: 0;
}

#latest-tours .tour-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.12);
}

#tour-leaders {
    position: relative;
}

#tour-leaders .tour-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    overflow-x: auto;
    padding: 10px 0 20px;
    margin: 0 -20px;
    padding: 10px 20px 20px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

#tour-leaders .tour-grid::-webkit-scrollbar {
    height: 6px;
}

#tour-leaders .tour-grid::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

#tour-leaders .tour-grid::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.leader-card {
    flex: 0 0 350px;
    min-width: 350px;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    margin-bottom: 0;
}

.leader-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.12);
}

.leader-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.leader-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.leader-card:hover .leader-image img {
    transform: scale(1.05);
}

.leader-content {
    padding: 20px;
}

.leader-content h3 {
    margin: 0 0 10px;
    font-size: 1.2rem;
    color: var(--secondary-color);
}

.leader-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.leader-speciality {
    font-size: 0.9rem;
    background-color: rgba(255, 149, 0, 0.1);
    color: var(--primary-color);
    padding: 4px 8px;
    border-radius: 4px;
}

.leader-rate {
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    color: #555;
}

.leader-rate i {
    color: var(--primary-color);
    margin-left: 5px;
}

.leader-experience {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 0.9rem;
    color: #555;
}

.leader-experience span {
    display: flex;
    align-items: center;
}

.leader-experience span i {
    margin-left: 8px;
    color: var(--secondary-color);
}

.leader-content p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 0;
}

/* Hide scrollbars for all scrollable sections while maintaining scrolling functionality */
#local-tours .tour-grid,
#tours .tour-grid,
#sightseeing .tour-grid,
#tour-destination .tour-grid,
#tour-origin .tour-grid,
#latest-tours .tour-grid,
#tour-leaders .tour-grid {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

/* Hide scrollbar for Chrome, Safari and Opera */
#local-tours .tour-grid::-webkit-scrollbar,
#tours .tour-grid::-webkit-scrollbar,
#sightseeing .tour-grid::-webkit-scrollbar,
#tour-destination .tour-grid::-webkit-scrollbar,
#tour-origin .tour-grid::-webkit-scrollbar,
#latest-tours .tour-grid::-webkit-scrollbar,
#tour-leaders .tour-grid::-webkit-scrollbar {
    display: none;
}

/* Adjust section positions to be relative for proper arrow positioning */
#local-tours,
#tours,
#sightseeing,
#tour-destination,
#tour-origin,
#latest-tours,
#tour-leaders {
    position: relative;
}

/* Enhanced Search Box Styling */
.header-search .search-mini {
    display: flex;
    position: relative;
    width: 250px;
}

.header-search input {
    width: 100%;
    padding: 12px 15px 12px 45px; /* right 15px, left 45px to account for left icon button */
    border-radius: 30px;
    border: 2px solid #eee;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
    font-family: 'Vazirmatn', sans-serif;
    font-size: 0.9rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-search input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 3px 15px rgba(255, 149, 0, 0.15);
    background-color: #fff;
}

.header-search button {
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.header-search button:hover {
    background-color: var(--secondary-color);
    transform: translateY(-50%) scale(1.05);
}

/* Improved Section Separator */
.section-separator {
    height: 1px;
    background: linear-gradient(to right, transparent, #FFD700, transparent);
    margin: 0 auto;
    max-width: 85%;
    margin-top: 5px;
    margin-bottom: 5px;
    opacity: 0.6;
}

/* View All Button for Tour Sections */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.view-all-btn {
    background-color: transparent;
    color: #d97706; /* Darker orange for better contrast (WCAG AA compliant) */
    border: 2px solid #d97706;
    padding: 6px 15px;
    border-radius: 30px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-decoration: none;
    font-weight: 600; /* Increased from 500 for better readability */
    display: flex;
    align-items: center;
    gap: 5px;
}

.view-all-btn:hover {
    background-color: #d97706;
    color: white;
    transform: translateY(-2px);
}

.view-all-btn i {
    font-size: 0.8rem;
}

/* Section background instead of white background */
body {
    background-color: #f9f9f9;
}

section.tours {
    padding-top: 40px;
    padding-bottom: 40px;
    position: relative;
    background-color: #f9f9f9;
}

/* Economic Tours Section */
#economic-tours {
    position: relative;
}

#economic-tours .tour-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    overflow-x: auto;
    padding: 10px 0 20px;
    margin: 0 -20px;
    padding: 10px 20px 20px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

#economic-tours .tour-grid::-webkit-scrollbar {
    display: none;
}

#economic-tours .tour-card {
    flex: 0 0 350px;
    min-width: 350px;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    margin-bottom: 0;
}

#economic-tours .tour-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.12);
}

/* Economic badge */
#economic-tours .tour-content h3::after {
    content: "اقتصادی";
    display: inline-block;
    font-size: 0.7rem;
    color: white;
    background-color: #4CAF50;
    padding: 2px 6px;
    border-radius: 4px;
    margin-right: 8px;
    vertical-align: middle;
    font-weight: normal;
}

/* Login Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    opacity: 1;
}

.modal-content {
    background-color: #fff;
    border-radius: 15px;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
    transform: scale(0.9);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.modal.show .modal-content {
    transform: scale(1);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    color: #777;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close-modal:hover {
    color: #ff5a5f;
    background-color: rgba(0, 0, 0, 0.03);
    transform: rotate(90deg);
}

.modal-header {
    padding: 20px 25px;
    border-bottom: 1px solid #f1f1f1;
    text-align: center;
}

.modal-header h2 {
    font-size: 1.5rem;
    color: #333;
    margin: 0;
}

.user-type-selection {
    padding: 25px;
    text-align: center;
}

.user-type-selection p {
    margin-bottom: 20px;
    color: #555;
    font-size: 1rem;
}

.user-type-options {
    display: flex;
    justify-content: space-around;
    gap: 15px;
}

.user-type-option {
    flex: 1;
    background-color: #f9f9f9;
    border-radius: 12px;
    padding: 25px 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.user-type-option:hover {
    background-color: #f0f8ff;
    transform: translateY(-5px);
}

.user-type-option.selected {
    border-color: #ff9800;
    background-color: rgba(255, 152, 0, 0.05);
}

.option-icon {
    font-size: 2.5rem;
    color: #ff9800;
    margin-bottom: 10px;
}

.user-type-option span {
    display: block;
    font-weight: 600;
    color: #333;
}

.login-form-container {
    padding: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
    font-size: 0.9rem;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: 'Vazirmatn', sans-serif;
}

.form-group input:focus {
    outline: none;
    border-color: #ff9800;
    box-shadow: 0 0 0 3px rgba(255, 152, 0, 0.1);
}

.password-input {
    position: relative;
}

.toggle-password {
    position: absolute;
    top: 50%;
    left: 12px;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #777;
    cursor: pointer;
    transition: all 0.2s ease;
}

.toggle-password:hover {
    color: #333;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.remember-me {
    display: flex;
    align-items: center;
}

.remember-me input[type="checkbox"] {
    margin-left: 8px;
    width: 16px;
    height: 16px;
    accent-color: #ff9800;
}

.forgot-password {
    color: #ff9800;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.forgot-password:hover {
    color: #e08600;
    text-decoration: underline;
}

.login-btn {
    width: 100%;
    padding: 12px;
    background-color: #ff9800;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Vazirmatn', sans-serif;
}

.login-btn:hover {
    background-color: #e08600;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 152, 0, 0.2);
}

.register-option {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #f1f1f1;
}

.register-option p {
    color: #555;
    font-size: 0.9rem;
}

.register-link {
    color: #ff9800;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.register-link:hover {
    color: #e08600;
    text-decoration: underline;
}

/* ===== Tour Details Page Styles ===== */

/* Accordion Styles */
.accordion-item {
    margin-bottom: 8px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #eee;
}

.accordion-header {
    background-color: #f9f9f9;
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.accordion-header:hover {
    background-color: #f0f0f0;
}

.accordion-title {
    font-weight: 600;
    font-size: 14px;
}

.accordion-icon {
    width: 20px;
    height: 20px;
    position: relative;
    transition: transform 0.3s ease;
}

.accordion-icon:before,
.accordion-icon:after {
    content: '';
    position: absolute;
    background-color: #333;
    transition: all 0.3s ease;
}

.accordion-icon:before {
    width: 100%;
    height: 2px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.accordion-icon:after {
    width: 2px;
    height: 100%;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
}

.accordion-item.active .accordion-icon:after {
    transform: translateX(-50%) rotate(90deg);
    opacity: 0;
}

.accordion-content {
    max-height: 400px;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 10px 15px;
    font-size: 13px;
}

.accordion-item.active .accordion-content {
    max-height: 500px;
    padding: 20px;
}

/* Gallery Lightbox */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.gallery-item {
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    height: 150px;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.show {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}

/* Quantity Selector */
.quantity-selector {
    display: flex;
    align-items: center;
    margin: 15px 0;
}

.quantity-label {
    margin-left: 15px;
    font-weight: 600;
}

.quantity-controls {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}

.quantity-btn {
    width: 36px;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f5f5f5;
    cursor: pointer;
    font-size: 18px;
    transition: background-color 0.2s ease;
}

.quantity-btn:hover {
    background-color: #e5e5e5;
}

.quantity-input {
    width: 40px;
    height: 36px;
    text-align: center;
    border: none;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    font-size: 16px;
}

.quantity-input:focus {
    outline: none;
}

/* Tour Navigation */
.tour-nav {
    display: flex;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    position: sticky;
    top: 80px;
    z-index: 100;
}

.tour-nav a {
    padding: 15px 20px;
    text-decoration: none;
    color: #555;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.tour-nav a:hover {
    color: #ff6b6b;
}

.tour-nav a.active {
    color: #ff6b6b;
}

.tour-nav a.active:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background-color: #ff6b6b;
    border-radius: 2px;
}

/* Tour Navigation Arrows - Exact copy from index.html */
.tour-container-wrapper {
    position: relative;
    overflow: hidden;
    min-height: 650px;
    overflow: visible;
}

.tour-navigation-arrows {
    position: absolute;
    top: 50%;
    left: -30px;
    right: -30px;
    width: calc(100% + 60px);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    padding: 0;
    transform: translateY(-50%);
    pointer-events: none;
}

.tour-arrow {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
    position: relative;
}

.tour-arrow i {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.tour-arrow:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.tour-arrow:hover i {
    color: var(--primary-color);
}

/* Tour Banner */
.tour-banner {
    position: relative;
    height: 50vh;
    min-height: 350px;
    background: linear-gradient(135deg, #ff9800, #ff5722);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    color: #fff;
    text-align: center;
}

.tour-banner-content {
    padding: 40px 0;
    width: 100%;
    z-index: 2;
}

.tour-banner-content h1 {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.tour-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 1rem;
}

.tour-meta span {
    display: flex;
    align-items: center;
}

.tour-meta i {
    margin-left: 8px;
}

.tour-details {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.tour-details-grid {
    display: grid;
    grid-template-columns: 3.5fr 1fr;
    gap: 40px;
    align-items: start;
}

.tour-details-main {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.tour-details-sidebar {
    position: sticky;
    top: 100px;
}

.detail-section {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 40px;
    margin-bottom: 35px;
}

.tour-description {
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
    font-size: 1.05em;
}

/* Day Items in Schedule */
.schedule-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
}

.day-item {
    margin-bottom: 0;
    border-right: none;
    border-bottom: 1px dashed #eee;
    padding: 10px;
}

.day-number {
    width: auto;
    height: auto;
    padding: 5px 10px;
    margin-bottom: 10px;
}

.day-content h3 {
    font-size: 15px;
    margin-bottom: 5px;
}

.day-content p {
    font-size: 13px;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
}

.service-item {
    padding: 10px 6px;
    background-color: #f8f8f8;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-item i {
    font-size: 20px;
    color: #ff9800;
    margin-bottom: 8px;
}

.service-item h3 {
    font-size: 14px;
    margin-bottom: 5px;
}

.service-item p {
    font-size: 12px;
}

/* Booking Card */
.booking-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 25px;
    margin-bottom: 30px;
}

.price-section {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px dashed #eee;
}

.price-label {
    color: #666;
    margin-bottom: 5px;
}

.price-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ff9800;
}

.total-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
    padding-top: 20px;
    border-top: 1px dashed #eee;
}

.total-label {
    font-weight: 600;
}

.total-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ff9800;
}

.booking-btn {
    width: 100%;
    background-color: #ff9800;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.booking-btn:hover {
    background-color: #f57c00;
    transform: translateY(-2px);
}

.guarantee-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #666;
    font-size: 0.9rem;
}

.guarantee-info i {
    color: #4CAF50;
}

/* Sidebar Info Card */
.sidebar-info-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 25px;
    margin-bottom: 30px;
}

.sidebar-info-card h3 {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.tour-info-list {
    list-style: none;
    padding: 0;
}

.tour-info-list li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.tour-info-list i {
    font-size: 1.2rem;
    color: #ff9800;
    margin-left: 15px;
}

.tour-info-list div {
    display: flex;
    flex-direction: column;
}

.info-label {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 2px;
}

.info-value {
    font-weight: 600;
}

/* Contact Card */
.contact-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 25px;
    text-align: center;
}

.contact-card h3 {
    margin-bottom: 5px;
}

.contact-card p {
    color: #666;
    margin-bottom: 10px;
}

.contact-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #ff9800;
    color: white;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 10px;
    text-decoration: none;
    font-weight: 600;
}

.contact-hours {
    font-size: 0.85rem;
    color: #666;
}

/* Related Tours Section */
.related-tours {
    padding: 60px 0;
}

.related-tours .tours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .tour-details-grid {
        grid-template-columns: 1fr;
    }
    
    .tour-details-sidebar {
        position: static;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .tour-banner-content h1 {
        font-size: 1.8rem;
    }
    
    .tour-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Detailed Services */
.detailed-services {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px dashed #eee;
}

.sub-title {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #333;
    position: relative;
    padding-right: 18px;
}

.sub-title:before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 24px;
    background-color: #ff9800;
    border-radius: 2px;
}

.meal-plan {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.meal-plan li {
    padding: 10px 15px;
    background-color: #f8f8f8;
    margin-bottom: 10px;
    border-radius: 6px;
    display: flex;
    align-items: center;
}

.meal-plan li strong {
    min-width: 60px;
    display: inline-block;
    color: #ff9800;
}

.tour-services-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.tour-services-list li {
    padding: 8px 0;
    display: flex;
    align-items: center;
}

.tour-services-list li i {
    color: #4CAF50;
    margin-left: 10px;
    font-size: 14px;
}

/* Accommodation Section */
.accommodation-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.accommodation-header {
    margin-bottom: 20px;
}

.accommodation-header h3 {
    font-size: 22px;
    color: #333;
    margin-bottom: 5px;
}

.accommodation-name {
    font-size: 16px;
    color: #666;
}

.accommodation-description h4,
.accommodation-gallery h4,
.room-types h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.accommodation-description p {
    line-height: 1.8;
    color: #555;
}

.accommodation-gallery .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
}

.room-types-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.room-type {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.room-type h5 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #333;
}

.room-price {
    color: #ff9800;
    font-weight: 600;
    margin-top: 10px;
}

/* Tour Categories */
.tour-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.tour-category {
    background-color: #f0f7ff;
    color: #0066cc;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .tour-services-list {
        grid-template-columns: 1fr;
    }
    
    .room-types-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .room-types-grid {
        grid-template-columns: 1fr;
    }
    
    .accommodation-gallery .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://source.unsplash.com/1600x900/?travel') no-repeat center center/cover;
    color: #fff;
    padding: 150px 0;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    animation: fadeInDown 1s;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    animation: fadeInUp 1s;
}

.hero .btn {
    animation: fadeIn 1.5s;
}

/* Search Section */
.search {
    padding: 40px 0;
    background-color: var(--light-color);
}

.search-box {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 0 auto;
}

.search-box h2 {
    text-align: center;
    margin-bottom: 25px;
    color: var(--dark-color);
}

#search-form {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.form-group {
    flex: 1 0 30%;
    margin-bottom: 20px;
    padding: 0 10px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: 'Vazirmatn', sans-serif;
    text-align: right;
}

#search-form .btn {
    margin: 20px auto 0;
    display: block;
    width: 50%;
}

/* Destinations Section */
.destinations {
    background-color: #fff;
}

.region-title {
    font-size: 1.8rem;
    margin: 40px 0 20px;
    color: var(--dark-color);
    position: relative;
    padding-right: 15px;
}

.region-title::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 5px;
    background-color: var(--primary-color);
    border-radius: 3px;
}

.destination-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.destination-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.destination-card:hover {
    transform: translateY(-10px);
}

.destination-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-content {
    padding: 20px;
    text-align: center;
}

.card-content h3 {
    margin-bottom: 10px;
    color: var(--dark-color);
}

.card-content p {
    margin-bottom: 10px;
    color: #666;
}

/* Tours Section */
.tours {
    background-color: var(--light-color);
    padding-top: 30px;
    padding-bottom: 30px;
}

.tour-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.tour-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.tour-card-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    flex-grow: 1;
}

.tour-id-under {
    text-align: center;
    color: #666;
    font-size: 0.8rem;
    padding: 8px 0;
    border-top: 1px dashed #eee;
    direction: rtl;
    margin-top: auto;
}

.tour-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.tour-image {
    position: relative;
    height: 280px;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tour-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s ease;
    flex-shrink: 0;
    min-width: 100%;
    min-height: 100%;
}

.tour-card:hover .tour-image img {
    transform: scale(1.1);
}

.favorite-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 5;
    border: none;
    box-shadow: none;
}

.favorite-icon::before {
    display: none;
}

.favorite-icon i {
    color: rgba(255, 255, 255, 0.9);
    font-size: 22px;
    transition: all 0.3s ease;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.favorite-icon:hover {
    transform: scale(1.15);
    box-shadow: none;
}

.favorite-icon:hover i {
    color: #ff5a5f;
}

.favorite-icon.active i {
    color: #ff5a5f;
}

.tour-content {
    padding: 20px;
}

.tour-content h3 {
    margin-bottom: 10px;
    color: var(--dark-color);
}

.price-transport-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.card-price {
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 1.1rem;
}

.card-transport {
    background-color: var(--light-color);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.tour-info {
    display: flex;
    flex-wrap: wrap;
    font-size: 0.85rem;
    margin-bottom: 10px;
    color: #555;
}

.tour-info span {
    margin-left: 15px;
    margin-bottom: 8px;
}

.tour-info .difficulty-level {
    width: 100%;
    margin-top: 5px;
    padding-top: 5px;
    border-top: 1px dotted #eee;
}

.tour-info span i {
    margin-left: 5px;
    color: var(--primary-color);
}

.tour-dates {
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: #666;
}

.tour-dates span {
    display: flex;
    align-items: center;
}

.tour-dates span i {
    margin-left: 5px;
    color: var(--primary-color);
}

.tour-content p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Sightseeing Section Specific Styles */
.sightseeing-info {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 10px;
    justify-content: space-between;
}

.sightseeing-info span {
    color: #666;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.sightseeing-info .difficulty-level {
    width: 100%;
    margin-top: 5px;
    padding-top: 5px;
    border-top: 1px dotted #eee;
}

.sightseeing-info span i {
    margin-left: 5px;
    color: var(--primary-color);
}

.sightseeing-detail {
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
    gap: 10px;
    background-color: #f9f9f9;
    padding: 12px;
    border-radius: 8px;
    border-right: 3px solid var(--primary-color);
}

.sightseeing-detail span {
    font-size: 0.9rem;
    color: #555;
    display: flex;
    align-items: center;
}

.sightseeing-detail span i {
    margin-left: 8px;
    color: var(--secondary-color);
}

/* Sightseeing Section Row Layout */
#sightseeing .tour-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    overflow-x: auto;
    padding: 10px 0 20px;
    margin: 0 -20px;
    padding: 10px 20px 20px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

#sightseeing .tour-grid::-webkit-scrollbar {
    height: 6px;
}

#sightseeing .tour-grid::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

#sightseeing .tour-grid::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

#sightseeing .tour-card {
    flex: 0 0 350px;
    min-width: 350px;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    margin-bottom: 0;
    height: 650px; /* Fixed height for all cards */
}

#sightseeing .tour-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.12);
}

#sightseeing .tour-image {
    width: 100%;
    height: 280px;
    max-height: 280px;
    position: relative;
}

#sightseeing .tour-content {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

#sightseeing .tour-content h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    height: 2.4em; /* Fixed height for 2 lines */
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2; /* Standard property for compatibility */
    -webkit-box-orient: vertical;
}

#sightseeing .sightseeing-detail {
    flex-direction: column;
    padding: 12px;
    margin-bottom: 10px;
}

/* Fixed height for description */
#sightseeing .sightseeing-description,
#sightseeing .tour-content p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
    height: 3em; /* Fixed height for 2 lines */
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2; /* Standard property for compatibility */
    -webkit-box-orient: vertical;
}

/* Features Section */
.features {
    background-color: #fff;
    padding-top: 30px;
    padding-bottom: 30px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    text-align: center;
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 10px;
    color: var(--dark-color);
}

.feature-card p {
    color: #666;
}

/* About Section */
.about {
    background-color: #fff;
    padding-top: 30px;
    padding-bottom: 30px;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text .section-title {
    text-align: right;
}

.about-text .section-title::after {
    right: 0;
    transform: none;
}

.about-text p {
    margin-bottom: 10px;
    color: #666;
}

.about-image {
    flex: 1;
    min-width: 300px;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: #fff;
    padding: 40px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-about {
    grid-column: span 2;
}

.footer-about h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.footer-about p {
    margin-bottom: 20px;
    color: #ddd;
}

.social-links {
    display: flex;
}

.social-links a {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-links h3 {
    color: #fff;
    margin-bottom: 10px;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #ddd;
    transition: all 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--primary-color);
    padding-right: 5px;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Navigation Buttons */
#sightseeing {
    position: relative;
}

/* Reposition navigation arrows to be at the edges of the frames */
.scroll-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
    color: var(--primary-color);
}

.scroll-prev {
    left: 0px; /* Position at the left edge of the frame */
}

.scroll-next {
    right: 0px; /* Position at the right edge of the frame */
}

.scroll-nav:hover {
    color: var(--secondary-color);
    transform: translateY(-50%) scale(1.2);
}

.scroll-nav i {
    font-size: 18px;
}

/* Destination Amenities Section */
.amenities-section {
    margin-top: 30px;
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
    margin-top: 20px;
}

.amenity-item {
    padding: 10px;
    background-color: #f8f8f8;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.amenity-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    background-color: #fff;
}

.amenity-icon {
    font-size: 18px;
    color: #ff9800;
    margin-bottom: 5px;
}

.amenity-name {
    font-weight: 600;
    font-size: 12px;
}

/* Required Items Section */
.required-items-section {
    margin-top: 30px;
}

.required-items-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.items-category {
    flex: 1;
    min-width: 200px;
    padding: 15px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.items-category h4 {
    font-size: 15px;
    color: #333;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    position: relative;
}

.items-category h4::after {
    content: '';
    position: absolute;
    bottom: -1px;
    right: 0;
    width: 50px;
    height: 3px;
    background-color: #ff9800;
    border-radius: 3px;
}

.items-list {
    list-style: none;
    padding: 0;
}

.items-list li {
    padding: 5px 0;
    display: flex;
    align-items: center;
    border-bottom: 1px dashed #eee;
}

.items-list li:last-child {
    border-bottom: none;
}

.items-list li::before {
    content: "\f00c";
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-left: 10px;
    color: #4CAF50;
    font-size: 14px;
}

.copy-list-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background-color: #f1f1f1;
    color: #555;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 14px;
    margin-top: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.copy-list-btn:hover {
    background-color: #e0e0e0;
}

.copy-list-btn i {
    font-size: 14px;
}

@media (max-width: 992px) {
    .amenities-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .amenities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .required-items-container {
        flex-direction: column;
    }
}

@media (max-width: 992px) {
    .amenities-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Tour Ratings Section */
.ratings-section {
    margin-top: 30px;
    background-color: #fff;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.ratings-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.rating-card {
    padding: 15px;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: #f9f9f9;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.rating-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.rating-value {
    font-size: 26px;
    font-weight: 700;
    color: #ff9800;
    margin-bottom: 5px;
}

.rating-max {
    font-size: 16px;
    color: #777;
    margin-bottom: 5px;
}

.rating-title {
    font-weight: 600;
    margin-top: 10px;
    color: #333;
    font-size: 14px;
}

.rating-stars {
    margin: 10px 0;
}

.rating-stars i {
    color: #ffc107;
    font-size: 18px;
    margin: 0 1px;
}

.rating-count {
    font-size: 14px;
    color: #777;
}

.detailed-ratings {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
}

.detail-rating-item {
    padding: 10px;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.rating-category {
    font-weight: 600;
    margin-bottom: 5px;
    color: #555;
    font-size: 13px;
}

.rating-bar-container {
    height: 8px;
    background-color: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 5px;
}

.rating-bar {
    height: 100%;
    background-color: #4CAF50;
    border-radius: 4px;
}

.rating-text {
    text-align: left;
    font-size: 14px;
    color: #777;
}

/* User Reviews Section */
.reviews-section {
    margin-top: 30px;
}

.reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.reviews-filter {
    display: flex;
    gap: 10px;
}

.filter-btn {
    padding: 6px 12px;
    background-color: #f1f1f1;
    border: none;
    border-radius: 5px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active {
    background-color: #ff9800;
    color: white;
}

.filter-btn:hover:not(.active) {
    background-color: #e0e0e0;
}

.review-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.review-card {
    padding: 15px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.review-card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.review-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.reviewer-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #f1f1f1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #777;
}

.reviewer-name {
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.review-date {
    font-size: 11px;
    color: #777;
    margin-top: 2px;
}

.review-rating {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.rating-value-small {
    font-weight: 700;
    color: #ff9800;
}

.review-stars {
    display: flex;
    gap: 2px;
}

.review-stars i {
    color: #ffc107;
    font-size: 14px;
}

.review-recommendation {
    margin-bottom: 10px;
    padding: 4px 8px;
    background-color: #f5f5f5;
    border-radius: 5px;
    display: inline-block;
    font-size: 12px;
    color: #555;
}

.review-recommendation i {
    color: #4CAF50;
    margin-left: 5px;
}

.review-trip-date {
    font-size: 12px;
    color: #777;
    margin-bottom: 8px;
}

.review-content {
    margin-bottom: 10px;
    line-height: 1.5;
    color: #333;
    font-size: 13px;
}

.review-images {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.review-images::-webkit-scrollbar {
    height: 5px;
}

.review-images::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.review-images::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

.review-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.review-image:hover {
    transform: scale(1.05);
}

.review-actions {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 4px 8px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    background-color: transparent;
    color: #777;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.action-btn:hover {
    background-color: #f5f5f5;
}

.action-btn i {
    font-size: 14px;
}

.action-btn.liked {
    color: #2196F3;
    border-color: #2196F3;
}

.action-btn.disliked {
    color: #F44336;
    border-color: #F44336;
}

@media (max-width: 992px) {
    .ratings-grid {
        flex-direction: column;
    }
    
    .detailed-ratings {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .review-header {
        flex-direction: column;
        gap: 10px;
    }
    
    .review-rating {
        align-items: flex-start;
    }
}

@media (max-width: 992px) {
    .detailed-ratings {
        grid-template-columns: 1fr;
    }
}

/* Tour Timing Section */
.tour-timing {
    margin-top: 30px;
    background-color: #fff;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.timing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
    margin-top: 20px;
}

.timing-item {
    padding: 12px;
    background-color: #f8f8f8;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.timing-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.timing-item::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 5px;
    height: 100%;
    background-color: #ff9800;
    border-radius: 0 8px 8px 0;
}

.timing-label {
    font-weight: 600;
    color: #555;
    margin-bottom: 5px;
    font-size: 12px;
    position: relative;
    padding-right: 30px;
}

.timing-label i {
    position: absolute;
    right: 0;
    top: 2px;
    color: #ff9800;
    font-size: 18px;
}

.timing-value {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.timing-note {
    margin-top: 8px;
    font-size: 11px;
    color: #777;
    line-height: 1.5;
}

.date-item {
    background-color: #fcf8e3;
}

.date-item::before {
    background-color: #ffc107;
}

.time-item {
    background-color: #eaf7ee;
}

.time-item::before {
    background-color: #4CAF50;
}

.arrival-item {
    background-color: #e8f4fd;
}

.arrival-item::before {
    background-color: #2196F3;
}

@media (max-width: 992px) {
    .timing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .timing-grid {
        grid-template-columns: 1fr;
    }
}

/* Pre-Trip Notes and Regulations Section */
.pre-trip-section {
    margin-top: 30px;
}

.notes-container {
    background-color: #fff;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.note-header {
    font-size: 16px;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
    color: #333;
    font-weight: 600;
}

.note-content p {
    margin-bottom: 10px;
    line-height: 1.6;
    color: #555;
    font-size: 13px;
}

.features-list {
    padding-left: 10px;
    margin-bottom: 20px;
}

.features-list li {
    position: relative;
    padding: 5px 0 5px 25px;
    margin-bottom: 5px;
    font-size: 13px;
}

.features-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    width: 18px;
    height: 18px;
    background-color: #ff9800;
    border-radius: 50%;
}

.features-list li::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 16px;
    width: 8px;
    height: 8px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg);
}

.regulations-list {
    padding-left: 10px;
}

.regulations-list li {
    position: relative;
    padding: 5px 0 5px 20px;
    font-size: 13px;
    border-bottom: 1px dashed #eee;
}

.regulations-list li:last-child {
    border-bottom: none;
}

.regulations-list li::before {
    content: "\f00c";
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #4CAF50;
}

/* Cancellation Policy Section */
.cancellation-section {
    margin-top: 30px;
}

.cancellation-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    font-size: 13px;
}

.cancellation-table thead {
    background-color: #ff9800;
    color: white;
}

.cancellation-table th {
    padding: 10px;
    text-align: right;
    font-weight: 600;
}

.cancellation-table td {
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.cancellation-table tr:last-child td {
    border-bottom: none;
}

.cancellation-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.penalty-badge {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 20px;
    font-weight: 600;
    text-align: center;
    min-width: 60px;
}

.penalty-0 {
    background-color: #e8f5e9;
    color: #4CAF50;
}

.penalty-20 {
    background-color: #e8f5e9;
    color: #4CAF50;
}

.penalty-40 {
    background-color: #fff8e1;
    color: #FFC107;
}

.penalty-60 {
    background-color: #fff8e1;
    color: #FFC107;
}

.penalty-70 {
    background-color: #ffebee;
    color: #F44336;
}

.penalty-90 {
    background-color: #ffebee;
    color: #F44336;
}

@media (max-width: 992px) {
    .cancellation-table {
        font-size: 14px;
    }
    
    .cancellation-table th,
    .cancellation-table td {
        padding: 10px;
    }
    
    .penalty-badge {
        min-width: 60px;
        padding: 3px 8px;
    }
}

/* New Tour Gallery Slideshow */
.tour-gallery-container {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 30px;
    margin-bottom: 40px;
}

.gallery-slideshow {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 500px;
}

.main-slide {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.main-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.main-slide:hover img {
    transform: scale(1.05);
}

.thumbnail-container {
    display: flex;
    gap: 10px;
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    z-index: 2;
}

.thumbnail {
    width: 70px;
    height: 55px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid rgba(255, 255, 255, 0.7);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.thumbnail.active {
    border-color: #ff9800;
    opacity: 1;
    transform: scale(1.1);
}

.thumbnail:hover {
    opacity: 1;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: all 0.3s ease;
}

.gallery-nav:hover {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.gallery-nav i {
    color: #333;
    font-size: 18px;
}

.gallery-prev {
    right: 10px;
}

.gallery-next {
    left: 10px;
}

.gallery-nav i {
    color: #333;
    font-size: 16px;
}

/* Tour Quick Info Sidebar */
.tour-quick-info {
    background-color: #fff;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    gap: 8px;
    height: 500px;
    overflow: auto;
    scrollbar-width: thin;
    scrollbar-color: #ddd #f5f5f5;
}

.tour-quick-info::-webkit-scrollbar {
    width: 6px;
}

.tour-quick-info::-webkit-scrollbar-track {
    background: #f5f5f5;
}

.tour-quick-info::-webkit-scrollbar-thumb {
    background-color: #ddd;
    border-radius: 10px;
}

.tour-quick-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
    margin-bottom: 2px;
}

.quick-info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
    border-bottom: 1px dashed #eee;
}

.quick-info-icon {
    width: 32px;
    height: 32px;
    background-color: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff9800;
    flex-shrink: 0;
}

.quick-info-content {
    flex: 1;
}

.quick-info-value {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.quick-price {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 0;
    margin-top: auto;
}

.quick-info-item:last-child {
    border-bottom: none;
}

.quick-info-icon {
    width: 36px;
    height: 36px;
    background-color: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff9800;
    flex-shrink: 0;
}

.quick-info-content {
    flex: 1;
}

.quick-info-value {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.quick-price {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    margin-top: auto;
}

.price-container {
    flex: 1;
}

.quick-price-value {
    font-size: 20px;
    font-weight: 700;
    color: #ff9800;
}

.quick-price-label {
    font-size: 12px;
    color: #777;
}

.quick-book-btn {
    display: inline-block;
    padding: 10px 16px;
    background-color: #ff9800;
    color: white;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.quick-book-btn:hover {
    background-color: #f57c00;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 152, 0, 0.3);
}

@media (max-width: 992px) {
    .tour-gallery-container {
        grid-template-columns: 1fr;
    }
    
    .gallery-slideshow {
        height: 350px;
    }
    
    .tour-quick-info {
        height: auto;
    }
}

/* Difficulty Level Style */
.difficulty-level {
    display: inline-flex;
    align-items: center;
    margin-right: 8px;
    color: #555;
    font-size: 0.85rem;
}

.difficulty-level i {
    margin-left: 3px;
    color: #ff9800;
}

.difficulty-easy {
    color: #4caf50;
}

.difficulty-medium {
    color: #ff9800;
}

.difficulty-hard {
    color: #f44336;
}

.difficulty-badge {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 5px;
}

.badge-easy {
    background-color: rgba(76, 175, 80, 0.15);
    color: #4caf50;
}

.badge-medium {
    background-color: rgba(255, 152, 0, 0.15);
    color: #ff9800;
}

.badge-hard {
    background-color: rgba(244, 67, 54, 0.15);
    color: #f44336;
}

.difficulty-bar {
    background-color: #4caf50 !important;
}

.detail-rating-item:nth-last-child(1) .rating-bar {
    background-color: #4caf50;
}

/* Styling for different difficulty levels */
.rating-text.difficulty-easy {
    color: #4caf50;
    font-weight: 600;
}

.rating-text.difficulty-medium {
    color: #ff9800;
    font-weight: 600;
}

.rating-text.difficulty-hard {
    color: #f44336;
    font-weight: 600;
}

/* Existing CSS continues... */

/* Responsive Styles */
@media (max-width: 992px) {
    .tour-details .container {
        max-width: 100%;
        padding: 0 30px;
    }
}

@media (max-width: 992px) {
    .tour-details-grid {
        grid-template-columns: 1fr;
    }
    
    .tour-details-sidebar {
        position: static;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.quick-info-label {
    font-size: 11px;
    color: #777;
    margin-bottom: 0;
}

.quick-info-value {
    font-size: 13px;
    font-weight: 500;
    color: #333;
}

.quick-price {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    margin-top: auto;
}

.quick-price-value {
    font-size: 18px;
    font-weight: 700;
    color: #ff9800;
}

.quick-price-label {
    font-size: 11px;
    color: #777;
}

.quick-book-btn {
    display: inline-block;
    padding: 8px 14px;
    background-color: #ff9800;
    color: white;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

/* Quick Description Tabs */
.quick-description-tabs {
    margin-top: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.tab-headers {
    display: flex;
    background-color: #f8f8f8;
    border-bottom: 1px solid #eee;
}

.tab-header {
    padding: 14px 20px;
    font-size: 14px;
    font-weight: 600;
    color: #555;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    flex: 1;
}

.tab-header:hover {
    background-color: #f1f1f1;
    color: var(--primary-color);
}

.tab-header.active {
    background-color: #fff;
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

.tab-contents {
    padding: 20px;
}

.tab-content {
    display: none;
    padding: 15px;
    background: #fff;
    border-radius: 0 0 5px 5px;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.tab-content p {
    margin-bottom: 10px;
    line-height: 1.6;
    color: #555;
}

.highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.highlight-item {
    display: flex;
    align-items: center;
    background-color: #f9f9f9;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 13px;
    color: #444;
}

.highlight-item i {
    color: #4CAF50;
    margin-left: 8px;
}

.mini-schedule {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mini-day {
    padding: 10px;
    background-color: #f9f9f9;
    border-radius: 6px;
    font-size: 13px;
    line-height: 1.5;
    color: #555;
}

.day-num {
    font-weight: 600;
    color: var(--secondary-color);
    margin-left: 5px;
}

.mini-services {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.service-item-mini {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    background-color: #f9f9f9;
    border-radius: 6px;
    font-size: 13px;
    color: #555;
}

.service-item-mini i {
    color: var(--primary-color);
    margin-left: 8px;
}

.mini-accommodation {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 15px;
}

.hotel-name {
    font-weight: 600;
    font-size: 15px;
    color: #333;
    margin-bottom: 10px;
}

.hotel-details {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hotel-details span {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: #555;
}

.hotel-details i {
    color: var(--primary-color);
    margin-left: 6px;
}

/* Responsive styles for tabs */
@media (max-width: 992px) {
    .tab-header {
        padding: 12px 15px;
        font-size: 13px;
    }
    
    .tab-contents {
        padding: 12px 8px !important;
    }
    
    .tab-content {
        padding: 8px 5px !important;
    }
    
    .quick-description-tabs {
        margin-left: -5px !important;
        margin-right: -5px !important;
    }
    
    /* Tour categories closer to edges */
    .tour-categories {
        margin-left: -3px !important;
        margin-right: -3px !important;
        gap: 6px !important;
    }
    
    .tour-category {
        padding: 5px 10px !important;
        font-size: 12px !important;
    }
    
    .highlight-item {
        font-size: 12px;
        padding: 6px 10px;
    }
    
    .mini-day {
        font-size: 12px;
        padding: 8px;
    }
    
    .service-item-mini {
        font-size: 12px;
        padding: 6px 10px;
    }
}

@media (max-width: 992px) {
    .tab-header {
        padding: 10px 8px;
        font-size: 12px;
    }
    
    .tab-contents {
        padding: 10px 5px !important;
    }
    
    .tab-content {
        padding: 5px 3px !important;
    }
}

/* Tab Content Specific Styles */
.mini-schedule, .mini-services, .mini-accommodation, .mini-pretrip, .mini-cancellation {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mini-day, .service-item-mini, .pretrip-item, .cancellation-item {
    padding: 8px 12px;
    border-radius: 5px;
    background-color: #f9f9f9;
    display: flex;
    align-items: center;
}

.day-num {
    font-weight: 600;
    margin-left: 5px;
    color: #2c3e50;
}

/* Pre-trip information styles */
.mini-pretrip p {
    font-weight: 600;
    margin-bottom: 10px;
    color: #2c3e50;
}

.pretrip-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pretrip-item i {
    color: #3498db;
    font-size: 18px;
}

/* Cancellation policies styles */
.cancellation-item {
    justify-content: space-between;
}

.day-range {
    font-weight: 600;
}

.penalty {
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 500;
    color: white;
}

.penalty-20 {
    background-color: #2ecc71;
}

.penalty-40 {
    background-color: #3498db;
}

.penalty-70 {
    background-color: #f39c12;
}

.penalty-90 {
    background-color: #e67e22;
}

.penalty-100 {
    background-color: #e74c3c;
}

.service-item-mini {
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-item-mini i {
    color: #3498db;
    font-size: 18px;
}

/* Animation for tab switching */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Tab Navigation */
.tab-nav {
    display: flex;
    border-bottom: 1px solid #e1e1e1;
    background-color: #f8f9fa;
    border-radius: 5px 5px 0 0;
    overflow: hidden;
}

.tab-link {
    padding: 12px 18px;
    cursor: pointer;
    color: #555;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
    position: relative;
}

.tab-link:hover {
    background-color: #eaeaea;
    color: #2980b9;
}

.tab-link.active {
    background-color: #fff;
    color: #2980b9;
    font-weight: 600;
    border-top: 2px solid #2980b9;
}

.tab-link.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #fff;
}

/* Responsive Tab Navigation */
@media (max-width: 992px) {
    .tab-nav {
        flex-wrap: wrap;
    }
    
    .tab-link {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
}

@media (max-width: 992px) {
    .tab-link {
        flex: 1;
        text-align: center;
        padding: 8px 5px;
        font-size: 0.8rem;
    }
}

/* Quick Description Tabs Container */
.quick-description-tabs {
    margin: 25px 0;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    background-color: #fff;
}

/* Fancy Animated Timeline Styles */
.animated-timeline {
    position: relative;
}

.animated-timeline::before {
    content: '';
    position: absolute;
    top: 10px;
    right: 25px;
    height: calc(100% - 20px);
    width: 3px;
    background: linear-gradient(to bottom, #3498db, #2ecc71);
    border-radius: 3px;
    z-index: 1;
}

.animated-item {
    position: relative;
    padding-right: 60px !important;
    margin-bottom: 10px;
    border-radius: 8px !important;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transform: translateX(20px);
    opacity: 0;
    animation: slideInRight 0.5s forwards;
    transition: all 0.3s ease;
    background-color: #f8f9fa !important;
    overflow: hidden;
}

.animated-item:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.animated-item:nth-child(1) { animation-delay: 0.1s; }
.animated-item:nth-child(2) { animation-delay: 0.2s; }
.animated-item:nth-child(3) { animation-delay: 0.3s; }
.animated-item:nth-child(4) { animation-delay: 0.4s; }
.animated-item:nth-child(5) { animation-delay: 0.5s; }

.timing-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3498db, #2ecc71);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 3px 8px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.animated-item:hover .timing-icon {
    transform: translateY(-50%) scale(1.1);
}

.timing-icon i {
    font-size: 16px;
}

.timing-content {
    padding: 12px;
}

.animated-item .day-num {
    display: block;
    margin-bottom: 4px;
    color: #3498db;
    font-weight: 600;
}

.animated-item .timing-value {
    font-size: 16px;
    font-weight: 700;
    color: #2c3e50;
}

.animated-item:nth-child(odd) {
    background-color: #f0f9ff !important;
}

.animated-item:nth-child(even) {
    background-color: #f3fef5 !important;
}

.animated-item:nth-child(1) .timing-icon {
    background: linear-gradient(135deg, #3498db, #2980b9);
}

.animated-item:nth-child(2) .timing-icon {
    background: linear-gradient(135deg, #9b59b6, #8e44ad);
}

.animated-item:nth-child(3) .timing-icon {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
}

.animated-item:nth-child(4) .timing-icon {
    background: linear-gradient(135deg, #f39c12, #d35400);
}

.animated-item:nth-child(5) .timing-icon {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
}

@keyframes slideInRight {
    from {
        transform: translateX(20px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .animated-item {
        padding-right: 50px !important;
    }
    
    .animated-timeline::before {
        right: 20px;
    }
    
    .timing-icon {
        width: 30px;
        height: 30px;
    }
    
    .timing-icon i {
        font-size: 14px;
    }
}

/* Enhanced Timing Tab Header */
.tab-header[data-tab="timing"] {
    position: relative;
    overflow: hidden;
}

.tab-header[data-tab="timing"]::before {
    content: none; /* Remove the additional icon */
}

.tab-header[data-tab="timing"].active::before {
    font-size: 0;
    opacity: 0;
    animation: none;
}

.tab-header[data-tab="timing"].active {
    padding-right: 14px; /* Same as other tabs */
    background: #fff; /* Same as other active tabs */
    border-bottom: 2px solid var(--primary-color); /* Same as other active tabs */
    color: var(--primary-color); /* Same as other active tabs */
    font-weight: 600; /* Same as other active tabs */
}

/* Tab icons styling - all yellow */
.tab-header i {
    margin-left: 5px;
    font-size: 14px;
    color: #f39c12; /* Yellow for all icons */
}

/* Reset all specific icon colors to yellow */
.tab-header[data-tab="overview"] i,
.tab-header[data-tab="services"] i,
.tab-header[data-tab="pretrip"] i,
.tab-header[data-tab="cancellation"] i,
.tab-header[data-tab="timing"] i {
    color: #f39c12; /* Yellow for all icons */
}

/* Remove animation for timing tab icon */
.tab-header[data-tab="timing"].active i {
    color: #f39c12; /* Keep yellow when active */
    animation: none; /* Remove animation */
}

/* Timing Table Styles */
.timing-table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.timing-table thead {
    background-color: #3498db;
    color: white;
}

.timing-table th {
    padding: 12px 15px;
    text-align: right;
    font-weight: 600;
    font-size: 14px;
}

.timing-table tbody tr {
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.timing-table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

.timing-table tbody tr:hover {
    background-color: #f0f9ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.07);
}

.timing-table td {
    padding: 14px 15px;
    vertical-align: middle;
    font-size: 14px;
}

.timing-table td:first-child {
    font-weight: 600;
    color: #333;
    width: 40%;
}

.timing-table td:first-child i {
    color: #f39c12; /* Changed to yellow to match other icons */
    margin-left: 8px;
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.timing-table td:last-child {
    color: #444;
    font-weight: 500;
}

@media (max-width: 992px) {
    .timing-table th, 
    .timing-table td {
        padding: 10px;
        font-size: 13px;
    }
    
    .timing-table th {
        font-size: 13px;
    }
}

@media (max-width: 992px) {
    .timing-table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .timing-table th, 
    .timing-table td {
        font-size: 12px;
        padding: 8px;
    }
    
    .timing-table td:first-child i {
        font-size: 14px;
    }
}

/* Services Table Styles */
.services-container {
    width: 100%;
    opacity: 0;
    animation: fadeIn 0.6s forwards;
}

/* Ensure services become visible when the tab is active, even if animation was skipped */
.tab-content.active .services-container {
    opacity: 1;
}

.services-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.services-table thead {
    background-color: #e67e22;
    color: white;
}

.services-table th {
    padding: 12px 15px;
    text-align: right;
    font-weight: 600;
    font-size: 15px;
}

.services-table tbody tr {
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.services-table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

.services-table tbody tr:hover {
    background-color: #fff8f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.07);
}

.services-table td {
    padding: 14px 15px;
    vertical-align: middle;
    font-size: 14px;
}

.services-table td:first-child {
    font-weight: 600;
    color: #333;
    width: 25%;
}

.services-table td:first-child i {
    color: #f39c12;
    margin-left: 8px;
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.service-included {
    display: inline-flex;
    align-items: center;
    background-color: rgba(39, 174, 96, 0.15);
    color: #27ae60;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid rgba(39, 174, 96, 0.3);
}

.service-included i {
    margin-left: 5px;
    font-size: 14px;
}

.service-not-included {
    display: inline-flex;
    align-items: center;
    background-color: rgba(231, 76, 60, 0.15);
    color: #e74c3c;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid rgba(231, 76, 60, 0.3);
}

.service-not-included i {
    margin-left: 5px;
    font-size: 14px;
}

/* Add styles for premium services */
.premium-services-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 15px;
}

.premium-service-item {
    background: linear-gradient(145deg, #ffffff, #f5f5f5);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.07);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: none;
    position: relative;
}

.premium-service-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right bottom, transparent 50%, rgba(243, 156, 18, 0.03) 50%);
    z-index: 0;
}

.premium-service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(243, 156, 18, 0.2);
}

.premium-service-icon {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    width: 60px;
    height: 60px;
    border-radius: 12px;
    position: relative;
    z-index: 1;
    box-shadow: 0 6px 12px rgba(243, 156, 18, 0.25);
    margin-left: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.premium-service-icon::before {
    content: "";
    position: absolute;
    inset: 2px;
    border-radius: 10px;
    background: linear-gradient(145deg, #f39c12, #e67e22);
    opacity: 0.8;
}

.premium-service-icon i {
    font-size: 24px;
    position: relative;
    z-index: 2;
    color: white;
}

.premium-service-content h4 {
    font-size: 18px;
    margin: 0 0 10px 0;
    color: #333;
    font-weight: 700;
    position: relative;
}

.premium-service-content h4::after {
    content: "";
    display: block;
    width: 40px;
    height: 3px;
    background: linear-gradient(to right, #f39c12, transparent);
    margin-top: 5px;
}

.premium-service-content p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 10px;
}

.premium-service-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    background: rgba(243, 156, 18, 0.08);
    padding: 10px 15px;
    border-radius: 8px;
}

.premium-service-price span {
    font-weight: 700;
    color: #e67e22;
    font-size: 16px;
    font-family: 'IRANYekan', sans-serif;
}

.premium-service-btn {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(230, 126, 34, 0.3);
}

.premium-service-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.4s ease;
}

.premium-service-btn:hover {
    background: linear-gradient(135deg, #e67e22, #d35400);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(211, 84, 0, 0.4);
}

.premium-service-btn:hover::before {
    left: 100%;
}

/* Enhance premium services styling */
.services-subtitle {
    position: relative;
    display: inline-block;
    margin-bottom: 25px;
    padding: 10px 20px 10px 30px;
    font-size: 18px;
    color: #fff;
    background: linear-gradient(135deg, #f39c12, #e67e22);
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
    text-align: center;
}

.services-subtitle i {
    margin-left: 8px;
    animation: pulse 2s infinite;
}

.premium-service-item {
    display: flex;
    background-color: #fff;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.premium-service-content {
    display: flex;
    flex-direction: column;
}

.premium-service-content h4 {
    margin: 0 0 8px 0;
    font-size: 16px;
    color: #333;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.premium-service-icon {
    margin-left: 15px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f39c12, #e67e22);
    border-radius: 50%;
    color: #fff;
    position: relative;
    flex-shrink: 0;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Add back penalty and refund styles */
.penalty-fill {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    background: linear-gradient(to top, #e57373, #ef5350);
    border-radius: 0 0 4px 4px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    color: white;
    font-weight: bold;
    padding-top: 5px;
    font-size: 12px;
}

.refund-fill {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    background: linear-gradient(to top, #81c784, #66bb6a);
    border-radius: 0 0 4px 4px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    color: white;
    font-weight: bold;
    padding-top: 5px;
    font-size: 12px;
}

.penalty-label, .refund-label {
    font-size: 13px;
    color: #555;
}

.cancellation-additional-info {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.cancellation-additional-info h3 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 18px;
    display: flex;
    align-items: center;
}

.cancellation-additional-info h3 i {
    color: #3498db;
    margin-left: 8px;
}

.additional-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.info-item {
    display: flex;
    gap: 12px;
    background: #f9f9f9;
    padding: 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.info-item:hover {
    background: #f0f0f0;
    transform: translateY(-3px);
}

.info-icon {
    width: 40px;
    height: 40px;
    background: #e8f4fd;
    color: #3498db;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.info-content h4 {
    margin: 0 0 5px 0;
    color: #333;
    font-size: 15px;
}

.info-content p {
    margin: 0;
    color: #666;
    font-size: 13px;
    line-height: 1.5;
}

@media (max-width: 992px) {
    .timeline-item {
        flex-direction: column;
    }
    
    .timeline-period {
        width: 100%;
        padding: 10px;
        flex-direction: row;
        border-left: none;
        border-bottom: 1px solid #eaeaea;
    }
    
    .timeline-period i {
        margin-bottom: 0;
        margin-left: 8px;
    }
    
    .additional-info-grid {
        grid-template-columns: 1fr;
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Horizontal timing table styles */
.timing-horizontal-table {
    margin-bottom: 20px;
    overflow-x: auto;
}

.timing-horizontal-table .timing-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin-bottom: 20px;
}

.timing-horizontal-table .timing-table th {
    background-color: #f8f9fa;
    color: #444;
    font-weight: 600;
    text-align: center;
    padding: 14px 15px;
    border-bottom: 1px solid #e0e0e0;
}

.timing-horizontal-table .timing-table th i {
    color: #f39c12;
    margin-left: 6px;
    font-size: 16px;
}

.timing-horizontal-table .timing-table td {
    text-align: center;
    padding: 14px 15px;
    border-bottom: 1px solid #e0e0e0;
    vertical-align: top;
}

.timing-horizontal-table .timing-table tr:hover td {
    background-color: #f5f9ff;
}

.timing-horizontal-table .timing-note {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

/* Timing info box styles */
.timing-info-box {
    background-color: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin-top: 20px;
    margin-bottom: 30px;
    border: 1px solid #e0e0e0;
}

.info-box-header {
    background-color: #3498db;
    color: #fff;
    padding: 12px 15px;
    display: flex;
    align-items: center;
}

.info-box-header i {
    font-size: 20px;
    margin-left: 10px;
}

.info-box-header h3 {
    font-size: 16px;
    margin: 0;
    font-weight: 600;
}

.info-box-content {
    padding: 15px;
}

.info-box-content .info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-box-content .info-list li {
    padding: 8px 0;
    display: flex;
    align-items: flex-start;
    line-height: 1.5;
    margin-bottom: 5px;
}

.info-box-content .info-list li:last-child {
    margin-bottom: 0;
}

.info-box-content .info-list li i {
    color: #2ecc71;
    margin-left: 10px;
    font-size: 14px;
    margin-top: 3px;
}

/* Responsive styles */
@media (max-width: 992px) {
    /* Override parent container scroll */
    .timing-horizontal-table {
        overflow-x: hidden !important; /* prevent horizontal scroll on container */
        max-width: 100%;
    }
    
    /* Show each label (th) and value (td) on the same row using CSS Grid */
    .timing-horizontal-table .timing-table { 
        width: 100%; 
        max-width: 100%;
        overflow-x: hidden; /* prevent horizontal scroll */
    }
    .timing-horizontal-table .timing-table thead { display: none; }

    .timing-horizontal-table .timing-table tbody {
        display: grid;
        grid-template-columns: 95px minmax(0, 1fr); /* fit within viewport */
        column-gap: 50px; /* reasonable gap that fits screen */
        row-gap: 10px;
        align-items: center;
        max-width: 100%;
    }

    /* Flatten rows so we can position cells */
    .timing-horizontal-table .timing-table tbody tr { display: contents; }

    /* Labels (first row th) placed in column 1 with card style */
    .timing-horizontal-table .timing-table tbody tr:first-child th {
        grid-column: 1;
        display: flex;
        align-items: center;
        background: #f8f9fa;
        color: #333;
        font-weight: 800; /* bold titles */
        border-radius: 8px;
        padding: 8px 10px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.05);
        white-space: nowrap; /* keep label on one line */
    }
    .timing-horizontal-table .timing-table tbody tr:first-child th i {
        color: #f39c12;
        margin-left: 4px; /* tighter spacing */
        font-size: 14px; /* smaller icon */
    }

    /* Values (second row td) placed in column 2 */
    .timing-horizontal-table .timing-table tbody tr:last-child td {
        grid-column: 2;
        display: flex;
        align-items: center; /* single-line */
        gap: 3px; /* tighter gap */
        background: #fff;
        color: #555;
        font-weight: 800; /* bold contents */
        border-radius: 8px;
        padding: 6px 8px; /* tighter padding to gain width */
        box-shadow: 0 2px 8px rgba(0,0,0,0.05);
        white-space: nowrap; /* force single line */
        overflow: visible; /* show full text */
        text-overflow: clip; /* no ellipsis */
        min-width: 0; /* allow grid to size correctly */
        max-width: none; /* allow overflow if needed */
        font-size: clamp(11px, 3.2vw, 13px); /* smaller text to fit more */
        line-height: 1.6; /* prevent vertical clipping */
        min-height: 36px; /* ensure enough row height */
    }

    /* Ensure any badges/spans inside values also wrap and are visible */
    .timing-horizontal-table .timing-table tbody tr:last-child td > * {
        display: inline-flex !important; /* stay in one row */
        align-items: center;
        white-space: nowrap !important; /* prevent child wrapping */
        width: auto !important;
        max-width: none !important;
        margin: 0 3px 0 0; /* tighter gap */
        vertical-align: middle;
        font-weight: inherit !important; /* ensure children are bold */
    }

    /* Pair nth label with nth value on the same grid row */
    .timing-horizontal-table .timing-table tbody tr:first-child th:nth-child(1) { grid-row: 1; }
    .timing-horizontal-table .timing-table tbody tr:last-child  td:nth-child(1) { grid-row: 1; }
    .timing-horizontal-table .timing-table tbody tr:first-child th:nth-child(2) { grid-row: 2; }
    .timing-horizontal-table .timing-table tbody tr:last-child  td:nth-child(2) { grid-row: 2; }
    .timing-horizontal-table .timing-table tbody tr:first-child th:nth-child(3) { grid-row: 3; }
    .timing-horizontal-table .timing-table tbody tr:last-child  td:nth-child(3) { grid-row: 3; }
    .timing-horizontal-table .timing-table tbody tr:first-child th:nth-child(4) { grid-row: 4; }
    .timing-horizontal-table .timing-table tbody tr:last-child  td:nth-child(4) { grid-row: 4; }
    .timing-horizontal-table .timing-table tbody tr:first-child th:nth-child(5) { grid-row: 5; }
    .timing-horizontal-table .timing-table tbody tr:last-child  td:nth-child(5) { grid-row: 5; }
}

@media (max-width: 992px) {
    .info-box-header h3 {
        font-size: 14px;
    }
    
    .info-box-content .info-list li {
        font-size: 13px;
    }
}

.info-box-header h3 {
    font-size: 16px;
    margin: 0;
    font-weight: 600;
}

.tour-highlights-list {
    list-style: none;
    padding: 0;
    margin: 15px 0 20px;
}

.tour-highlights-list li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    padding: 8px 15px;
    background-color: rgba(255, 193, 7, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.tour-highlights-list li:hover {
    background-color: rgba(255, 193, 7, 0.2);
    transform: translateX(-5px);
}

.tour-highlights-list li i {
    color: #ffc107;
    margin-left: 10px;
    font-size: 18px;
}

@media (max-width: 992px) {
    .tour-highlights-list li {
        padding: 6px 10px;
    }
}

@media (max-width: 992px) {
    .tour-highlights-list {
        margin: 10px 0;
    }
    
    .tour-highlights-list li {
        margin-bottom: 8px;
    }
}

/* RTL Table Styles */
.rtl-table {
    direction: rtl;
    table-layout: fixed;
    width: 100%;
}

.rtl-table th, 
.rtl-table td {
    text-align: center;
    width: 20%; /* Set equal width for all columns (5 columns = 20% each) */
}

.rtl-table th:first-child {
    border-radius: 0 8px 8px 0;
}

.rtl-table th:last-child {
    border-radius: 8px 0 0 8px;
}

@media (max-width: 992px) {
    .rtl-table {
        min-width: 600px;
        table-layout: fixed;
    }
}


/* New Cancellation Styles */
.cancellation-container {
    background-color: #fff;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.cancellation-header {
    text-align: center;
    margin-bottom: 30px;
}

.cancellation-title {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.cancellation-title i {
    font-size: 24px;
    color: #e74c3c;
    margin-left: 10px;
}

.cancellation-title h3 {
    font-size: 22px;
    color: #333;
    margin: 0;
}

.cancellation-subtitle {
    color: #666;
    font-size: 14px;
    margin: 0;
}

.cancellation-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-bottom: 30px;
}

.cancel-card {
    width: calc(20% - 12px);
    background: #fff;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cancel-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #ddd;
}

.cancel-card[data-percent="0"]::before {
    background: #2ecc71;
}

.cancel-card[data-percent="20"]::before {
    background: #3498db;
}

.cancel-card[data-percent="40"]::before {
    background: #f39c12;
}

.cancel-card[data-percent="70"]::before {
    background: #e67e22;
}

.cancel-card[data-percent="100"]::before {
    background: #e74c3c;
}

.cancel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.cancel-percent {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 5px;
}

.cancel-card[data-percent="0"] .cancel-percent {
    color: #2ecc71;
}

.cancel-card[data-percent="20"] .cancel-percent {
    color: #3498db;
}

.cancel-card[data-percent="40"] .cancel-percent {
    color: #f39c12;
}

.cancel-card[data-percent="70"] .cancel-percent {
    color: #e67e22;
}

.cancel-card[data-percent="100"] .cancel-percent {
    color: #e74c3c;
}

.cancel-title {
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.cancel-time {
    background-color: #f8f9fa;
    padding: 5px 10px;
    border-radius: 50px;
    font-size: 13px;
    color: #555;
    margin-bottom: 10px;
    display: inline-block;
}

.cancel-desc {
    font-size: 13px;
    color: #666;
}

.cancellation-notes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.note-item {
    display: flex;
    gap: 15px;
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.note-item:hover {
    background-color: #f0f0f0;
    transform: translateY(-3px);
}

.note-icon {
    width: 40px;
    height: 40px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.note-icon i {
    font-size: 18px;
    color: #3498db;
}

.note-content h4 {
    margin: 0 0 5px 0;
    font-size: 16px;
    color: #333;
}

.note-content p {
    margin: 0;
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}

.cancellation-footer {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
}

.cancellation-footer p {
    margin: 0;
    font-size: 14px;
    color: #555;
}

.cancellation-footer span {
    font-weight: bold;
    color: #e74c3c;
}

.cancellation-footer a {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
}

.cancellation-footer a:hover {
    text-decoration: underline;
}

@media (max-width: 992px) {
    .cancel-card {
        width: calc(33.333% - 10px);
    }
    
    .cancellation-notes {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {
    .cancel-card {
        width: calc(50% - 8px);
    }
}

@media (max-width: 992px) {
    .cancel-card {
        width: 100%;
    }
    
    .cancellation-title h3 {
        font-size: 18px;
    }
}

.additional-services {
    margin-top: 25px;
    text-align: center;
}

.services-subtitle {
    position: relative;
    display: inline-block;
    margin: 0 auto 25px auto;
    padding: 10px 20px 10px 30px;
    font-size: 18px;
    color: #fff;
    background: linear-gradient(135deg, #f39c12, #e67e22);
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
    text-align: center;
}

.premium-service-item {
    display: flex;
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: right;
    direction: rtl;
}

.premium-service-content {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.premium-service-content h4 {
    margin: 0 0 12px 0;
    font-size: 18px;
    color: #333;
    font-weight: 600;
}

.premium-service-content h4::after {
    content: "";
    display: block;
    width: 40px;
    height: 3px;
    background: linear-gradient(to right, #f39c12, transparent);
    margin-top: 5px;
}

.premium-service-content p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 10px;
}

.premium-service-icon {
    margin-left: 20px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f39c12, #e67e22);
    border-radius: 50%;
    color: #fff;
    position: relative;
    flex-shrink: 0;
    box-shadow: 0 6px 12px rgba(243, 156, 18, 0.25);
}

.premium-service-icon i {
    font-size: 24px;
    color: white;
}

.premium-services-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
    gap: 20px;
}

.premium-service-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    background: rgba(243, 156, 18, 0.08);
    padding: 10px 15px;
    border-radius: 8px;
}

.premium-service-price span {
    font-weight: 700;
    color: #e67e22;
    font-size: 16px;
    font-family: 'IRANYekan', sans-serif;
}

@media (max-width: 992px) {
    .premium-services-container {
        grid-template-columns: 1fr;
    }
    
    .premium-service-item {
        width: 100%;
    }
}

@media (max-width: 992px) {
    .premium-service-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .premium-service-icon {
        margin-left: 0;
        margin-bottom: 10px;
    }
    
    .premium-service-content {
        width: 100%;
    }
    
    .premium-service-content h4::after {
        margin: 5px auto 0;
    }
}

.daily-schedule-container i {
    color: #f39c12 !important;
}

/* User Info Display in Header */
.user-info-display {
    display: flex;
    align-items: center;
    position: relative;
    padding: 8px 12px;
    border-radius: 50px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    color: #fff;
}

.user-info-display:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.user-info-display i {
    font-size: 18px;
    margin-left: 8px;
    color: #fff;
}

.user-info-display .user-phone {
    font-size: 14px;
    font-weight: 600;
}

.user-info-display .dropdown-content {
    position: fixed;
    top: 60px; /* Adjust this value based on your header's height */
    background-color: #fff;
    min-width: 150px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 1001; /* Ensure it's above the sticky header */
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.user-info-display:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content a {
    color: #333;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: right;
    border-radius: 8px;
    transition: background-color 0.2s;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
}

.dropdown-content .logout-btn {
    color: #e74c3c;
    border-top: 1px solid #eee;
}

/* Responsive styles for the user info display */
@media (max-width: 992px) {
    .user-info-display {
        padding: 6px 10px;
    }
    
    .user-info-display .user-phone {
        display: none;
    }
    
    .user-info-display i {
        margin-left: 0;
    }
}

/* Add this at the end of the file */

/* Custom Notification Styles */
.custom-notification {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background-color: #fff;
    border-radius: 8px;
    padding: 15px 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    font-family: 'Vazir', sans-serif;
    transition: transform 0.3s ease;
    border-right: 4px solid var(--primary-color);
    min-width: 280px;
    text-align: center;
    direction: rtl;
}

.custom-notification.show {
    transform: translateX(-50%) translateY(0);
}

.notification-success {
    border-right-color: #4caf50;
}

.notification-warning {
    border-right-color: #ff9800;
}

.notification-error {
    border-right-color: #f44336;
}

/* Ensure favorite icon has proper hover states */
.favorite-icon i.fas {
    color: #ff5a5f !important;
}

/* Custom 'View on Map' Button Style - Enhanced */
.view-on-map-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #007BFF, #6a11cb);
    color: #fff;
    padding: 14px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.view-on-map-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.view-on-map-btn:hover::before {
    left: 100%;
}

.view-on-map-btn:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.view-on-map-btn i {
    font-size: 1.3rem;
    transition: transform 0.3s ease;
    animation: bounceIcon 2.5s infinite cubic-bezier(0.445, 0.05, 0.55, 0.95);
}

.view-on-map-btn:hover i {
    transform: rotate(10deg) scale(1.1);
    animation: none; /* Pause continuous animation on hover */
}

/* Keyframe animation for the icon bounce */
@keyframes bounceIcon {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px) rotate(5deg);
    }
}

/* Custom Marker Cluster Styles */
.marker-cluster-custom {
    background-clip: padding-box;
    border-radius: 50%;
}
.marker-cluster-custom div {
    width: 30px;
    height: 30px;
    margin-left: 5px;
    margin-top: 5px;
    text-align: center;
    border-radius: 50%;
    font-size: 12px;
    color: white;
}
  .marker-cluster-blue div {
    background-color: rgba(0, 0, 255, 0.9);
  }
  .marker-cluster-red {
    background-color: rgba(255, 0, 0, 0.6);
  }
  .marker-cluster-red div {
    background-color: rgba(255, 0, 0, 0.9);
  }

  /* ==============================
     Fancy Services (خدمات تور) UI
     ============================== */
  /* Container */
  #services .services-container {
      background: #fff;
      border-radius: 16px;
      box-shadow: 0 10px 25px rgba(0,0,0,0.06);
      padding: 18px;
  }

  /* Services table */
  #services .services-table {
      width: 100%;
      border-collapse: separate;
      border-spacing: 0 10px; /* row gaps look like cards */
  }

  #services .services-table thead th {
      text-align: right;
      font-weight: 800;
      color: #333;
      font-size: 1.25rem;
      padding: 10px 14px 4px;
  }

  #services .services-table tbody tr {
      background: #fff;
      box-shadow: 0 8px 18px rgba(0,0,0,0.05);
      border-radius: 12px;
  }

  #services .services-table tbody tr td:first-child {
      border-top-right-radius: 12px;
      border-bottom-right-radius: 12px;
  }

  #services .services-table tbody tr td:last-child {
      border-top-left-radius: 12px;
      border-bottom-left-radius: 12px;
  }

  #services .services-table td {
      padding: 14px 16px;
      vertical-align: middle;
      color: #444;
      font-size: 1.1rem;
      line-height: 1.8;
  }

  #services .services-table td i {
      color: var(--primary-color);
      margin-left: 8px;
  }

  /* Included / Not included badges */
  #services .service-included,
  #services .service-not-included {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 6px 12px;
      border-radius: 999px;
      font-weight: 800;
      font-size: 1.05rem;
  }

  #services .service-included {
      background: rgba(40, 167, 69, 0.12);
      color: #1f7a36;
  }

  #services .service-not-included {
      background: rgba(220, 53, 69, 0.12);
      color: #a11f2a;
  }

  /* Hover state per row */
  #services .services-table tbody tr:hover {
      transform: translateY(-2px);
      box-shadow: 0 12px 24px rgba(0,0,0,0.08);
  }

  /* Additional services section */
  #services .additional-services {
      margin-top: 24px;
  }

  #services .services-subtitle {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 1.4rem;
      margin-bottom: 14px;
  }

  #services .services-subtitle i {
      color: var(--primary-color);
  }

  /* Premium services grid */
  #services .premium-services-container {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 14px;
  }

  @media (max-width: 992px) {
      #services .premium-services-container { grid-template-columns: repeat(2, 1fr); }
  }
  @media (max-width: 700px) {
      #services .premium-services-container { grid-template-columns: 1fr; }
  }

  /* Premium service card */
  #services .premium-service-item {
      display: flex;
      align-items: flex-start;
      gap: 12px;
      background: #fff;
      border: 1px solid #f1f1f1;
      border-radius: 14px;
      padding: 14px;
      box-shadow: 0 6px 16px rgba(0,0,0,0.05);
      transition: transform .2s ease, box-shadow .2s ease;
  }

  #services .premium-service-item:hover {
      transform: translateY(-3px);
      box-shadow: 0 12px 22px rgba(0,0,0,0.08);
  }

  #services .premium-service-icon {
      width: 48px;
      height: 48px;
      border-radius: 50%;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background: linear-gradient(135deg, rgba(255,152,0,.15), rgba(255,152,0,.05));
      color: var(--primary-color);
      font-size: 1.5rem;
      box-shadow: inset 0 0 0 2px rgba(255,152,0,.15);
      flex: 0 0 48px;
  }

  #services .premium-service-content h4 {
      margin: 0 0 6px;
      font-size: 1.35rem;
  }

  #services .premium-service-content p {
      margin: 0 0 8px;
      color: #666;
      font-size: 1.1rem;
      line-height: 1.7;
  }

  #services .premium-service-price {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-top: 6px;
  }

  #services .premium-service-price span {
      background: #fff8ee;
      color: #b26a00;
      border: 1px dashed var(--primary-color);
      padding: 4px 10px;
      border-radius: 999px;
      font-weight: 700;
      font-size: 1.05rem;
  }

  #services .premium-service-btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: linear-gradient(135deg, #ff9800, #ffb74d);
      color: #fff;
      border: none;
      padding: 10px 16px;
      border-radius: 999px;
      font-weight: 800;
      font-size: 1.05rem;
      cursor: pointer;
      transition: transform .15s ease, box-shadow .2s ease;
  }

  #services .premium-service-btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 18px rgba(255,152,0,.3);
  }

  /* Animate tab content on show */
  .animated-fade-in { animation: fadeIn .35s ease; }
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
  }

  /* Services tab: compact responsive styles */
  @media (max-width: 992px) {
      #services .services-container { padding: 12px; border-radius: 12px; }
      #services .services-table { width: 100%; table-layout: fixed; border-spacing: 0 8px; }
      #services .services-table thead th { font-size: 1rem !important; padding: 8px 12px 2px !important; }
      #services .services-table th,
      #services .services-table td { white-space: normal; word-break: break-word; }
      #services .services-table td { padding: 10px 12px; font-size: 0.95rem; line-height: 1.5; }
      #services .services-table td i { margin-left: 6px; }
      /* Hide check/cross icons on mobile within services */
      #services .services-table td i,
      #services .services-table th i,
      #services .service-included i,
      #services .service-not-included i { display: none !important; }
      #services .service-included,
      #services .service-not-included { padding: 4px 10px; gap: 6px; font-size: 0.95rem; }

      /* Replace text with icons for included/not-included */
      #services .service-included,
      #services .service-not-included { position: relative; text-indent: -9999px; }
      #services .service-included::after,
      #services .service-not-included::after {
          content: '';
          text-indent: 0;
          display: inline-block;
          width: 1.1em;
          height: 1.1em;
          line-height: 1.1em;
          text-align: center;
          font-size: 1.1rem;
          font-weight: 800;
      }
      #services .service-included::after { content: '✓'; color: #2ecc71; }
      #services .service-not-included::after { content: '✕'; color: #e74c3c; }

      /* Premium services (خدمات ویژه) mobile responsive */
      #services .premium-service-item { padding: 10px; gap: 10px; border-radius: 12px; }
      #services .premium-service-icon { width: 40px; height: 40px; flex: 0 0 40px; font-size: 1.3rem; }
      #services .premium-service-content h4 { font-size: 1.1rem; margin-bottom: 4px; }
      #services .premium-service-content p { font-size: 0.95rem; line-height: 1.6; margin-bottom: 6px; }
      #services .premium-service-price { gap: 8px; margin-top: 4px; flex-wrap: wrap; }
      #services .premium-service-price span { font-size: 0.95rem; padding: 3px 8px; }
      #services .premium-service-btn { padding: 8px 14px; font-size: 0.95rem; gap: 6px; }

      /* Services subtitle compact on mobile */
      #services .services-subtitle { font-size: 1rem; gap: 6px; margin-bottom: 10px; line-height: 1.2; }
      #services .services-subtitle i { font-size: 1rem; }
  }
  @media (max-width: 992px) {
      #services .services-container { padding: 10px; }
      #services .services-table { border-spacing: 0 6px; }
      #services .services-table td { padding: 8px 10px; font-size: 0.9rem; }
      #services .service-included,
      #services .service-not-included { padding: 3px 8px; font-size: 0.88rem; }

      /* Premium services even more compact on small screens */
      #services .premium-service-item { padding: 8px; gap: 8px; }
      #services .premium-service-icon { width: 36px; height: 36px; flex: 0 0 36px; font-size: 1.2rem; }
      #services .premium-service-content h4 { font-size: 1rem; }
      #services .premium-service-content p { font-size: 0.88rem; line-height: 1.5; }
      #services .premium-service-price span { font-size: 0.88rem; padding: 2px 6px; }
      #services .premium-service-btn { padding: 6px 12px; font-size: 0.88rem; }

      /* Services subtitle even tighter on very small screens */
      #services .services-subtitle { font-size: 0.95rem; gap: 5px; margin-bottom: 8px; }
      #services .services-subtitle i { font-size: 0.95rem; }
  }

  /* ==============================
     Tour Quick Info font tweaks (larger text, same spacing)
     ============================== */
  .tour-quick-info .quick-info-label {
      font-size: 13px !important; /* titles slightly larger */
      line-height: 1.2;
      margin-bottom: 0;
      font-weight: 800 !important; /* bold titles */
      color: var(--primary-color) !important; /* primary color */
  }
  .tour-quick-info .quick-info-value {
      font-size: 16px !important;
      line-height: 1.2;
  }

  /* ==============================
     Quick Price styling (original on first line, discounted on next)
     ============================== */
  .quick-price .quick-price-value {
      display: flex;
      flex-direction: column; /* stack lines */
      align-items: flex-start;
      gap: 4px; /* minimal spacing between lines */
  }
  #tour-original-price {
      display: block;
      font-size: 16px;
      color: #666;
      font-weight: 600;
  }
  #tour-discounted-price {
      display: block !important; /* when JS shows it, ensure it's a block line */
      font-size: 20px;
      font-weight: 900;
      color: var(--primary-color) !important; /* primary color for discounted */
      letter-spacing: 0.2px;
  }

  /* ==============================
     Tour Leader typography tweaks
     ============================== */
  .tour-leader-name {
      font-size: 1.35rem !important; /* larger leader name */
      font-weight: 900 !important;   /* extra bold */
      color: var(--primary-color) !important; /* primary color */
      line-height: 1.2;
      margin: 0; /* do not change spacing between items */
  }

  .tour-leader-info-line {
      font-size: 1.05rem !important; /* a bit larger */
      line-height: 1.4; /* readable, minimal impact on spacing */
      margin: 0; /* keep compact */
  }

  .leader-average-stars,
  .leader-average-stars i,
  .leader-average-stars .fa,
  .leader-average-stars .fas,
  .leader-average-stars .far {
      font-size: 1.15rem !important; /* make stars/text larger */
      line-height: 1; /* keep tight */
  }

  /* ==============================
     Kish Features grid (۵ آیتم در هر ردیف)
     ============================== */
  #overview .kish-features .features-grid {
      display: grid;
      grid-template-columns: repeat(5, minmax(0, 1fr));
      gap: 12px;
      align-items: stretch;
  }

  #overview .kish-features .feature-item {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      background: #fff;
      border: 1px solid #f1f1f1;
      border-radius: 10px;
      padding: 10px;
      box-shadow: 0 4px 10px rgba(0,0,0,0.04);
  }

  #overview .kish-features .feature-icon {
      width: 56px;
      height: 56px;
      border-radius: 50%;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background: rgba(255,152,0,0.1);
      color: var(--primary-color);
      flex: 0 0 56px;
  }

  #overview .kish-features .feature-icon i {
      font-size: 28px;
      color: var(--primary-color) !important; /* ensure icon color is visible */
  }

  #overview .kish-features .feature-content h4 {
      font-size: 0.95rem;
      margin: 0 0 4px;
  }

  #overview .kish-features .feature-content p {
      font-size: 0.85rem;
      color: #666;
      margin: 0;
      line-height: 1.5;
  }

  /* Responsive adjustments */
  @media (max-width: 992px) {
      #overview .kish-features .features-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  }
  @media (max-width: 992px) {
      #overview .kish-features .features-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  }
  @media (max-width: 700px) {
      #overview .kish-features .features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }
  @media (max-width: 992px) {
      #overview .kish-features .features-grid { grid-template-columns: 1fr; }
  }

  /* Kish Features: mobile compact layout */
  @media (max-width: 992px) {
      /* Force 3 per row on mobile */
      #overview .kish-features .features-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 10px; }
      #overview .kish-features .feature-card { padding: 10px; border-radius: 10px; }
      #overview .kish-features .feature-icon { width: 36px; height: 36px; font-size: 1.2rem; }
      #overview .kish-features .feature-content h4 { font-size: 0.95rem; margin: 0 0 4px; }
      #overview .kish-features .feature-content p { font-size: 0.82rem; line-height: 1.4; }
  }
  @media (max-width: 992px) {
      /* Keep 3 per row on small phones, tighten spacing */
      #overview .kish-features .features-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 8px; }
      #overview .kish-features .feature-card { padding: 8px; }
      #overview .kish-features .feature-icon { width: 32px; height: 32px; font-size: 1.05rem; }
      #overview .kish-features .feature-content h4 { font-size: 0.9rem; }
      #overview .kish-features .feature-content p { font-size: 0.78rem; }
  }

  /* ==============================
     Fancy Timing (زمان بندی) UI
     Match Services tab styling
     ============================== */
  /* removed empty fallback selector to avoid lint warning */

  #timing .timing-horizontal-table,
  .tab-content#timing .timing-horizontal-table,
  #timing .timing-horizontal-table .rtl-table {
      background: #fff !important;
      border-radius: 16px !important;
      box-shadow: 0 10px 25px rgba(0,0,0,0.06) !important;
      padding: 18px !important;
      margin-bottom: 18px !important;
  }

  #timing .timing-table,
  .tab-content#timing .timing-table,
  #timing .timing-horizontal-table .timing-table {
      width: 100%;
      border-collapse: separate !important;
      border-spacing: 0 10px !important; /* row gaps like cards */
  }

  #timing .timing-table thead th,
  .tab-content#timing .timing-table thead th,
  #timing .rtl-table thead th {
      text-align: right;
      font-weight: 800;
      color: #333;
      font-size: 1.1rem !important; /* match services header size */
      padding: 10px 14px 4px !important;
  }

  #timing .timing-table tbody tr,
  .tab-content#timing .timing-table tbody tr,
  #timing .rtl-table tbody tr {
      background: #fff;
      box-shadow: 0 8px 18px rgba(0,0,0,0.05) !important;
      border-radius: 12px !important;
      transition: transform .2s ease, box-shadow .2s ease;
  }

  #timing .timing-table tbody tr td:first-child,
  .tab-content#timing .timing-table tbody tr td:first-child,
  #timing .rtl-table tbody tr td:first-child {
      border-top-right-radius: 12px;
      border-bottom-right-radius: 12px;
  }

  #timing .timing-table tbody tr td:last-child,
  .tab-content#timing .timing-table tbody tr td:last-child,
  #timing .rtl-table tbody tr td:last-child {
      border-top-left-radius: 12px;
      border-bottom-left-radius: 12px;
  }

  #timing .timing-table td,
  .tab-content#timing .timing-table td,
  #timing .rtl-table td {
      padding: 14px 16px !important;
      vertical-align: middle;
      color: #444;
      font-size: 1rem !important; /* match services cell size */
      background: #fff !important; /* ensure card look even if tr background ignored */
  }

  #timing .timing-table td i,
  .tab-content#timing .timing-table td i,
  #timing .rtl-table td i {
      color: var(--primary-color);
      margin-left: 8px;
  }

  #timing .timing-table tbody tr:hover,
  .tab-content#timing .timing-table tbody tr:hover,
  #timing .rtl-table tbody tr:hover {
      transform: translateY(-2px);
      box-shadow: 0 12px 24px rgba(0,0,0,0.08) !important;
  }

  /* Fancy info box under table */
  #timing .timing-info-box,
  .tab-content#timing .timing-info-box {
      background: #fff;
      border-radius: 16px;
      box-shadow: 0 8px 20px rgba(0,0,0,0.06);
      overflow: hidden;
  }

  #timing .timing-info-box .info-box-header,
  .tab-content#timing .timing-info-box .info-box-header {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 14px 16px;
      border-bottom: 1px solid #f0f0f0;
  }

  #timing .timing-info-box .info-box-header i,
  .tab-content#timing .timing-info-box .info-box-header i {
      color: var(--primary-color);
      font-size: 1.2rem;
  }

  #timing .timing-info-box .info-box-header h3,
  .tab-content#timing .timing-info-box .info-box-header h3 {
      font-size: 1.2rem; /* match premium title size */
      margin: 0;
  }

  #timing .timing-info-box .info-box-content,
  .tab-content#timing .timing-info-box .info-box-content {
      padding: 14px 16px;
  }

  #timing .timing-info-box .info-list li,
  .tab-content#timing .timing-info-box .info-list li {
      padding: 8px 0;
      color: #555;
      font-size: 1rem; /* match services paragraph size */
  }

  #timing .timing-info-box .info-list li i,
  .tab-content#timing .timing-info-box .info-list li i {
      color: var(--primary-color);
      margin-left: 8px;
  }

/* ==============================
   Compact Sightseeings dropdown
   ============================== */
  /* Make the dropdown contents denser without affecting other menus */
 .site-header .sightseeings-dropdown .fancy-dropdown {
  padding: 6px 8px !important; /* was 10px base */
 }

/* Tabs: smaller paddings and font-size */
 .site-header .sightseeings-dropdown .tabs {
  margin: 6px 0 8px !important;
 }
 .site-header .sightseeings-dropdown .tabs .tab {
  padding: 6px 10px !important;
  font-size: 0.9rem !important;
 }

  /* Panels: remove extra inner spacing */
  .site-header .sightseeings-dropdown .tab-panels {
    padding: 0 !important;
  }

/* Grid: reduce gaps and link spacing */
 .site-header .sightseeings-dropdown .dropdown-grid {
  gap: 6px 10px !important;    /* tighter gaps between items */
  padding: 4px 0 !important;   /* reduce internal vertical whitespace */
 }
 .site-header .sightseeings-dropdown .dropdown-grid a {
  padding: 6px 10px !important;  /* tighter item padding */
  font-size: 0.92rem !important; /* slightly smaller text */
  line-height: 1.2 !important;   /* compact lines */
  gap: 6px !important;           /* override JS gap:10px */
 }
 .site-header .sightseeings-dropdown .dropdown-grid a i {
  margin-left: 6px !important;   /* tighter icon spacing */
  font-size: 0.95em !important;
 }

/* ==============================
   Compact Leaders dropdown
   ============================== */
/* Make the leaders dropdown denser without affecting other menus */
.site-header .leaders-dropdown .fancy-dropdown {
  padding: 6px 8px !important;
}

/* Tabs (if present) */
.site-header .leaders-dropdown .tabs {
  margin: 6px 0 8px !important;
}
.site-header .leaders-dropdown .tabs .tab {
  padding: 6px 10px !important;
  font-size: 0.9rem !important;
}

/* Panels */
.site-header .leaders-dropdown .tab-panels {
  padding: 0 !important;
}

/* Grid and links */
.site-header .leaders-dropdown .dropdown-grid {
  gap: 6px 10px !important;
  padding: 4px 0 !important;
}
.site-header .leaders-dropdown .dropdown-grid a {
  padding: 6px 10px !important;
  font-size: 0.92rem !important;
  line-height: 1.2 !important;
  gap: 6px !important;
}
.site-header .leaders-dropdown .dropdown-grid a i {
  margin-left: 6px !important;
  font-size: 0.95em !important;
}

/* Desktop width clamp for Leaders */
.site-header .leaders-dropdown .fancy-dropdown {
    width: min(calc(100vw - var(--dropdown-gutter) * 2), 880px) !important;
}
.site-header .leaders-dropdown .dropdown-menu.show {
    width: min(calc(100vw - var(--dropdown-gutter) * 2), 880px) !important;
}

/* ==============================
   Compact Tours dropdown
   ============================== */
/* Make the tours dropdown denser without affecting other menus */
.site-header .tours-dropdown .fancy-dropdown {
  padding: 6px 8px !important;
}

/* Tabs */
.site-header .tours-dropdown .tabs {
  margin: 6px 0 8px !important;
}
.site-header .tours-dropdown .tabs .tab {
  padding: 6px 10px !important;
  font-size: 0.9rem !important;
}

/* Panels */
.site-header .tours-dropdown .tab-panels {
  padding: 0 !important;
}

/* Grid and links */
.site-header .tours-dropdown .dropdown-grid {
  gap: 6px 10px !important;
  padding: 4px 0 !important;
}
.site-header .tours-dropdown .dropdown-grid a {
  padding: 6px 10px !important;
  font-size: 0.92rem !important;
  line-height: 1.2 !important;
  gap: 6px !important;
}
.site-header .tours-dropdown .dropdown-grid a i {
  margin-left: 6px !important;
  font-size: 0.95em !important;
}

/* Quick Access: force single row with horizontal scroll on all screens */
.quick-access .quick-icons#quickAccessContainer {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  gap: 12px;
  padding: 6px 2px;
  -webkit-overflow-scrolling: touch; /* smooth on iOS */
  scroll-snap-type: x proximity;
  /* Hide scrollbar cross-browser */
  scrollbar-width: none;          /* Firefox */
  -ms-overflow-style: none;       /* IE/Edge legacy */
}
.quick-access .quick-icons#quickAccessContainer > * {
  flex: 0 0 auto; /* prevent wrapping */
  scroll-snap-align: start;
}

/* Chrome, Safari, Opera */
.quick-access .quick-icons#quickAccessContainer::-webkit-scrollbar {
  display: none;
}

/* Quick Access on tablet/mobile: keep single row with horizontal scroll */
@media (max-width: 992px) {
  .quick-access .quick-icons#quickAccessContainer,
  .quick-access .quick-icons {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    gap: 10px;
    width: 100% !important;
    max-width: 100% !important; /* override 1100px cap */
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
  }

  .quick-access .quick-icons#quickAccessContainer > *,
  .quick-access .quick-icons > * {
    flex: 0 0 auto !important; /* prevent wrapping */
    scroll-snap-align: start;
  }

  /* Hide scrollbar on WebKit while keeping scroll */
  .quick-access .quick-icons#quickAccessContainer::-webkit-scrollbar,
  .quick-access .quick-icons::-webkit-scrollbar {
    display: none;
  }
}

/* ==============================
   Compact Footer Styles
   ============================== */
.main-footer {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 24px 0 0;
    margin-top: 40px;
    border-top: none;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 16px;
    padding: 0 16px;
}

.footer-section h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #ff9800;
    border-bottom: 1px solid rgba(255, 152, 0, 0.3);
    padding-bottom: 6px;
}

/* Support Section */
.support-phone-box {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    background: rgba(255, 152, 0, 0.08);
    border-radius: 6px;
    border-right: 2px solid #ff9800;
}

.support-phone-box i {
    color: #ff9800;
    font-size: 1.1rem;
}

.support-phone-box > div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.support-phone-box span {
    font-size: 0.82rem;
    color: #bdc3c7;
}

.support-phone-box a {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    direction: ltr;
    text-align: right;
    transition: color 0.3s ease;
}

.support-phone-box a:hover {
    color: #ff9800;
}

/* Links Section */
.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 6px;
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    display: inline-block;
}

.footer-section ul li a:hover {
    color: #ff9800;
    padding-right: 5px;
}

/* Footer Bottom Wrapper */
.footer-bottom-wrapper {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 12px;
}

/* Social Media Section */
.footer-social {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    flex-wrap: wrap;
}

.social-label {
    font-size: 0.9rem;
    color: #ecf0f1;
    font-weight: 500;
}

.social-icons {
    display: flex;
    gap: 8px;
}

.social-icons a {
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ecf0f1;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    transform: translateY(-3px);
    background: #ff9800;
    color: #ffffff;
}

/* Footer Bottom */
.footer-bottom {
    padding: 12px 16px;
    text-align: center;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-bottom p {
    margin: 0;
    color: #bdc3c7;
    font-size: 0.88rem;
}

.footer-badges {
    display: flex;
    gap: 10px;
    align-items: center;
}

.trust-badge {
    height: 36px;
    width: auto;
    object-fit: contain;
    transition: transform 0.2s ease;
    cursor: pointer;
    opacity: 0.9;
}

.trust-badge:hover {
    transform: scale(1.05);
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 992px) {
    .main-footer {
        padding: 20px 0 0;
        margin-top: 28px;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .footer-section h3 {
        font-size: 0.98rem;
    }
    
    .footer-social {
        flex-direction: column;
        gap: 8px;
        padding: 10px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        padding: 10px;
    }
    
    .footer-badges {
        justify-content: center;
    }
    
    .trust-badge {
        height: 32px;
    }
}

@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 0 12px;
    }
    
    .support-phone-box {
        flex-direction: column;
        text-align: center;
        padding: 8px;
    }
    
    .support-phone-box a {
        text-align: center;
    }
    
    .social-icons {
        gap: 6px;
    }
    
    .social-icons a {
        width: 28px;
        height: 28px;
        font-size: 0.9rem;
    }
}

/* Responsive adjustments for All Tours filter UI */
@media (max-width: 992px) {
  /* Compact the mega filter toggle content */
  .all-tours-container .filter-button-content { gap: 8px; }
  /* Hide selected filter titles to save space */
  .all-tours-container .filter-button-content .selected-filter-titles { display: none !important; }
  /* Hide long texts inside the toggle to keep it compact */
  .all-tours-container .filter-button-content .filter-main-text { display: none !important; }
  /* Show compact instruction with truncation */
  .all-tours-container .filter-button-content .filter-instruction {
    display: inline-block !important;
    max-width: 45vw;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: middle;
  }
  
  /* Make sort heading + reset button on one row, sort options below, scrollable */
  .all-tours-container .sort-options-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap; /* allow options to go to next line */
    gap: 8px 10px;
  }
  .all-tours-container .sort-options-row h4 {
    margin: 0; /* keep heading tight */
  }
  .all-tours-container .sort-options-row .reset-sort-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0; /* same row as heading */
  }
  .all-tours-container .sort-options {
    flex: 0 0 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }
  .all-tours-container .sort-option {
    flex: 0 0 auto;
    min-width: max-content;
  }
}

/* ==============================
   Tour Details Page - Responsive Fixes
   ============================== */

/* Critical Mobile Fixes - Prevent horizontal scroll */
@media (max-width: 992px) {
  /* Force proper viewport width */
  html, body {
    max-width: 100vw;
    overflow-x: hidden !important;
  }
  
  /* Override all containers with inline styles */
  body > *,
  .container,
  div[style*="width"],
  div[style*="max-width"] {
    max-width: 100% !important;
  }
  
  /* Specific fix for tour-details page container */
  body > .container[style] {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

/* Tour Navigation - Mobile */
@media (max-width: 992px) {
  .tour-nav-container {
    margin: 0 -15px;
  }
  
  .tour-nav {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    border-radius: 0;
    margin-bottom: 20px;
    top: 60px;
    flex-wrap: nowrap;
    white-space: nowrap;
  }
  
  .tour-nav::-webkit-scrollbar {
    display: none;
  }
  
  .tour-nav a {
    padding: 12px 16px;
    font-size: 14px;
    flex-shrink: 0;
  }
}

@media (max-width: 992px) {
  .tour-nav a {
    padding: 10px 12px;
    font-size: 13px;
  }
}

/* Tour Gallery Container - Mobile */
@media (max-width: 992px) {
  .tour-gallery-container {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 20px;
    margin-bottom: 30px !important;
    width: 100% !important;
    max-width: 100% !important;
    position: relative !important;
    z-index: 1;
  }
  
  /* Force children to take full width */
  .tour-gallery-container > * {
    width: 100% !important;
  }

  .gallery-slideshow {
    order: 1;
    width: 100% !important;
    height: auto !important;
    min-height: 380px; /* ensure room for main image + thumbnails */
    display: flex !important;
    flex-direction: column !important;
    visibility: visible !important;
    position: relative !important;
    z-index: 1; /* keep below following sections */
    overflow: visible !important;
  }
  
  /* Main image container */
  .gallery-slideshow .main-slide {
    height: 300px; /* larger main image on mobile */
    width: 100%;
    order: 1;
  }
  
  /* Thumbnails below main image */
  .gallery-slideshow .thumbnail-container {
    position: static !important;
    order: 2;
    margin-top: 12px;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 8px 0;
    -webkit-overflow-scrolling: touch;
    min-height: 90px; /* keep thumbnails fully visible */
  }

  /* Hide internal slide track on mobile to prevent duplicate big image */
  .gallery-slideshow .slideshow-slides {
    display: none !important;
  }

  /* In case the other class is used */
  .tour-gallery {
    order: 1 !important;
  }
  
  .tour-quick-info {
    order: 2;
    padding: 12px;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    position: static !important;
    margin-top: 10px;
    z-index: 2; /* above gallery */
  }

  /* Ensure tabs block sits clearly under quick info */
  .quick-description-tabs,
  .tab-headers {
    position: relative !important;
    z-index: 2;
  }
  .quick-description-tabs {
    margin-top: 30px !important;
  }
  
  /* Ensure the inner container also has proper spacing */
  .tour-details-inner-container {
    margin-top: 420px !important;
    position: relative !important;
    z-index: 3 !important;
    clear: both;
  }
  
  .tour-quick-title {
    font-size: 1.3rem !important;
    margin-bottom: 12px;
  }
}

@media (max-width: 992px) {
  .gallery-slideshow {
    height: 220px;
  }
  
  .tour-quick-title {
    font-size: 1.1rem !important;
  }
}

/* Tour Leader Info - Mobile */
@media (max-width: 992px) {
  .tour-leader-card {
    flex-direction: row;
    gap: 12px;
  }
  
  .tour-leader-img {
    width: 70px;
    height: 70px;
  }
  
  .tour-leader-name {
    font-size: 1.1rem !important;
  }
  
  .tour-leader-info-line {
    font-size: 0.9rem !important;
  }
}

@media (max-width: 992px) {
  .tour-leader-img {
    width: 60px;
    height: 60px;
  }
  
  .tour-leader-name {
    font-size: 1rem !important;
  }
  
  .tour-leader-info-line {
    font-size: 0.85rem !important;
  }
}

/* Quick Info Items - Mobile */
@media (max-width: 992px) {
  .quick-info-item {
    padding: 10px 0;
  }
  
  .quick-info-label {
    font-size: 12px !important;
  }
  
  .quick-info-value {
    font-size: 14px !important;
  }
}

/* Tour Details Grid - Mobile */
@media (max-width: 992px) {
  .tour-details {
    padding: 30px 0;
  }
  
  .tour-details .container {
    padding: 0 15px;
  }
  
  .detail-section {
    padding: 20px 15px;
    margin-bottom: 20px;
  }
  
  .detail-section h2 {
    font-size: 1.3rem;
    margin-bottom: 15px;
  }
  
  .detail-section h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
  }
  
  /* Destination description mobile responsive */
  .destination-description {
    padding: 1rem 0 !important;        /* no horizontal padding by default */
    padding-right: 22px !important;    /* only add right padding */
    margin-left: 0;                    /* remove added margins */
    margin-right: 0;
  }
  
  .destination-description h3 {
    font-size: 1rem;
  }
  
  .destination-description p {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  /* Ensure destination text doesn't stick to left edge (RTL-safe) */
  .tour-description,
  .destination-description,
  #destination-description,
  /* cover possible section wrapper names */
  #tour-description-section,
  .tour-description-section {
    padding-left: 0 !important;      /* no left padding */
    padding-right: 22px !important;  /* add right padding */
    box-sizing: border-box;
  }
}

@media (max-width: 992px) {
  .tour-details {
    padding: 20px 0;
  }
  
  /* Destination description even more compact */
  .destination-description {
    padding: 0.8rem 0 !important;     /* no horizontal padding by default */
    padding-right: 18px !important;   /* only add right padding */
    margin-left: 0;
    margin-right: 0;
  }
  
  .destination-description h3 {
    font-size: 0.95rem;
  }
  
  .destination-description p {
    font-size: 0.9rem;
  }

  /* Even on very small screens keep some left padding only */
  .tour-description,
  .destination-description,
  #destination-description,
  #tour-description-section,
  .tour-description-section {
    padding-left: 0 !important;
    padding-right: 18px !important;
  }
  
  .detail-section {
    padding: 15px 12px;
    margin-bottom: 15px;
  }
  
  .detail-section h2 {
    font-size: 1.2rem;
  }
  
  .detail-section h3 {
    font-size: 1rem;
  }
}

/* Schedule Timeline - Mobile */
@media (max-width: 992px) {
  .schedule-timeline {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .day-item {
    padding: 12px;
  }
  
  .day-number {
    font-size: 14px;
  }
  
  .day-content h3 {
    font-size: 14px;
  }
  
  .day-content p {
    font-size: 13px;
  }
}

/* Services Grid - Mobile */
@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: 1fr !important;
    gap: 12px;
  }
  
  .service-item {
    padding: 12px;
  }
}

@media (max-width: 992px) {
  .service-item {
    padding: 10px;
    font-size: 14px;
  }
}

/* Accommodation Section - Mobile */
@media (max-width: 992px) {
  .room-types-grid {
    gap: 15px;
  }
  
  .room-type-card {
    padding: 15px;
  }
  
  .room-type-card h3 {
    font-size: 1.1rem;
  }
}

/* FAQ Section - Mobile */
@media (max-width: 992px) {
  .faq-item {
    padding: 12px;
  }
  
  .faq-question {
    font-size: 14px;
    padding: 12px 35px 12px 12px;
  }
  
  .faq-answer {
    padding: 12px;
    font-size: 13px;
  }
}

/* Reviews Section - Mobile */
@media (max-width: 992px) {
  .review-item {
    padding: 15px;
  }
  
  .review-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  
  .reviewer-info {
    gap: 10px;
  }
  
  .reviewer-avatar {
    width: 40px;
    height: 40px;
  }
  
  .reviewer-name {
    font-size: 14px;
  }
  
  .review-date {
    font-size: 12px;
  }
  
  .review-text {
    font-size: 14px;
  }
}

/* Map Section - Mobile */
@media (max-width: 992px) {
  #tour-map {
    height: 300px !important;
  }
}

@media (max-width: 992px) {
  #tour-map {
    height: 250px !important;
  }
}

/* Booking Button - Mobile */
@media (max-width: 992px) {
  .quick-book-btn {
    padding: 12px 16px;
    font-size: 15px;
    width: 100%;
  }
  
  /* Price section in one row on mobile */
  .quick-price {
    flex-direction: column !important;
    align-items: center !important;
    gap: 8px !important;
    text-align: center;
  }
  
  .quick-price-label {
    font-size: 13px !important;
    font-weight: 800 !important;
    color: var(--primary-color) !important;
    text-align: center;
  }
  
  .quick-price-value {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 15px !important;
    width: 100%;
  }
  
  #tour-original-price {
    font-size: 14px !important;
    text-decoration: line-through;
    color: #999 !important;
  }
  
  #tour-discounted-price {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #ff9800 !important;
  }
}

/* Tab Headers - Mobile */
@media (max-width: 992px) {
  .tab-headers {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  
  .tab-headers::-webkit-scrollbar {
    display: none;
  }
  
  .tab-header {
    flex-shrink: 0;
    min-width: max-content;
  }
}

/* Contact Leader Section - Mobile */
@media (max-width: 992px) {
  #contact-call,
  #contact-sms,
  #contact-whatsapp {
    min-width: 100% !important;
    flex: 1 1 100% !important;
  }
}

/* Tour Banner - Mobile */
@media (max-width: 992px) {
  .tour-banner {
    min-height: 250px;
    height: 40vh;
  }
  
  .tour-banner-content h1 {
    font-size: 1.5rem;
  }
  
  .tour-meta {
    flex-direction: column;
    gap: 10px;
    font-size: 0.9rem;
  }
}

@media (max-width: 992px) {
  .tour-banner {
    min-height: 200px;
    height: 35vh;
  }
  
  .tour-banner-content {
    padding: 20px 0;
  }
  
  .tour-banner-content h1 {
    font-size: 1.3rem;
  }
  
  .tour-meta {
    font-size: 0.85rem;
  }
}

/* Timing Grid - Mobile */
@media (max-width: 992px) {
  .timing-item {
    padding: 12px;
  }
  
  .timing-item i {
    font-size: 1.2rem;
  }
  
  .timing-item h4 {
    font-size: 13px;
  }
  
  .timing-item p {
    font-size: 14px;
  }
}

/* Cancellation Table - Mobile */
@media (max-width: 992px) {
  .cancellation-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .cancellation-table table {
    min-width: 500px;
  }
}

@media (max-width: 992px) {
  .cancellation-table {
    font-size: 12px;
  }
  
  .cancellation-table th,
  .cancellation-table td {
    padding: 8px 6px;
  }
}

/* Gallery Thumbnails - Mobile */
@media (max-width: 992px) {
  .thumbnail-container {
    display: flex !important;
    flex-wrap: wrap !important;         /* allow multiple rows so all thumbs show */
    overflow-x: visible !important;     /* no horizontal clipping */
    -webkit-overflow-scrolling: touch;
    gap: 8px !important;
    padding: 8px 12px !important;       /* add side padding so edges are not cut */
    touch-action: auto !important;           /* allow vertical page scroll gestures */
    overscroll-behavior-x: contain !important; /* avoid bouncing into page */
    overscroll-behavior-y: auto !important;    /* let vertical scrolling propagate */
    scroll-snap-type: none;                   /* no snap when wrapping */
    width: 100% !important;
    justify-content: flex-start;
    box-sizing: border-box;              /* include padding in width */
  }
  
  .thumbnail,
  .thumbnail-item {
    flex: 0 0 25px !important;          /* prevent shrinking/cropping */
    width: 50px !important;
    height: 50px !important;
    border-radius: 8px;
    scroll-snap-align: unset;
    box-sizing: border-box;
    margin: 0 !important;               /* avoid extra margins pushing out of container */
  }
  
  .thumbnail img,
  .thumbnail-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block;
    border-radius: 8px;
  }
}

@media (max-width: 992px) {
  .thumbnail,
  .thumbnail-item {
    width: 64px !important;
    height: 64px !important;
  }
}

/* Amenities Grid - Mobile */
@media (max-width: 992px) {
  .amenity-item {
    padding: 8px;
    font-size: 13px;
  }
  
  .amenity-item i {
    font-size: 1rem;
  }
}

/* Container Width - Mobile - Override inline styles */
@media (max-width: 992px) {
  .container,
  .container[style*="max-width"],
  .container[style*="width"] {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  
  /* Fix tour gallery container with inline styles */
  .tour-gallery-container {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

@media (max-width: 992px) {
  .container,
  .container[style*="max-width"],
  .container[style*="width"] {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
}

/* Fix overflow issues */
@media (max-width: 992px) {
  body {
    overflow-x: hidden;
  }
  
  html {
    overflow-x: hidden;
  }
  
  .tour-details-main {
    gap: 20px;
  }
  
  /* Ensure all images are responsive */
  img {
    max-width: 100%;
    height: auto;
  }
  
  /* Fix any fixed width elements */
  * {
    max-width: 100vw;
  }
}

/* Normalize discounted tours card sizes to match local tours */
#discounted-tours .tour-card {
  flex: 0 0 350px !important;
  min-width: 350px !important;
  height: 550px !important;
}

#discounted-tours .tour-card .tour-image {
  height: 240px !important;
  min-height: 240px !important;
  max-height: 240px !important;
}

#discounted-tours .tour-card .tour-content {
  padding: 15px !important;
}
