/* Modern Design System Tokens */
:root {
    --bs-primary: #0d6efd;
    --bs-primary-rgb: 13, 110, 253;
}

/* 1. SLEEK CAROUSEL SLIDER (MAX HEIGHT 50vh-55vh) */
.hero-carousel .carousel-item {
    height: 72vh;
    min-height: 380px;
    max-height: 620px;
}

.hero-carousel .carousel-item img {
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8);
}

.hero-carousel .carousel-caption {
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.75) 100%);
    left: 0;
    right: 0;
    bottom: 0;
    padding: 3rem 1.5rem 2rem 1.5rem;
}

/* 2. MULTI-LEVEL HOVER DROPDOWN MENU */
@media (min-width: 992px) {
    /* Main Navigation Level 1 Hover */
    .navbar .nav-item.dropdown:hover > .dropdown-menu {
        display: block !important;
        margin-top: 0;
        animation: fadeIn 0.2s ease-in-out;
    }

    /* Submenu Positioning & Level 2 Hover */
    .dropdown-submenu {
        position: relative;
    }

    .dropdown-submenu > .dropdown-menu {
        top: 0;
        left: 100%;
        margin-left: 0.1rem;
        display: none;
    }

    .dropdown-submenu:hover > .dropdown-menu,
    .dropdown-submenu > .dropdown-menu.show {
        display: block !important;
        animation: fadeIn 0.2s ease-in-out;
    }
}

/* Mobile & Tablet Styles for Submenus */
@media (max-width: 991.98px) {
    .dropdown-submenu .dropdown-menu {
        position: static !important;
        margin-left: 1rem;
        margin-top: 0.25rem;
        border-left: 2px solid var(--bs-primary) !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        display: none;
    }

    .dropdown-submenu .dropdown-menu.show {
        display: block !important;
    }
}

/* Submenu Chevron Arrow Indicator */
.dropdown-submenu > a::after {
    display: inline-block;
    content: " ";
    float: right;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-left-color: #6c757d;
    margin-top: 7px;
    margin-right: -5px;
    transition: transform 0.2s ease;
}

.dropdown-submenu:hover > a::after,
.dropdown-submenu.show > a::after {
    border-left-color: #0d6efd;
    transform: translateX(3px);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 3. FLOATING SINGLE SEARCH BAR */
.search-container {
    margin-top: -35px;
    z-index: 20;
    position: relative;
}

.glass-search-bar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

/* 4. PACKAGE CARDS & UTILITIES */
.package-card img {
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.package-card:hover img {
    transform: scale(1.04);
}
 
/* for accordion tab */
.nav-tabs .nav-link {
    border: none;
    border-bottom: 3px solid transparent;
    color: #6c757d;
}
.nav-tabs .nav-link.active {
    color: #0d6efd !important;
    background-color: transparent;
    border-bottom: 3px solid #0d6efd;
}
/* end of - for accordion tab */


/* Go To Top Floating Button */
#btn-back-to-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

#btn-back-to-top.show {
    opacity: 1;
    visibility: visible;
}

#btn-back-to-top:hover {
    transform: translateY(-4px);
}