/* 
   Ripples Travel - Slate & Tangerine Modern UI
   Author: Antigravity AI
*/

:root {
    --primary: #4c3398;
    /* Riyago Purple */
    --primary-dark: #3a267a;
    --secondary: #2d3436;
    /* Slate base */
    --secondary-hover: #1e272e;
    --accent: #7d5fff;
    --dark: #2d3436;
    --light: #ffffff;
    --bg-soft: #f9f9f9;
    --gray-100: #f1f2f6;
    --gray-150: #ecedf1;
    --gray-200: #dfe4ea;
    --gray-300: #ced4da;
    --text-muted: #636e72;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
    --glass: rgba(255, 255, 255, 0.85);
    /* Changed to white glass */
    --glass-border: rgba(0, 0, 0, 0.05);
    --transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    --serif: "Marcellus", serif;
    --sans: "Outfit", sans-serif;

    /* Checkout Specific UI */
    --checkout-bg: #fdfcfe;
    --checkout-card-bg: rgba(255, 255, 255, 0.9);
    --checkout-accent: #7d5fff;
    --checkout-text: #2d3436;
    --checkout-border: rgba(125, 95, 255, 0.1);
    --checkout-shadow: 0 10px 40px -10px rgba(76, 51, 152, 0.1);
}

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

html,
body {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: clip !important;
    position: relative;
}

html.lenis,
html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}


.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

/* Force scrollbar to stay visible even when Lenis stops (for modals) */
html.lenis-stopped body.modal-open {
    overflow-y: scroll !important;
}

/* Restore native scrollbar appearance site-wide */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f2f6;
}

::-webkit-scrollbar-thumb {
    background: #c2c8d4;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #8e98a8;
}

/* Hide scrollbar on mobile (touch devices handle it natively) */
@media (max-width: 991px) {
    ::-webkit-scrollbar {
        width: 0;
        height: 0;
        display: none;
    }

    * {
        scrollbar-width: none;
    }
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

body {
    font-family: var(--sans);
    color: var(--dark);
    background-color: var(--bg-soft);
    line-height: 1.6;
}

.serif-font {
    font-family: var(--serif);
}

.transition-all {
    transition: var(--transition);
}

.tracking-widest {
    letter-spacing: 0.2rem;
}

/* Utilities */
.text-primary {
    color: var(--primary) !important;
}

.bg-primary {
    background-color: var(--primary) !important;
}

.animate__fadeIn {
    animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bg-light {
    background-color: var(--bg-soft) !important;
}

.mobile-filter-expandable,
.mobile-filter-expandable.active {
    background: var(--bg-soft);
}

.mobile-filter-expandable.active {
    max-height: 500px;
    opacity: 1;
    visibility: visible;
    margin-bottom: 20px;
    padding-bottom: 20px;
}

.filter-fab:hover {
    transform: scale(1.1) rotate(15deg);
    box-shadow: 0 15px 40px rgba(108, 92, 231, 0.6);
}

.filter-fab svg {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.glass-modal {
    background: rgba(45, 52, 54, 0.9) !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.hover-scale {
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.02);
}

/* Buttons */
.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--light);
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--light);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 118, 117, 0.2);
}

.btn-outline-primary {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    color: var(--light);
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader-ripple {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

.loader-ripple div {
    position: absolute;
    border: 4px solid var(--primary);
    opacity: 1;
    border-radius: 50%;
    width: 72px;
    height: 72px;
    top: 4px;
    left: 4px;
    animation: loader-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.loader-ripple div:nth-child(2) {
    animation-delay: -0.5s;
}

@keyframes loader-ripple {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    5% {
        transform: scale(0);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 0;
    }
}

.hero-subtitle {
    font-size: clamp(0.7rem, 2.5vw, 1rem);
    letter-spacing: 0.3rem !important;
    display: block !important;
    /* Ensure it's not hidden */
}

.hero-title {
    font-size: clamp(2rem, 8vw, 4.5rem);
    line-height: 1.1;
}

.hero-desc {
    font-size: clamp(0.9rem, 3vw, 1.25rem);
    max-width: 800px;
}

.filter-btn-mobile {
    width: 70px;
    height: 70px;
    font-size: 1.8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 4px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.filter-btn-mobile:hover {
    background-color: var(--primary-dark);
    transform: scale(1.1);
}

/* Modal styling */
.modal-content.glassmorphism {
    background: rgba(45, 52, 54, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header .btn-close-white {
    filter: invert(1);
    opacity: 0.8;
}

/* Fix horizontal spacing */
.container,
.container-fluid {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding-right: 1.5rem;
    padding-left: 1.5rem;
}

/* Navbar */
.navbar {
    padding: 20px 0;
    background: transparent;
    transition: var(--transition);
}

.navbar.scrolled {
    background: var(--glass);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: 10px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid var(--glass-border);
}

/* Custom Navbar Toggler */
.navbar-toggler:focus {
    box-shadow: none;
}

.custom-toggler-icon {
    width: 28px;
    height: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.custom-toggler-icon span {
    display: block;
    width: 100%;
    height: 2px;
    background: white;
    border-radius: 10px;
    transition: var(--transition);
}

.navbar.scrolled .custom-toggler-icon span {
    background: var(--secondary);
}

/* Middle line shorter */
.custom-toggler-icon span:nth-child(2) {
    width: 70%;
    align-self: flex-end;
}

.navbar-toggler:not(.collapsed) .custom-toggler-icon span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.navbar-toggler:not(.collapsed) .custom-toggler-icon span:nth-child(2) {
    opacity: 0;
}

.navbar-toggler:not(.collapsed) .custom-toggler-icon span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.navbar.scrolled .nav-link {
    color: var(--secondary) !important;
}

.navbar.scrolled .nav-link:hover {
    color: var(--primary) !important;
}

.navbar.scrolled .navbar-brand span:first-child {
    color: var(--primary) !important;
}

.navbar.scrolled .navbar-brand span:not(:first-child) {
    color: var(--secondary) !important;
}

/* Logo Styling */
.navbar-logo {
    transition: var(--transition);
}

@media (max-width: 500px) {
    .navbar-logo {
        max-height: 35px !important;
    }
}

.navbar:not(.scrolled) .navbar-logo {
    filter: brightness(0) invert(1);
}

.navbar.scrolled .navbar-logo {
    filter: none;
}

.footer-logo {
    filter: brightness(0) invert(1);
}

.responsive-brand-size {
    font-size: 1.75rem;
    transition: var(--transition);
}

@media (max-width: 991px) {
    .responsive-brand-size {
        font-size: 1.4rem;
    }
}

@media (max-width: 576px) {
    .responsive-brand-size {
        font-size: 1.1rem;
    }
}

.nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    margin: 0 10px;
    position: relative;
}

.nav-link:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover:after,
.nav-link.active:after {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary) !important;
}

/* Nav Actions & Icons */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    order: 2;
    /* Move to the right on mobile */
}

@media (min-width: 992px) {
    .nav-actions {
        order: 3;
        /* Group after the menu on desktop */
        gap: 20px;
    }
}

.nav-action-btn {
    background: transparent;
    border: none;
    color: white;
    font-size: 1.15rem;
    padding: 8px;
    transition: var(--transition);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 42px;
    height: 42px;
}

.navbar.scrolled .nav-action-btn {
    color: var(--secondary);
}

.nav-action-btn:hover {
    color: var(--primary) !important;
    transform: translateY(-2px);
}

.currency-trigger {
    padding: 0 12px !important;
    width: auto !important;
    min-width: 60px;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 50px !important;
    background: rgba(255, 255, 255, 0.05) !important;
}

.navbar.scrolled .currency-trigger {
    border-color: rgba(15, 23, 42, 0.1) !important;
    background: rgba(15, 23, 42, 0.05) !important;
}

.currency-trigger:hover {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: white !important;
}

.xx-small {
    font-size: 0.65rem;
}


/* Premium Dropdown */

/* Premium Dropdown */
@media (min-width: 992px) {
    .custom-dropdown-hover:hover .premium-nav-dropdown {
        display: block;
        margin-top: 0;
    }

    .premium-nav-dropdown .dropdown-item {
        border-bottom: 1px solid var(--gray-150);
    }

    .premium-nav-dropdown li:last-child .dropdown-item {
        border-bottom: none;
    }

    /* Hide Bootstrap default arrow as we added a custom FontAwesome icon */
    .dropdown-toggle::after {
        display: none !important;
    }
}

.x-small {
    font-size: 0.75rem;
}

.premium-nav-dropdown {
    border: none;
    border-radius: 0;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    min-width: 280px;
    animation: premiumFadeIn 0.3s ease forwards;
    background: #fff;
}

@keyframes premiumFadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.premium-nav-dropdown .dropdown-item {
    padding: 12px 25px;
    font-weight: 500;
    color: var(--secondary);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.premium-nav-dropdown .dropdown-item:hover {
    background: var(--bg-soft);
    color: var(--primary);
    padding-left: 30px;
}

/* Desktop Search Dropdown */
.search-desktop-dropdown {
    position: relative;
}

.search-dropdown-premium {
    min-width: 350px;
    border: none;
    border-radius: 0;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    background: white;
    padding: 20px !important;
    animation: premiumFadeIn 0.3s ease forwards;
}

.premium-search-input {
    border: 1px solid var(--gray-200);
    border-radius: 0;
    padding: 12px 45px 12px 15px;
    font-size: 0.95rem;
    font-weight: 500;
}

.premium-search-input:focus {
    border-color: var(--primary);
    box-shadow: none;
}

.premium-search-submit {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--primary);
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.premium-search-submit:hover {
    transform: translateY(-50%) scale(1.1);
}

/* Compact Search Bar Overlay */
.search-overlay-compact {
    position: fixed;
    top: -120px;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    z-index: 10000;
    padding: 15px 0;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-bottom: 1px solid var(--gray-200);
}

.search-overlay-compact.active {
    top: 0;
}

.search-bar-wrap {
    background: var(--bg-soft);
    padding: 5px 20px;
}

.search-bar-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 12px 0;
    font-weight: 500;
    color: var(--secondary);
    outline: none;
    font-size: 1.1rem;
}

.search-bar-icon {
    color: var(--primary);
    font-size: 1.1rem;
}

.btn-close-search {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.3rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.btn-close-search:hover {
    color: var(--primary);
    transform: rotate(90deg);
}


/* Offcanvas Menu Customization */
.offcanvas {
    width: 500px !important;
    max-width: 96% !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: 20px 0 60px rgba(0, 0, 0, 0.1);
}

@media (max-width: 576px) {

    .offcanvas,
    .offcanvas-start {
        --bs-offcanvas-width: 80% !important;
        width: 80% !important;
        max-width: 80% !important;
    }
}

.offcanvas-body {
    display: flex;
    flex-direction: column;
    padding: 0 1.5rem 1.5rem !important;
    overflow-y: auto;
}

/* Nav offcanvas header fix */
.offcanvas-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 0.75rem 1.5rem !important;
    /* Reduced vertical padding */
}

.offcanvas-body .navbar-nav {
    margin-top: 1rem;
}

.offcanvas .nav-link {
    font-weight: 400 !important;
    color: var(--secondary) !important;
    padding: 12px 0 !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    outline: none !important;
    box-shadow: none !important;
}

/* Sub-items inside collapse: no border, slightly larger text */
.offcanvas .collapse .nav-link {
    border-bottom: none !important;
    padding: 10px 0 !important;
    font-size: 1.1rem !important;
    color: rgba(45, 52, 54, 0.75) !important;
}

.offcanvas .nav-link:hover,
.offcanvas .nav-link.active,
.offcanvas .nav-link[aria-expanded="true"] {
    color: var(--primary) !important;
    background: transparent !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
    text-decoration: none !important;
}

.offcanvas .nav-link::after {
    display: none !important;
}


/* Chevron Rotation */
.offcanvas .nav-link i.fa-chevron-down {
    transition: transform 0.3s ease;
}

.offcanvas .nav-link[aria-expanded="true"] i.fa-chevron-down {
    transform: rotate(180deg);
}

.offcanvas-footer-support {
    margin-top: auto;
    background: #fff;
    padding-top: 20px;
}

/* Offcanvas Icon Box - Sidebar Support */
.nav-offcanvas-icon-box {
    width: 54px;
    height: 54px;
    background: var(--bg-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.3rem;
    border: 1px solid var(--gray-150);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 70vh;
    width: 100%;
    padding-bottom: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: visible;
    background: var(--bg-soft);
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slider .swiper-slide {
    width: 100%;
    height: 100%;
    overflow: hidden !important;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(45, 52, 54, 0.6) 0%, rgba(45, 52, 54, 0.3) 50%, rgba(45, 52, 54, 0.7) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 5;
    padding-top: 50px;
}

/* Standard Page Hero System */
.standard-page-hero {
    height: 50vh;
    min-height: 480px;
    position: relative;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    padding-top: 120px;
    /* Account for fixed nav */
    padding-bottom: 50px;
    overflow: hidden;
}

.standard-page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
}

.standard-page-hero .container-fluid.section-container {
    position: relative;
    z-index: 2;
    padding-left: 5%;
    padding-right: 5%;
}

.standard-hero-badge {
    display: inline-block;
    padding: 8px 18px;
    background: var(--primary);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(76, 51, 152, 0.3);
}

.standard-hero-title {
    font-family: var(--serif);
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    color: #fff;
    font-weight: 700;
    margin-bottom: 20px;
    max-width: 900px;
    /* Force smooth word breaking on large screens */
}

.standard-hero-subtitle {
    font-size: 1.25rem !important;
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    line-height: 1.6;
    font-weight: 500;
}

@media (max-width: 991px) {
    .standard-page-hero {
        height: 45vh;
        min-height: 400px;
    }
}

@media (max-width: 767px) {
    .standard-hero-title {
        font-size: 2.2rem;
    }

    .standard-hero-subtitle {
        font-size: 1.1rem !important;
    }
}

.slide-inner {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 8s ease;
}

.swiper-slide-active .slide-inner {
    transform: scale(1.1);
}

/* Search Container */
.search-container {
    position: absolute;
    bottom: -30px;
    left: 0;
    width: 100%;
    z-index: 10;
    text-align: center;
}

.glassmorphism {
    background: var(--glass);
    backdrop-filter: blur(25px);
    border: 1px solid var(--glass-border);
}

.search-icon {
    color: var(--primary) !important;
}

.form-control,
.form-select {
    border: none;
    border-bottom: 2px solid rgba(15, 23, 42, 0.1);
    background: transparent !important;
    padding-left: 0;
    color: var(--secondary) !important;
    font-weight: 500;
}

.hero-section .form-control,
.hero-section .form-select {
    color: white !important;
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

.hero-section .search-box .form-control,
.hero-section .search-box .form-select {
    color: var(--secondary) !important;
    border-bottom-color: rgba(15, 23, 42, 0.1);
}

.form-control:focus,
.form-select:focus {
    color: inherit !important;
    border-bottom-color: var(--primary);
    box-shadow: none;
}

.border-end-lg {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 991px) {
    .search-container {
        display: none !important;
    }
}

.search-box {
    padding: 20px !important;
}

.border-end-lg {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 15px;
    margin-bottom: 5px;
}

.hero-section {
    position: relative !important;
    height: auto;
    min-height: 80vh;
    padding-top: 100px;
    overflow: visible !important;
    background: transparent !important;
}

.filter-mobile-wrapper {
    background: transparent !important;
    padding: 20px 0;
    text-align: center;
}

/* Sections General */
section {
    padding: 40px 0;
    width: 100%;
}

.section-title h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .section-title h2 {
        font-size: 26px;
    }

    .display-2 {
        font-size: 3rem !important;
    }

    .display-4 {
        font-size: 2rem !important;
    }

    .display-5 {
        font-size: 2rem !important;
    }

    .hero-title {
        font-size: clamp(2rem, 10vw, 3.5rem);
    }
}

.underline {
    width: 80px;
    height: 4px;
    background: var(--primary);
    margin: 0 auto;
    border-radius: 2px;
}

/* Destination Cards */
.destination-card {
    height: 450px;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 1.5rem;
    overflow: hidden;
}

.destination-card img {
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(45, 52, 54, 0.9) 0%, rgba(45, 52, 54, 0.2) 60%, transparent 100%);
    transition: var(--transition);
}

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

.destination-card:hover .card-overlay {
    background: linear-gradient(to top, rgba(255, 118, 117, 0.4) 0%, rgba(45, 52, 54, 0.6) 100%);
}

/* Trending Section Styling */
.trending-filters .filter-tab {
    padding: 10px 25px;
    border: 1px solid var(--gray-200);
    background: white;
    color: var(--text-muted);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.trending-filters .filter-tab:hover,
.trending-filters .filter-tab.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    box-shadow: 0 5px 15px rgba(255, 118, 117, 0.2);
}

.trending-card {
    background: white;
    border: 1px solid var(--gray-150);
    transition: var(--transition);
    height: 100%;
}

.trending-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-subtle);
}

.trending-img-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.trending-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.2, 0, 0.2, 1);
}

.trending-card:hover .trending-img-wrapper img {
    transform: scale(1.15);
}

.trending-price-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary);
    color: white;
    padding: 6px 15px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.trending-meta {
    position: absolute;
    bottom: 15px;
    right: 15px;
    display: flex;
    gap: 8px;
    z-index: 2;
}

.trending-rating,
.trending-duration {
    background: rgba(45, 52, 54, 0.7);
    backdrop-filter: blur(5px);
    color: white;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
}

.trending-rating i {
    color: #ff9f43;
}

.trending-btn {
    width: 40px;
    height: 40px;
    background: var(--gray-100);
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
    text-decoration: none;
}

.trending-btn:hover {
    background: var(--primary);
    color: white;
    transform: rotate(-45deg);
}

.trending-item {
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.trending-item.hide {
    display: none;
}

/* Package Cards */
.package-card {
    border: 1px solid var(--gray-200);
    background: white;
    border-radius: 1.5rem;
    overflow: hidden;
}

.package-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05) !important;
}

.package-img {
    height: 250px;
    overflow: hidden;
}

.package-img img {
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.price-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary);
    color: var(--light);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(255, 118, 117, 0.3);
}

/* Category Slider Section */
.category-section {
    padding-top: 100px !important;
    background: var(--bg-soft) !important;
}

.category-section .container,
.category-slider-wrapper,
.category-swiper,
.category-swiper .swiper-wrapper,
.category-swiper .swiper-slide {
    background: var(--bg-soft) !important;
    background-color: var(--bg-soft) !important;
}

.category-slider-wrapper {
    padding: 0 40px;
}

.category-swiper {
    overflow: hidden;
    /* padding: 20px 0; */
}

/* Global Section Spacing Utility */
.section-padding {
    padding: 40px 0;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 20px 0;
    }

    .category-section {
        padding-top: 40px !important;
    }

    .why-us {
        padding: 20px 10px !important;
    }
}

/* Trending and Destinations background continuity */
.destinations-section,
.testimonials-section,
.why-us,
.newsletter-section {
    background: var(--bg-soft) !important;
}

#destinations,
.destinations-section {
    padding-top: 20px !important;
}

.category-card {
    position: relative;
    height: 280px;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s ease;
    /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); */
}

.category-card:hover {
    transform: translateY(-8px);
    /* box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15); */
}

.category-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.category-overlay {
    position: absolute;
    inset: 0;

    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0) 0%,
            rgba(0, 0, 0, 0.1) 50%,
            rgba(0, 0, 0, 0.55) 85%,
            rgba(0, 0, 0, 0.75) 100%);

    transition: all 0.4s ease;
}

.category-card:hover .category-overlay {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.8));
}

.category-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    color: #ffffff;
    text-align: center;
    z-index: 2;
}

.category-content i {
    color: var(--primary);
    transition: all 0.3s ease;
}

.category-card:hover .category-content i {
    transform: scale(1.1);
}

.category-name {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 5px;
    font-family: 'Marcellus', serif;
}

@media (max-width: 768px) {
    .category-slider-wrapper {
        padding: 0 45px;
    }

    .category-card {
        height: 180px;
    }

    .category-content {
        padding: 15px !important;
        top: 50%;
        left: 50%;
        bottom: auto;
        transform: translate(-50%, -50%);
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .category-content i {
        display: block !important;
        font-size: 1.5rem !important;
        margin-bottom: 8px !important;
        opacity: 0.95;
    }

    .category-name {
        font-size: 1.2rem !important;
        margin-bottom: 2px !important;
        display: block !important;
    }

    .category-count {
        font-size: 0.8rem !important;
        display: block !important;
        opacity: 0.9;
    }

    .category-overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient(to bottom,
                rgba(0, 0, 0, 0.2) 0%,
                rgba(0, 0, 0, 0.4) 50%,
                rgba(0, 0, 0, 0.7) 100%);
        transition: all 0.4s ease;
    }
}

@media (max-width: 600px) {
    .category-card {
        height: 160px;
    }

    .category-content i {
        font-size: 1.3rem !important;
    }

    .category-name {
        font-size: 1.1rem !important;
    }
}

@media (max-width: 480px) {
    .category-slider-wrapper {
        padding: 0 10px !important;
    }

    .category-nav-prev,
    .category-nav-next {
        display: none !important;
    }

    .category-card {
        height: 150px !important;
        border-radius: 12px;
    }

    .category-content {
        padding: 10px !important;
    }

    .category-content i {
        font-size: 1.2rem !important;
        margin-bottom: 4px !important;
    }

    .category-name {
        font-size: 1rem !important;
    }

    .category-count {
        font-size: 0.75rem !important;
    }
}

.category-count {
    font-size: 0.95rem;
    opacity: 0.9;
    margin: 0;
}

/* Category Navigation Arrows */
.category-nav-prev,
.category-nav-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.category-nav-prev {
    left: 15px;
}

.category-nav-next {
    right: 15px;
}

.category-nav-prev:hover,
.category-nav-next:hover {
    background: var(--primary);
    transform: translateY(-50%) scale(1.1);
}

.category-nav-prev i,
.category-nav-next i {
    color: #1a1a1a;
    font-size: 1.2rem;
}

.category-nav-prev:hover i,
.category-nav-next:hover i {
    color: #ffffff;
}


/* Icons */
.pkg-icons i {
    font-size: 1.1rem;
    color: var(--primary);
    background: var(--gray-100);
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.icon-box {
    width: 80px;
    min-width: 80px;
    height: 80px;
    border-radius: 1rem;
    background: var(--gray-100);
    color: var(--primary);
    transition: var(--transition);
}

.feature-box:hover .icon-box {
    background-color: var(--primary) !important;
    color: white !important;
    transform: rotateY(180deg);
}

/* Testimonials */
.testimonial-card {
    border: 1px solid var(--gray-200);
    background: white;
    border-radius: 1.5rem;
}

.testimonial-card p {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--dark);
    font-weight: 300;
}

.swiper-pagination-bullet-active {
    background: var(--primary) !important;
    width: 25px !important;
    border-radius: 5px !important;
}

/* Gallery */
.gallery-item {
    height: 300px;
    display: block;
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(76, 51, 152, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0;
    transition: var(--transition);
}

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

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Newsletter */
.newsletter-section {
    position: relative;
}

.newsletter-box {
    position: relative;
    z-index: 10;
}

/* Footer */
.footer {
    background: var(--gray-100) !important;
    color: var(--secondary) !important;
    border-top: 1px solid var(--gray-200);
    position: relative;
    padding-top: 80px;
    padding-bottom: 40px;
}

.footer h5 {
    color: var(--secondary);
    letter-spacing: 0.5px;
}

.footer-links a {
    color: var(--text-muted);
    transition: var(--transition);
    text-decoration: none;
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 10px;
}

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background-color: var(--gray-150) !important;
    transition: var(--transition);
    color: var(--secondary) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.social-icon:hover {
    transform: translateY(-3px);
    background-color: var(--primary) !important;
    color: white !important;
    box-shadow: 0 10px 20px rgba(76, 51, 152, 0.2);
}

/* Swiper Nav */
.swiper-button-next,
.swiper-button-prev {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff !important;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 18px;
    font-weight: bold;
}

/* Tour Details Page Styles - Hybrid Layout */
.details-hero-new {
    min-height: 380px;
    padding-top: 120px;
    padding-bottom: 50px;
    background-size: cover !important;
    background-position: center !important;
}

.gallery-slider-card {
    height: 450px;
}

.gallery-slider-card .detailsHeroSwiper {
    width: 100%;
    height: 100%;
}

.gallery-slider-card .image-counter {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 10;
    background: rgba(45, 52, 54, 0.8) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.custom-nav-btn {
    width: 40px !important;
    height: 40px !important;
    background: rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(5px);
    border-radius: 50%;
    color: #fff !important;
    transition: var(--transition);
}

.custom-nav-btn:after {
    font-size: 1rem !important;
    font-weight: bold;
}

.fw-500 {
    font-weight: 500;
}

.custom-nav-btn:hover {
    background: var(--primary) !important;
}

/* The original custom-nav-btn rules are replaced by the new ones above */

.detailsHeroSwiper {
    width: 100%;
    height: 100%;
}

.details-hero-slide {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 10s ease;
}

.swiper-slide-active .details-hero-slide {
    transform: scale(1.1);
}

.hero-slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(45, 52, 54, 0.95) 0%, rgba(45, 52, 54, 0.4) 50%, rgba(45, 52, 54, 0.7) 100%);
    z-index: 2;
}

.hero-content-container {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    z-index: 5;
}

.image-counter {
    position: absolute;
    bottom: 30px;
    right: 30px;
    z-index: 10;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    letter-spacing: 1px;
}

.amenity-card {
    border: 1px solid var(--gray-200);
}

.amenity-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05) !important;
}

.subtitle-stats {
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

/* Tour Details Page Styles */
.details-hero {
    height: 60vh;
    background-size: cover !important;
    background-position: center !important;
    position: relative;
    padding-top: 100px;
}

.details-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(45, 52, 54, 0.9) 0%, transparent 100%);
}

.itinerary-item {
    position: relative;
}

.itinerary-item:last-child {
    border-bottom: none !important;
}

.object-fit-cover {
    object-fit: cover;
}

/* ==========================================================================
   Testimonials – Modern Reference Design (V3)
   ========================================================================== */

/* Section Background */
.testimonials-section {
    background: linear-gradient(160deg, #f5f3ff 0%, #ede9fe 40%, #f8f6ff 70%, #f0f4ff 100%);
    position: relative;
    overflow: hidden;
}

/* ---- Google Rating Badge ---- */
.google-rating-badge {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 50px;
    padding: 8px 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.testi-badge-divider {
    width: 1px;
    height: 18px;
    background: rgba(0, 0, 0, 0.15);
}

/* ---- Section Heading ---- */
.testi-main-heading {
    font-size: clamp(2rem, 4vw, 3rem);
    color: #1a1a2e;
    line-height: 1.15;
}

.testi-highlight {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

/* ---- Slider Wrapper (with flanking arrows) ---- */
.testi-slider-wrapper {
    display: flex;
    align-items: center;
    gap: 24px;
    max-width: 920px;
    margin: 0 auto 48px;
}

.testi-swiper-modern {
    flex: 1;
    min-width: 0;
    padding-bottom: 48px !important;
    /* space for pagination */
}

/* ---- Flanking Nav Buttons ---- */
.testi-flanking-btn {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1.5px solid rgba(76, 51, 152, 0.2);
    background: #ffffff;
    color: #4c3398;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.07);
    transition: all 0.3s ease;
    font-size: 0.9rem;
    outline: none;
}

.testi-flanking-btn:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 6px 20px rgba(76, 51, 152, 0.3);
    transform: scale(1.05);
}

.testi-flanking-btn.swiper-button-disabled {
    opacity: 0.35;
    pointer-events: none;
}

/* ---- Immersive Card ---- */
.testi-swiper-modern .swiper-wrapper {
    align-items: stretch;
}

.testi-swiper-modern .swiper-slide {
    height: auto;
    display: flex;
}

.testi-card-modern {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 12px 48px rgba(76, 51, 152, 0.08), 0 2px 12px rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: stretch;
    overflow: hidden;
    width: 100%;
    min-height: 300px;
    box-sizing: border-box;
}

/* ---- Side Images ---- */
.testi-side-img {
    width: 180px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.testi-side-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.25;
    filter: saturate(0.6);
}

.testi-side-left {
    border-radius: 24px 0 0 24px;
}

.testi-side-right {
    border-radius: 0 24px 24px 0;
}

/* Gradient fade on side images towards center */
.testi-side-left::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(240, 237, 255, 0) 0%, rgba(240, 237, 255, 0.85) 100%);
}

.testi-side-right::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to left, rgba(240, 237, 255, 0) 0%, rgba(240, 237, 255, 0.85) 100%);
}

/* ---- Card Body (center) ---- */
.testi-card-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 48px 36px;
}

/* ---- Big Quote Mark ---- */
.testi-quote-icon {
    font-size: 5rem;
    line-height: 1;
    color: var(--primary);
    font-family: Georgia, serif;
    margin-bottom: 8px;
    opacity: 0.85;
}

/* ---- Review Text ---- */
.testi-review-text {
    font-size: clamp(0.95rem, 1.5vw, 1.08rem);
    line-height: 1.8;
    color: #2d2d4e;
    max-width: 560px;
    margin: 0 auto 8px;
    font-style: italic;
}

/* Clamp to 3 lines with ellipsis */
.testi-review-clamp {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 10px;
}

/* Read More link inside card */
.testi-read-more {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 18px;
    transition: opacity 0.2s ease;
}

.testi-read-more:hover {
    opacity: 0.75;
    text-decoration: underline;
}

/* ---- Wave Divider ---- */
.testi-wave-divider {
    width: 120px;
    height: 20px;
    margin: 0 auto 24px;
    opacity: 0.7;
}

.testi-wave-divider svg {
    width: 100%;
    height: 100%;
}

/* ---- Author ---- */
.testi-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testi-avatar-wrap {
    position: relative;
    flex-shrink: 0;
}

.testi-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 4px 14px rgba(76, 51, 152, 0.2);
}

.testi-verified-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 20px;
    height: 20px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.6rem;
    border: 2px solid #fff;
}

.testi-author-info {
    text-align: left;
}

.testi-author-name {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 2px;
}

.testi-author-role {
    font-size: 0.82rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 2px;
}

.testi-author-location {
    font-size: 0.8rem;
    color: #6b7280;
    margin-bottom: 0;
}

/* ---- Swiper Pagination ---- */
.testi-pagination {
    bottom: 0 !important;
}

.testi-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(76, 51, 152, 0.25);
    opacity: 1;
    transition: all 0.3s ease;
}

.testi-pagination .swiper-pagination-bullet-active {
    background: var(--primary);
    width: 28px;
    border-radius: 5px;
}

/* ---- Bottom Stats Bar ---- */
.testi-stats-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
    max-width: 820px;
    margin: 0 auto;
    padding-top: 20px;
}

.testi-stat-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 40px;
    flex: 1;
    min-width: 160px;
    justify-content: center;
}

.testi-stat-icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    color: #3d3464;
    opacity: 0.8;
}

.testi-stat-icon svg {
    width: 100%;
    height: 100%;
}

.testi-stat-value {
    font-size: 1.35rem;
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 2px;
    line-height: 1;
}

.testi-stat-label {
    font-size: 0.78rem;
    color: #6b7280;
    margin-bottom: 0;
    white-space: nowrap;
}

.testi-stat-divider {
    width: 1px;
    height: 48px;
    background: rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

/* ---- Read More Link (preserved) ---- */
.read-more-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    cursor: pointer;
    display: inline-block;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.read-more-link:hover {
    color: var(--accent);
    text-decoration: underline;
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
    .testi-slider-wrapper {
        gap: 12px;
        max-width: 100%;
    }

    .testi-side-img {
        width: 100px;
    }

    .testi-card-body {
        padding: 36px 20px;
    }
}

@media (max-width: 767px) {
    .testi-slider-wrapper {
        flex-direction: row;
        /* keep prev/next hidden but keep row layout */
        gap: 8px;
    }

    .testi-flanking-btn {
        display: none;
        /* hide flanking arrows on mobile, use pagination instead */
    }

    /* Ensure swiper itself has a minimum height so slides don't collapse */
    .testi-swiper-modern {
        min-height: 380px;
    }

    .testi-card-modern {
        min-height: 340px;
        width: 100%;
    }

    /* On mobile align content to top so it doesn't get hidden */
    .testi-card-body {
        padding: 28px 20px;
        justify-content: flex-start;
    }

    .testi-quote-icon {
        font-size: 3.5rem;
    }

    .testi-review-text {
        font-size: 0.9rem !important;
        line-height: 1.7;
    }

    /* Pagination – ensure it is visible */
    .testi-pagination {
        position: relative !important;
        bottom: auto !important;
        margin-top: 16px;
        z-index: 10;
    }

    .testi-pagination .swiper-pagination-bullet {
        background: rgba(76, 51, 152, 0.35);
    }

    .testi-pagination .swiper-pagination-bullet-active {
        background: var(--primary);
    }

    .testi-stats-bar {
        gap: 8px;
    }

    .testi-stat-item {
        padding: 10px 16px;
        min-width: 130px;
    }

    .testi-stat-divider {
        display: none;
    }
}

/* Preserved user-name / user-location classes used in modal */
.user-name {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0;
    color: #2d3436;
}

.user-location {
    font-size: 0.85rem;
    color: #636e72;
    margin-bottom: 0;
}

/* Custom Slider Nav at Bottom center */
.slider-controls-bottom {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 0;
}

.slider-nav-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: white;
    border: 1px solid #dfe4ea;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    color: #2d3436;
}

.slider-nav-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Trending Slider Adjustments */
.trending-slider-container {
    position: relative;
    padding-bottom: 0;
}

.trending-swiper {
    padding: 10px 10px 20px 10px;
}

.trending-item.hide {
    display: none;
}

/* Modern Checkout Styles */
.modern-checkout-header {
    background: white;
    border-bottom: 1px solid var(--gray-200);
    padding-top: 90px !important;
    /* Ensure visibility below fixed navbar */
}

.step-item {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    color: var(--text-muted);
}

.step-item.active {
    color: var(--primary);
    font-weight: 700;
}

.step-item:not(:last-child)::after {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-left: 15px;
    color: var(--gray-300);
}

.step-number {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    transition: var(--transition);
}

.active .step-number {
    background: var(--primary);
    color: white;
}

.payment-card {
    border: 2px solid var(--gray-200);
    transition: var(--transition);
    cursor: pointer;
}

.payment-card:hover {
    border-color: var(--primary-subtle);
    background: var(--gray-100);
}

.payment-card.active {
    border-color: var(--primary);
    background: rgba(255, 118, 117, 0.05);
    /* Very light tangerine */
}

.payment-card input[type="radio"] {
    accent-color: var(--primary);
}

/* Checkout & Success Enhancements */
@media (max-width: 768px) {
    .checkout-stepper {
        justify-content: center;
        width: 100%;
        gap: 15px !important;
    }

    .step-item {
        font-size: 0.75rem;
        gap: 5px !important;
    }

    .step-item:not(:last-child)::after {
        margin-left: 5px !important;
        font-size: 0.8rem;
    }

    .step-number {
        width: 22px;
        height: 22px;
        font-size: 0.7rem;
    }

    .modern-checkout-header h2 {
        text-align: center;
    }
}

.x-small {
    font-size: 0.75rem;
}

.cursor-pointer {
    cursor: pointer;
}

.bg-primary-subtle {
    background-color: rgba(255, 118, 117, 0.1) !important;
}

.border-primary-subtle {
    border-color: rgba(255, 118, 117, 0.2) !important;
}

.modern-input {
    background-color: #f8f9fa !important;
    border: 1px solid #eee !important;
    border-radius: 0px !important;
    padding: 12px 16px !important;
    font-size: 0.85rem !important;
    font-weight: 500 !important;
    color: var(--secondary) !important;
    transition: all 0.3s ease;
    border-color: var(--primary) !important;
}

.modern-input:focus {
    border-color: var(--primary) !important;
    background-color: #ffffff !important;
    box-shadow: 0 0 0 4px rgba(76, 51, 152, 0.05) !important;
}

/* Adjusting date icon for light theme */
input[type="date"].modern-input::-webkit-calendar-picker-indicator {
    filter: none;
    opacity: 0.5;
}

.modern-input::placeholder {
    color: #a0a0a0 !important;
}

/* Includes/Excludes Styles */
.include-item,
.exclude-item {
    padding: 12px 15px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid #f1f3f5;
    transition: transform 0.3s ease;
}

.include-item:hover,
.exclude-item:hover {
    transform: translateX(5px);
}

.include-item i {
    color: #2ecc71;
}

.exclude-item i {
    color: #e74c3c;
}

/* Policy Sections */
.policy-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 20px;
    border: 1px solid #f1f3f5;
    height: 100%;
}

.policy-card h6 {
    color: var(--secondary);
    font-weight: 700;
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.policy-text {
    font-size: 0.95rem;
    color: #636e72;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Perfect Circles for Icon Wrappers */
.icon-box {
    width: 45px !important;
    height: 45px !important;
    min-width: 45px !important;
    flex-shrink: 0;
    transition: var(--transition);
}

.icon-box:hover {
    background: var(--primary) !important;
    color: white !important;
}

/* Premium Navigation Buttons */
.related-slider-nav .btn,
.calendar-nav .btn {
    width: 42px;
    height: 42px;
    padding: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border: 2px solid var(--primary-subtle) !important;
    background: white;
}

.related-slider-nav .btn:hover,
.calendar-nav .btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(76, 51, 152, 0.2);
}

/* Increased Assistance Text Size */
.assistance-title {
    font-size: 0.9rem !important;
    letter-spacing: 1px;
}

.assistance-link {
    font-size: 0.95rem !important;
    font-weight: 500;
}

/* Checkout Page Refinements */
.checkout-input {
    background-color: #ffffff !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 12px !important;
    padding: 14px 18px !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    color: #2d3436 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.checkout-input:focus {
    border-color: var(--primary) !important;
    background-color: #ffffff !important;
    box-shadow: 0 0 0 4px rgba(76, 51, 152, 0.08) !important;
    outline: none !important;
}

.payment-card {
    border: 2px solid #f1f3f5;
    transition: all 0.3s ease;
}

.payment-card.active {
    border-color: var(--primary);
    background-color: rgba(76, 51, 152, 0.02);
}

/* --- PREMIUM SUCCESS PAGE (Luxury Redesign) --- */
.success-bg-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1530789253388-582c481c54b0?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.glass-card {
    background: rgba(255, 255, 255, 0.7) !important;
    backdrop-filter: blur(25px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(25px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 40px !important;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.15) !important;
}

.travel-pass-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    border: 1px dashed #ddd;
    /* Ticket perforation style */
}

.pass-header {
    background: var(--primary);
    color: white;
    padding: 20px;
    text-align: center;
}

.success-mark-v3 {
    width: 80px;
    height: 80px;
    border: 2px solid #2ecc71;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
}

.success-mark-v3 i {
    font-size: 2.5rem;
    color: #2ecc71;
    animation: scale-up 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes scale-up {
    0% {
        transform: scale(0);
    }

    100% {
        transform: scale(1);
    }
}

.booking-detail-item {
    padding: 15px 0;
    border-bottom: 1px solid #f1f3f5;
}

.booking-detail-item:last-child {
    border-bottom: none;
}

.pass-label {
    font-size: 0.65rem;
    font-weight: 800;
    color: #95a5a6;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    display: block;
    margin-bottom: 4px;
}

.pass-value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--secondary);
}

.qr-mock {
    width: 60px;
    height: 60px;
    background: #f8f9fa;
    border: 1px solid #eee;
    padding: 5px;
}

.hover-translate:hover {
    transform: translateY(-5px);
}

.glass-btn {
    background: rgba(255, 255, 255, 0.4) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: var(--secondary) !important;
}

.glass-btn:hover {
    background: rgba(255, 255, 255, 0.6) !important;
}

/* Select2 Premium Styling */
.select2-container--default .select2-selection--single {
    height: 60px;
    /* Matched to modern-input */
    border: 2px solid #ecedf1;
    border-radius: 4px;
    display: flex;
    align-items: center;
    background-color: #fff;
    transition: all 0.3s ease;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 58px;
    padding-left: 20px;
    color: #4b5563;
    font-weight: 500;
    white-space: nowrap !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    display: none !important;
}

.select2-dropdown {
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    z-index: 9999;
    background: #fff;
}

.select2-search--dropdown {
    padding: 10px;
}

.select2-search--dropdown .select2-search__field {
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    padding: 8px 12px;
}

.select2-results__option {
    padding: 10px 15px;
    font-size: 14px;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #8b5cf6;
}

.country-flag-select {
    width: 22px;
    height: 15px;
    object-fit: cover;
    margin-right: 8px;
    border-radius: 2px;
    display: inline-block;
    vertical-align: middle;
}

.country-option {
    display: flex;
    align-items: center;
}

/* Specific fix for input group usage */
.input-group>.select2-container--default {
    width: 140px !important;
    flex: 0 0 140px !important;
    min-width: 140px !important;
}

.input-group .select2-container--default .select2-selection--single {
    display: block;
    width: 100%;
}

@media (max-width: 576px) {
    .input-group>.select2-container--default {
        flex: 0 0 100px !important;
        /* Slightly smaller on very small screens */
    }

    .select2-container--default .select2-selection--single .select2-selection__rendered {
        padding-left: 10px;
        font-size: 13px;
    }
}

.input-group .select2-container--default {
    flex: 0 0 150px !important;
    width: 150px !important;
}

.input-group .select2-container--default .select2-selection--single {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right: none;
    height: 60px;
}

/* Force same height and border for inputs next to Select2 */
.input-group>.modern-input,
.input-group>.form-control,
.input-group>.minimal-input {
    height: 60px !important;
    border: 2px solid #ecedf1 !important;
    border-left: none !important;
}

/* Specific adjustment for checkout minimal inputs if they should stay smaller */
.input-group.minimal-group>.select2-container--default,
.input-group.minimal-group>.select2-container--default .select2-selection--single {
    height: 46px !important;
}

.input-group.minimal-group>.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 44px !important;
}

.input-group.minimal-group>.minimal-input {
    height: 46px !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-left: none !important;
}

.input-group:focus-within .select2-container--default .select2-selection--single,
.input-group:focus-within .modern-input,
.input-group:focus-within .form-control,
.input-group:focus-within .premium-input {
    border-color: #4c3398 !important;
}

/* User Dashboard Specific (Premium Input) */
.input-group>.select2-container--default.premium-select2,
.input-group>.select2-container--default.premium-select2 .select2-selection--single {
    height: 60px !important;
    background-color: #f8fafc !important;
    border: 2px solid #ecedf1 !important;
    border-radius: 12px 0 0 12px !important;
    border-right: none !important;
}

.input-group>.select2-container--default.premium-select2 .select2-selection--single .select2-selection__rendered {
    line-height: 56px !important;
    padding-left: 18px !important;
}

.input-group>.premium-input {
    height: 60px !important;
    background-color: #f8fafc !important;
    border: 2px solid #ecedf1 !important;
    border-left: none !important;
    border-radius: 0 12px 12px 0 !important;
}

/* Also update standalone premium-inputs for consistency on the page */
.premium-input {
    height: 60px !important;
    border: 2px solid #ecedf1 !important;
    border-radius: 12px !important;
}

.input-group:focus-within>.select2-container--default.premium-select2 .select2-selection--single,
.input-group:focus-within>.premium-input,
.premium-input:focus {
    background-color: #fff !important;
    border-color: #0d6efd !important;
    outline: none;
    box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.1) !important;
}

/* Ensure dropdown is wide enough even if selection is narrow */
.select2-container--open .select2-dropdown--below,
.select2-container--open .select2-dropdown--above {
    min-width: 250px !important;
}

/* Success Page Styles */
.success-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    /* Vertical center */
    justify-content: center;
    padding: 100px 20px 60px;
    /* Base padding */
}

/* Ensure centering happens within the viewport space BELOW the nav */
main.responsive-success-main {
    padding-top: 80px;
    /* Extra clearance for fixed nav */
}

.success-card {
    max-width: 650px;
    /* Increased width */
    width: 100%;
    background: #ffffff;
    border-radius: 28px;
    padding: 3rem 4rem;
    /* Balanced horizontal vs vertical padding */
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.03);
}

.success-icon-wrapper {
    width: 100px;
    height: 100px;
    background: #e8f8f0;
    color: #2ecc71;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto 2rem;
    position: relative;
    animation: success-bounce 1s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

@keyframes success-bounce {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.confetti-piece {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0;
}

@keyframes confetti-burst {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translate(var(--tx), var(--ty)) scale(0);
        opacity: 0;
    }
}

/* Responsive Adjustments for Success Page */
@media (max-width: 991.98px) {
    .glass-card {
        padding: 2rem !important;
        border-radius: 30px !important;
    }
}

@media (max-width: 767.98px) {
    .success-bg-wrapper {
        background-attachment: scroll;
        /* Performance on mobile */
    }

    .travel-pass-card {
        margin-bottom: 2rem;
    }

    .display-5 {
        font-size: 2.2rem;
    }

    .glass-card {
        padding: 1.5rem !important;
    }

    main.responsive-success-main {
        padding-top: 100px !important;
        /* More clearance on mobile */
    }

    .card.glass-card .btn {
        padding: 12px 25px !important;
        font-size: 0.8rem !important;
    }

    .success-mark-v3 {
        width: 60px;
        height: 60px;
    }

    .success-mark-v3 i {
        font-size: 1.8rem;
    }
}

@media (max-width: 575.98px) {
    .pass-value {
        font-size: 0.85rem;
    }

    .pass-header h6 {
        font-size: 0.9rem;
    }
}

/* Responsive Adjustments & MOBILE FIXES - Extended to 1024px for iPad Pro */
@media (max-width: 1024.98px) {
    .navbar {
        background: transparent;
    }

    .hero-section {
        height: 75vh !important;
        min-height: 500px;
        margin-bottom: 50px;
        overflow: visible !important;
        position: relative;
    }

    /* Fixed Tablet Scroll: Clips horizontal zoom without clipping vertical filter buttons */
    html,
    body {
        overflow-x: clip !important;
        position: relative;
        width: 100%;
    }

    .section-container,
    .row {
        overflow-x: clip !important;
        overflow-y: visible !important;
    }

    .display-2 {
        font-size: 2.8rem;
    }

    /* Filter Visibility: Only hide desktop filter below 992px */
    @media (max-width: 991.98px) {
        .search-container {
            display: none !important;
        }
    }

    .hero-content {
        padding-top: 80px;
    }

    .hero-subtitle {
        font-size: 0.8rem;
        margin-bottom: 15px !important;
    }

    .discrete-slider-container {
        height: 350px;
    }

    .tour-header-section h1 {
        font-size: 2.2rem;
    }

    .image-counter {
        bottom: 15px;
        right: 15px;
        font-size: 0.7rem;
    }

    .details-hero-new {
        height: auto;
        min-height: 400px;
        padding-top: 120px;
        padding-bottom: 40px;
        display: block !important;
        /* Overriding d-flex align-items-end */
    }

    .details-hero-new h1 {
        font-size: 2rem;
    }

    /* Package Details Stacking Fix for iPad Pro (up to 1200px) */
    .col-xl-8,
    .col-xl-4 {
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }

    .sticky-sidebar-adjust {
        position: static !important;
        /* margin-top: 3rem; */
    }

    .tour-overview-expanded {
        width: 100% !important;
        max-width: 100% !important;
    }

    .details-hero-new .badge {
        font-size: 0.7rem;
    }

    .subtitle-stats {
        font-size: 0.8rem;
        gap: 10px !important;
    }

    .text-muted {
        color: #636e72 !important;
        /* Darker muted for better contrast */
    }


    /* Image fixes for mobile */
    .destination-card {
        height: 350px;
        margin-bottom: 20px;
    }

    .package-img {
        height: 220px;
    }

    /* Description fixes */
    .testimonial-card p {
        font-size: 1.15rem;
    }

    .card-overlay h3 {
        font-size: 1.5rem;
    }

    .card-overlay p {
        font-size: 0.95rem;
        opacity: 1 !important;
        color: #ffffff !important;
    }
}

@media (max-width: 575.98px) {
    .hero-section {
        height: 75vh !important;
        min-height: 480px;
        overflow: visible !important;
    }

    .display-2 {
        font-size: 2.2rem;
    }

    section {
        padding: 40px 0;
    }

    .details-hero-new {
        height: auto;
        min-height: 380px;
        padding-top: 100px;
        padding-bottom: 30px;
    }

    .details-hero-new h1 {
        font-size: 1.7rem;
    }

    .destination-card {
        height: 320px;
    }

    .card-overlay {
        padding: 1.5rem !important;
    }

    .nav-link {
        margin: 5px 0;
    }

    .hero-title {
        font-size: 1.8rem;
        line-height: 1.2;
    }

    .hero-desc {
        font-size: 0.85rem;
        padding: 0 10px;
    }

    .hero-subtitle {
        font-size: 0.75rem;
        letter-spacing: 0.15rem !important;
    }
}

@media (max-width: 576px) {
    .container {
        padding-left: 20px !important;
        padding-right: 20px !important;
        overflow-x: hidden;
    }

    .row {
        margin-left: -10px !important;
        margin-right: -10px !important;
        overflow-x: hidden;
    }

    .col-12 {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
}

/* --- PREMIUM UI OVERHAUL --- */

/* Glassmorphism Sticky Mobile Footer - Visible by Default */
.sticky-mobile-cta {
    position: fixed;
    bottom: 25px;
    left: 15px;
    right: 15px;
    width: auto;
    background: rgba(255, 255, 255, 0.7) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    padding: 12px 25px;
    border-radius: 24px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    z-index: 1100;
    transform: translateY(0);
    /* Visible by default */
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    display: none;
    /* Only flex on mobile/tablet via media query */
    align-items: center;
    justify-content: space-between;
}

.sticky-mobile-cta.hidden {
    transform: translateY(150%);
    opacity: 0;
    pointer-events: none;
}

.sticky-mobile-cta .offer-price {
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--primary), #8e44ad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: -4px;
}

.sticky-mobile-cta .btn-book {
    background: var(--primary);
    color: white;
    padding: 12px 30px;
    border-radius: 18px;
    font-weight: 700;
    box-shadow: 0 8px 25px rgba(76, 51, 152, 0.3);
    border: none;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.sticky-mobile-cta .btn-book:active {
    transform: scale(0.95);
}

.sticky-mobile-cta .btn-book::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: rotate(45deg);
    transition: 0.5s;
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

/* Graphical Tour Calendar v2 */
.tour-calendar-premium {
    background: white;
    border-radius: 2rem;
    padding: 2.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--gray-150);
    overflow-x: auto;
    /* Added for mobile scroll */
}

.calendar-header-days {
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
}

.calendar-grid-v2 {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 12px;
}

.cal-day-v2 {
    background: white;
    border-radius: 18px;
    padding: 15px 10px;
    text-align: center;
    border: 1px solid var(--gray-150);
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cal-day-v2:not(.empty):hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(76, 51, 152, 0.08);
}

.cal-day-v2.available {
    background: rgba(76, 51, 152, 0.01);
}

.cal-day-v2.selected {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 10px 25px rgba(76, 51, 152, 0.3);
}

.cal-day-v2 .day-num {
    font-size: 1.1rem;
    font-weight: 700;
    display: block;
}

.cal-day-v2 .day-price {
    font-size: 0.65rem;
    opacity: 0.8;
}

.cal-day-v2.active-marker::before {
    content: '';
    position: absolute;
    top: 6px;
    right: 6px;
    width: 6px;
    height: 6px;
    background: #2ecc71;
    border-radius: 50%;
}

/* Calendar Responsiveness */
@media (max-width: 991.98px) {
    .tour-calendar-premium {
        padding: 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .tour-calendar-premium {
        padding: 1rem;
        border-radius: 1.5rem;
    }

    .calendar-grid-v2 {
        gap: 8px;
    }

    .cal-day-v2 {
        padding: 10px 5px;
    }
}

@media (max-width: 575.98px) {
    .calendar-header-v2 {
        flex-direction: column;
        align-items: center !important;
        gap: 15px;
    }

    .tour-calendar-premium {
        padding: 0.8rem;
    }

    .calendar-grid-v2,
    .calendar-header-days {
        min-width: 320px;
        /* Ensure a minimum width for the grid */
        gap: 5px;
    }

    .cal-day-v2 .day-num {
        font-size: 0.9rem;
    }

    .cal-day-v2 .day-price {
        font-size: 0.55rem;
    }

    .calendar-nav h5 {
        font-size: 1rem;
        min-width: 120px !important;
    }
}

/* Premium FAQ Card Layout */
.faq-grid-premium {
    display: grid;
    gap: 20px;
}

.faq-card-premium {
    background: white;
    border-radius: 20px;
    padding: 25px;
    border: 1px solid var(--gray-150);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
}

.faq-card-premium:hover {
    border-color: var(--primary);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
}

.faq-card-premium h5 {
    font-size: 1.1rem;
    color: var(--secondary);
    margin-bottom: 0px;
    transition: margin 0.3s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-card-premium .faq-icon {
    width: 36px;
    height: 36px;
    background: var(--bg-soft);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: var(--primary);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.faq-card-premium.active {
    border-color: var(--primary);
    background: rgba(76, 51, 152, 0.02);
}

.faq-card-premium.active .faq-icon {
    background: var(--primary);
    color: white;
    transform: rotate(180deg);
}

.faq-answer-premium {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), margin 0.3s ease;
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.faq-card-premium.active .faq-answer-premium {
    max-height: 250px;
    margin-top: 20px;
}

/* Premium Related Tours */
.related-swiper {
    padding: 30px 10px 60px !important;
}

.premium-tour-card {
    border-radius: 24px;
    background: white;
    border: 1px solid var(--gray-150);
    overflow: hidden;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.premium-tour-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
}

.tour-img-wrapper {
    height: 240px;
    position: relative;
    overflow: hidden;
}

.tour-img-wrapper img {
    transition: transform 0.6s ease;
}

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

.tour-floating-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08rem;
    color: var(--secondary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.tour-price-box {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--primary);
    color: white;
    padding: 10px 20px;
    border-radius: 14px;
    font-weight: 800;
    font-size: 1.2rem;
    box-shadow: 0 10px 20px rgba(76, 51, 152, 0.3);
}

@media (max-width: 991.98px) {
    .sticky-mobile-cta {
        display: flex;
    }
}

/* --- AUTHENTICATION PAGES (Minimalist Style) --- */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('https://images.unsplash.com/photo-1476514525535-07fb3b4ae5f1?q=80&w=1920');
    background-size: cover;
    background-position: center;
    padding: 20px;
    font-family: 'Outfit', sans-serif;
}

.auth-card {
    background: #ffffff;
    border-radius: 0;
    padding: 35px 50px;
    width: 100%;
    max-width: 600px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    color: #1a1a1a;
    border: 1px solid #eee;
}

.auth-logo {
    text-align: center;
    margin-bottom: 40px;
}

.auth-logo a {
    text-decoration: none;
    font-size: 2rem;
    font-weight: 900;
    color: #1a1a1a;
    letter-spacing: -0.02rem;
}

.auth-logo a span {
    color: var(--primary);
}

.auth-form .form-label {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12rem;
    margin-bottom: 8px;
    color: #666;
}

.auth-form .form-control {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 0;
    padding: 14px 20px;
    color: #1a1a1a;
    transition: all 0.3s ease;
}

.auth-form .form-control:focus {
    background: #ffffff;
    border-color: #1a1a1a;
    box-shadow: none;
    outline: none;
}

.auth-form .form-control::placeholder {
    color: #adb5bd;
}

/* OTP Inputs */
.otp-group {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.otp-input {
    width: 60px;
    height: 70px;
    text-align: center;
    font-size: 1.8rem;
    font-weight: 900;
}

.auth-links {
    text-align: center;
    margin-top: 35px;
    font-size: 0.9rem;
    color: #666;
}

.auth-links a {
    color: #1a1a1a;
    text-decoration: underline;
    font-weight: 700;
    text-underline-offset: 4px;
}

.auth-links a:hover {
    color: var(--primary);
}

.btn-auth {
    background: #1a1a1a;
    color: white;
    border: none;
    border-radius: 0;
    padding: 16px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    width: 100%;
    margin-top: 15px;
    transition: all 0.3s ease;
}

.btn-auth:hover {
    background: var(--primary);
    transform: none;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.btn-auth i {
    transition: transform 0.3s ease;
}

.btn-auth:hover i {
    transform: translateX(5px);
}

.btn-auth:disabled,
.btn-auth[disabled] {
    background: #1a1a1a !important;
    opacity: 0.7 !important;
    color: white !important;
    cursor: not-allowed;
}

.riyago-btn-loader {
    color: white !important;
}

/* --- PACKAGES PAGE STYLES --- */

.packages-hero {
    height: 60vh;
    min-height: 400px;
    margin-top: 0;
    z-index: 10;
}

.filter-sidebar .card {
    border: 1px solid var(--gray-150) !important;
    transition: var(--transition);
}

.filter-sidebar .card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
}

.search-input-group .form-control:focus {
    box-shadow: none;
}

.search-input-group .input-group-text {
    padding-left: 1.5rem;
}

/* Custom Range Slider */
.custom-range::-webkit-slider-runnable-track {
    background: #e9ecef;
    height: 6px;
    border-radius: 10px;
}

.custom-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 20px;
    width: 20px;
    background: var(--primary);
    border: 3px solid white;
    border-radius: 50%;
    margin-top: -7px;
    box-shadow: 0 4px 10px rgba(76, 51, 152, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.custom-range::-webkit-slider-thumb:active {
    transform: scale(1.2);
}

.rating-filter i {
    font-size: 0.9rem;
    cursor: pointer;
    transition: transform 0.2s;
}

.rating-filter i:hover {
    transform: scale(1.3);
}

/* Grid Card Enhancements for Listing */
.package-card {
    border: 1px solid var(--gray-150) !important;
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05) !important;
}

.price-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary);
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 800;
    box-shadow: 0 10px 20px rgba(76, 51, 151, 0.3);
}

@media (max-width: 991.98px) {
    .packages-hero {
        height: 50vh;
        min-height: 350px;
    }
}

/* --- CONTACT WIDGET --- */
.contact-widget-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    pointer-events: none;
    /* FIX: Prevent container from blocking clicks behind it */
}

.contact-toggle-btn {
    pointer-events: auto;
    /* Re-enable for the button */
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary);
    border: none;
    color: white;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    box-shadow: 0 10px 30px rgba(76, 51, 152, 0.4);
}

.contact-toggle-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(76, 51, 152, 0.5);
}

.contact-toggle-btn .close-icon {
    display: none;
    font-size: 1.2rem;
}

.contact-widget-container.active .contact-toggle-btn {
    background: #ff4757;
    transform: rotate(90deg);
}

.contact-widget-container.active .main-icon {
    display: none;
}

.contact-widget-container.active .close-icon {
    display: block;
}

.contact-options {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
    margin-bottom: 20px;
    pointer-events: none;
    opacity: 0;
    transform: translateY(20px) scale(0.8);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    padding-right: 8px;
}

.contact-widget-container.active .contact-options {
    pointer-events: auto;
    opacity: 1;
    transform: translateY(0) scale(1);
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    text-decoration: none;
    gap: 15px;
    transition: all 0.3s ease;
    width: auto;
    pointer-events: inherit;
    /* FIX: Inherit from .contact-options to follow its state */
}

.contact-item i {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 2;
}

.contact-label {
    background: white;
    color: var(--secondary);
    padding: 8px 18px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    pointer-events: none;
}

.contact-item:hover .contact-label {
    opacity: 1;
    transform: translateX(0);
}

.contact-item.phone i {
    color: #2ecc71;
}

.contact-item.message i {
    color: #3498db;
}

.contact-item.whatsapp i {
    color: #25d366;
}

.contact-item.chatbot i {
    color: var(--primary);
}

/* --- MODERN AI CHATBOX --- */
.ai-chat-window {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 380px;
    height: 550px;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    pointer-events: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(30px) scale(0.95);
    transform-origin: bottom right;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.ai-chat-window.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.chat-window-header {
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, #7d5fff 100%);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-bot-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.btn-close-chat {
    background: none;
    border: none;
    color: white;
    font-size: 1rem;
    opacity: 0.7;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-close-chat:hover {
    opacity: 1;
    transform: rotate(90deg);
}

.chat-window-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    overscroll-behavior: contain;
}

.chat-message {
    max-width: 85%;
    display: flex;
    flex-direction: column;
}

.chat-message.ai {
    align-self: flex-start;
}

.chat-message.user {
    align-self: flex-end;
}

.message-content {
    padding: 0.85rem 1.15rem;
    border-radius: 18px;
    font-size: 0.9rem;
    line-height: 1.5;
    position: relative;
}

.chat-message.ai .message-content {
    background: white;
    color: var(--secondary);
    border-bottom-left-radius: 4px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.chat-message.user .message-content {
    background: var(--primary);
    color: white;
    border-bottom-right-radius: 4px;
    box-shadow: 0 10px 20px rgba(76, 51, 152, 0.15);
}

.message-time {
    font-size: 0.7rem;
    color: #94a3b8;
    margin-top: 4px;
}

.chat-window-footer {
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.5);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.chat-input-modern {
    background: white !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 100px !important;
    padding: 0.75rem 1.5rem !important;
    font-size: 0.9rem !important;
}

.btn-send-modern {
    width: 45px;
    height: 45px;
    border-radius: 50% !important;
    background: var(--primary) !important;
    color: white !important;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 8px !important;
}

@media (max-width: 575.98px) {
    .ai-chat-window {
        width: calc(100vw - 40px);
        height: 80vh;
        right: 20px;
        bottom: 90px;
    }
}

.contact-item:hover i {
    transform: scale(1.1);
    color: white !important;
}

.contact-item.phone:hover i {
    background: #2ecc71;
}

.contact-item.message:hover i {
    background: #3498db;
}

.contact-item.whatsapp:hover i {
    background: #25d366;
}

.contact-item.chatbot:hover i {
    background: var(--primary);
}

@media (max-width: 1024.98px) {
    .contact-widget-container {
        bottom: 20px;
        right: 20px;
    }

    .navbar {
        background: transparent !important;
        padding: 15px 0 !important;
        transition: all 0.3s ease;
    }

    .navbar.scrolled {
        background: var(--glass) !important;
        backdrop-filter: blur(20px) saturate(180%) !important;
        -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
        padding: 10px 0 !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
    }

    /* Brand Visibility on Hero */
    .navbar:not(.scrolled) .navbar-brand span {
        color: white !important;
    }

    .navbar.scrolled .navbar-brand span:first-child {
        color: var(--primary) !important;
    }

    .navbar.scrolled .navbar-brand span:not(:first-child) {
        color: var(--secondary) !important;
    }

    /* Left-Sliding Offcanvas Styling */
    .offcanvas {
        background: #ffffff !important;
        backdrop-filter: blur(25px) saturate(180%) !important;
        -webkit-backdrop-filter: blur(25px) saturate(180%) !important;
        border-right: 1px solid var(--glass-border) !important;
        border-left: none !important;
        /* width: 280px !important; */
        border-top-right-radius: 30px;
        border-bottom-right-radius: 30px;
        box-shadow: 10px 0 40px rgba(0, 0, 0, 0.15);
        z-index: 10050 !important;
    }

    .offcanvas-backdrop {
        z-index: 10040 !important;
    }

    .offcanvas-header {
        padding: 2.5rem 1.5rem 1.5rem;
    }

    .offcanvas-body {
        padding: 1.5rem;
    }

    .offcanvas .nav-link {
        color: var(--secondary) !important;
        font-size: 1.15rem;
        font-weight: 600;
        padding: 1.25rem 0.5rem !important;
        margin: 0 !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        transition: var(--transition);
        display: block;
    }

    .offcanvas .nav-link:hover {
        color: var(--primary) !important;
        padding-left: 1rem !important;
        background: rgba(76, 51, 152, 0.05);
        border-radius: 12px;
    }

    /* Modern Close Button */
    .btn-close-custom {
        background: transparent;
        border: 1.5px solid rgba(0, 0, 0, 0.15);
        width: 34px;
        height: 34px;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--secondary);
        cursor: pointer;
        transition: all 0.25s ease;
        font-size: 0.85rem;
        flex-shrink: 0;
    }

    .btn-close-custom:hover {
        background: #4834d4;
        border-color: #4834d4;
        color: white;
        transform: rotate(90deg);
    }

    /* Custom Toggler Logic */
    .custom-toggler-icon span {
        background: white !important;
    }

    .navbar.scrolled .custom-toggler-icon span {
        background: var(--secondary) !important;
    }

    /* Toggle Animations */
    .navbar-toggler.collapsed .custom-toggler-icon span:nth-child(1) {
        transform: none !important;
    }

    .navbar-toggler.collapsed .custom-toggler-icon span:nth-child(2) {
        opacity: 1 !important;
        width: 70%;
    }

    .navbar-toggler.collapsed .custom-toggler-icon span:nth-child(3) {
        transform: none !important;
    }

    .navbar-toggler:not(.collapsed) .custom-toggler-icon span:nth-child(1) {
        transform: translateY(9px) rotate(45deg) !important;
    }

    .navbar-toggler:not(.collapsed) .custom-toggler-icon span:nth-child(2) {
        opacity: 0 !important;
    }

    .navbar-toggler:not(.collapsed) .custom-toggler-icon span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg) !important;
    }

    /* Filter Modal Refinements */
    .filter-mobile-wrapper {
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translate(-50%, 50%) !important;
        z-index: 1010;
        width: auto;
        padding: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .filter-expand-btn {
        background: #2d3436;
        color: white;
        padding: 14px 28px;
        border-radius: 50px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
        display: flex;
        align-items: center;
        transition: var(--transition);
        border: 2px solid rgba(255, 255, 255, 0.15) !important;
        white-space: nowrap;
        font-weight: 700;
        cursor: pointer;
        position: relative;
        /* Ensure it's the click target */
        z-index: 99999;
    }

    /* FIX: Ensure children don't intercept events */
    .filter-expand-btn * {
        pointer-events: none !important;
    }

    .filter-expand-btn:active {
        transform: scale(0.95);
    }

    .mobile-filter-expandable {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw !important;
        background: transparent !important;
        /* FIX: Remove background to show rounded corners */
        z-index: 10001;
        transform: translateY(-100%);
        transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s linear 0.6s;
        pointer-events: none;
        visibility: hidden;
        /* box-shadow removed here as it's on the card */
    }

    .mobile-filter-expandable.active {
        transform: translateY(0);
        pointer-events: auto;
        visibility: visible;
        transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s linear 0s;
    }

    /* Filter Backdrop */
    .filter-backdrop {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(8px);
        z-index: 10000;
        opacity: 0;
        visibility: hidden;
        transition: all 0.5s ease;
    }

    .filter-backdrop.active {
        opacity: 1;
        visibility: visible;
    }

    .filter-glass-card {
        background: #ffffff !important;
        width: 100% !important;
        border-bottom: 3px solid var(--primary);
        box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
        border-radius: 0 0 35px 35px !important;
        padding: 3rem 2rem 2.5rem !important;
        margin-top: 0 !important;
    }

    .luxury-label {
        font-size: 0.75rem;
        font-weight: 800;
        color: var(--secondary);
        letter-spacing: 2px;
        margin-bottom: 8px;
        display: block;
        opacity: 0.8;
    }

    .input-group-modern {
        display: flex;
        align-items: center;
        padding-bottom: 8px;
        border-bottom: 2px solid rgba(15, 23, 42, 0.08);
        transition: var(--transition);
    }

    .input-group-modern:focus-within {
        border-color: var(--primary);
    }

    .modern-input {
        /* border: none !important; */
        background: transparent !important;
        width: 100%;
        font-weight: 600;
        color: var(--secondary) !important;
        /* padding: 0 !important; */
        outline: none !important;
    }

    .btn-close-filter {
        background: rgba(0, 0, 0, 0.05);
        border: none;
        width: 32px;
        height: 32px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.9rem;
        color: var(--secondary);
        transition: var(--transition);
        cursor: pointer;
    }

    .btn-close-filter:hover {
        background: var(--primary);
        color: white;
        transform: rotate(90deg);
    }
}

@media (max-width: 1024px) {
    .section-container {
        padding: 0 20px !important;
    }

    .why-us {
        padding: 20px 10px !important;
    }

    .nav-section {
        padding: 0 20px !important;
    }
}

@media (min-width: 1025px) {
    .section-container {
        padding: 0 70px !important;
    }

    .nav-section {
        padding: 0 70px !important;
    }
}

/* --- CHATBOT QUICK SUGGESTIONS (Expand/Collapse) --- */
.chat-suggestions-wrapper {
    position: relative;
    padding: 0 1.25rem 0.75rem;
}

.suggestions-toggle-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    background: rgba(76, 51, 152, 0.06);
    border: 1.5px solid rgba(76, 51, 152, 0.15);
    border-radius: 100px;
    padding: 9px 18px;
    cursor: pointer;
    font-family: var(--sans);
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--primary);
    transition: all 0.3s ease;
}

.suggestions-toggle-btn:hover {
    background: rgba(76, 51, 152, 0.12);
    border-color: rgba(76, 51, 152, 0.3);
}

.suggestions-toggle-btn .toggle-icon {
    color: #f39c12;
    font-size: 0.85rem;
}

.suggestions-toggle-btn .chevron-icon {
    font-size: 0.75rem;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.chat-suggestions-wrapper.open .chevron-icon {
    transform: rotate(180deg);
}

.suggestions-panel {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.45s cubic-bezier(0.23, 1, 0.32, 1),
        opacity 0.3s ease,
        margin-bottom 0.3s ease;
    margin-bottom: 0;
}

.chat-suggestions-wrapper.open .suggestions-panel {
    max-height: 200px;
    opacity: 1;
    margin-bottom: 10px;
}

.suggestions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding-top: 8px;
}

.suggestion-pill {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1.5px solid rgba(76, 51, 152, 0.15);
    padding: 10px 12px;
    border-radius: 14px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 2px 8px rgba(76, 51, 152, 0.06);
    font-family: var(--sans);
    display: flex;
    align-items: center;
    gap: 7px;
    text-align: left;
}

.suggestion-pill i {
    font-size: 0.85rem;
    opacity: 0.7;
    flex-shrink: 0;
}

.suggestion-pill:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(76, 51, 152, 0.25);
    border-color: var(--primary);
}

.suggestion-pill:hover i {
    opacity: 1;
}

/* Footer Refined with Tourism Background */
.footer {
    position: relative;
    background-image: linear-gradient(rgba(45, 52, 54, 0.92), rgba(45, 52, 54, 0.95)),
        url('https://images.unsplash.com/photo-1469854523086-cc02fe5d8800?q=80&w=2021&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Parallax effect */
    color: white !important;
}

.footer .text-muted {
    color: rgba(255, 255, 255, 0.7) !important;
}

.footer .text-secondary {
    color: white !important;
}

.footer hr {
    border-color: rgba(255, 255, 255, 0.1);
}

.footer .footer-links a {
    color: rgba(255, 255, 255, 0.8) !important;
    transition: var(--transition);
}

.footer .footer-links a:hover {
    color: var(--primary) !important;
    padding-left: 5px;
}

.footer .social-icon {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.footer .social-icon:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

/* Global Responsive Typography */
@media (max-width: 767px) {
    .display-5 {
        font-size: 26px !important;
    }
}

/* Currency Switcher (Within Content) */
.custom-currency-dropdown {
    position: relative;
    user-select: none;
    min-width: 130px;
    z-index: 1010;
    /* Above Sidebar (1000) but below Main Nav (usually 1030+) */
}

.dropdown-trigger {
    background: #ffffff;
    border: 1px solid #e9ecef;
    padding: 10px 18px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.dropdown-trigger:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.current-flag {
    width: 24px;
    height: 16px;
    object-fit: cover;
    margin-right: 12px;
    border-radius: 2px;
}

.current-code {
    font-size: 14px;
    font-weight: 700;
    color: var(--secondary);
}

.dropdown-menu-custom {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1020;
    padding: 0;
    overflow: hidden;
}

.custom-currency-dropdown.active .dropdown-menu-custom {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item-custom {
    padding: 10px 14px;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
    color: var(--secondary);
    border-bottom: 1px solid #f1f2f6;
}

.dropdown-item-custom:last-child {
    border-bottom: none;
}

.dropdown-item-custom:hover {
    background: #f8f9fa;
    color: var(--primary);
}

.dropdown-item-custom.active {
    background: #f0f7f4;
    color: var(--primary);
    font-weight: 700;
}

.dropdown-item-custom img {
    width: 18px;
    height: 12px;
    object-fit: cover;
    margin-right: 10px;
    border-radius: 1px;
}

.dropdown-item-custom span {
    font-size: 12px;
}

/* Premium Assistance Banner & Features Card */
.assistance-card-premium-v2 {
    border: 1px solid var(--gray-150);
    background: linear-gradient(135deg, #ffffff 0%, #fcfbff 100%);
    transition: var(--transition);
}

.assistance-card-premium-v2:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.contact-icon-box {
    width: 48px;
    height: 48px;
    background: var(--bg-soft);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
    transition: var(--transition);
}

.assistance-card-premium-v2:hover .contact-icon-box {
    background: var(--primary);
}

.assistance-card-premium-v2:hover .contact-icon-box i {
    color: white !important;
}

.banner-accent-decoration {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    opacity: 0.03;
    pointer-events: none;
}

/* Tour Features Card Premium */
.card-premium-features {
    background: white;
}

.premium-bar {
    width: 4px;
    height: 24px;
    background: var(--primary);
    border-radius: 2px;
}

.feature-icon-v2 {
    width: 40px;
    height: 40px;
    background: var(--gray-100);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 0.9rem;
    flex-shrink: 0;
}

/* Explore More - Equal Heights & Better Mobile View */
.related-swiper .swiper-slide {
    height: auto !important;
}

.trending-card {
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    background: white;
    border: 1px solid var(--gray-150);
    transition: var(--transition);
}

.trending-img-wrapper {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.trending-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.trending-card:hover .trending-img-wrapper img {
    transform: scale(1.1);
}

.trending-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.25rem !important;
}

.trending-price-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    right: auto;
    background: #5d3fd3;
    /* Vibrant Professional Purple */
    color: white;
    padding: 5px 15px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.8rem;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    white-space: nowrap;
    display: inline-block;
    transition: var(--transition);
}

.trending-meta {
    position: absolute;
    bottom: 12px;
    right: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-size: 0.75rem;
    z-index: 10;
}

.trending-duration,
.trending-rating {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    padding: 4px 10px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    font-weight: 600;
}

.trending-card:hover .trending-price-tag {
    background: var(--primary);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(93, 63, 211, 0.4);
}

@media (max-width: 576px) {
    .trending-img-wrapper {
        height: 220px;
        /* Reduced height for mobile */
    }

    .trending-content {
        padding: 0.85rem !important;
        /* Reduced padding */
    }

    .trending-content h5 {
        font-size: 0.85rem !important;
        /* Reduced font size */
        margin-bottom: 2px !important;
    }

    .trending-content p {
        font-size: 0.7rem !important;
        /* Reduced location text */
    }

    .trending-price-tag {
        padding: 3px 10px;
        font-size: 0.65rem;
        top: 10px;
        left: 10px;
        right: auto;
        border-radius: 50px;
        /* Maintain pill shape on mobile */
    }
}

/* Mobile Currency Switcher Styles */
.mobile-currency-section {
    background: var(--bg-soft);
    border-radius: 12px;
    margin: 0 10px 20px;
}

.modern-currency-select {
    appearance: none;
    background-color: white !important;
    border-radius: 12px !important;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--secondary);
    cursor: pointer;
    transition: var(--transition);
}

.modern-currency-select:focus {
    box-shadow: 0 5px 15px rgba(76, 51, 152, 0.1) !important;
    border-color: var(--primary) !important;
}

.currency-select-wrapper .select-icon {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    font-size: 0.8rem;
    color: var(--primary);
}

/* Custom Trip Parallax CTA Section */
.parallax-cta-section {
    position: relative;
    padding: 120px 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    /* Parallax effect */
    overflow: hidden;
}

.parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(76, 51, 152, 0.85) 0%, rgba(45, 27, 107, 0.7) 100%);
    z-index: 1;
}

.custom-trip-glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.custom-badge {
    background: var(--primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    padding: 8px 18px;
    border-radius: 50px;
}

.cta-pulse {
    position: relative;
    z-index: 1;
}

.cta-pulse::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: inherit;
    opacity: 0.5;
    z-index: -1;
    pointer-events: none;
    animation: ctaPulse 2s cubic-bezier(0.25, 0, 0, 1) infinite;
}

@keyframes ctaPulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.15, 1.3);
        opacity: 0;
    }
}

.bg-white-hover:hover {
    background-color: #fff !important;
}

.text-dark-hover:hover {
    color: #000 !important;
}

@media (max-width: 991px) {
    .parallax-cta-section {
        background-attachment: fixed !important;
        /* Force parallax on mobile */
        padding: 80px 0;
    }

    .parallax-cta-section .display-4 {
        font-size: 2.2rem;
    }

    .parallax-cta-section .btn {
        font-size: 0.85rem !important;
        padding: 12px 25px !important;
        width: 100%;
    }
}

/* Global Tour Card Styles */
.x-small {
    font-size: 0.75rem;
}

.line-clamp-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.package-card {
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    backface-visibility: hidden;
    transform: translateZ(0);
    cursor: pointer !important;
}

.package-card:hover {
    transform: translateY(-12px) translateZ(0) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05) !important;
}

/* Fix for the hover shake glitch - extends hit area downwards */
.package-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    cursor: pointer !important;
}

.package-card:hover::before {
    top: 0;
    bottom: -20px;
    /* Covers the lift height and provides buffer */
}

.package-img {
    position: relative;
    overflow: hidden;
}

.package-img img {
    transition: transform 0.8s cubic-bezier(0.2, 0, 0.2, 1);
}

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

.pkg-amenities-bottom i {
    transition: all 0.3s ease;
}

.package-card:hover .pkg-amenities-bottom i {
    transform: translateY(-3px);
    color: var(--primary) !important;
    opacity: 1 !important;
}

.stretched-link::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    content: "";
}

/* Fix for card footer button distortion with multiple prices */
.package-card .footer-right {
    flex-shrink: 0;
    display: flex;
    align-items: flex-end;
}

.package-card .footer-right .btn {
    white-space: nowrap;
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
}

.package-card .price-info {
    min-width: 0;
    /* Allow flex shrinking if needed */
}

.package-card .price-info .d-flex {
    flex-wrap: wrap;
    align-items: baseline;
    column-gap: 0.5rem;
    row-gap: 0.1rem;
}

.package-card .price-val-old {
    font-size: 0.7rem !important;
    white-space: nowrap;
}

.package-card .text-primary.fw-bold {
    white-space: nowrap;
}

/* Select2 Hidden Accessible Transition Override */
.select2-hidden-accessible {
    transition: none !important;
    animation: none !important;
}

/* ==========================================================================
   Modern Category Redesign Styles (Reference-based UI)
   ========================================================================== */

/* Header styles */
.header-divider {
    width: 80px;
    height: 1px;
    background: var(--gray-200);
    margin: 15px auto 0;
    position: relative;
}

.header-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 6px;
    height: 6px;
    background: #b89753;
    /* Tan/Gold Accent */
}

/* Modern navigation arrows */
.category-nav-prev-modern,
.category-nav-next-modern {
    width: 46px;
    height: 46px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.03);
    z-index: 5;
}

.category-nav-prev-modern i,
.category-nav-next-modern i {
    color: var(--secondary);
    font-size: 0.95rem;
    transition: transform 0.3s ease;
}

.category-nav-prev-modern:hover,
.category-nav-next-modern:hover {
    background: var(--primary);
    box-shadow: 0 6px 15px rgba(76, 51, 152, 0.2);
    transform: translateY(-2px);
    border-color: var(--primary);
}

.category-nav-prev-modern:hover i,
.category-nav-next-modern:hover i {
    color: #ffffff;
}

.category-nav-prev-modern:active,
.category-nav-next-modern:active {
    transform: translateY(0);
}

.category-nav-prev-modern.swiper-button-disabled,
.category-nav-next-modern.swiper-button-disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* Responsive Grid Layout */
.category-grid-layout {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 230px);
    gap: 24px;
}

/* Dynamic Grid Layouts depending on category count per slide */
@media (min-width: 992px) {

    /* 1 Item */
    .grid-items-1 {
        grid-template-columns: 1fr;
        grid-template-rows: 480px;
    }

    .grid-items-1 .category-large-card-wrapper {
        grid-column: 1 / -1;
        grid-row: 1 / -1;
    }

    /* 2 Items */
    .grid-items-2 {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: 480px;
    }

    .grid-items-2 .category-large-card-wrapper {
        grid-column: span 1;
        grid-row: 1 / -1;
    }

    /* 3 Items */
    .grid-items-3 {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(2, 230px);
    }

    .grid-items-3 .category-large-card-wrapper {
        grid-column: 1 / 3;
        grid-row: 1 / 3;
    }

    .grid-items-3 .category-small-card-wrapper {
        grid-column: 3 / 5;
    }

    .grid-items-3 .category-small-card-wrapper:nth-child(2) {
        grid-row: 1;
    }

    .grid-items-3 .category-small-card-wrapper:nth-child(3) {
        grid-row: 2;
    }

    /* 4 Items */
    .grid-items-4 {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(2, 230px);
    }

    .grid-items-4 .category-large-card-wrapper {
        grid-column: 1 / 3;
        grid-row: 1 / 3;
    }

    .grid-items-4 .category-small-card-wrapper:nth-child(2) {
        grid-column: 3;
        grid-row: 1;
    }

    .grid-items-4 .category-small-card-wrapper:nth-child(3) {
        grid-column: 4;
        grid-row: 1;
    }

    .grid-items-4 .category-small-card-wrapper:nth-child(4) {
        grid-column: 3 / 5;
        grid-row: 2;
    }

    /* 5 Items (Default Layout) */
    .grid-items-5 {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(2, 230px);
    }

    .grid-items-5 .category-large-card-wrapper {
        grid-column: 1 / 3;
        grid-row: 1 / 3;
    }

    .grid-items-5 .category-small-card-wrapper:nth-child(2) {
        grid-column: 3;
        grid-row: 1;
    }

    .grid-items-5 .category-small-card-wrapper:nth-child(3) {
        grid-column: 4;
        grid-row: 1;
    }

    .grid-items-5 .category-small-card-wrapper:nth-child(4) {
        grid-column: 3;
        grid-row: 2;
    }

    .grid-items-5 .category-small-card-wrapper:nth-child(5) {
        grid-column: 4;
        grid-row: 2;
    }
}

/* Stacking behavior for 2 items on mobile/tablet */
@media (max-width: 991px) {
    .grid-items-2 {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .grid-items-2 .category-large-card-wrapper {
        grid-column: 1 / -1;
        grid-row: auto;
        height: 280px;
    }
}

@media (max-width: 575px) {
    .grid-items-2 .category-large-card-wrapper {
        height: 240px;
    }
}

.category-large-card-wrapper {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
}

/* Cards Base */
.category-card-large,
.category-card-small {
    position: relative;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.category-card-large {
    height: 100%;
    border-radius: 24px;
}

.category-card-small {
    height: 230px;
    border-radius: 20px;
}

/* Card Hover States */
.category-card-large:hover,
.category-card-small:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* Gradient Overlay */
.card-overlay-modern {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.1) 0%,
            rgba(0, 0, 0, 0.25) 45%,
            rgba(0, 0, 0, 0.75) 85%,
            rgba(0, 0, 0, 0.85) 100%);
    transition: all 0.5s ease;
    z-index: 1;
}

.category-card-large:hover .card-overlay-modern,
.category-card-small:hover .card-overlay-modern {
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.2) 0%,
            rgba(0, 0, 0, 0.4) 40%,
            rgba(0, 0, 0, 0.8) 80%,
            rgba(0, 0, 0, 0.9) 100%);
}

/* Content Layout (Large Card) */
.card-content-large {
    position: absolute;
    inset: 0;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 2;
    color: #ffffff;
}

/* Bottom info container for large card */
.card-bottom-info {
    margin-top: auto;
}

.icon-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(76, 51, 152, 0.25);
    border: 1px solid rgba(76, 51, 152, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    transition: all 0.4s ease;
}

.icon-circle i {
    color: #ffffff;
    font-size: 1.35rem;
}

.category-card-large:hover .icon-circle {
    transform: scale(1.1);
    background: rgba(76, 51, 152, 0.4);
    box-shadow: 0 0 15px rgba(76, 51, 152, 0.3);
}

.card-title-large {
    font-family: var(--serif);
    font-size: 2.2rem;
    font-weight: 500;
    margin-bottom: 8px;
    line-height: 1.2;
}

.card-desc-large {
    font-size: 0.9rem;
    opacity: 0.85;
    margin-bottom: 18px;
    font-weight: 300;
    max-width: 85%;
}

.explore-btn {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.explore-btn i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
    color: var(--accent);
}

.category-card-large:hover .explore-btn i {
    transform: translateX(5px);
}

/* Content Layout (Small Cards) */
.card-content-small {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 24px;
    z-index: 2;
    color: #ffffff;
}

.icon-circle-small {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    transition: all 0.4s ease;
}

.icon-circle-small i {
    color: #ffffff;
    font-size: 1.15rem;
}

.category-card-small:hover .icon-circle-small {
    transform: scale(1.1);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.2);
}

.card-title-small {
    font-family: var(--serif);
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 4px;
}

.card-tours-count {
    font-size: 0.8rem;
    opacity: 0.8;
    margin-bottom: 0;
    font-weight: 400;
}

/* Pagination bullets styling (for outer swiper - legacy) */
.category-swiper-pagination {
    display: none;
    /* Removed outer pagination */
}

/* Nested Swiper inside Large Card */
.category-large-swiper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    height: 100%;
    width: 100%;
}

.category-large-swiper .swiper-slide {
    height: 100%;
}

/* Modern purple-blue divider with tapered ends and centered diamond shape */
.header-divider-theme {
    width: 120px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--primary) 50%, transparent);
    margin: 15px auto 0;
    position: relative;
}

.header-divider-theme::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 6px;
    height: 6px;
    background: var(--primary);
    /* Theme Purple */
}

.category-large-swiper-pagination {
    position: absolute !important;
    bottom: 24px !important;
    left: 0 !important;
    width: 100% !important;
    transform: none !important;
    z-index: 10 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 6px !important;
}

.category-large-swiper-pagination .swiper-pagination-bullet {
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.4);
    opacity: 1;
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    margin: 0 !important;
}

.category-large-swiper-pagination .swiper-pagination-bullet-active {
    width: 20px !important;
    height: 6px !important;
    background: #ffffff !important;
    border-radius: 3px !important;
}

/* Responsive Media Queries */
@media (max-width: 991px) {
    .category-grid-layout {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
        gap: 16px;
    }

    .category-large-card-wrapper {
        grid-column: 1 / 3;
    }

    .category-card-large {
        height: 280px;
        border-radius: 20px;
    }

    .category-large-swiper {
        border-radius: 20px;
    }

    .category-large-swiper-pagination {
        bottom: 20px !important;
        left: 0 !important;
        width: 100% !important;
        transform: none !important;
    }

    .category-card-small {
        height: 180px;
        border-radius: 16px;
    }

    .card-content-large {
        padding: 20px;
    }

    .card-title-large {
        font-size: 1.8rem;
    }

    .card-desc-large {
        font-size: 0.85rem;
        margin-bottom: 12px;
        max-width: 100%;
    }

    .card-content-small {
        padding: 16px;
    }

    .card-title-small {
        font-size: 1.2rem;
    }
}

@media (max-width: 575px) {
    .category-grid-layout {
        gap: 12px;
    }

    .category-card-large {
        height: 240px;
        border-radius: 16px;
    }

    .category-large-swiper {
        border-radius: 16px;
    }

    .category-large-swiper-pagination {
        bottom: 15px !important;
        left: 0 !important;
        width: 100% !important;
        transform: none !important;
    }

    .category-card-small {
        height: 150px;
        border-radius: 12px;
    }

    .card-content-large {
        padding: 15px;
    }

    .card-title-large {
        font-size: 1.5rem;
    }

    .card-desc-large {
        display: none;
        /* Hide description on very small screens to fit layout */
    }

    .card-content-small {
        padding: 12px;
    }

    .card-title-small {
        font-size: 1.05rem;
    }

    .icon-circle {
        width: 40px;
        height: 40px;
        margin-bottom: 8px;
    }

    .icon-circle i {
        font-size: 1.1rem;
    }

    .icon-circle-small {
        width: 36px;
        height: 36px;
        margin-bottom: 8px;
    }

    .icon-circle-small i {
        font-size: 0.95rem;
    }
}

/* ==========================================================================
   Modern Trending Places Redesign Styles (Reference-based UI)
   ========================================================================== */

/* Main Section Position & Overflow */
.trending-section {
    position: relative;
    overflow: hidden;
    background-image: url('../images/bg_images/trending_bg.png') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-color: transparent !important;
}

/* Subtitle and Sparkle animations */
@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.85;
    }

    50% {
        transform: scale(1.15);
        opacity: 1;
    }
}

/* Pill-shaped Category Filter Tabs */
.trending-filters .filter-tab {
    background: #ffffff;
    color: var(--secondary) !important;
    border: 1px solid rgba(0, 0, 0, 0.03);
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 500;
    font-size: 0.875rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.trending-filters .filter-tab:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    border-color: rgba(76, 51, 152, 0.1);
    color: #ffffff !important;
}

.trending-filters .filter-tab.active {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #ffffff !important;
    box-shadow: 0 8px 22px rgba(76, 51, 152, 0.25);
}

.trending-filters .filter-tab svg {
    transition: fill 0.3s ease;
}

.trending-filters .filter-tab.active svg {
    fill: #ffffff !important;
}

/* Premium Tour Card Redesign Overrides */
.trending-item .package-card {
    border-radius: 24px !important;
    border: none !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.03) !important;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

.trending-item .package-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 16px 40px rgba(76, 51, 152, 0.08) !important;
}

.trending-item .featured-badge-modern {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(125, 95, 255, 0.95);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(125, 95, 255, 0.3);
    z-index: 2;
    display: inline-flex;
    align-items: center;
}

.trending-item .pkg-duration-modern {
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
}

.trending-item .pkg-duration-modern i {
    font-size: 0.875rem;
}

.trending-item .pkg-meta-row-modern i {
    font-size: 0.85rem;
}

.trending-item .pkg-amenities-bottom i {
    color: var(--primary) !important;
    font-size: 0.9rem;
    background: #f1effb;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.trending-item .package-card:hover .pkg-amenities-bottom i {
    background: var(--primary);
    color: #ffffff !important;
}

/* Custom Booking Action Button */
.trending-item .btn-book-modern {
    background: var(--primary);
    color: #ffffff !important;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    border: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 10px rgba(76, 51, 152, 0.15);
    text-decoration: none;
}

.trending-item .btn-book-modern:hover {
    background: var(--primary-dark);
    box-shadow: 0 6px 15px rgba(76, 51, 152, 0.25);
    transform: translateY(-1px);
}

.trending-item .btn-book-modern i {
    font-size: 0.7rem;
    transition: transform 0.2s ease;
}

.trending-item .btn-book-modern:hover i {
    transform: translateX(2px);
}

/* Swiper Controls Navigation (Bottom Centered Layout) */
.trending-controls-modern {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.trending-nav-btn-modern {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    z-index: 5;
    flex-shrink: 0;
}

.trending-prev-btn-modern {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.trending-prev-btn-modern i {
    color: var(--secondary);
    font-size: 0.9rem;
    transition: transform 0.2s ease;
}

.trending-prev-btn-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

.trending-prev-btn-modern:hover i {
    transform: translateX(-2px);
}

.trending-next-btn-modern {
    background: var(--primary);
    border: 1px solid var(--primary);
}

.trending-next-btn-modern i {
    color: #ffffff;
    font-size: 0.9rem;
    transition: transform 0.2s ease;
}

.trending-next-btn-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(76, 51, 152, 0.22);
}

.trending-next-btn-modern:hover i {
    transform: translateX(2px);
}

.trending-nav-btn-modern.swiper-button-disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

/* Swiper Pagination Bullets (Bottom Centered Layout) */
.trending-swiper-pagination-modern {
    position: static !important;
    width: auto !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    transform: none !important;
}

.trending-swiper-pagination-modern .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: rgba(0, 0, 0, 0.12);
    opacity: 1;
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    margin: 0 !important;
}

.trending-swiper-pagination-modern .swiper-pagination-bullet-active {
    width: 24px !important;
    height: 8px !important;
    background: var(--primary) !important;
    border-radius: 4px !important;
}

/* Responsive Overrides */
@media (max-width: 767px) {
    .trending-bg-shapes {
        opacity: 0.7;
    }

    .trending-bg-shapes .dots-grid-pattern {
        width: 100px;
        height: 100px;
        top: 5%;
        left: 2%;
    }

    .trending-bg-shapes .airplane-trail-svg {
        width: 200px;
        height: 90px;
        top: 2%;
    }

    .trending-bg-shapes .palm-leaves-top-right {
        width: 140px;
        height: 140px;
    }

    .trending-filters {
        gap: 8px !important;
    }

    .trending-filters .filter-tab {
        padding: 8px 16px;
        font-size: 0.8rem;
    }

    .trending-item .package-card {
        border-radius: 20px !important;
    }

    .trending-item .package-img {
        border-radius: 20px 20px 0 0 !important;
    }
}

.why-us {
    position: relative;
    overflow: hidden;
    background-image: url('../images/bg_images/why_us.png') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-color: transparent !important;
}

.category-section {
    position: relative;
    overflow: hidden;
    background-image: url('../images/bg_images/categories_bg.png') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-color: transparent !important;
}

.destinations-section {
    position: relative;
    overflow: hidden;
    background-image: url('../images/bg_images/destination_bg.png') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-color: transparent !important;
}

.packages-section {
    position: relative;
    overflow: hidden;
    background-image: url('../images/bg_images/curated_bg.png') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-color: transparent !important;
}

.testi-card-body {
    position: relative;
    overflow: hidden;
    background-image: url('../images/bg_images/testimonial_bg.png') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-color: transparent !important;
}

/* Specific alignment tweaks for ultra-narrow mobile screens (Galaxy Z Fold 5 folded screen) */
@media (max-width: 359.98px) {
    .nav-section {
        padding: 0 10px !important;
    }
    
    .navbar-logo {
        max-height: 28px !important;
    }
    
    .nav-actions {
        gap: 4px !important;
    }
    
    .nav-action-btn {
        width: 34px !important;
        height: 34px !important;
        font-size: 1.05rem !important;
    }

    .custom-toggler-icon {
        width: 24px !important;
        height: 17px !important;
    }
}