@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

/* ==========================================================================
   CSS Variables & Design Tokens (per AGENTS.md guidelines)
   ========================================================================== */
:root {
    /* Fonts */
    --font-main: 'DM Sans', sans-serif;
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;

    /* Editorial Gallery Theme Tokens */
    --gallery-bg: #ded7cc;
    --gallery-text: #171513;
    --gallery-text-muted: #6e675f;
    --gallery-card-border: #141414;
    --gallery-item-height-mobile: 115px;
    --gallery-item-height-sm: 155px;
    --gallery-item-height-base: 190px;

    /* Brand Colors */
    --primary-color: #3B71FE;
    --primary-hover: #2655d4;

    /* Accent & Highlight Colors */
    --accent-orange: #ff5e14;
    --accent-orange-hover: #e54f0b;
    --accent-orange-subtle: #fff2eb;
    --accent-orange-border: rgba(255, 94, 20, 0.22);
    --accent-blue-subtle: #eef5ff;
    --accent-blue-border: rgba(59, 113, 254, 0.18);

    /* Top Special Offers Bar Tokens */
    --offer-amber: #FFB547;
    --offer-amber-hover: #ffca7a;
    --offer-amber-shadow: rgba(255, 181, 71, 0.35);

    /* Font Weights */
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;

    /* Fast Direct Contact Button Font Sizes */
    --fs-fast-contact-mobile: 0.78rem;
    --fs-fast-contact-desktop: 0.875rem;

    --heading-color: #232323;
    --secondary-text: #6c757d;

    --border-light: #EAEAEA;
    --hero-overlay: rgba(0, 0, 0, 0.55);

    /* Dark Luxury Card Tokens (matching provided image) */
    --dark-card-bg: #212734;
    --dark-card-border: rgba(255, 255, 255, 0.08);
    --dark-card-pill: rgba(255, 255, 255, 0.12);
    --dark-card-pill-border: rgba(255, 255, 255, 0.08);
    --dark-card-text-muted: #94a3b8;

    /* Shadows */
    --shadow-card: 0 15px 40px rgba(0, 0, 0, 0.18);
    --shadow-hover: 0 12px 24px rgba(0, 0, 0, 0.15);

    /* Testimonial Section Tokens */
    --testimonial-avatar-border: #ffffff;
    --testimonial-quote-color: #e2e8f0;
    --testimonial-bullet-inactive: #cbd5e1;
    --btn-google-bg: #ffffff;
    --btn-google-color: #3c4043;
    --btn-google-border: #dadce0;
    --btn-google-hover-bg: #f8f9fa;
    --btn-google-hover-border: #d2e3fc;
    --btn-google-shadow: 0 1px 3px rgba(60, 64, 67, 0.12), 0 1px 2px rgba(60, 64, 67, 0.24);
    --btn-google-hover-shadow: 0 4px 12px rgba(60, 64, 67, 0.15);

    /* Header & Navigation Tokens */
    --nav-drawer-width: 320px;
}

/* Base Font & Strict Global Scroll Containment (Clip prevents horizontal overflow without breaking position: sticky) */
html,
body {
    overflow-x: clip;
    max-width: 100vw;
    position: relative;
}

* {
    font-family: var(--font-main);
}

/* Primary Theme Overrides */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: var(--primary-hover) !important;
    border-color: var(--primary-hover) !important;
}

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

/* Hero Section with Swiper Carousel & Left Whitish Fade */
.hero-section {
    position: relative;
    min-height: 540px;
    background-color: #ffffff;
    overflow: visible;
}

@media (max-width: 991.98px) {
    .hero-section {
        min-height: auto;
    }
}

@media (min-width: 992px) {
    .hero-section {
        min-height: 580px;
    }
}

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

.hero-swiper .swiper-slide {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #f1f5f9;
}

.hero-carousel-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
    transform: scale(1);
    transition: transform 6s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-swiper .swiper-slide-active .hero-carousel-img {
    transform: scale(1.05);
}

/* Whitish Gradient Overlay on Left Side (Matching Provided Reference Image) */
.hero-whitish-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(
        90deg,
        #ffffff 0%,
        rgba(255, 255, 255, 0.98) 22%,
        rgba(255, 255, 255, 0.88) 36%,
        rgba(255, 255, 255, 0.55) 52%,
        rgba(255, 255, 255, 0.18) 68%,
        rgba(255, 255, 255, 0) 84%
    );
}

@media (max-width: 991.98px) {
    .hero-whitish-overlay {
        background: linear-gradient(
            180deg,
            #ffffff 0%,
            rgba(255, 255, 255, 0.96) 45%,
            rgba(255, 255, 255, 0.75) 75%,
            rgba(255, 255, 255, 0.25) 100%
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.92) 0%,
            rgba(255, 255, 255, 0.6) 100%
        );
    }
}

/* Reusable Interactive Utilities */
.cursor-pointer {
    cursor: pointer;
}

.hover-lift {
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08) !important;
    border-color: rgba(59, 113, 254, 0.35) !important;
}

.text-orange-500 {
    color: var(--accent-orange) !important;
}

/* Hero Search Form Responsive Positioning (Desktop: Overlap bottom edge | Mobile: In-flow directly below content) */
.hero-search-wrapper {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 100%;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
    z-index: 3;
}

@media (min-width: 992px) {
    .hero-search-wrapper {
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translate(-50%, -50%);
        margin-top: 0;
        margin-bottom: 0;
    }
}

/* Spacing for Section Directly Following Overlapping Hero Search Bar */
.section-after-hero {
    padding-top: 90px !important;
}

@media (max-width: 991.98px) {
    .section-after-hero {
        padding-top: 2.75rem !important;
    }
}

/* ==========================================
   TOP DESTINATIONS MARQUEE (Top Places)
   ========================================== */
.destination-track {
    width: max-content;
    animation: destinationScroll 40s linear infinite;
}

.destination-card {
    flex: 0 0 220px;
    width: 220px;
}

.destination-img {
    width: 172px;
    height: 172px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.destination-img img {
    transition: transform 0.4s ease;
}

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

.destination-card a:hover .destination-img {
    box-shadow: var(--shadow-hover);
}

@keyframes destinationScroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.destination-marquee:hover .destination-track {
    animation-play-state: paused;
}

@media (max-width: 991px) {
    .destination-card {
        flex-basis: 190px;
        width: 190px;
    }

    .destination-img {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 575px) {
    .destination-card {
        flex-basis: 165px;
        width: 165px;
    }

    .destination-img {
        width: 125px;
        height: 125px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .destination-track {
        animation: none;
    }
}

/* ==========================================
   TOUR CATEGORY FILTER BUTTONS (Matching Luxury Dark Pill Design)
   ========================================== */
.tour-filter-btn {
    border-radius: 50px;
    font-size: 14px;
    padding: 8px 22px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.14);
    background-color: #212734;
    color: #ffffff;
    cursor: pointer;
    white-space: nowrap;
    line-height: 1.35;
}

.tour-filter-btn:hover {
    background-color: #2d3446;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.tour-filter-btn.active {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 16px rgba(59, 113, 254, 0.4);
}

/* ==========================================
   DARK LUXURY TOUR CARD (Matching Image Design)
   ========================================== */
.dark-tour-card {
    background-color: var(--dark-card-bg);
    border-radius: 28px;
    border: 1px solid var(--dark-card-border);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s ease;
}

.dark-tour-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.22);
}

.dark-tour-media {
    position: relative;
    height: 215px;
    overflow: hidden;
    background-color: #171c26;
}

.dark-tour-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.dark-tour-card:hover .dark-tour-media img {
    transform: scale(1.08);
}

.dark-tour-bookmark {
    top: 16px;
    right: 16px;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #ffffff;
    transition: all 0.2s ease;
    cursor: pointer;
}

.dark-tour-bookmark:hover {
    background: rgba(255, 255, 255, 0.35);
    color: #ffffff;
    transform: scale(1.08);
}

.dark-tour-fade {
    height: 90px;
    background: linear-gradient(to bottom, rgba(33, 39, 52, 0) 0%, rgba(33, 39, 52, 0.7) 60%, var(--dark-card-bg) 100%);
    pointer-events: none;
}

.dark-tour-body {
    padding: 0.5rem 1.35rem 1.35rem 1.35rem;
}

.dark-tour-title {
    color: #ffffff;
    font-size: 1.15rem;
    line-height: 1.35;
    letter-spacing: -0.01em;
}

.dark-tour-title a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.dark-tour-title a:hover,
.dark-tour-card:hover .dark-tour-title,
.dark-tour-card:hover .dark-tour-title a {
    color: #93c5fd;
}

.dark-tour-price {
    background: var(--dark-card-pill);
    border: 1px solid var(--dark-card-pill-border);
    color: #ffffff;
    font-size: 0.95rem;
    padding: 4px 12px;
    border-radius: 50px;
    white-space: nowrap;
    line-height: 1.3;
}

.dark-tour-desc {
    color: var(--dark-card-text-muted);
    font-size: 0.85rem;
    line-height: 1.45;
    margin-top: 0.45rem;
    margin-bottom: 0.85rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    min-height: 38px;
}

.dark-tour-pills {
    gap: 7px;
    margin-bottom: 1.25rem;
}

.dark-tour-pill {
    background: var(--dark-card-pill);
    border: 1px solid var(--dark-card-pill-border);
    color: #cbd5e1;
    font-size: 0.76rem;
    border-radius: 50px;
    padding: 4px 11px;
    gap: 4px;
    line-height: 1.3;
}

.btn-dark-tour-cta {
    background-color: #ffffff !important;
    color: #0f172a !important;
    font-size: 0.95rem;
    padding: 10px 0;
    border-radius: 50px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
    transition: all 0.25s ease;
}

.btn-dark-tour-cta:hover,
.dark-tour-card:hover .btn-dark-tour-cta {
    background-color: #f8fafc !important;
    color: #000000 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(255, 255, 255, 0.25);
}

/* ==========================================
   ABOUT US SECTION (Card UI with Overlapping Photos & Flight Trail)
   ========================================== */
.about-custom-card {
    background-color: #ffffff;
    border-radius: 36px;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.06);
    border: 1px solid rgba(226, 232, 240, 0.85);
}

@media (max-width: 576px) {
    .about-custom-card {
        border-radius: 24px;
    }
}

.about-img-base {
    border-radius: 22px;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
    object-fit: cover;
    max-width: 330px;
    height: 340px;
}

.about-img-rotated {
    border-radius: 22px;
    border: 6px solid #ffffff;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.16);
    object-fit: cover;
    width: 230px;
    height: 250px;
    bottom: -15px;
    right: 15px;
    transform: rotate(7deg);
    transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.about-img-rotated:hover {
    transform: rotate(4deg) scale(1.03);
}

@media (max-width: 767px) {
    .about-img-base {
        max-width: 100%;
        height: 260px;
    }

    .about-img-rotated {
        width: 170px;
        height: 190px;
        bottom: -10px;
        right: 15px;
    }
}

.about-counter-num {
    font-size: 2.8rem;
    line-height: 1;
    letter-spacing: -0.02em;
}

@media (min-width: 992px) {
    .about-counter-num {
        font-size: 3.4rem;
    }
}

@media (max-width: 575.98px) {
    .about-counter-num {
        font-size: 1.65rem;
    }

    .about-counter-label {
        font-size: 0.68rem !important;
        letter-spacing: 0.02em !important;
        line-height: 1.2;
    }
}

/* ==========================================
   TESTIMONIALS COMPONENT (SWIPER FADE)
   ========================================== */
.testimonial-avatar-wrapper {
    width: 250px;
    height: 250px;
    border: 6px solid var(--testimonial-avatar-border);
    box-shadow: var(--shadow-card);
}

@media (min-width: 992px) {
    .testimonial-avatar-wrapper {
        width: 290px;
        height: 290px;
        border-width: 8px;
    }
}

.testimonial-quote-mark {
    font-size: 5.5rem;
    line-height: 1;
    color: var(--testimonial-quote-color);
    top: -28px !important;
    left: -12px !important;
}

.testimonial-swiper {}

.testimonial-swiper .swiper-slide {
    opacity: 0 !important;
    transition: opacity 0.6s ease-in-out;
    pointer-events: none;
}

/* Fallback: show first slide if Swiper is not yet initialized */
.testimonial-swiper:not(.swiper-initialized) .swiper-slide:first-child {
    opacity: 1 !important;
    pointer-events: auto;
}

.testimonial-swiper .swiper-slide-active {
    opacity: 1 !important;
    pointer-events: auto;
}

.testimonial-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--testimonial-bullet-inactive);
    opacity: 1;
    margin: 0 !important;
    transition: all 0.3s ease;
    cursor: pointer;
}

.testimonial-pagination .swiper-pagination-bullet-active {
    width: 28px;
    border-radius: 20px;
    background-color: var(--primary-color) !important;
}

/* Google Review Action Button (Testimonial Section) */
.hc-btn-google {
    gap: 0.625rem;
    background-color: var(--btn-google-bg);
    color: var(--btn-google-color);
    border: 1px solid var(--btn-google-border);
    padding: 0.75rem 1.75rem;
    font-family: var(--font-main);
    font-size: 0.95rem;
    font-weight: var(--font-weight-semibold);
    box-shadow: var(--btn-google-shadow);
    transition: all 0.25s ease-in-out;
}

.hc-btn-google:hover,
.hc-btn-google:focus {
    background-color: var(--btn-google-hover-bg);
    border-color: var(--btn-google-hover-border);
    color: var(--heading-color);
    box-shadow: var(--btn-google-hover-shadow);
    transform: translateY(-2px);
    text-decoration: none;
}

.hc-btn-icon {
    width: 20px;
    height: 20px;
}

/* ==========================================================================
   TOP SPECIAL OFFERS ANNOUNCEMENT BAR (Bootstrap 5 Enhanced)
   ========================================================================== */
.top-offers-swiper {
    width: 100%;
    height: 30px;
    overflow: hidden;
    position: relative;
    border: none !important;
    outline: none !important;
}

.top-offers-swiper .swiper-wrapper {
    border: none !important;
    outline: none !important;
}

.top-offers-swiper .swiper-slide {
    height: 30px;
    overflow: hidden;
    border: none !important;
    outline: none !important;
    background: transparent !important;
}

/* Eliminate Swiper default slide shadow & ruler artifacts */
.top-offers-swiper [class*="swiper-slide-shadow"],
.top-offers-swiper .swiper-slide-shadow-top,
.top-offers-swiper .swiper-slide-shadow-bottom {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

/* Base clickable offer slide link: reset outlines & borders */
.offer-slide-link,
.offer-slide-link:focus,
.offer-slide-link:active,
.offer-slide-link:focus-visible,
.offer-slide-link:visited {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
    text-decoration: none !important;
    -webkit-tap-highlight-color: transparent !important;
}

/* Amber/Gold Megaphone Pill Badge with #FFB547 */
.offer-pill-badge {
    background: var(--offer-amber);
    background: linear-gradient(135deg, var(--offer-amber) 0%, #e09628 100%);
    color: #0f172a !important;
    font-size: 10px;
    letter-spacing: 0.04em;
    padding: 2px 10px;
    line-height: 1.4;
    box-shadow: 0 2px 6px var(--offer-amber-shadow);
}

.offer-pill-badge i {
    font-size: 10px;
    transform: rotate(-10deg);
}

/* Highlight Text with #FFB547 */
.offer-highlight {
    color: var(--offer-amber) !important;
}

/* Main Offer Headline */
.offer-headline-text {
    font-size: 12px;
    color: #f8fafc;
    line-height: 1.35;
    outline: none !important;
    border: none !important;
}

/* CTA "View Details →" Text */
.offer-action-btn {
    color: var(--offer-amber);
    font-size: 12px;
    transition: color 0.2s ease;
}

.offer-slide-link:hover .offer-action-btn {
    color: var(--offer-amber-hover);
    text-decoration: underline !important;
}

.offer-slide-link:hover .offer-action-btn i {
    transform: translateX(3px);
}

.offer-action-btn i {
    transition: transform 0.2s ease;
}

@media (max-width: 575.98px) {
    .top-offers-swiper {
        height: 26px;
    }

    .top-offers-swiper .swiper-slide {
        height: 26px;
    }

    .offer-headline-text {
        font-size: 10.5px;
        letter-spacing: 0;
    }

    .offer-pill-badge {
        font-size: 8.5px;
        padding: 1.5px 7px;
        margin-right: 6px;
    }

    .offer-pill-badge i {
        font-size: 8.5px;
    }

    /* Header "Book Now" Button Compact Size on Phone Screen */
    #header-book-now-btn {
        font-size: 12px !important;
        padding: 4px 12px !important;
        min-height: 28px;
        line-height: 1.25;
    }
}

/* ==========================================
   SMART HEADER & PILL NAVIGATION (Matching Image Design)
   ========================================== */
#site-master-header {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1030;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

@media (min-width: 992px) {

    /* Navbar Capsule Pill Bar */
    #site-smart-header .navbar-nav {
        background-color: #f8fafc;
        border: 1px solid rgba(0, 0, 0, 0.06);
        border-radius: 50rem;
        padding: 4px 6px;
        gap: 3px;
    }

    #site-smart-header .nav-link {
        padding: 7px 18px !important;
        font-size: 14px;
        color: #334155 !important;
        transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
        white-space: nowrap;
    }

    #site-smart-header .nav-link:hover {
        background-color: rgba(59, 113, 254, 0.08);
        color: var(--primary-color) !important;
    }

    #site-smart-header .nav-link.active {
        background-color: var(--primary-color) !important;
        color: #ffffff !important;
        font-weight: 600;
        box-shadow: 0 3px 10px rgba(59, 113, 254, 0.3);
    }

    /* Hide old underline indicator in favor of sleek capsule pill */
    #site-smart-header .nav-link.active::after {
        display: none !important;
    }

    /* Remove default bulky Bootstrap caret arrow for clean pill aesthetic */
    #site-smart-header .dropdown-toggle::after {
        display: none !important;
    }

    /* Floating Rounded Card Dropdown (Matching Reference Image) */
    .navbar .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(8px);
        transition: opacity 0.22s ease, transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.22s;
        min-width: 240px;
        margin-top: 10px !important;
        background-color: #ffffff;
        border-radius: 22px !important;
        border: 1px solid rgba(0, 0, 0, 0.08) !important;
        padding: 10px 8px !important;
        box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.16), 0 10px 20px -5px rgba(0, 0, 0, 0.08) !important;
    }

    /* Invisible hover bridge across floating gap */
    .navbar .dropdown-menu::before {
        content: '';
        position: absolute;
        top: -14px;
        left: 0;
        right: 0;
        height: 14px;
    }

    .navbar .dropdown:hover>.dropdown-menu,
    .navbar .dropdown.show>.dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    /* Multi-Level Dropdown Submenu Menu */
    .dropdown-submenu {
        position: relative;
    }

    .dropdown-submenu-menu {
        position: absolute;
        top: 0;
        left: calc(100% + 8px) !important;
        transform: translateX(8px);
        min-width: 250px;
        margin: 0;
        background-color: #ffffff;
        border-radius: 22px !important;
        border: 1px solid rgba(0, 0, 0, 0.08) !important;
        padding: 10px 8px !important;
        box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.18), 0 10px 20px -5px rgba(0, 0, 0, 0.08) !important;
        transition: opacity 0.22s ease, transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.22s;
        z-index: 1055;
    }

    /* Invisible hover bridge between parent item and submenu */
    .dropdown-submenu-menu::before {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        left: -12px;
        width: 12px;
    }

    .dropdown-submenu:hover>.dropdown-submenu-menu,
    .dropdown-submenu.show>.dropdown-submenu-menu {
        display: block;
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
    }

    /* Smart fallback: Align bottom edge for items near bottom of long dropdown */
    .dropdown-submenu:nth-last-child(-n+5)>.dropdown-submenu-menu {
        top: auto;
        bottom: 0;
    }
}

/* Dropdown Menu Item Styling (Rounded & Smooth Hover) */
.navbar .dropdown-item {
    border-radius: 12px !important;
    padding: 9px 16px !important;
    font-size: 14px;
    font-weight: 500;
    color: #334155;
    transition: all 0.18s ease;
    margin-bottom: 2px;
}

.navbar .dropdown-item:last-child {
    margin-bottom: 0;
}

.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus {
    background-color: rgba(59, 113, 254, 0.08) !important;
    color: var(--primary-color) !important;
    transform: translateX(2px);
}

.navbar .dropdown-item.active,
.navbar .dropdown-item:active {
    background-color: var(--primary-color) !important;
    color: #ffffff !important;
}

.dropdown-submenu:hover>.dropdown-item,
.dropdown-submenu.show>.dropdown-item {
    background-color: rgba(59, 113, 254, 0.08) !important;
    color: var(--primary-color) !important;
    transform: translateX(2px);
}

.dropdown-submenu:hover>.dropdown-item i.bi-chevron-right {
    color: var(--primary-color) !important;
    transform: translateX(2px);
    transition: transform 0.2s ease;
}

/* Mobile Slide-Out Drawer Navigation */
#mobile-menu-backdrop {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s;
    z-index: 1080;
}

#mobile-menu-backdrop.is-open {
    opacity: 1;
    visibility: visible;
}

#mobile-menu-drawer {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: var(--nav-drawer-width);
    max-width: 85vw;
    background-color: #ffffff;
    box-shadow: var(--shadow-card);
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1090;
    display: flex;
    flex-direction: column;
}

#mobile-menu-drawer.is-open {
    transform: translateX(0);
}

.accordion-chevron {
    transition: transform 0.2s ease;
}

.accordion-chevron.is-rotated {
    transform: rotate(180deg);
}

/* Mobile Drawer Footer Contact CTAs (Minimalist & Modern) */
.mobile-drawer-cta {
    border-color: rgba(0, 0, 0, 0.08) !important;
    background-color: #ffffff;
    font-size: 13px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-drawer-cta:hover,
.mobile-drawer-cta:active {
    background-color: var(--accent-blue-subtle) !important;
    border-color: var(--primary-color) !important;
    color: var(--primary-color) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(59, 113, 254, 0.12) !important;
}

.mobile-drawer-cta i {
    font-size: 13px;
    transition: transform 0.2s ease;
}

.mobile-drawer-cta:hover i {
    transform: scale(1.12);
}

/* ==========================================
   MODERN CTA COMPONENT (Light Blue & Linear SVG)
   ========================================== */
.cta-banner-card {
    background: linear-gradient(135deg, #f0f6ff 0%, #e3edff 100%);
    border: 1px solid rgba(59, 113, 254, 0.2);
    border-radius: 28px;
    padding: 3.5rem 2rem;
}

@media (max-width: 575.98px) {
    .cta-banner-card {
        padding: 2.25rem 1.25rem;
        border-radius: 20px;
    }
}

@media (min-width: 992px) {
    .cta-banner-card {
        padding: 4.5rem 3.5rem;
    }
}

.cta-linear-svg {
    inset: 0;
    pointer-events: none;
}

.cta-banner-glow {
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(59, 113, 254, 0.18) 0%, rgba(59, 113, 254, 0) 70%);
    top: -80px;
    right: -60px;
    pointer-events: none;
}

.cta-banner-glow-2 {
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.15) 0%, rgba(251, 191, 36, 0) 70%);
    bottom: -60px;
    left: -40px;
    pointer-events: none;
}

/* ==========================================
   LEGAL & POLICY PAGES
   ========================================== */
.policy-hero-banner {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: #ffffff;
    padding: 4rem 1rem 3.5rem;
}

.policy-hero-glow {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(59, 113, 254, 0.22) 0%, rgba(59, 113, 254, 0) 70%);
    top: -100px;
    right: -80px;
    pointer-events: none;
}

.policy-sidebar {
    top: 90px;
}

.policy-nav-link {
    padding: 0.55rem 0.9rem;
    color: var(--secondary-text);
    font-size: 0.88rem;
    line-height: 1.45;
    border-left: 3px solid transparent;
    border-radius: 0 8px 8px 0;
    transition: all 0.2s ease;
}

.policy-nav-link i {
    flex-shrink: 0;
}

.policy-nav-link span {
    flex: 1;
}

.policy-nav-link:hover,
.policy-nav-link.active {
    color: var(--primary-color);
    background-color: rgba(59, 113, 254, 0.06);
    border-left-color: var(--primary-color);
    font-weight: 600;
}

.policy-section-anchor {
    scroll-margin-top: 100px;
}

/* ==========================================
   DISCOVER REGIONS MARQUEE COMPONENT
   ========================================== */
.region-marquee {
    padding: 0.75rem 0;
    mask-image: linear-gradient(to right, transparent 0%, black 4%, black 96%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 4%, black 96%, transparent 100%);
}

.region-marquee-track {
    width: max-content;
    will-change: transform;
    animation: regionMarqueeScroll 36s linear infinite;
}

.region-marquee:hover .region-marquee-track {
    animation-play-state: paused;
}

@keyframes regionMarqueeScroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .region-marquee-track {
        animation: none;
    }
}

.region-image-card {
    flex: 0 0 220px;
    width: 220px;
    height: 290px;
    margin: 0 0.625rem;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.35s ease, border-color 0.35s ease;
    display: block;
    background-color: #0f172a;
}

@media (min-width: 992px) {
    .region-image-card {
        flex: 0 0 240px;
        width: 240px;
        height: 320px;
        margin: 0 0.75rem;
    }
}

.region-image-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.18);
}

.region-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.region-image-card:hover img {
    transform: scale(1.08);
}

.region-image-overlay {
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.88) 0%, rgba(15, 23, 42, 0.35) 45%, rgba(15, 23, 42, 0.05) 100%);
    transition: background 0.35s ease;
}

.region-image-card:hover .region-image-overlay {
    background: linear-gradient(to top, rgba(15, 23, 42, 0.94) 0%, rgba(15, 23, 42, 0.45) 55%, rgba(15, 23, 42, 0.1) 100%);
}

/* ==========================================
   TOUR CATEGORIES 3D COVERFLOW SHOWCASE
   ========================================== */
.tour-categories-showcase {
    overflow: hidden !important;
    contain: paint;
    max-width: 100vw;
    background: #ffffff;
    padding: 4.5rem 0 3.5rem;
}

/* On white background, hide dark ambient glows */
.tour-categories-showcase::before,
.tour-categories-showcase::after {
    display: none !important;
}

.category-coverflow-swiper {
    padding-top: 1.5rem;
    padding-bottom: 3rem;
}

.category-coverflow-swiper .swiper-wrapper {
    align-items: center;
}

.category-coverflow-swiper .swiper-slide {
    width: 320px;
    height: 460px;
    border-radius: 28px;
    overflow: hidden;
    position: relative;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.1);
    transition: opacity 0.4s ease, filter 0.4s ease, box-shadow 0.4s ease;
    display: block;
    background-color: #0f172a;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
    clip-path: inset(0 round 28px);
    user-select: none;
    -webkit-user-select: none;
}

.category-coverflow-swiper a,
.category-coverflow-swiper a:focus,
.category-coverflow-swiper a:active,
.category-coverflow-swiper a:hover {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
    -webkit-tap-highlight-color: transparent !important;
}

.category-coverflow-swiper .swiper-slide,
.category-coverflow-swiper .swiper-slide:not(.swiper-slide-active),
.category-coverflow-swiper .swiper-slide-active {
    opacity: 1 !important;
    filter: none !important;
    cursor: pointer;
}

.category-coverflow-swiper .swiper-slide-active {
    box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.28);
}

/* Eliminate Swiper default 3D slide shadow artifacts completely */
.category-coverflow-swiper [class*="swiper-slide-shadow"],
.category-coverflow-swiper .swiper-slide-shadow-left,
.category-coverflow-swiper .swiper-slide-shadow-right,
.category-coverflow-swiper .swiper-slide-shadow-top,
.category-coverflow-swiper .swiper-slide-shadow-bottom,
.category-coverflow-swiper .swiper-slide-shadow-coverflow-left,
.category-coverflow-swiper .swiper-slide-shadow-coverflow-right {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    pointer-events: none !important;
}

.category-coverflow-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.category-coverflow-swiper .swiper-slide:hover img {
    transform: scale(1.05);
}

.category-coverflow-overlay {
    inset: 0;
    background: linear-gradient(to top, rgba(11, 17, 32, 0.95) 0%, rgba(11, 17, 32, 0.45) 38%, rgba(11, 17, 32, 0) 70%);
    transition: background 0.35s ease;
}

.category-coverflow-swiper .swiper-slide:hover .category-coverflow-overlay {
    background: linear-gradient(to top, rgba(11, 17, 32, 0.98) 0%, rgba(11, 17, 32, 0.55) 45%, rgba(11, 17, 32, 0.05) 80%);
}

.cat-swiper-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background-color: #94a3b8;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.cat-swiper-pagination .swiper-pagination-bullet-active {
    width: 26px;
    border-radius: 20px;
    background-color: var(--primary-color) !important;
    opacity: 1;
}

@media (max-width: 767px) {
    .tour-categories-showcase {
        padding: 3.5rem 0 2.5rem;
    }

    .category-coverflow-swiper .swiper-slide {
        width: 270px;
        height: 390px;
        border-radius: 24px;
        clip-path: inset(0 round 24px);
    }
}

@media (max-width: 480px) {
    .category-coverflow-swiper .swiper-slide {
        width: 240px;
        height: 350px;
        border-radius: 20px;
        clip-path: inset(0 round 20px);
    }
}

/* ==========================================================================
   CHECKOUT INTERACTIVE STYLES (Custom Interactive Effects & Animations)
   ========================================================================== */
/* Stepper Track Connecting Line & Node */
.stepper-track {
    position: relative;
}

.stepper-track::before {
    content: '';
    position: absolute;
    top: 24px;
    left: 40px;
    right: 40px;
    height: 3px;
    background: var(--border-light);
    z-index: 1;
}

.stepper-step {}

.stepper-node {
    width: 48px;
    height: 48px;
    background: #ffffff;
    border: 3px solid #cbd5e1;
    color: var(--secondary-text);
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.stepper-step.active .stepper-node {
    background: var(--primary-color);
    border-color: #93c5fd;
    color: #ffffff;
    box-shadow: 0 0 0 5px rgba(59, 113, 254, 0.18);
    transform: scale(1.08);
}

.stepper-step.completed .stepper-node {
    background: #16a34a;
    border-color: #86efac;
    color: #ffffff;
}

@media (max-width: 576px) {
    .stepper-track::before {
        left: 20px;
        right: 20px;
        top: 18px;
    }

    .stepper-node {
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }
}

/* Method Selector Active/Hover States */
.checkout-method-card {
    transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.checkout-method-card:hover {
    border-color: #cbd5e1 !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.checkout-method-card.active {
    border-color: var(--primary-color) !important;
    background-color: rgba(59, 113, 254, 0.02) !important;
    box-shadow: 0 0 0 3px rgba(59, 113, 254, 0.12), 0 10px 25px rgba(59, 113, 254, 0.08) !important;
}

.checkout-method-card.active .method-icon-box {
    background-color: rgba(59, 113, 254, 0.1) !important;
    color: var(--primary-color) !important;
}

.method-radio-indicator {
    width: 22px;
    height: 22px;
    border: 2px solid #cbd5e1;
    transition: all 0.2s ease;
    margin-top: 3px;
}

.checkout-method-card.active .method-radio-indicator {
    border-color: var(--primary-color);
    background-color: var(--primary-color);
}

.method-radio-indicator::after {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #ffffff;
    opacity: 0;
    transform: scale(0);
    transition: all 0.2s ease;
}

.checkout-method-card.active .method-radio-indicator::after {
    opacity: 1;
    transform: scale(1);
}

/* Panel Display Toggle & Animation */
.checkout-panel-card {
    display: none;
}

.checkout-panel-card.active {
    display: block;
    animation: panelFadeIn 0.3s ease;
}

@keyframes panelFadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

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

/* QR Code Hover Zoom & Zoom Badge */
.qr-modern-card {
    transition: all 0.3s ease;
}

.qr-modern-card:hover {
    border-color: var(--primary-color) !important;
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.qr-frame-modern img {
    height: 230px;
    object-fit: contain;
    transition: transform 0.25s ease;
}

.qr-frame-modern:hover img {
    transform: scale(1.04);
}

.qr-zoom-badge {
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--dark-card-bg);
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.72rem;
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
    white-space: nowrap;
}

.qr-frame-modern:hover .qr-zoom-badge {
    opacity: 1;
}

/* Virtual Bank Card matching Dark Luxury Card Theme */
.virtual-bank-card {
    background: var(--dark-card-bg);
    border: 1px solid var(--dark-card-border);
    border-radius: 22px;
    padding: 1.85rem;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    margin-bottom: 1.5rem;
}

.virtual-bank-card::after {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(59, 113, 254, 0.35) 0%, rgba(59, 113, 254, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.virtual-card-chip {
    width: 44px;
    height: 32px;
    background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
    border-radius: 6px;
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.5);
    margin-bottom: 1.25rem;
}

.virtual-card-number {
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.45rem;
    letter-spacing: 2px;
    color: #ffffff;
    margin-bottom: 1.25rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

@media (max-width: 576px) {
    .virtual-card-number {
        font-size: 1.15rem;
        letter-spacing: 1.5px;
    }
}

/* Copy Chip Button Interactive State */
.btn-copy-chip.copied {
    background-color: #16a34a !important;
    border-color: #16a34a !important;
    color: #ffffff !important;
}

/* Toast Notification */
#payment-toast {
    visibility: hidden;
    min-width: 260px;
    background-color: var(--dark-card-bg);
    color: #ffffff;
    text-align: center;
    border-radius: 12px;
    padding: 12px 22px;
    position: fixed;
    z-index: 99999;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    box-shadow: var(--shadow-card);
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

#payment-toast.show {
    visibility: visible;
    animation: toastFadeIn 0.35s, toastFadeOut 0.35s 2.4s;
}

@keyframes toastFadeIn {
    from {
        bottom: 10px;
        opacity: 0;
    }

    to {
        bottom: 30px;
        opacity: 1;
    }
}

@keyframes toastFadeOut {
    from {
        bottom: 30px;
        opacity: 1;
    }

    to {
        bottom: 10px;
        opacity: 0;
    }
}

/* QR Lightbox Modal */
.payment-qr-modal {
    z-index: 99998;
    inset: 0;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(5px);
    padding: 1.25rem;
}

.payment-qr-modal.active {
    display: flex;
}

.payment-qr-modal-content {
    background: #ffffff;
    padding: 1.75rem;
    border-radius: 24px;
    max-width: 360px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    animation: qrZoomIn 0.25s ease;
}

@keyframes qrZoomIn {
    from {
        transform: scale(0.92);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* ==========================================================================
   AIRPORT TAXI SERVICE SHOWCASE SECTION (Theme-Synchronized)
   ========================================================================== */
#airport-taxi-service {
    background: radial-gradient(circle at 10% 20%, rgba(59, 113, 254, 0.05) 0%, transparent 45%),
        radial-gradient(circle at 90% 85%, rgba(59, 113, 254, 0.04) 0%, transparent 40%),
        #ffffff;
    position: relative;
    overflow: hidden;
}

/* Title Styling */
.airport-taxi-title {
    color: var(--heading-color);
    font-weight: var(--font-weight-bold);
    letter-spacing: -0.02em;
    line-height: 1.22;
}

/* Feature 2x2 Cards */
.airport-feature-card {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.85);
    border-radius: 20px;
    padding: 14px 18px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    gap: 14px;
}

.airport-feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(59, 113, 254, 0.1);
    border-color: rgba(59, 113, 254, 0.25);
}

.airport-icon-box {
    width: 46px;
    height: 46px;
    font-size: 1.25rem;
    background-color: rgba(59, 113, 254, 0.1);
    color: var(--primary-color);
    transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.airport-feature-card:hover .airport-icon-box {
    background-color: var(--primary-color);
    color: #ffffff;
    transform: scale(1.05);
}

/* Right Visual Composition */
.airport-visual-wrapper {
    max-width: 560px;
}

/* Background Backdrops (Theme-Synchronized) */
.airport-theme-blob {
    top: -24px;
    left: 15px;
    width: 130px;
    height: 130px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #60a5fa 100%);
    box-shadow: 0 12px 30px rgba(59, 113, 254, 0.25);
}

.airport-theme-backdrop {
    inset: 12px 10px -10px 30px;
    background: linear-gradient(135deg, #1e40af 0%, var(--primary-color) 100%);
    border-radius: 48px;
}

/* Main Image Container */
.airport-image-card {
    border-radius: 40px;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.15);
    background-color: #ffffff;
    border: 4px solid #ffffff;
}

.airport-image-card img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.airport-image-card:hover img {
    transform: scale(1.03);
}

/* Floating Badge 1: 100% Trusted Service */
.airport-floating-trusted {
    top: 25px;
    right: -12px;
    background: #ffffff;
    padding: 10px 18px;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
    gap: 12px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    animation: floatSlow 4s ease-in-out infinite;
}

.airport-trusted-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--primary-color);
    color: #ffffff;
    font-size: 1.1rem;
}

/* Floating Badge 2: Thousands of Happy Travelers */
.airport-floating-reviews {
    bottom: 25px;
    left: -12px;
    background: #ffffff;
    padding: 12px 20px;
    border-radius: 20px;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.14);
    gap: 14px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    animation: floatSlow 4s ease-in-out infinite 2s;
}

.airport-reviews-icon {
    width: 44px;
    height: 44px;
    background: rgba(59, 113, 254, 0.1);
    color: var(--primary-color);
    font-size: 1.3rem;
}

@keyframes floatSlow {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

@media (max-width: 991px) {
    .airport-floating-trusted {
        right: 10px;
        top: 15px;
    }

    .airport-floating-reviews {
        left: 10px;
        bottom: 15px;
    }

    .airport-image-card img {
        height: 320px;
    }
}

@media (max-width: 575px) {
    .airport-feature-card {
        padding: 12px 14px;
    }

    .airport-image-card img {
        height: 270px;
    }
}

/* ==========================================================================
   JUSTIFIED LINEAR TOUR GALLERY WALL & LIGHTBOX MODAL
   ========================================================================== */
.gallery-justified-container {
    gap: 10px;
}

@media (max-width: 575.98px) {
    .gallery-justified-container {
        gap: 6px;
    }
}

@media (min-width: 640px) {
    .gallery-justified-container {
        gap: 12px;
    }
}

@media (min-width: 1200px) {
    .gallery-justified-container {
        gap: 14px;
    }
}

.gallery-justified-item {
    height: var(--gallery-item-height-base, 190px);
    flex-grow: var(--aspect-ratio, 1.33);
    flex-basis: calc(var(--gallery-item-height-base, 190px) * var(--aspect-ratio, 1.33));
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    background-color: #e2e8f0;
    cursor: pointer;
    transform: translateZ(0);
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s ease;
}

@media (max-width: 575.98px) {
    .gallery-justified-item {
        height: var(--gallery-item-height-mobile, 115px);
        flex-basis: calc(var(--gallery-item-height-mobile, 115px) * var(--aspect-ratio, 1.33));
        border-radius: 8px;
    }
}

@media (min-width: 576px) and (max-width: 639.98px) {
    .gallery-justified-item {
        height: var(--gallery-item-height-sm, 155px);
        flex-basis: calc(var(--gallery-item-height-sm, 155px) * var(--aspect-ratio, 1.33));
        border-radius: 12px;
    }
}

@media (min-width: 640px) {
    .gallery-justified-item {
        height: 220px;
        flex-basis: calc(220px * var(--aspect-ratio, 1.33));
        border-radius: 16px;
    }
}

@media (min-width: 1024px) {
    .gallery-justified-item {
        height: 250px;
        flex-basis: calc(250px * var(--aspect-ratio, 1.33));
        border-radius: 18px;
    }
}

@media (min-width: 1440px) {
    .gallery-justified-item {
        height: 280px;
        flex-basis: calc(280px * var(--aspect-ratio, 1.33));
    }
}

.gallery-justified-item:hover {
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.2);
    transform: translateY(-4px);
    z-index: 5;
}

.gallery-justified-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

/* Ensures the last row has clean linear alignment */
.gallery-justified-container::after {
    content: "";
    flex-grow: 999999;
    min-width: 200px;
    height: 0;
    visibility: hidden;
}

@media (max-width: 575.98px) {
    .gallery-justified-container::after {
        min-width: 60px;
    }
}

/* Hover Overlay & Pills */
.gallery-hover-overlay {
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.75) 0%, rgba(15, 23, 42, 0.1) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 14px;
    pointer-events: none;
}

@media (max-width: 575.98px) {
    .gallery-hover-overlay {
        padding: 6px;
    }
}

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

.gallery-zoom-pill {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    align-self: flex-end;
    transform: scale(0.85);
    transition: transform 0.25s ease;
}

@media (max-width: 575.98px) {
    .gallery-zoom-pill {
        width: 26px;
        height: 26px;
        font-size: 11px;
    }
}

.gallery-justified-item:hover .gallery-zoom-pill {
    transform: scale(1);
}

.gallery-title-pill {
    font-size: 13px;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
}

@media (max-width: 575.98px) {
    .gallery-title-pill {
        font-size: 10px;
    }
}

/* Lightbox Modal */
#gallery-lightbox-modal {
    position: fixed;
    inset: 0;
    z-index: 1090;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(10, 15, 29, 0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    opacity: 0;
    transition: opacity 0.25s ease;
    user-select: none;
    -webkit-user-select: none;
}

#gallery-lightbox-modal.active {
    display: flex;
    opacity: 1;
}

.gallery-modal-close {
    top: 20px;
    right: 20px;
    z-index: 1095;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 18px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.gallery-modal-close:hover {
    background: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
    transform: scale(1.08);
}

.gallery-modal-counter {
    top: 24px;
    left: 24px;
    z-index: 1095;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50px;
    padding: 6px 16px;
    font-size: 13px;
    letter-spacing: 0.5px;
}

.gallery-modal-nav {
    top: 50%;
    transform: translateY(-50%);
    z-index: 1095;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 24px;
    cursor: pointer;
    transition: all 0.2s ease;
}

@media (min-width: 768px) {
    .gallery-modal-nav {
        width: 56px;
        height: 56px;
        font-size: 28px;
    }
}

.gallery-modal-nav:hover {
    background: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
}

.gallery-nav-prev {
    left: 16px;
}

@media (min-width: 768px) {
    .gallery-nav-prev {
        left: 28px;
    }
}

.gallery-nav-next {
    right: 16px;
}

@media (min-width: 768px) {
    .gallery-nav-next {
        right: 28px;
    }
}

.gallery-modal-img-wrapper {
    z-index: 1092;
    max-width: 92vw;
    max-height: 88vh;
    transform: scale(0.95);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

#gallery-lightbox-modal.active .gallery-modal-img-wrapper {
    transform: scale(1);
}

.gallery-modal-img {
    max-width: 92vw;
    max-height: 86vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
    transition: opacity 0.18s ease;
}

/* ==========================================================================
   MEMORIES & MOMENTS GALLERY MARQUEE COMPONENT (Theme-Aligned Light UI)
   ========================================================================== */
.memories-marquee-section {
    background-color: #ffffff;
}

.memories-marquee {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 30px 0 45px;
}

.memories-marquee-track {
    width: max-content;
    will-change: transform;
    animation: memoriesMarqueeScroll 48s linear infinite;
}

.memories-marquee:hover .memories-marquee-track {
    animation-play-state: paused;
}

@keyframes memoriesMarqueeScroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.memory-card {
    width: 220px;
    height: 220px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    border: 6px solid #ffffff;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.12);
    background-color: #f1f5f9;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease;
    display: block;
    text-decoration: none;
}

@media (min-width: 768px) {
    .memory-card {
        width: 260px;
        height: 260px;
        border-width: 7px;
        border-radius: 20px;
    }
}

@media (min-width: 1200px) {
    .memory-card {
        width: 285px;
        height: 285px;
        border-width: 8px;
        border-radius: 22px;
    }
}

.memory-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.memory-card:hover {
    transform: rotate(0deg) scale(1.08) translateY(-8px) !important;
    z-index: 25;
    box-shadow: 0 25px 55px rgba(15, 23, 42, 0.22) !important;
}

.memory-card:hover img {
    transform: scale(1.08);
}

.memory-card-overlay {
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.72) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 16px;
    pointer-events: none;
}

.memory-card:hover .memory-card-overlay {
    opacity: 1;
}

/* Edge Fades for Cinema Look (Clean White Theme Fade) */
.memories-marquee::before,
.memories-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 90px;
    z-index: 10;
    pointer-events: none;
}

.memories-marquee::before {
    left: 0;
    background: linear-gradient(to right, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
}

.memories-marquee::after {
    right: 0;
    background: linear-gradient(to left, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
}

.bg-light .memories-marquee::before,
.memories-marquee-section.bg-light .memories-marquee::before {
    background: linear-gradient(to right, #f8f9fa 0%, rgba(248, 249, 250, 0) 100%);
}

.bg-light .memories-marquee::after,
.memories-marquee-section.bg-light .memories-marquee::after {
    background: linear-gradient(to left, #f8f9fa 0%, rgba(248, 249, 250, 0) 100%);
}

@media (min-width: 768px) {

    .memories-marquee::before,
    .memories-marquee::after {
        width: 150px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .memories-marquee-track {
        animation: none;
    }
}

/* ==========================================================================
   Detailed Tour Itinerary Modern Timeline UI (Consistent Spacing & Rhythm)
   ========================================================================== */
.itinerary-timeline-container {
    padding-left: 36px;
}

.itinerary-day-wrapper {
    margin-bottom: 22px;
}

.itinerary-day-wrapper:last-child {
    margin-bottom: 0;
}

/* Connecting vertical segment between consecutive nodes */
.itinerary-day-wrapper::before {
    content: '';
    position: absolute;
    left: -21px;
    top: 34px;
    bottom: -24px;
    width: 2px;
    background: linear-gradient(180deg, var(--primary-color) 0%, rgba(59, 113, 254, 0.3) 100%);
    z-index: 1;
}

.itinerary-day-wrapper:last-child::before {
    display: none;
}

/* Timeline Marker Dot: Centered horizontally at left -28px and vertically at 26px */
.itinerary-timeline-marker {
    width: 16px;
    height: 16px;
    left: -28px;
    top: 26px;
    background: var(--primary-color);
    border: 3px solid #ffffff;
    box-shadow: 0 0 0 4px rgba(59, 113, 254, 0.22);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.itinerary-day-box {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 18px;
    padding: 20px 22px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.itinerary-day-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -4px rgba(0, 0, 0, 0.07);
    border-color: rgba(59, 113, 254, 0.35);
}

.itinerary-day-wrapper:hover .itinerary-timeline-marker {
    transform: scale(1.2);
    box-shadow: 0 0 0 6px rgba(59, 113, 254, 0.35);
}

/* Day Header inside box */
.itinerary-day-header {
    padding-bottom: 12px;
    margin-bottom: 14px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.itinerary-day-badge {
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 5px 14px;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    box-shadow: 0 2px 6px rgba(59, 113, 254, 0.25);
    line-height: 1.2;
}

.itinerary-day-title {
    color: #0f172a;
    font-size: 1.05rem;
    line-height: 1.35;
}

.itinerary-dist-badge {
    background: #f8fafc;
    color: #475569;
    border: 1px solid #e2e8f0;
    padding: 4px 12px;
    font-size: 0.8rem;
    gap: 6px;
    white-space: nowrap;
    line-height: 1.2;
}

/* Points List & Item */
.itinerary-points-list {
    gap: 10px;
}

.itinerary-point-item {
    gap: 12px;
}

.itinerary-point-bullet {
    width: 22px;
    height: 22px;
    min-width: 22px;
    background: rgba(59, 113, 254, 0.1);
    color: var(--primary-color);
    font-size: 11px;
    margin-top: 2px;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.itinerary-day-box:hover .itinerary-point-bullet {
    background: var(--primary-color);
    color: #ffffff;
}

.itinerary-point-text {
    color: #334155;
    font-size: 0.925rem;
    line-height: 1.6;
}

.itinerary-point-text strong {
    color: #0f172a !important;
    font-weight: 700;
}

/* Night Stay Footer */
.itinerary-day-footer {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px dashed rgba(0, 0, 0, 0.08);
}

.itinerary-night-stay {
    background: #fffbeb;
    color: #92400e;
    border: 1px solid #fde68a;
    padding: 5px 14px;
    font-size: 0.825rem;
    gap: 6px;
    line-height: 1.2;
}

@media (max-width: 576px) {
    .itinerary-timeline-container {
        padding-left: 24px;
    }

    .itinerary-day-wrapper::before {
        left: -17px;
        top: 28px;
        bottom: -20px;
    }

    .itinerary-timeline-marker {
        left: -24px;
        top: 21px;
        width: 14px;
        height: 14px;
        border-width: 2px;
    }

    .itinerary-day-box {
        padding: 16px 14px;
        border-radius: 14px;
    }

    .itinerary-day-wrapper {
        margin-bottom: 18px;
    }

    .itinerary-day-title {
        font-size: 0.95rem;
    }

    .itinerary-dist-badge {
        font-size: 0.75rem;
        padding: 3px 10px;
    }

    .itinerary-points-list {
        gap: 8px;
    }

    .itinerary-point-text {
        font-size: 0.875rem;
        line-height: 1.55;
    }
}

/* ==========================================================================
   Sticky Tour Booking & Inquiry Sidebar Card
   ========================================================================== */
@media (min-width: 992px) {
    .tour-sticky-sidebar {
        position: -webkit-sticky !important;
        position: sticky !important;
        top: 75px !important;
        z-index: 100 !important;
        max-height: calc(100vh - 85px);
        overflow-y: auto;
        overscroll-behavior: contain;
        display: flex;
        flex-direction: column;
    }

    /* Subtle custom scrollbar if content exceeds viewport on small laptop screens */
    .tour-sticky-sidebar::-webkit-scrollbar {
        width: 4px;
    }

    .tour-sticky-sidebar::-webkit-scrollbar-track {
        background: transparent;
    }

    .tour-sticky-sidebar::-webkit-scrollbar-thumb {
        background: rgba(0, 0, 0, 0.12);
        border-radius: 4px;
    }

    .tour-sticky-sidebar:hover::-webkit-scrollbar-thumb {
        background: rgba(0, 0, 0, 0.25);
    }
}

/* Tour Sidebar Direct CTA Buttons Responsive Sizing on Mobile */
@media (max-width: 575.98px) {
    .tour-sidebar-cta {
        font-size: 13px !important;
        padding-top: 7px !important;
        padding-bottom: 7px !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
        letter-spacing: -0.01em;
    }
    .tour-sidebar-cta i {
        font-size: 14px !important;
    }
}

/* ==========================================================================
   Service Locations Grid Square Cards (1:1 Ratio)
   ========================================================================== */
.location-square-card {
    aspect-ratio: 1 / 1 !important;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.location-square-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08) !important;
    border-color: rgba(59, 113, 254, 0.35) !important;
}

.location-square-card img {
    transition: transform 0.45s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.location-square-card:hover img {
    transform: scale(1.06);
}

.location-square-card .btn-outline-primary {
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.location-square-card:hover .btn-outline-primary {
    background-color: var(--primary-color) !important;
    color: #ffffff !important;
    border-color: var(--primary-color) !important;
    transform: translateX(2px);
}

/* ==========================================================================
   Multi-Line Truncation Helpers
   ========================================================================== */
.line-clamp-1,
.text-line-clamp-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
}

.line-clamp-2,
.text-line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
}

.line-clamp-3,
.text-line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
}

/* ==========================================================================
   Theme Blog Section & Cards (Consistent Clean Light Layout)
   ========================================================================== */
.theme-blog-card {
    background-color: #ffffff;
    border-radius: 18px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.theme-blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.1);
    border-color: rgba(59, 113, 254, 0.28);
}

.theme-blog-media {
    position: relative;
    width: 100%;
    height: 205px;
    overflow: hidden;
    background-color: #e2e8f0;
}

.theme-blog-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.theme-blog-card:hover .theme-blog-media img {
    transform: scale(1.08);
}

.theme-blog-category-badge {
    top: 14px;
    left: 14px;
    background: rgba(255, 255, 255, 0.95);
    color: #0f172a;
    font-size: 11px;
    letter-spacing: 0.04em;
    padding: 4px 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    gap: 6px;
    line-height: 1.2;
}

.theme-blog-category-badge .badge-dot {
    width: 6px;
    height: 6px;
    background-color: var(--primary-color);
}

.theme-blog-time-badge {
    top: 14px;
    right: 14px;
    background: rgba(15, 23, 42, 0.72);
    color: #ffffff;
    font-size: 11px;
    padding: 4px 10px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    gap: 4px;
    line-height: 1.2;
}

.theme-blog-body {
    padding: 1.35rem 1.35rem 1.25rem;
}

.theme-blog-meta {
    gap: 8px;
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 0.65rem;
}

.theme-blog-title {
    font-size: 1.05rem;
    color: #0f172a;
    line-height: 1.42;
    margin-bottom: 0.5rem;
    transition: color 0.2s ease;
}

.theme-blog-card:hover .theme-blog-title {
    color: var(--primary-color);
}

.theme-blog-excerpt {
    font-size: 0.865rem;
    color: #64748b;
    line-height: 1.55;
    margin-bottom: 1.1rem;
}

.theme-blog-footer {
    margin-top: auto;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.theme-blog-cta-text {
    font-size: 0.865rem;
    color: var(--primary-color);
    gap: 6px;
    transition: gap 0.25s ease;
}

.theme-blog-card:hover .theme-blog-cta-text {
    gap: 10px;
}

.theme-blog-arrow-circle {
    width: 32px;
    height: 32px;
    background-color: var(--accent-blue-subtle);
    color: var(--primary-color);
    font-size: 13px;
    transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.theme-blog-card:hover .theme-blog-arrow-circle {
    background-color: var(--primary-color);
    color: #ffffff;
    transform: rotate(45deg);
}

.hover-white {
    transition: color 0.2s ease;
}

.hover-white:hover {
    color: #ffffff !important;
}

/* Fast Direct Contact Buttons (Contact Form) */
.fast-contact-btn {
    font-size: var(--fs-fast-contact-desktop);
}

@media (max-width: 575.98px) {
    .fast-contact-btn {
        font-size: var(--fs-fast-contact-mobile) !important;
        padding: 0.35rem 0.65rem !important;
    }
}


/* Fast Direct Contact Buttons (Contact Form) */
.fast-contact-btn {
    font-size: var(--fs-fast-contact-desktop);
}

@media (max-width: 575.98px) {
    .fast-contact-btn {
        font-size: var(--fs-fast-contact-mobile) !important;
        padding: 0.35rem 0.65rem !important;
    }
}