/* ============================================
   GLOBAL STYLES & VARIABLES
   ============================================ */
:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --accent-color: #4facfe;
    --text-dark: #2d3748;
    --text-muted: #718096;
}

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

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

html {
    scroll-behavior: smooth;
}

/* Hover Effects */
.hover-primary {
    transition: color 0.3s ease;
}

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

/* ============================================
   LAYOUT COMPONENTS
   ============================================ */

/* Modern Topbar */
.topbar-modern {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    padding: 1rem 0;
    position: relative;
    overflow: hidden;
}

.topbar-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(118, 75, 162, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.topbar-modern .container {
    position: relative;
    z-index: 1;
}

.topbar-contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: transform 0.3s ease;
}

.topbar-contact-item:hover {
    transform: translateX(5px);
}

.topbar-icon-wrapper {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.topbar-contact-item:hover .topbar-icon-wrapper {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.3) 0%, rgba(118, 75, 162, 0.3) 100%);
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.topbar-icon-wrapper i {
    color: #fff;
    font-size: 1.1rem;
}

.topbar-contact-text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.topbar-label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.topbar-value {
    font-size: 0.9rem;
    color: #fff;
    font-weight: 600;
}

/* Topbar Auth Links */
.topbar-auth-link {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    color: rgba(255, 255, 255, 0.9) !important;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.topbar-auth-link:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.topbar-auth-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.25rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff !important;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    white-space: nowrap;
    border: none;
}

.topbar-auth-btn:hover {
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

/* Mobile Topbar */
@media (max-width: 767.98px) {
    .topbar-modern {
        padding: 0.75rem 0;
    }
    
    .topbar-modern .row {
        flex-wrap: nowrap;
    }
    
    .topbar-modern .col-md-8 {
        flex: 1;
        min-width: 0;
    }
    
    .topbar-modern .d-flex.gap-4 {
        gap: 0.75rem !important;
        flex-wrap: nowrap;
    }
    
    .topbar-contact-item {
        gap: 0.5rem;
        flex-shrink: 0;
    }
    
    .topbar-icon-wrapper {
        width: 32px;
        height: 32px;
    }
    
    .topbar-icon-wrapper i {
        font-size: 0.9rem;
    }
    
    .topbar-label {
        font-size: 0.65rem;
    }
    
    .topbar-value {
        font-size: 0.8rem;
        white-space: nowrap;
    }
    
    .topbar-auth-wrapper {
        flex-shrink: 0;
        margin-left: auto;
    }
    
    .topbar-auth-link,
    .topbar-auth-btn {
        font-size: 0.75rem;
        padding: 0.35rem 0.6rem;
        white-space: nowrap;
    }
    
    .topbar-auth-link i,
    .topbar-auth-btn i {
        font-size: 0.8rem;
    }
    
    .topbar-modern .d-flex.gap-2 {
        gap: 0.5rem !important;
    }
}

/* Fixed Contact Bar (Bottom) - Only visible on mobile */
.fixed-contact-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    padding: 1rem 0;
    z-index: 1000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: none; /* Hidden on desktop by default */
}

.fixed-contact-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(118, 75, 162, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.fixed-contact-bar .container {
    position: relative;
    z-index: 1;
}

.fixed-contact-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.fixed-contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: transform 0.3s ease;
    flex: 0 0 auto;
}

.fixed-contact-item:hover {
    transform: translateX(5px);
}

.fixed-contact-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.fixed-contact-item:hover .fixed-contact-icon {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.3) 0%, rgba(118, 75, 162, 0.3) 100%);
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.fixed-contact-icon i {
    color: #fff;
    font-size: 1.1rem;
}

.fixed-contact-text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.fixed-contact-label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.fixed-contact-value {
    font-size: 0.9rem;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.fixed-contact-value:hover {
    color: #667eea;
}

/* FAQ Page */
.page-hero {
    background: linear-gradient(135deg, #0f3460 0%, #162447 50%, #1f4068 100%);
    position: relative;
    color: #fff;
    overflow: hidden;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(102, 126, 234, 0.35), transparent 40%),
                radial-gradient(circle at bottom left, rgba(118, 75, 162, 0.4), transparent 35%);
    opacity: 0.9;
}

.faq-accordion .accordion-button {
    font-weight: 600;
    font-size: 1.05rem;
    padding: 1.25rem 1.5rem;
}

.faq-accordion .accordion-button:not(.collapsed) {
    color: #0f3460;
    background-color: rgba(15, 52, 96, 0.05);
    box-shadow: none;
}

.faq-accordion .accordion-body {
    font-size: 1rem;
    color: #4a5568;
    line-height: 1.7;
}

/* Body padding for fixed bar - add padding to prevent content from being hidden */
body {
    padding-bottom: 0;
}

/* Main Content Padding for Sticky Menu */
.main-content-wrapper {
    padding-top: 0;
}

/* Add padding to first child element inside main-content-wrapper */
.main-content-wrapper > *:first-child {
    padding-top: 10px;
}

/* Adjust padding for different menu styles */
.detailed-menu-active ~ main.main-content-wrapper > *:first-child,
.detailed-topbar ~ main.main-content-wrapper > *:first-child {
    padding-top: 10px;
}

.compact-menu-wrapper ~ main.main-content-wrapper > *:first-child {
    padding-top: 10px;
}

/* Mobile adjustments */
@media (max-width: 991.98px) {
    .main-content-wrapper > *:first-child {
        padding-top: 10px;
    }
    
    .detailed-menu-active ~ main.main-content-wrapper > *:first-child,
    .detailed-topbar ~ main.main-content-wrapper > *:first-child {
        padding-top: 10px;
    }
    
    .compact-menu-wrapper ~ main.main-content-wrapper > *:first-child {
        padding-top: 10px;
    }
}

/* Add margin to footer when fixed bar exists */
footer {
    margin-bottom: 0;
}

/* Mobile Fixed Contact Bar */
@media (max-width: 767.98px) {
    .fixed-contact-bar {
        display: none !important; /* Hidden on mobile */
        padding: 0.75rem 0;
    }
    
    .fixed-contact-row {
        gap: 1rem;
        flex-wrap: nowrap;
        justify-content: space-around;
    }
    
    .fixed-contact-item {
        gap: 0.5rem;
        flex: 1;
        min-width: 0;
    }
    
    .fixed-contact-icon {
        width: 32px;
        height: 32px;
        flex-shrink: 0;
    }
    
    .fixed-contact-icon i {
        font-size: 0.9rem;
    }
    
    .fixed-contact-text {
        min-width: 0;
        flex: 1;
    }
    
    .fixed-contact-label {
        font-size: 0.65rem;
    }
    
    .fixed-contact-value {
        font-size: 0.75rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    footer {
        margin-bottom: 70px !important;
    }
}

/* Mobile Fixed Action Buttons (WhatsApp & Call) */
.mobile-fixed-buttons {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    gap: 0;
    z-index: 1050;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

.mobile-fixed-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
}

.mobile-fixed-btn i {
    font-size: 1.2rem;
}

.mobile-fixed-btn:hover,
.mobile-fixed-btn:active {
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
}

.mobile-fixed-btn:active {
    transform: translateY(0);
}

.mobile-fixed-call {
    background: linear-gradient(135deg, #0f3460 0%, #1a1a2e 100%);
}

.mobile-fixed-call:hover {
    background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 100%);
    box-shadow: 0 -6px 25px rgba(15, 52, 96, 0.4);
}

.mobile-fixed-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.mobile-fixed-whatsapp:hover {
    background: linear-gradient(135deg, #128C7E 0%, #25D366 100%);
    box-shadow: 0 -6px 25px rgba(37, 211, 102, 0.4);
}

/* Body padding for mobile fixed buttons */
@media (max-width: 767.98px) {
    body {
        padding-bottom: 60px;
    }
    
    footer {
        margin-bottom: 60px !important;
    }
}

/* Navbar Sticky with Blur Effect */
#mainNavbar {
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95) !important;
    margin-bottom: 0 !important;
    z-index: 1040;
    position: sticky !important;
    top: 0 !important;
}

#mainNavbar.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    background-color: rgba(255, 255, 255, 0.98) !important;
}

#mainNavbar.sticky-top {
    position: sticky !important;
    top: 0 !important;
    z-index: 1040;
}

.navbar-brand {
    font-size: 1.75rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

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

/* Mega Menu */
.dropdown-mega {
    position: static !important;
}

.mega-menu {
    width: 100% !important;
    left: 0 !important;
    right: 0 !important;
    margin-top: 0 !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 3px solid var(--primary-color);
    animation: megaMenuFadeIn 0.3s ease-out;
    position: absolute !important;
    top: 100% !important;
    z-index: 1050 !important;
    display: none;
}

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

.mega-menu-list {
    margin: 0;
    padding: 0;
}

.mega-menu-link {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    color: #495057 !important;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
    margin-bottom: 0.25rem;
    width: 100%;
}

.mega-menu-link:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    color: var(--primary-color) !important;
    transform: translateX(5px);
    padding-left: 1.25rem;
    text-decoration: none;
}

.mega-menu-link i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.mega-menu-link:hover i {
    transform: translateX(3px);
}

.mega-menu-featured .card {
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.mega-menu-featured .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.dropdown-toggle::after {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.dropdown-toggle[aria-expanded="true"]::after {
    transform: rotate(180deg);
}

/* Mega Menu Show/Hide */
.nav-item.dropdown-mega:hover .mega-menu,
.nav-item.dropdown-mega .dropdown-toggle[aria-expanded="true"] ~ .mega-menu,
.mega-menu.show {
    display: block !important;
}

/* Mega Menu Dropdown Arrow Animation */
.dropdown-toggle[aria-expanded="true"] {
    color: var(--primary-color) !important;
}

/* Prevent nav-link underline on dropdown toggle */
.nav-item.dropdown-mega > .nav-link::after {
    display: none;
}

.nav-item.dropdown-mega > .nav-link:hover::after {
    display: none;
}

/* Mega Menu Container */
.mega-menu .container {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
}

/* Mega Menu Section Headers */
.mega-menu h6 {
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    color: var(--primary-color) !important;
}

.mega-menu h6 i {
    color: var(--primary-color);
}

/* Mega Menu Featured Cards */
.mega-menu-featured .card-img-top {
    border-radius: 8px 8px 0 0;
}

.mega-menu-featured .card-title {
    font-size: 0.9rem;
    line-height: 1.3;
}

/* Mega Menu List Items */
.mega-menu-list li {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Override Bootstrap dropdown styles for mega menu */
.dropdown-mega .dropdown-menu {
    min-width: auto;
    padding: 0;
}

.dropdown-mega .dropdown-item {
    padding: 0;
}

/* Ensure mega menu buttons work correctly */
.mega-menu .btn {
    white-space: normal;
}

/* Responsive Mega Menu */
@media (max-width: 991.98px) {
    .mega-menu {
        position: static !important;
        width: 100% !important;
        left: auto !important;
        right: auto !important;
        box-shadow: none;
        border: none;
        border-top: 1px solid #dee2e6;
        animation: none;
        top: auto !important;
    }
    
    .dropdown-mega {
        position: relative !important;
    }
    
    .mega-menu .container {
        padding: 1rem;
        max-width: 100%;
    }
    
    .mega-menu .row {
        margin: 0;
    }
    
    .mega-menu .col-md-3,
    .mega-menu .col-md-4,
    .mega-menu .col-md-9 {
        margin-bottom: 1.5rem;
        width: 100%;
    }
}

/* Mobile Sidebar */
.offcanvas {
    width: 320px !important;
    background: #ffffff;
}

.offcanvas-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: white;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.offcanvas-title {
    font-size: 1.5rem;
    color: white;
    font-weight: 600;
}

.offcanvas-body {
    padding: 0;
    overflow-y: auto;
}

.offcanvas-body .navbar-nav {
    margin: 0;
    width: 100%;
}

.offcanvas-body .nav-item {
    margin: 0;
    width: 100%;
}

.offcanvas-body .nav-link {
    color: #212529;
    padding: 0.875rem 1.25rem;
    transition: all 0.2s ease;
    border: none;
    text-decoration: none;
    display: flex;
    align-items: center;
    font-weight: 500;
    width: 100%;
    border-radius: 0;
}

.offcanvas-body .nav-link:hover {
    color: #0d6efd;
    background: #f8f9fa;
}

.offcanvas-body .nav-link.active {
    color: #0d6efd;
    background: #f8f9fa;
    font-weight: 600;
}

.offcanvas-body .nav-link i {
    width: 24px;
    text-align: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-right: 0.75rem;
}

.offcanvas-body .nav-link span {
    flex: 1;
}

.offcanvas-body .btn {
    font-weight: 600;
}

/* Mobile Sidebar Accordion */
.offcanvas-body .collapse {
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    margin: 0;
}

.offcanvas-body .collapse .list-unstyled {
    margin: 0;
    padding: 0;
}

.offcanvas-body .collapse .nav-link {
    padding: 0.625rem 1.5rem;
    font-size: 0.875rem;
    color: #495057;
    border-bottom: 1px solid #e9ecef;
    font-weight: 400;
}

.offcanvas-body .collapse .nav-link:hover {
    color: #0d6efd;
    background: #ffffff;
    padding-left: 1.75rem;
}

.offcanvas-body .collapse .nav-link:last-child {
    border-bottom: none;
}

.offcanvas-body .nav-link[data-bs-toggle="collapse"] {
    justify-content: space-between;
}

.offcanvas-body .nav-link[data-bs-toggle="collapse"] .bi-chevron-down {
    transition: transform 0.3s ease;
    font-size: 0.875rem;
    color: #6c757d;
    margin-left: auto;
    margin-right: 0;
}

.offcanvas-body .nav-link[data-bs-toggle="collapse"][aria-expanded="true"] .bi-chevron-down,
.offcanvas-body .nav-link[data-bs-toggle="collapse"]:not(.collapsed) .bi-chevron-down {
    transform: rotate(180deg);
    color: #0d6efd;
}

.offcanvas-body .nav-link[data-bs-toggle="collapse"]:hover .bi-chevron-down {
    color: #0d6efd;
}

/* Column collapse styling */
.offcanvas-body .collapse .collapse {
    background: #ffffff;
}

.offcanvas-body .collapse .collapse .nav-link {
    padding-left: 2rem;
    font-size: 0.8125rem;
}

.offcanvas-body .collapse .nav-link[data-bs-toggle="collapse"] .bi-chevron-down {
    font-size: 0.75rem;
}

/* Border utilities for mobile menu */
.offcanvas-body .nav-item.border-bottom {
    border-bottom: 1px solid #e9ecef !important;
}

.offcanvas-body .nav-item.border-top {
    border-top: 1px solid #e9ecef !important;
}

.offcanvas-body .collapse .list-unstyled .border-light {
    border-color: #e9ecef !important;
}

/* Transition for chevron */
.transition-transform {
    transition: transform 0.3s ease;
}

/* Mobile Navbar */
.mobile-navbar {
    padding: 0.75rem 0;
    border-bottom: 1px solid #e9ecef;
}

.mobile-menu-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-color);
    border: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    padding: 0;
    transition: all 0.3s ease;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.mobile-menu-btn:hover {
    background: var(--secondary-color);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.mobile-menu-btn:active {
    transform: scale(0.95);
}

.mobile-logo-wrapper {
    flex: 1;
    justify-content: center;
    padding: 0 1rem;
}

.mobile-logo-link {
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-logo-img {
    max-height: 35px;
    max-width: 150px;
    height: auto;
    width: auto;
    object-fit: contain;
}

.mobile-logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #dc3545;
    letter-spacing: -0.5px;
    font-family: 'Poppins', sans-serif;
}

.mobile-nav-icons {
    flex-shrink: 0;
}

.mobile-nav-icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: 1.5px solid #212529;
    color: #212529;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.mobile-nav-icon-btn:hover {
    background: #f8f9fa;
    transform: scale(1.05);
    color: #212529;
}

.mobile-nav-icon-btn:active {
    transform: scale(0.95);
}

.mobile-nav-icon-btn i {
    font-size: 1.1rem;
}

/* Navbar Toggler for Mobile */
.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Footer */
footer {
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
}

footer a {
    transition: color 0.3s ease;
    display: inline-block;
}

footer a:hover {
    color: #fff !important;
    text-decoration: underline !important;
}

footer .text-white-50:hover {
    color: #fff !important;
}

/* ============================================
   GLOBAL COMPONENTS
   ============================================ */

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.btn-light {
    transition: all 0.3s ease;
}

.btn-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

/* Gradient Backgrounds */
.bg-gradient-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.bg-gradient-secondary {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.bg-gradient-info {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

/* Rating Stars */
.bi-star-fill {
    color: #ffc107;
}

/* Badge Styles */
.badge {
    font-weight: 500;
    padding: 0.5rem 1rem;
}

/* Section Spacing */
section {
    padding: 2.5rem 0;
}

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

/* ============================================
   HOME PAGE STYLES (.home-*)
   ============================================ */

/* Hero Slider */
.home-hero-slider {
    margin-top: 0;
    padding: 0 !important;
}

.home-hero-slide {
    position: relative;
    overflow: hidden;
    min-height: 500px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

/* Masaüstü için daha yüksek slider ve optimize edilmiş resim görünümü */
@media (min-width: 768px) {
    .home-hero-slide {
        min-height: 600px;
        background-size: cover;
        background-position: center center;
    }
}

@media (min-width: 992px) {
    .home-hero-slide {
        min-height: 700px;
        /* Masaüstünde resimlerin tam oturması için */
        background-size: cover;
        background-position: center center;
        background-attachment: scroll;
    }
}

@media (min-width: 1200px) {
    .home-hero-slide {
        min-height: 800px;
        /* Büyük ekranlarda resimlerin daha iyi görünmesi */
        background-size: cover;
        background-position: center center;
    }
}

/* Resimlerin tam oturması için - tüm ekran boyutları */
.home-hero-slide[style*="background-image"] {
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

/* Masaüstünde resimlerin daha iyi görünmesi için */
@media (min-width: 768px) {
    .home-hero-slide[style*="background-image"] {
        background-size: cover !important;
        background-position: center center !important;
    }
}

/* Büyük ekranlarda resimlerin tam oturması için */
@media (min-width: 992px) {
    .home-hero-slide[style*="background-image"] {
        background-size: cover !important;
        background-position: center center !important;
        /* Resimlerin kenarlarının kesilmemesi için */
        background-clip: padding-box;
    }
}

.home-hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.home-hero-slide .container {
    position: relative;
    z-index: 2;
    min-height: inherit;
    display: flex;
    align-items: center;
}

/* TURSAB Badge - Slayt Sağ Üst Köşe */
.tursab-slider-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    left: auto;
    z-index: 10;
    background: #ffffff;
    padding: 14px 24px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    color: #2d1b4e;
    font-weight: 500;
    font-size: 15px;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.5;
    white-space: nowrap;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
}

.tursab-slider-badge:hover {
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

/* Mobil görünümde TURSAB badge */
@media (max-width: 767.98px) {
    .tursab-slider-badge {
        top: 15px;
        right: 15px;
        left: auto;
        padding: 12px 18px;
        font-size: 13px;
    }
}

/* Tablet görünümü */
@media (min-width: 768px) and (max-width: 991.98px) {
    .tursab-slider-badge {
        top: 20px;
        right: 20px;
        left: auto;
        padding: 14px 22px;
        font-size: 14px;
    }
}

/* Carousel item ve inner yükseklik ayarları */
#heroCarousel .carousel-inner,
#heroCarousel .carousel-item {
    min-height: inherit;
}

#heroCarousel .carousel-item {
    height: 100%;
}

/* Masaüstünde carousel yükseklikleri */
@media (min-width: 768px) {
    #heroCarousel .carousel-inner,
    #heroCarousel .carousel-item {
        min-height: 600px;
    }
}

@media (min-width: 992px) {
    #heroCarousel .carousel-inner,
    #heroCarousel .carousel-item {
        min-height: 700px;
    }
}

@media (min-width: 1200px) {
    #heroCarousel .carousel-inner,
    #heroCarousel .carousel-item {
        min-height: 800px;
    }
}

.home-carousel-control-prev,
.home-carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.home-carousel-control-prev:hover,
.home-carousel-control-next:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: translateY(-50%) scale(1.1);
}

.home-carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.home-carousel-indicators .active {
    background: white;
    width: 30px;
    border-radius: 6px;
}

/* Tour Cards */
.home-tour-card {
    transition: all 0.3s ease;
    border-radius: 15px;
    overflow: hidden;
}

.home-tour-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3) !important;
}

.home-tour-card .card-img-top {
    transition: transform 0.5s ease;
}

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

.home-tour-card .card-body {
    padding: 1.5rem;
}

/* Hotel Cards */
.home-hotel-card {
    transition: all 0.3s ease;
    border-radius: 15px;
    overflow: hidden;
}

.home-hotel-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(79, 172, 254, 0.3) !important;
}

.home-hotel-card .card-img-top {
    transition: transform 0.5s ease;
}

.home-hotel-card:hover .card-img-top {
    transform: scale(1.1);
}

.home-hotel-card .card-body {
    padding: 1.5rem;
}

/* Blog Cards */
.home-blog-card {
    transition: all 0.3s ease;
    border-radius: 15px;
    overflow: hidden;
}

.home-blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(240, 147, 251, 0.3) !important;
}

.home-blog-card .card-img-top {
    transition: transform 0.5s ease;
}

.home-blog-card:hover .card-img-top {
    transform: scale(1.1);
}

/* View Toggle Buttons */
.view-toggle-buttons {
    display: flex;
    gap: 0.5rem;
}

.view-toggle-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.view-toggle-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: transparent;
}

.view-toggle-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* Image View Items */
.home-image-view-item {
    transition: all 0.3s ease;
}

.home-image-view-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
}

.home-image-view-item:hover img {
    transform: scale(1.05);
}

/* Subscribe Section */
.home-subscribe {
    background: linear-gradient(90deg, rgba(102, 126, 234, 0.9) 0%, rgba(118, 75, 162, 0.9) 100%);
    position: relative;
    overflow: hidden;
    margin-bottom: 0 !important;
}

.home-subscribe-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.05) 50%, transparent 100%),
        linear-gradient(45deg, transparent 0%, rgba(255, 255, 255, 0.03) 50%, transparent 100%);
    z-index: 1;
}

.home-subscribe-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    font-family: 'Georgia', serif;
}

.home-subscribe-description {
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.6;
    opacity: 0.95;
}

.home-subscribe-form {
    align-items: stretch;
}

.home-subscribe-input {
    flex: 1;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.15);
    color: white;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.home-subscribe-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.home-subscribe-input:focus {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.2);
    color: white;
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
    outline: none;
}

.home-subscribe-btn {
    background: white;
    color: #212529;
    border: none;
    padding: 0.875rem 1.5rem;
    font-weight: 600;
    font-size: 1rem;
    white-space: nowrap;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    transition: all 0.3s ease;
    min-width: 120px;
}

.home-subscribe-btn:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: #212529;
}

.home-subscribe-btn span {
    font-size: 0.9rem;
    line-height: 1;
}

.home-subscribe-btn i {
    font-size: 1rem;
    line-height: 1;
}

/* Responsive */
@media (max-width: 991.98px) {
    .home-subscribe-title {
        font-size: 2rem;
    }
    
    .home-subscribe-description {
        font-size: 1rem;
    }
    
    .home-subscribe-form {
        flex-direction: column;
    }
    
    .home-subscribe-btn {
        width: 100%;
        flex-direction: row;
        justify-content: center;
        gap: 0.5rem;
    }
}

/* Home Animations */
@keyframes home-fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.home-animate-fade-in {
    animation: home-fadeIn 0.8s ease-out;
}

.home-animate-fade-in-delay {
    animation: home-fadeIn 0.8s ease-out 0.2s both;
}

.home-animate-fade-in-delay-2 {
    animation: home-fadeIn 0.8s ease-out 0.4s both;
}

/* Home Search Form */
.home-search-form {
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

/* Home Search Form - No Slider */
.home-search-form.no-slider {
    margin-top: 0;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.home-search-form .card {
    border-radius: 1rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.home-search-form .card:hover {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.home-search-form .form-select-lg,
.home-search-form .form-control-lg {
    border-radius: 0.5rem;
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.home-search-form .form-select-lg:focus,
.home-search-form .form-control-lg:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
    outline: none;
}

.home-search-form .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    transition: all 0.3s ease;
    padding: 0.75rem 1.5rem;
}

.home-search-form .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

/* Modern Search Form Styles */
.modern-search-form {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 1rem;
}

.search-form-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.search-input-wrapper,
.date-input-wrapper,
.city-input-wrapper {
    position: relative;
    flex: 1;
    min-width: 200px;
}

.search-input-wrapper {
    flex: 2;
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #dc3545;
    font-size: 1.2rem;
    z-index: 2;
}

.search-input,
.date-input,
.city-input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 3rem;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #fff;
    cursor: pointer;
}

.date-input,
.city-input {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.search-input:focus,
.date-input:focus,
.city-input:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
    outline: none;
}

.search-btn {
    background: #dc3545;
    border: none;
    color: #fff;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.search-btn:hover {
    background: #c82333;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.4);
    color: #fff;
}

/* Search Suggestions Dropdown */
.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 2px solid #dee2e6;
    border-top: none;
    border-radius: 0 0 8px 8px;
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.search-suggestions.show {
    display: block;
}

.suggestions-section {
    padding: 0.5rem 0;
}

.suggestions-header {
    background: #dc3545;
    color: #fff;
    padding: 0.5rem 1rem;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.suggestion-item {
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 1px solid #f0f0f0;
}

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

.suggestion-item:hover {
    background: #f8f9fa;
}

.suggestion-item i {
    color: #dc3545;
    font-size: 1.1rem;
}

.suggestion-content {
    flex: 1;
}

.suggestion-title {
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.25rem;
}

.suggestion-subtitle {
    font-size: 0.85rem;
    color: #718096;
}

@media (max-width: 991.98px) {
    .home-search-form {
        margin-top: -30px;
    }
    
    .home-search-form.no-slider {
        margin-top: 0;
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
    
    .modern-search-form {
        padding: 0.75rem;
    }
    
    .search-form-wrapper {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .search-input-wrapper,
    .date-input-wrapper,
    .city-input-wrapper {
        width: 100%;
        min-width: auto;
    }
    
    .search-btn {
        width: 100%;
    }
}

/* ============================================
   TOUR DETAIL PAGE STYLES (.tour-detail-*)
   ============================================ */

/* Hero Banner */
.tour-detail-hero-banner {
    min-height: 500px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%),
                url('https://images.unsplash.com/photo-1520250497591-112f2f6a0b43?w=1920') center/cover;
    position: relative;
    overflow: hidden;
}

.tour-detail-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
}

.tour-detail-hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    animation: tour-detail-particles 20s ease-in-out infinite;
    z-index: 1;
}

@keyframes tour-detail-particles {
    0%, 100% { transform: translateY(0) scale(1); opacity: 1; }
    50% { transform: translateY(-20px) scale(1.1); opacity: 0.8; }
}

.tour-detail-title-modern {
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: tour-detail-fadeInUp 0.8s ease-out;
}

.tour-detail-badge-modern {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: tour-detail-fadeInUp 0.8s ease-out;
}

.tour-detail-badge-modern:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.glass-effect {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.glass-effect-success {
    background: rgba(25, 135, 84, 0.25);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(25, 135, 84, 0.3);
}

.glass-effect-warning {
    background: rgba(255, 193, 7, 0.25);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.glass-effect-primary {
    background: rgba(13, 110, 253, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(13, 110, 253, 0.2);
}

.glass-effect-info {
    background: rgba(13, 202, 240, 0.25);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(13, 202, 240, 0.3);
}

.glass-effect-danger {
    background: rgba(220, 53, 69, 0.25);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(220, 53, 69, 0.3);
}

.tour-detail-badge-large {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.tour-detail-badge-small {
    font-size: 0.75rem;
    font-weight: 600;
}

.tour-detail-btn-hero {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border: none;
    color: white;
    font-weight: 600;
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.tour-detail-btn-hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.tour-detail-btn-hero:hover::before {
    width: 400px;
    height: 400px;
}

.tour-detail-btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(40, 167, 69, 0.5);
}

.tour-detail-hero {
    height: 550px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.tour-detail-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.tour-detail-hero-content {
    position: relative;
    z-index: 2;
}

.tour-detail-gallery-item {
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.tour-detail-gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(102, 126, 234, 0);
    transition: background 0.3s ease;
}

.tour-detail-gallery-item:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.tour-detail-gallery-item:hover::after {
    background: rgba(102, 126, 234, 0.1);
}

.tour-detail-modern-card {
    border: none;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    overflow: hidden;
}

.tour-detail-modern-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.tour-detail-highlight-item,
.tour-detail-include-item,
.tour-detail-exclude-item {
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 0.75rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.tour-detail-highlight-item:hover,
.tour-detail-include-item:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    transform: translateX(8px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.tour-detail-itinerary-day-modern {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    position: relative;
    padding: 1.5rem;
    background: rgba(248, 249, 250, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    border-left: 4px solid;
    border-image: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%) 1;
    transition: all 0.3s ease;
}

.tour-detail-itinerary-day-modern:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    background: rgba(248, 249, 250, 0.8);
}

.tour-detail-day-number {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 6px 20px rgba(13, 110, 253, 0.3);
}

.tour-detail-day-content {
    flex: 1;
}

.tour-program-accordion-btn {
    background: #f8f9fa;
    border: none;
    box-shadow: none;
    padding: 1rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.tour-program-accordion-btn:not(.collapsed) {
    background: #e9ecef;
    color: #0d6efd;
}

.tour-program-accordion-btn:hover {
    background: #e9ecef;
    color: #0d6efd;
}

.tour-program-accordion-btn:focus {
    box-shadow: none;
    border-color: transparent;
}

.tour-program-accordion-btn::after {
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    margin-left: auto;
    content: "";
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-size: 1.25rem;
    transition: transform 0.2s ease-in-out;
}

.tour-program-accordion-btn:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transform: rotate(-180deg);
}

#tourProgramAccordion .accordion-item {
    border-bottom: 1px solid #dee2e6;
}

#tourProgramAccordion .accordion-item:last-child {
    border-bottom: none;
}

#tourProgramAccordion .accordion-body {
    background: #ffffff;
    border-top: 1px solid #e9ecef;
}

.tour-detail-program-header {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    border: none;
    border-radius: 16px 16px 0 0;
}

.tour-detail-chevron {
    transition: transform 0.3s ease;
}

[data-bs-toggle="collapse"][aria-expanded="true"] .tour-detail-chevron {
    transform: rotate(180deg);
}

.tour-detail-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.05) 0%, rgba(13, 110, 253, 0.1) 100%);
    z-index: 1;
    pointer-events: none;
}

.tour-detail-newsletter {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    position: relative;
    overflow: hidden;
}

.tour-detail-newsletter-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    animation: tour-detail-particles 15s ease-in-out infinite;
}

.tour-detail-btn-newsletter {
    background: white;
    color: #dc3545;
    border: none;
    font-weight: 700;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tour-detail-btn-newsletter:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
    background: #f8f9fa;
}

/* Glass Card Effect */
.tour-detail-glass-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: visible !important;
}

.tour-detail-glass-card .card-body {
    overflow: visible !important;
}

.tour-detail-glass-card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

/* Booking Sidebar */
.tour-detail-booking-sidebar {
    position: sticky;
    top: 100px;
}

.tour-detail-total-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: #212529;
    line-height: 1.2;
    letter-spacing: -1px;
}

.tour-detail-main-price-modern {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    letter-spacing: -1px;
}

.tour-detail-currency {
    font-size: 2rem;
    vertical-align: top;
}

/* Date & Participant Select */
.tour-detail-date-select-btn,
.tour-detail-participant-select-btn {
    border: 2px solid #dee2e6;
    background: white;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    color: #212529;
    font-weight: 500;
}

.tour-detail-date-select-btn:hover,
.tour-detail-participant-select-btn:hover {
    border-color: #dc3545;
    background: #fff5f5;
}

.tour-detail-date-select-btn:focus,
.tour-detail-participant-select-btn:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.tour-detail-room-select {
    border: 2px solid #dee2e6;
    background: white;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    width: 100%;
    color: #212529;
    font-weight: 500;
}

.tour-detail-room-select:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
    outline: none;
}

.tour-detail-room-select:hover {
    border-color: #dc3545;
}

.tour-detail-date-dropdown {
    max-height: 400px;
    overflow-y: auto;
    overflow-x: visible;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    position: absolute !important;
    z-index: 9999 !important;
    width: 100% !important;
    top: 100% !important;
    left: 0 !important;
    margin-top: 0.25rem !important;
    background: white !important;
    display: none !important;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease;
}

.tour-detail-date-select-wrapper.show-dropdown .tour-detail-date-dropdown,
.tour-detail-date-dropdown.show {
    display: block !important;
    opacity: 1;
    visibility: visible;
}

.tour-detail-date-select-wrapper {
    position: relative;
    overflow: visible !important;
}

/* Ensure parent containers don't clip the dropdown */
.tour-detail-booking-sidebar,
.tour-detail-booking-sidebar .card,
.tour-detail-booking-sidebar .card-body,
.tour-detail-booking-sidebar .card-body > div {
    overflow: visible !important;
}

/* Mobile: Ensure dropdown is visible */
@media (max-width: 991.98px) {
    .tour-detail-date-dropdown {
        position: fixed !important;
        top: auto !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: calc(100vw - 2rem) !important;
        max-width: 400px !important;
        z-index: 9999 !important;
    }
}

.tour-detail-date-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    transition: all 0.2s ease;
}

.tour-detail-date-item:hover {
    background: #f8f9fa;
}

.tour-detail-date-item.active {
    background: #dc3545;
    color: #ffffff;
    font-weight: 600;
}

.tour-detail-date-item.active .tour-detail-favorite-date-btn {
    border-color: #ffffff;
    color: #ffffff;
}

.tour-detail-date-item.active .tour-detail-favorite-date-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.tour-detail-favorite-date-btn {
    border: 1px solid #0d6efd;
    color: #0d6efd;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.tour-detail-favorite-date-btn:hover {
    background: #0d6efd;
    color: white;
}

.tour-detail-favorite-date-btn.active {
    background: #0d6efd;
    color: white;
}

.tour-detail-favorite-date-btn.active i {
    fill: white;
}

.tour-detail-participant-dropdown {
    border: 2px solid #dee2e6;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    min-width: 100%;
    overflow: hidden;
    position: absolute !important;
    z-index: 1055 !important;
}

.tour-detail-participant-dropdown.show {
    display: block !important;
}

/* Mobile: Dropdown should be visible */
@media (max-width: 991.98px) {
    .tour-detail-participant-select-wrapper {
        position: relative;
        overflow: visible !important;
    }
    
    .tour-detail-participant-dropdown {
        max-width: calc(100vw - 2rem);
        width: calc(100vw - 2rem) !important;
        max-height: 70vh;
        overflow-y: auto;
        z-index: 1055 !important;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3) !important;
    }
    
    .tour-detail-participant-dropdown.show {
        display: block !important;
    }
}

.tour-detail-participant-summary {
    background: #495057 !important;
    font-weight: 500;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tour-detail-counter-btn {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.2s ease;
}

.tour-detail-counter-btn:hover {
    background: #dc3545;
    border-color: #dc3545;
    color: white;
    transform: scale(1.1);
}

.tour-detail-counter-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.tour-detail-favorite-btn {
    border: 2px solid #dc3545;
    color: #dc3545;
    background: white;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tour-detail-favorite-btn:hover,
.tour-detail-favorite-btn.active {
    background: #dc3545;
    color: white;
    transform: scale(1.1);
}

.tour-detail-favorite-btn i {
    font-size: 1.2rem;
}

.tour-detail-btn-reservation {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    border: none;
    color: white;
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.tour-detail-btn-reservation::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.tour-detail-btn-reservation:hover::before {
    width: 400px;
    height: 400px;
}

.tour-detail-btn-reservation:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(220, 53, 69, 0.5);
}

.tour-detail-contact-box-modern {
    border-top: 1px solid #dee2e6;
    padding-top: 1rem;
    margin-top: 1rem;
}

.tour-detail-contact-item {
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.5);
}

.tour-detail-contact-item:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: translateX(5px);
}

.tour-detail-contact-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    border-radius: 10px;
    font-size: 1.1rem;
}

.tour-detail-map-container-modern {
    border-radius: 16px;
    overflow: hidden;
}

.tour-detail-map-placeholder-modern {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.tour-detail-map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.05) 0%, rgba(13, 110, 253, 0.1) 100%);
    z-index: 1;
}

.tour-detail-map-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    color: white;
    border-radius: 50%;
    font-size: 2rem;
    box-shadow: 0 8px 25px rgba(13, 110, 253, 0.3);
}

.tour-other-card-minimal {
    background: #ffffff;
    border: 1px solid #e9ecef;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tour-other-card-minimal:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12) !important;
    border-color: #dee2e6;
}

.tour-other-card-minimal:hover img {
    transform: scale(1.05);
}

.tour-other-card-minimal .btn-success {
    background-color: #198754;
    border-color: #198754;
    transition: all 0.3s ease;
}

.tour-other-card-minimal .btn-success:hover {
    background-color: #157347;
    border-color: #146c43;
    transform: translateX(3px);
}

.tour-other-card-modern {
    background: #ffffff;
    border: 1px solid #e9ecef;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tour-other-card-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1) !important;
    border-color: #dee2e6;
}

.tour-other-card-modern .btn-success {
    background-color: #198754;
    border-color: #198754;
    transition: all 0.3s ease;
}

.tour-other-card-modern .btn-success:hover {
    background-color: #157347;
    border-color: #146c43;
    transform: translateX(3px);
}

.tour-detail-other-tour-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(222, 226, 230, 0.5);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tour-detail-other-tour-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
    border-color: rgba(25, 135, 84, 0.3);
}

.tour-detail-other-price {
    font-size: 1.25rem;
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tour-detail-btn-other {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border: none;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
}

.tour-detail-btn-other:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

.tour-detail-price-card {
    position: sticky;
    top: 100px;
}

.tour-detail-booking-form {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 249, 250, 0.95) 100%);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.tour-detail-price-badge {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.tour-detail-btn-modern {
    border-radius: 12px;
    padding: 0.875rem 2rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.tour-detail-btn-modern::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.tour-detail-btn-modern:hover::before {
    width: 300px;
    height: 300px;
}

.tour-detail-btn-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.tour-detail-review-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.tour-detail-review-card:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.tour-detail-breadcrumb-modern {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    display: inline-block;
}

.tour-detail-breadcrumb-modern .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
}

.tour-detail-breadcrumb-modern .breadcrumb-item a:hover {
    color: white;
}

.tour-detail-stat-badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.tour-detail-section-title {
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

.tour-detail-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

@keyframes tour-detail-fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tour-detail-animate-fade-in-up {
    animation: tour-detail-fadeInUp 0.6s ease-out;
}

.tour-detail-animate-delay-1 {
    animation-delay: 0.1s;
}

.tour-detail-animate-delay-2 {
    animation-delay: 0.2s;
}

.tour-detail-animate-delay-3 {
    animation-delay: 0.3s;
}

/* Tabs */
.tour-detail-tabs-modern {
    border-bottom: 2px solid rgba(222, 226, 230, 0.5);
    background: rgba(248, 249, 250, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    margin-bottom: 0;
}

.tour-detail-tabs-modern .nav-link {
    border: none;
    border-bottom: 3px solid transparent;
    color: #6c757d;
    font-weight: 600;
    padding: 1rem 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    cursor: pointer;
    background: transparent;
}

.tour-detail-tabs-modern .nav-link:focus {
    outline: none;
    box-shadow: none;
}

.tour-detail-tabs-modern .nav-link::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 3px;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    transition: transform 0.3s ease;
}

.tour-detail-tabs-modern .nav-link:hover {
    color: #dc3545;
    background: rgba(220, 53, 69, 0.05);
    border-color: transparent;
}

.tour-detail-tabs-modern .nav-link:hover::before {
    transform: translateX(-50%) scaleX(1);
}

.tour-detail-tabs-modern .nav-link.active {
    color: #dc3545;
    background: rgba(220, 53, 69, 0.1);
    border-color: transparent;
}

.tour-detail-tabs-modern .nav-link.active::before {
    transform: translateX(-50%) scaleX(1);
}

.tour-detail-tabs-modern .nav-link[aria-selected="true"] {
    color: #dc3545;
    background: rgba(220, 53, 69, 0.1);
}

.tab-content {
    min-height: 200px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.tab-pane.fade {
    opacity: 0;
    transition: opacity 0.15s linear;
}

.tab-pane.fade.show {
    opacity: 1;
}

/* Gallery Carousel */
.tour-detail-gallery-carousel {
    border-radius: 16px;
    overflow: hidden;
}

.tour-detail-gallery-slide-img {
    height: 500px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.tour-detail-gallery-carousel:hover .tour-detail-gallery-slide-img {
    transform: scale(1.05);
}

.tour-detail-gallery-control {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    opacity: 0.8;
    transition: all 0.3s ease;
    top: 50%;
    transform: translateY(-50%);
}

.tour-detail-gallery-control:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.1);
}

.tour-detail-gallery-control .carousel-control-prev-icon,
.tour-detail-gallery-control .carousel-control-next-icon {
    filter: invert(1);
    width: 20px;
    height: 20px;
}

.tour-detail-gallery-carousel .carousel-indicators {
    margin-bottom: 1rem;
}

.tour-detail-gallery-carousel .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.tour-detail-gallery-carousel .carousel-indicators button.active {
    background: #fff;
    width: 30px;
    border-radius: 6px;
}

.tour-detail-gallery-caption {
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0;
}

.tour-detail-gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, transparent 100%);
    pointer-events: none;
}

@media (max-width: 767.98px) {
    .tour-detail-gallery-slide-img {
        height: 300px;
    }
    
    .tour-detail-gallery-control {
        width: 40px;
        height: 40px;
    }
    
    .tour-detail-gallery-control .carousel-control-prev-icon,
    .tour-detail-gallery-control .carousel-control-next-icon {
        width: 16px;
        height: 16px;
    }
}

.tour-detail-subtitle {
    background: linear-gradient(135deg, #212529 0%, #495057 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tour-detail-region-badge {
    transition: all 0.3s ease;
    cursor: default;
}

.tour-detail-region-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.tour-detail-place-item {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(222, 226, 230, 0.5);
}

.tour-detail-place-item:hover {
    transform: translateX(10px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    border-color: rgba(25, 135, 84, 0.3);
}

/* Table Styles */
.tour-detail-tabs + .tab-content .table {
    margin-bottom: 0;
}

.tour-detail-tabs + .tab-content .table th {
    background-color: #f8f9fa;
    font-weight: 600;
    border-bottom: 2px solid #dee2e6;
}

.tour-detail-tabs + .tab-content .table td {
    vertical-align: middle;
}

/* Responsive */
@media (max-width: 991.98px) {
    .tour-detail-booking-sidebar {
        position: static;
        margin-bottom: 2rem;
    }
    
    .tour-detail-main-price-modern {
        font-size: 2.5rem;
    }
    
    .tour-detail-currency {
        font-size: 1.5rem;
    }
    
    .tour-detail-hero-banner {
        min-height: 400px;
    }
    
    .tour-detail-itinerary-day-modern {
        flex-direction: column;
        text-align: center;
    }
    
    .tour-detail-day-number {
        margin: 0 auto;
    }
}

/* ============================================
   HOTEL DETAIL PAGE STYLES (.hotel-detail-*)
   ============================================ */

/* Hero Banner */
.hotel-detail-hero-banner {
    min-height: 500px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%),
                url('https://images.unsplash.com/photo-1566073771259-6a8506099945?w=1920') center/cover;
    position: relative;
    overflow: hidden;
}

.hotel-detail-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.3) 0%, rgba(118, 75, 162, 0.3) 100%);
    z-index: 1;
}

.hotel-detail-hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    z-index: 1;
    animation: hotel-detail-particles 20s ease-in-out infinite;
}

@keyframes hotel-detail-particles {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.hotel-detail-badge-modern {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hotel-detail-title-modern {
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.hotel-detail-btn-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.hotel-detail-btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(102, 126, 234, 0.6);
    color: white;
}

/* Glass Card */
.hotel-detail-glass-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Booking Sidebar */
.hotel-detail-booking-sidebar {
    position: sticky;
    top: 100px;
}

.hotel-detail-total-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.hotel-detail-date-input,
.hotel-detail-room-select {
    border-radius: 8px;
    border: 2px solid #dee2e6;
    transition: all 0.3s ease;
}

.hotel-detail-date-input:focus,
.hotel-detail-room-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

/* Guest Selection */
.hotel-detail-guest-select-btn {
    padding: 0.75rem 1rem;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    background: white;
    transition: all 0.3s ease;
}

.hotel-detail-guest-select-btn:hover {
    border-color: var(--primary-color);
}

.hotel-detail-guest-dropdown {
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border: none;
    overflow: hidden;
}

.hotel-detail-guest-summary {
    font-weight: 600;
}

.hotel-detail-counter-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hotel-detail-counter-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Buttons */
.hotel-detail-btn-reservation {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.hotel-detail-btn-reservation:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    color: white;
}

.hotel-detail-favorite-btn {
    border: 2px solid #dee2e6;
    background: white;
    color: #6c757d;
    transition: all 0.3s ease;
}

.hotel-detail-favorite-btn:hover {
    border-color: #dc3545;
    background: #dc3545;
    color: white;
}

/* Contact Box */
.hotel-detail-contact-box-modern {
    background: rgba(248, 249, 250, 0.8);
    border-radius: 12px;
    padding: 1rem;
}

/* Gallery */
.hotel-detail-gallery-carousel {
    border-radius: 16px;
    overflow: hidden;
}

.hotel-detail-gallery-slide-img {
    height: 500px;
    object-fit: cover;
}

.hotel-detail-gallery-control {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.hotel-detail-gallery-control:hover {
    opacity: 1;
}

/* Tabs */
.hotel-detail-tabs-modern {
    border-bottom: 2px solid #dee2e6;
    background: rgba(248, 249, 250, 0.5);
    padding: 0.5rem 1rem 0;
}

.hotel-detail-tabs-modern .nav-link {
    border: none;
    border-bottom: 3px solid transparent;
    color: #6c757d;
    font-weight: 600;
    padding: 1rem 1.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    background: transparent;
}

.hotel-detail-tabs-modern .nav-link:hover {
    color: var(--primary-color);
    border-bottom-color: rgba(102, 126, 234, 0.3);
}

.hotel-detail-tabs-modern .nav-link.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    background: transparent;
}

.hotel-detail-tabs-modern .nav-link:focus {
    outline: none;
    box-shadow: none;
}

.hotel-detail-tabs-modern + .tab-content .tab-pane {
    display: none;
}

.hotel-detail-tabs-modern + .tab-content .tab-pane.show {
    display: block;
}

.hotel-detail-tabs-modern + .tab-content .tab-pane.active {
    display: block;
}

.hotel-detail-subtitle {
    background: linear-gradient(135deg, #212529 0%, #495057 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Feature Items */
.hotel-detail-feature-item {
    transition: all 0.3s ease;
}

.hotel-detail-feature-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color) !important;
}

/* Map */
.hotel-detail-map-container-modern {
    border-radius: 12px;
    overflow: hidden;
    height: 300px;
}

.hotel-detail-map-placeholder-modern {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hotel-detail-map-overlay {
    text-align: center;
    z-index: 1;
}

.hotel-detail-map-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 991.98px) {
    .hotel-detail-booking-sidebar {
        position: static;
        margin-bottom: 2rem;
    }
    
    .hotel-detail-total-price {
        font-size: 2rem;
    }
    
    .hotel-detail-hero-banner {
        min-height: 400px;
    }
    
    .hotel-detail-gallery-slide-img {
        height: 300px;
    }
}

/* ============================================
   HOTELS LISTING PAGE STYLES (.hotels-*)
   ============================================ */

/* Hero Section */
.hotels-hero {
    min-height: 300px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%),
                url('https://images.unsplash.com/photo-1566073771259-6a8506099945?w=1920') center/cover;
    position: relative;
    overflow: hidden;
}

.hotels-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.3) 0%, rgba(118, 75, 162, 0.3) 100%);
    z-index: 1;
}

/* Filter Card */
.hotels-filter-card {
    border-radius: 16px;
    overflow: hidden;
}

.hotels-filter-card .card-header {
    border-radius: 0;
    padding: 1.25rem;
}

.hotels-filter-select,
.hotels-filter-input {
    border-radius: 8px;
    border: 2px solid #dee2e6;
    transition: all 0.3s ease;
}

.hotels-filter-select:focus,
.hotels-filter-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.hotels-filter-checkboxes .form-check {
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.hotels-filter-checkboxes .form-check:hover {
    background: rgba(102, 126, 234, 0.05);
}

.hotels-filter-checkboxes .form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.hotels-filter-checkboxes .form-check-input[type="radio"]:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.hotels-sort-select {
    border-radius: 8px;
    border: 2px solid #dee2e6;
    min-width: 200px;
    transition: all 0.3s ease;
}

.hotels-sort-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

/* Hotel Cards */
.hotels-hotel-card {
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.hotels-hotel-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.hotels-hotel-image {
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hotels-hotel-card:hover .hotels-hotel-image {
    transform: scale(1.1);
}

.hotels-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hotels-hotel-card:hover .hotels-image-overlay {
    opacity: 1;
}

.hotels-featured-badge,
.hotels-discount-badge {
    font-size: 0.85rem;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    font-weight: 600;
    z-index: 2;
}

.hotels-hotel-title {
    font-size: 1.1rem;
    line-height: 1.4;
    min-height: 3rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hotels-empty-card {
    background: rgba(248, 249, 250, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 2px dashed #dee2e6;
}

/* Responsive */
@media (max-width: 991.98px) {
    .hotels-filter-card {
        position: static !important;
        margin-bottom: 2rem;
    }
    
    .hotels-hotel-image {
        height: 200px;
    }
    
    .hotels-sort-select {
        min-width: 150px;
    }
}

/* ============================================
   BLOG LISTING PAGE STYLES (.blog-*)
   ============================================ */

/* Hero Section */
.blog-hero {
    min-height: 300px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%),
                url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=1920') center/cover;
    position: relative;
    overflow: hidden;
}

.blog-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.3) 0%, rgba(118, 75, 162, 0.3) 100%);
    z-index: 1;
}

/* Filter Card */
.blog-filter-card {
    border-radius: 16px;
    overflow: hidden;
}

.blog-filter-card .card-header {
    border-radius: 0;
    padding: 1.25rem;
}

.blog-filter-card .list-group-item {
    border: none;
    border-bottom: 1px solid #f0f0f0;
    padding: 1rem 1.25rem;
    transition: all 0.2s ease;
    cursor: pointer;
}

.blog-filter-card .list-group-item:last-child {
    border-bottom: none;
}

.blog-filter-card .list-group-item:hover {
    background-color: #f8f9fa;
    padding-left: 1.5rem;
}

.blog-filter-card .list-group-item.active {
    background-color: #dc3545;
    color: #ffffff;
    font-weight: 600;
}

.blog-filter-card .list-group-item.active .badge {
    background-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

.blog-filter-card .list-group-item.active .text-muted {
    color: rgba(255, 255, 255, 0.8) !important;
}

.blog-filter-card .list-group-item i {
    transition: transform 0.2s ease;
}

.blog-filter-card .list-group-item:hover i {
    transform: scale(1.1);
}

/* Blog Category Treeview Styles */
.blog-category-tree {
    padding: 0;
    list-style: none;
    max-height: 350px;
    overflow-y: auto;
    overflow-x: hidden;
}

/* Custom scrollbar for category tree */
.blog-category-tree::-webkit-scrollbar {
    width: 6px;
}

.blog-category-tree::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.blog-category-tree::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.blog-category-tree::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

.blog-category-item-wrapper {
    border-bottom: 1px solid #f0f0f0;
    margin: 0;
}

.blog-category-item-wrapper:last-child {
    border-bottom: none;
}

.blog-category-item {
    padding: 0.5rem 0.875rem;
    transition: all 0.2s ease;
    position: relative;
    display: block;
    width: 100%;
    border: none;
    font-size: 0.875rem;
}

.blog-category-item-wrapper[data-level="0"] .blog-category-item {
    padding-left: 0.875rem;
}

.blog-category-item-wrapper[data-level="1"] .blog-category-item {
    padding-left: 2rem;
    background-color: #f8f9fa;
}

.blog-category-item-wrapper[data-level="2"] .blog-category-item {
    padding-left: 3.25rem;
    background-color: #f1f3f5;
}

.blog-category-item-wrapper[data-level="3"] .blog-category-item {
    padding-left: 4.5rem;
    background-color: #e9ecef;
}

.blog-category-item:hover {
    background-color: #e9ecef !important;
}

.blog-category-item.active {
    background-color: #dc3545 !important;
    color: #ffffff;
    font-weight: 500;
}

.blog-category-item.active a {
    color: #ffffff !important;
}

.blog-category-item.active .badge {
    background-color: rgba(255, 255, 255, 0.3) !important;
    color: #ffffff;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
}

.blog-category-item a {
    text-decoration: none;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    flex-grow: 1;
    padding: 0;
    margin: 0;
    font-size: 0.875rem;
}

.blog-category-item.active a {
    color: #ffffff !important;
}

.blog-category-item .d-flex {
    width: 100%;
}

.blog-category-item a i {
    font-size: 0.875rem;
}

.blog-category-toggle {
    background: none;
    border: none;
    padding: 0;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-dark);
    flex-shrink: 0;
    margin-right: 0.375rem;
}

.blog-category-toggle:hover {
    color: var(--primary-color);
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 4px;
}

.blog-category-toggle i {
    transition: transform 0.3s ease;
    font-size: 0.75rem;
}

.blog-category-toggle[aria-expanded="true"] i {
    transform: rotate(90deg);
}

.blog-category-spacer {
    width: 20px;
    display: inline-block;
    flex-shrink: 0;
    margin-right: 0.375rem;
}

.blog-category-children {
    background-color: #fafafa;
}

.blog-category-children .blog-category-item-wrapper {
    border-bottom: 1px solid #e9ecef;
}

.blog-category-children .blog-category-item-wrapper:last-child {
    border-bottom: none;
}

.blog-category-root {
    display: block;
    padding: 0.5rem 0.875rem;
    border-bottom: 1px solid #f0f0f0;
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.2s ease;
    font-size: 0.875rem;
}

.blog-category-root:hover {
    background-color: #f8f9fa;
    padding-left: 1.125rem;
    color: var(--text-dark);
}

.blog-category-root.active {
    background-color: #dc3545;
    color: #ffffff;
    font-weight: 500;
}

.blog-category-root i {
    font-size: 0.875rem;
}

.blog-filter-select,
.blog-sort-select {
    border-radius: 8px;
    border: 2px solid #dee2e6;
    transition: all 0.3s ease;
}

.blog-filter-select:focus,
.blog-sort-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.blog-sort-select {
    min-width: 200px;
}

/* Post Cards */
.blog-post-card,
.blog-featured-card {
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.blog-post-card:hover,
.blog-featured-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.blog-post-image,
.blog-featured-image {
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-post-card:hover .blog-post-image,
.blog-featured-card:hover .blog-featured-image {
    transform: scale(1.1);
}

.blog-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.blog-post-card:hover .blog-image-overlay,
.blog-featured-card:hover .blog-image-overlay {
    opacity: 1;
}

.blog-featured-badge {
    font-size: 0.85rem;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    font-weight: 600;
    z-index: 2;
}

.blog-post-title {
    font-size: 1.1rem;
    line-height: 1.4;
    min-height: 3rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-post-title a:hover {
    color: var(--primary-color) !important;
}

.blog-empty-card {
    background: rgba(248, 249, 250, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 2px dashed #dee2e6;
}

/* Responsive */
@media (max-width: 991.98px) {
    .blog-filter-card {
        position: static !important;
        margin-bottom: 2rem;
    }
    
    .blog-post-image,
    .blog-featured-image {
        height: 200px;
    }
    
    .blog-sort-select {
        min-width: 150px;
    }
}

/* ============================================
   BLOG DETAIL PAGE STYLES (.blog-detail-*)
   ============================================ */

/* Hero Banner */
.blog-detail-hero-banner {
    min-height: 400px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%),
                url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=1920') center/cover;
    position: relative;
    overflow: hidden;
}

.blog-detail-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.3) 0%, rgba(118, 75, 162, 0.3) 100%);
    z-index: 1;
}

.blog-detail-badge-modern {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.blog-detail-title-modern {
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

/* Glass Card */
.blog-detail-glass-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Featured Image */
.blog-detail-featured-image {
    height: 500px;
    object-fit: cover;
    width: 100%;
}

/* Content */
.blog-detail-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #495057;
}

.blog-detail-content h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #212529;
}

.blog-detail-content p {
    margin-bottom: 1.5rem;
}

.blog-detail-subtitle {
    background: linear-gradient(135deg, #212529 0%, #495057 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Sidebar */
.blog-detail-glass-card .list-group-item {
    border: none;
    padding: 1rem;
    transition: all 0.3s ease;
}

.blog-detail-glass-card .list-group-item:hover {
    background: rgba(102, 126, 234, 0.05);
    transform: translateX(5px);
}

.blog-detail-glass-card .list-group-item a {
    color: #495057;
    transition: color 0.3s ease;
}

.blog-detail-glass-card .list-group-item:hover a {
    color: var(--primary-color);
}

.blog-detail-glass-card .list-group-item:hover i {
    color: var(--primary-color);
}

/* Responsive */
@media (max-width: 991.98px) {
    .blog-detail-hero-banner {
        min-height: 300px;
    }
    
    .blog-detail-featured-image {
        height: 300px;
    }
}

/* ============================================
   TOUR CALENDAR PAGE STYLES (.tour-calendar-*)
   ============================================ */

.tour-calendar-hero {
    min-height: 400px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.4) 100%),
                url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=1920') center/cover;
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
    border-radius: 0 0 24px 24px;
}

.tour-calendar-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
    z-index: 1;
}

.tour-calendar-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.tour-calendar-hero .lead {
    font-size: 1.25rem;
    font-weight: 400;
    opacity: 0.95;
}

.tour-card-date-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    padding: 0.75rem 1rem;
    border-radius: 14px;
    z-index: 5;
    min-width: 170px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(4px);
}

.tour-card-date-label {
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.2rem;
}

.tour-card-date-value {
    font-size: 1.05rem;
    font-weight: 600;
}

.tour-card-date-range {
    display: block;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 0.15rem;
}

@media (max-width: 767.98px) {
    .tour-card-date-badge {
        min-width: 120px;
        max-width: 45%;
        top: 0.5rem;
        left: 0.5rem;
        padding: 0.5rem 0.65rem;
        box-sizing: border-box;
    }
    
    .tour-card-date-label {
        font-size: 0.6rem;
        padding: 0.25rem 0.5rem;
        white-space: nowrap;
        margin-bottom: 0.35rem;
    }
    
    .tour-card-date-value {
        font-size: 0.85rem;
        word-break: break-word;
        line-height: 1.3;
    }
    
    .home-tour-card .card-img-top {
        height: 200px !important;
    }
}

@media (max-width: 768px) {
    .tour-calendar-hero {
        min-height: 300px;
        border-radius: 0 0 16px 16px;
    }
    
    .tour-calendar-hero h1 {
        font-size: 2rem;
    }
    
    .tour-calendar-hero .lead {
        font-size: 1rem;
    }
}

.tour-calendar-filter-card,
.tour-calendar-month-card,
.tour-calendar-legend-card {
    border-radius: 16px;
    overflow: hidden;
}

.tour-calendar-tour-card {
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 2px solid #dee2e6;
}

.tour-calendar-tour-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.tour-calendar-unavailable {
    opacity: 0.7;
    background: #f8f9fa;
}

.tour-calendar-tour-title {
    font-size: 0.95rem;
    line-height: 1.4;
    min-height: 2.8rem;
}

/* ============================================
   CONTACT PAGE STYLES (.contact-*)
   ============================================ */

.contact-hero {
    min-height: 300px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%),
                url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=1920') center/cover;
    position: relative;
    overflow: hidden;
}

.contact-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.3) 0%, rgba(118, 75, 162, 0.3) 100%);
    z-index: 1;
}

.contact-info-card,
.contact-form-card,
.contact-map-card {
    border-radius: 16px;
}

.contact-section-title {
    background: linear-gradient(135deg, #212529 0%, #495057 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-info-item {
    display: flex;
    gap: 1rem;
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 12px;
    color: var(--primary-color);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-info-content h6 {
    color: #212529;
}

.contact-social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 8px;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-social-link:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateY(-3px);
}

.contact-form-input {
    border-radius: 8px;
    border: 2px solid #dee2e6;
    transition: all 0.3s ease;
}

.contact-form-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.contact-btn-submit {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    font-weight: 600;
    padding: 0.75rem 2rem;
    transition: all 0.3s ease;
}

.contact-btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    color: white;
}

.contact-map-container {
    border-radius: 16px;
    overflow: hidden;
    height: 400px;
}

.contact-map-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-map-overlay {
    text-align: center;
    z-index: 1;
}

.contact-map-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* ============================================
   CORPORATE PAGE STYLES (.corporate-*)
   ============================================ */

.corporate-hero {
    min-height: 300px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%),
                url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=1920') center/cover;
    position: relative;
    overflow: hidden;
}

.corporate-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.3) 0%, rgba(118, 75, 162, 0.3) 100%);
    z-index: 1;
}

.corporate-content-card {
    border-radius: 16px;
}

.corporate-section-title {
    background: linear-gradient(135deg, #212529 0%, #495057 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.corporate-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.corporate-stat-item {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 12px;
    transition: all 0.3s ease;
}

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

.corporate-stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.corporate-stat-label {
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 500;
}

.corporate-icon-wrapper {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    color: white;
    font-size: 1.5rem;
}

.corporate-value-item {
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.corporate-value-item:hover {
    transform: translateY(-5px);
}

.corporate-value-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 2rem;
    margin: 0 auto;
}

.corporate-team-card {
    padding: 1rem;
    transition: all 0.3s ease;
}

.corporate-team-card:hover {
    transform: translateY(-5px);
}

.corporate-team-image img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border: 4px solid rgba(102, 126, 234, 0.2);
    transition: all 0.3s ease;
}

.corporate-team-card:hover .corporate-team-image img {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 767.98px) {
    .corporate-stats-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   TOURS LISTING PAGE STYLES (.tours-*)
   ============================================ */

/* Hero Section */
.tours-hero {
    min-height: 300px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%),
                url('https://images.unsplash.com/photo-1520250497591-112f2f6a0b43?w=1920') center/cover;
    position: relative;
    overflow: hidden;
}

.tours-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.3) 0%, rgba(118, 75, 162, 0.3) 100%);
    z-index: 1;
}

/* Filter Card */
/* Modern Filter Card */
.tours-filter-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

.tours-filter-card:hover {
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.12);
}

.tours-filter-header {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: #ffffff;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    font-size: 1.1rem;
}

.tours-filter-header i {
    font-size: 1.25rem;
}

.tours-filter-body {
    padding: 1.5rem;
}

.tours-filter-group {
    margin-bottom: 1.75rem;
}

.tours-filter-group:last-of-type {
    margin-bottom: 0;
}

.tours-filter-label {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    color: #1f2937;
    font-size: 0.95rem;
}

.tours-filter-label i {
    color: var(--primary-color, #3b82f6);
    font-size: 1.1rem;
}

.tours-filter-select,
.tours-filter-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    background: #ffffff;
    color: #1f2937;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 12px;
    padding-right: 2.5rem;
}

.tours-filter-select:focus,
.tours-filter-input:focus {
    outline: none;
    border-color: var(--primary-color, #3b82f6);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.tours-filter-price-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.tours-filter-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.tours-filter-checkbox-item {
    display: flex;
    align-items: center;
    padding: 0.5rem;
    border-radius: 10px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.tours-filter-checkbox-item:hover {
    background: rgba(59, 130, 246, 0.05);
}

.tours-filter-checkbox {
    width: 20px;
    height: 20px;
    margin: 0;
    margin-right: 0.75rem;
    cursor: pointer;
    accent-color: var(--primary-color, #3b82f6);
    border-radius: 4px;
}

.tours-filter-checkbox-label {
    margin: 0;
    cursor: pointer;
    color: #374151;
    font-size: 0.95rem;
    user-select: none;
}

.tours-filter-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.tours-filter-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.tours-filter-btn-primary {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.tours-filter-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
    color: #ffffff;
}

.tours-filter-btn-clear {
    background: #ffffff;
    color: #6b7280;
    border: 2px solid #e5e7eb;
}

.tours-filter-btn-clear:hover {
    background: #f9fafb;
    border-color: #d1d5db;
    color: #374151;
}

.tours-sort-select {
    border-radius: 8px;
    border: 2px solid #dee2e6;
    min-width: 200px;
    transition: all 0.3s ease;
}

.tours-sort-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

/* Tour Cards */
.tours-tour-card {
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.tours-tour-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.tours-tour-image {
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.tours-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tours-tour-card:hover .tours-image-overlay {
    opacity: 1;
}

.tours-featured-badge,
.tours-discount-badge {
    font-size: 0.85rem;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    font-weight: 600;
    z-index: 2;
}

/* List View Styles */
.tours-list-item {
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.tours-list-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.tours-list-item .row {
    min-height: 250px;
}

.tours-list-item .col-md-4 {
    overflow: hidden;
}

.tours-list-image {
    width: 100%;
    height: 100%;
    min-height: 250px;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.3s ease;
}

.tours-list-item:hover .tours-list-image {
    transform: scale(1.05);
}

/* Compact View Styles */
.tours-compact-card {
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    min-height: 280px;
}

.tours-compact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.tours-compact-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.tours-compact-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.3s ease;
}

.tours-compact-card:hover .tours-compact-image {
    transform: scale(1.05);
}

.tours-compact-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.7) 100%);
    z-index: 1;
}

.tours-compact-content {
    z-index: 2;
}

/* Grid 2 Column - Desktop */
@media (min-width: 992px) {
    .tours-layout-grid-2 .tours-tour-card-wrapper {
        flex: 0 0 auto;
        width: 50%;
    }
}

/* Grid 3 Column - Desktop */
@media (min-width: 992px) {
    .tours-layout-grid-3 .tours-tour-card-wrapper {
        flex: 0 0 auto;
        width: 33.333333%;
    }
}

/* Grid 4 Column - Desktop */
@media (min-width: 992px) {
    .tours-layout-grid-4 .tours-tour-card-wrapper {
        flex: 0 0 auto;
        width: 25%;
    }
}

.tours-tour-title {
    font-size: 1.1rem;
    line-height: 1.4;
    min-height: 3rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tours-empty-card {
    background: rgba(248, 249, 250, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 2px dashed #dee2e6;
}

/* Responsive */
@media (max-width: 991.98px) {
    .tours-filter-card {
        position: static !important;
        margin-bottom: 2rem;
        border-radius: 16px;
    }
    
    .tours-filter-header {
        padding: 1.25rem;
    }
    
    .tours-filter-body {
        padding: 1.25rem;
    }
    
    .tours-filter-group {
        margin-bottom: 1.5rem;
    }
    
    .tours-tour-image {
        height: 200px;
    }
    
    .tours-sort-select {
        min-width: 150px;
    }
}

@media (max-width: 767.98px) {
    .tours-list-item .row {
        flex-direction: column;
        min-height: auto;
    }
    .tours-list-item .col-md-4 {
        height: 200px;
    }
    .tours-list-image {
        height: 200px;
        min-height: 200px;
    }
    .tours-compact-card {
        min-height: 240px;
    }
}

/* ============================================
   AUTH PAGES STYLES (.auth-*)
   ============================================ */

.auth-container {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
}

.auth-card {
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: none;
    transition: all 0.3s ease;
}

.auth-card:hover {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.auth-form-control {
    border-radius: 12px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.auth-form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.auth-btn-submit {
    border-radius: 12px;
    padding: 0.875rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.auth-btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

/* ============================================
   DASHBOARD PAGE STYLES (.dashboard-*)
   ============================================ */

.dashboard-card {
    border-radius: 16px;
    border: none;
    transition: all 0.3s ease;
}

.dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.dashboard-stat-card {
    border-radius: 16px;
    transition: all 0.3s ease;
}

.dashboard-stat-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.dashboard-table {
    border-radius: 12px;
    overflow: hidden;
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */

@media (max-width: 768px) {
    .home-hero-slide {
        min-height: 400px !important;
    }
    
    .display-3 {
        font-size: 2rem;
    }
    
    .lead {
        font-size: 1rem;
    }
    
    .topbar .d-flex {
        flex-direction: column;
        gap: 0.5rem !important;
    }
    
    .topbar .text-md-end {
        text-align: left !important;
    }
    
    .tour-detail-hero {
        height: 400px;
    }
    
    .tour-detail-price-card {
        position: relative;
        top: 0;
    }
}

/* ======== Tour Calendar Redesign ======== */
.tour-calendar-page {
    background: #f7f8fb;
}


.calendar-type-tabs {
    display: flex;
    gap: 12px;
    padding: 10px;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
    flex-wrap: nowrap;
    align-items: center;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.calendar-type-tabs::-webkit-scrollbar {
    display: none;
}

.calendar-type-tab {
    padding: 10px 24px;
    border-radius: 999px;
    font-weight: 600;
    color: #1f1f39;
    text-decoration: none;
    transition: all 0.2s ease;
    background: #ffffff;
    border: 1px solid #e4e7ec;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    text-align: center;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    flex-shrink: 0;
}

.calendar-type-tab:hover {
    background: #f8f9fa;
    border-color: #3b82f6;
    color: #3b82f6;
    box-shadow: 0 4px 8px rgba(59, 130, 246, 0.15);
}

.calendar-type-tab.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.calendar-month-bar {
    display: flex;
    align-items: center;
    gap: 12px;
}

.calendar-month-nav {
    border: none;
    background: #fff;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    box-shadow: 0 5px 20px rgba(15, 23, 42, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1f1f39;
}

.calendar-months {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 6px;
}

.calendar-months::-webkit-scrollbar {
    display: none;
}

.calendar-month-pill {
    padding: 10px 20px;
    border-radius: 999px;
    white-space: nowrap;
    border: 1px solid #e4e7ec;
    background: #fff;
    color: #1f1f39;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.calendar-month-pill.active {
    background: #13183f;
    color: #fff;
    border-color: #13183f;
}

.tour-calendar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.tour-calendar-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
    display: flex;
    flex-direction: column;
    border: 2px solid transparent;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.tour-calendar-card:hover {
    transform: translateY(-6px);
    border-color: #3b82f6;
}

.tour-calendar-card.is-highlighted {
    border-color: #22c55e;
}

.tour-calendar-card-image {
    padding-top: 62%;
    background-size: cover;
    background-position: center;
    position: relative;
}

.tour-calendar-chip {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: rgba(255, 255, 255, 0.9);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
}

.tour-calendar-card-body {
    padding: 20px;
    flex: 1;
}

.tour-calendar-dates {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 16px;
}

.tour-calendar-dates .label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tour-calendar-price .price {
    font-size: 1.4rem;
    font-weight: 700;
    color: #e11d48;
}

.tour-calendar-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tour-calendar-tags span {
    border-radius: 999px;
    background: #f4f6fb;
    padding: 6px 12px;
    font-size: 0.85rem;
}

@media (max-width: 767px) {
    .calendar-type-tabs {
        display: flex;
        gap: 0.625rem;
        padding: 0.75rem;
        overflow-x: auto;
        flex-wrap: nowrap;
        align-items: center;
        -webkit-overflow-scrolling: touch;
    }
    
    .calendar-type-tabs::-webkit-scrollbar {
        display: none;
    }
    
    .calendar-type-tab {
        min-width: auto;
        padding: 0.625rem 1rem;
        font-size: 0.875rem;
        white-space: nowrap;
        flex-shrink: 0;
        min-height: 38px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .calendar-month-bar {
        flex-direction: row;
        align-items: center;
        gap: 0.75rem;
        padding: 0.75rem;
    }

    .calendar-month-nav {
        display: flex;
        width: 38px;
        height: 38px;
        flex-shrink: 0;
    }
    
    .calendar-month-pill {
        min-height: 38px;
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .calendar-months {
        flex: 1;
        min-width: 0;
    }
}

/* Tour Detail Modals */
#dateSelectionModal .list-group-item {
    border: none;
    border-bottom: 1px solid #dee2e6;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

#dateSelectionModal .list-group-item:hover {
    background-color: #f8f9fa;
}

#dateSelectionModal .list-group-item.active {
    background-color: #dc3545;
    color: #ffffff;
    font-weight: 600;
}

#dateSelectionModal .list-group-item.active .text-success {
    color: #ffffff !important;
    opacity: 0.9;
}

#dateSelectionModal .list-group-item.active .text-muted {
    color: #ffffff !important;
    opacity: 0.8;
}

#dateSelectionModal .list-group-item.active i.bi-check-circle {
    color: #ffffff;
}

/* Date Selection Modal - Fix for long date lists */
#dateSelectionModal .modal-dialog {
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    margin: 1.75rem auto;
}

#dateSelectionModal .modal-content {
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

#dateSelectionModal .modal-header {
    flex-shrink: 0;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #dee2e6;
}

#dateSelectionModal .modal-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 1.25rem 1.5rem;
    min-height: 0;
}

#dateSelectionModal #dateFilterInput {
    flex-shrink: 0;
    margin-bottom: 1rem;
}

#dateSelectionModal .tour-detail-date-list {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 0.5rem;
    margin-right: -0.5rem;
    min-height: 0;
}

/* Custom scrollbar for date list */
#dateSelectionModal .tour-detail-date-list::-webkit-scrollbar {
    width: 8px;
}

#dateSelectionModal .tour-detail-date-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

#dateSelectionModal .tour-detail-date-list::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

#dateSelectionModal .tour-detail-date-list::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Date item styling improvements */
#dateSelectionModal .tour-detail-date-item {
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 0;
}

#dateSelectionModal .tour-detail-date-item:last-child {
    border-bottom: none;
}

#dateSelectionModal .tour-detail-date-item:hover {
    background-color: #f8f9fa;
}

#dateSelectionModal .tour-detail-date-item.active {
    background-color: #dc3545;
    color: #ffffff;
    font-weight: 600;
}

#dateSelectionModal .tour-detail-date-item.active .text-muted {
    color: rgba(255, 255, 255, 0.9) !important;
}

#dateSelectionModal .tour-detail-date-item.active i.bi-check-circle {
    color: #ffffff;
    display: block !important;
}

/* Mobile adjustments */
@media (max-width: 767.98px) {
    #dateSelectionModal .modal-dialog {
        max-height: 95vh;
        margin: 0.5rem;
        width: calc(100% - 1rem);
    }
    
    #dateSelectionModal .modal-content {
        max-height: 95vh;
    }
    
    #dateSelectionModal .modal-header {
        padding: 1rem;
    }
    
    #dateSelectionModal .modal-body {
        padding: 1rem;
    }
    
    #dateSelectionModal .tour-detail-date-item {
        padding: 0.875rem;
    }
    
    #dateSelectionModal .tour-detail-date-item .fw-bold {
        font-size: 0.9rem;
    }
    
    #dateSelectionModal .tour-detail-date-item small {
        font-size: 0.75rem;
    }
}

#participantSelectionModal .modal-content {
    border-radius: 12px;
    overflow: hidden;
}

#participantSelectionModal .btn-outline-secondary {
    border-width: 2px;
    font-weight: 600;
    font-size: 1.1rem;
}

#participantSelectionModal .btn-outline-secondary:hover {
    background-color: #dc3545;
    border-color: #dc3545;
    color: #ffffff;
}

#participantSelectionModal .btn-outline-secondary:active {
    background-color: #bb2d3b;
    border-color: #bb2d3b;
}

/* ============================================
   FLOATING CONTACT WIDGET
   ============================================ */
.floating-contact-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.75rem;
    z-index: 1100;
}

.floating-contact-panel {
    width: 220px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 20px 40px rgba(15, 42, 83, 0.15);
    padding: 1rem;
    opacity: 0;
    transform: translateY(10px) scale(0.98);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.floating-contact-widget.open .floating-contact-panel {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

.floating-contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.45rem 0.25rem;
    border-radius: 12px;
    text-decoration: none;
    color: #1a1a2e;
    transition: background 0.2s ease, transform 0.2s ease;
}

.floating-contact-item:hover {
    background: rgba(230, 233, 246, 0.9);
    transform: translateX(-2px);
}

.floating-contact-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 107, 0, 0.15);
    color: #ff6b00;
    font-size: 1.15rem;
}

.floating-contact-icon.whatsapp {
    background: rgba(37, 211, 102, 0.15);
    color: #25d366;
}

.floating-contact-icon.email {
    background: rgba(92, 107, 192, 0.2);
    color: #5c6bc0;
}

.floating-contact-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.floating-contact-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #2d3748;
}

.floating-contact-value {
    font-size: 0.8rem;
    color: #4a5568;
}

.floating-contact-toggle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #ff8a00, #ff5500);
    box-shadow: 0 20px 30px rgba(255, 111, 0, 0.4);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    overflow: hidden;
}

.floating-contact-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 34px rgba(255, 111, 0, 0.45);
}

.floating-contact-toggle-icon,
.floating-contact-toggle-close {
    position: absolute;
    transition: opacity 0.2s ease, transform 0.2s ease;
    font-size: 1.35rem;
}

.floating-contact-toggle-close {
    opacity: 0;
    transform: scale(0.8);
}

.floating-contact-widget.open .floating-contact-toggle-icon {
    opacity: 0;
    transform: scale(0.8);
}

.floating-contact-widget.open .floating-contact-toggle-close {
    opacity: 1;
    transform: scale(1);
}

@media (max-width: 575.98px) {
    .floating-contact-widget {
        display: none !important;
    }
}

/* Hide floating widget on mobile (below 768px) */
@media (max-width: 767.98px) {
    .floating-contact-widget {
        display: none !important;
    }
}

/* Hide back to top button on mobile (below 768px) */
@media (max-width: 767.98px) {
    #backToTop {
        display: none !important;
    }
}

/* ============================================
   MENU STYLES
   ============================================ */

/* Modern Menu Style */
.navbar-nav .nav-link {
    position: relative;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link i {
    transition: transform 0.3s ease;
}

.navbar-nav .nav-link:hover i {
    transform: scale(1.1);
}

/* Centered Menu Style */
.navbar-nav.mx-auto {
    gap: 1rem;
}

.navbar-nav.mx-auto .nav-link {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.navbar-nav.mx-auto .nav-link:hover {
    background: rgba(102, 126, 234, 0.1);
}

/* Fullwidth Menu Style */
.navbar-nav.w-100 {
    padding: 0 2rem;
}

.navbar-nav.w-100 .nav-item {
    margin: 0 0.5rem;
}

.navbar-nav.w-100 .nav-link {
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.navbar-nav.w-100 .nav-link:hover {
    background: rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
}

/* ============================================
   DETAILED MENU STYLE - MODERN & USER FRIENDLY
   ============================================ */

/* Detailed Topbar */
.detailed-topbar {
    background: #ffffff;
    border-bottom: 1px solid #f0f0f0;
    padding: 1rem 0;
    position: relative;
    z-index: 1001;
}

.detailed-topbar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent 0%, #e5e7eb 50%, transparent 100%);
}

.detailed-logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.detailed-logo-link:hover {
    transform: translateY(-1px);
}

.detailed-logo-content {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.detailed-logo-text {
    font-size: 1.75rem;
    font-weight: 700;
    color: #dc2626;
    letter-spacing: -0.5px;
    transition: all 0.3s ease;
    line-height: 1.2;
}

.detailed-logo-link:hover .detailed-logo-text {
    color: #b91c1c;
    transform: scale(1.02);
}

.detailed-logo-img {
    max-height: 45px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.detailed-logo-link:hover .detailed-logo-img {
    transform: scale(1.05);
}

.detailed-logo-divider {
    width: 2.5px;
    height: 32px;
    background: linear-gradient(to bottom, #dc2626 0%, #b91c1c 100%);
    border-radius: 3px;
    display: inline-block;
    margin: 0 0.75rem;
    box-shadow: 0 2px 4px rgba(220, 38, 38, 0.2);
}

.detailed-logo-year {
    font-size: 0.875rem;
    font-weight: 600;
    color: #dc2626;
    opacity: 0.9;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.detailed-logo-link:hover .detailed-logo-year {
    opacity: 1;
    transform: translateX(2px);
}

.detailed-contact-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #1f2937;
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    padding: 0.625rem 1rem;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    white-space: nowrap;
}

.detailed-contact-link:hover {
    color: #dc2626;
    background: rgba(220, 38, 38, 0.06);
    transform: translateY(-1px);
}

.detailed-contact-text {
    font-weight: 500;
}

.detailed-contact-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.12) 0%, rgba(220, 38, 38, 0.08) 100%);
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.detailed-contact-link:hover .detailed-contact-icon {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.2) 0%, rgba(220, 38, 38, 0.15) 100%);
    transform: scale(1.08) rotate(2deg);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.15);
}

.detailed-contact-icon i {
    font-size: 1.125rem;
    color: #dc2626;
    transition: transform 0.3s ease;
}

.detailed-contact-link:hover .detailed-contact-icon i {
    transform: scale(1.1);
}

.detailed-divider {
    width: 1px;
    height: 36px;
    background: linear-gradient(to bottom, transparent 0%, #e5e7eb 20%, #e5e7eb 80%, transparent 100%);
    margin: 0 0.75rem;
    flex-shrink: 0;
}

.detailed-auth-link {
    display: flex;
    align-items: center;
    color: #6b7280;
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    padding: 0.5rem 0.875rem;
    border-radius: 8px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.detailed-auth-link:hover {
    color: #1f2937;
    background: rgba(0, 0, 0, 0.04);
}

.detailed-auth-link i {
    font-size: 1.125rem;
}

.detailed-register-btn {
    display: inline-flex;
    align-items: center;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 600;
    padding: 0.625rem 1.5rem;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    border: none;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(220, 38, 38, 0.25);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.detailed-register-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.detailed-register-btn:hover::before {
    left: 100%;
}

.detailed-register-btn:hover {
    background: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.35);
    transform: translateY(-2px) scale(1.02);
    color: #ffffff;
}

.detailed-lang-selector {
    margin-left: 0.5rem;
}

.detailed-lang-btn {
    background: transparent;
    border: 1px solid #e5e7eb;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.25s ease;
}

.detailed-lang-btn:hover {
    border-color: #d1d5db;
    background: rgba(0, 0, 0, 0.02);
}

.detailed-lang-flag {
    font-size: 1.25rem;
    line-height: 1;
}

/* Detailed Navbar Wrapper */
.detailed-navbar-wrapper {
    background: #ffffff;
    border-bottom: 1px solid #f0f0f0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.detailed-navbar {
    padding: 0.75rem 0;
}

/* Detailed Navigation */
.detailed-nav {
    gap: 0.125rem;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.detailed-nav .nav-link {
    color: #4b5563;
    font-weight: 500;
    font-size: 0.9375rem;
    padding: 0.75rem 1.125rem;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.detailed-nav .nav-link i {
    font-size: 1.0625rem;
    margin-right: 0.5rem;
    opacity: 0.75;
    transition: all 0.3s ease;
    width: 18px;
    text-align: center;
}

.detailed-nav .nav-link:hover {
    color: #1f2937;
    background: rgba(0, 0, 0, 0.05);
    transform: translateY(-1px);
}

.detailed-nav .nav-link:hover i {
    opacity: 1;
    transform: scale(1.1);
}

.detailed-nav .nav-link.active {
    color: #dc2626;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.12) 0%, rgba(220, 38, 38, 0.08) 100%);
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.15);
}

.detailed-nav .nav-link.active i {
    opacity: 1;
    color: #dc2626;
    transform: scale(1.1);
}

.detailed-nav-highlight {
    color: #f97316 !important;
    font-weight: 600 !important;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.12) 0%, rgba(249, 115, 22, 0.08) 100%) !important;
    box-shadow: 0 2px 8px rgba(249, 115, 22, 0.15) !important;
}

.detailed-nav-highlight:hover {
    color: #ea580c !important;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.18) 0%, rgba(249, 115, 22, 0.12) 100%) !important;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.25) !important;
}

.detailed-nav-highlight i {
    color: #f97316 !important;
}

.detailed-nav-highlight:hover i {
    transform: scale(1.15) !important;
}

.detailed-nav .dropdown-toggle::after {
    margin-left: 0.5rem;
    font-size: 0.75rem;
    transition: transform 0.25s ease;
}

.detailed-nav .dropdown-toggle[aria-expanded="true"]::after {
    transform: rotate(180deg);
}

.detailed-nav .dropdown-menu {
    border: none;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    border-radius: 14px;
    padding: 0.75rem;
    margin-top: 0.75rem;
    min-width: 220px;
    background: #ffffff;
}

.detailed-nav .dropdown-item {
    padding: 0.75rem 1rem;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.9375rem;
    font-weight: 500;
    color: #4b5563;
    display: flex;
    align-items: center;
    margin-bottom: 0.25rem;
}

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

.detailed-nav .dropdown-item:hover {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.1) 0%, rgba(220, 38, 38, 0.06) 100%);
    color: #dc2626;
    transform: translateX(6px);
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.15);
}

.detailed-nav .dropdown-item i {
    font-size: 0.9375rem;
    width: 22px;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.detailed-nav .dropdown-item:hover i {
    opacity: 1;
    transform: scale(1.1);
    color: #dc2626;
}

.detailed-nav .dropdown-divider {
    margin: 0.5rem 0;
    opacity: 0.3;
}

/* Detailed Menu - Navbar adjustments */
#mainNavbar.detailed-menu-active {
    display: none !important;
}

/* Responsive adjustments for detailed menu */
@media (max-width: 991.98px) {
    .detailed-topbar,
    .detailed-navbar-wrapper {
        display: none !important;
    }
}

/* ============================================
   COMPACT MENU STYLE - MODERN & USER FRIENDLY
   ============================================ */

/* Compact Menu Wrapper - Sticky Container */
.compact-menu-wrapper {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #ffffff;
}

/* Compact Topbar */
.compact-topbar {
    background: #ffffff;
    border-bottom: 1px solid #f0f0f0;
    padding: 0.875rem 0;
    font-size: 0.875rem;
    position: relative;
    z-index: 1001;
}

.compact-topbar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent 0%, #e5e7eb 50%, transparent 100%);
}

.compact-topbar-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #1f2937;
    text-decoration: none;
    font-weight: 500;
    padding: 0.625rem 1rem;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.compact-topbar-link:hover {
    color: #1f2937;
    background: rgba(0, 0, 0, 0.05);
    transform: translateY(-1px);
}

.compact-contact-text {
    font-weight: 500;
}

.compact-icon-wrapper {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.compact-icon-whatsapp {
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.12) 0%, rgba(37, 211, 102, 0.08) 100%);
}

.compact-icon-email {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.12) 0%, rgba(59, 130, 246, 0.08) 100%);
}

.compact-topbar-link:hover .compact-icon-wrapper {
    transform: scale(1.08) rotate(2deg);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.compact-icon-wrapper i {
    font-size: 1.125rem;
    transition: transform 0.3s ease;
}

.compact-topbar-link:hover .compact-icon-wrapper i {
    transform: scale(1.1);
}

.compact-icon-whatsapp i {
    color: #25d366;
}

.compact-icon-email i {
    color: #3b82f6;
}

.compact-register-btn {
    display: inline-flex;
    align-items: center;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 600;
    padding: 0.625rem 1.5rem;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(59, 130, 246, 0.25);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.compact-register-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.compact-register-btn:hover::before {
    left: 100%;
}

.compact-register-btn:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.35);
    transform: translateY(-2px) scale(1.02);
    color: #ffffff;
}

/* Compact Navbar */
.compact-navbar-wrapper {
    background: #ffffff;
    border-bottom: 1px solid #f0f0f0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    position: relative;
    z-index: 1000;
    padding: 0.75rem 0;
}

.compact-navbar-wrapper > div {
    position: relative;
}

.compact-nav {
    position: relative;
}

.compact-logo-link {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.compact-logo-link:hover {
    transform: translateY(-1px);
}

.compact-logo-text {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1f2937;
    letter-spacing: -0.5px;
    transition: all 0.3s ease;
    line-height: 1.2;
}

.compact-logo-link:hover .compact-logo-text {
    color: #3b82f6;
    transform: scale(1.02);
}

.compact-logo-img {
    max-height: 48px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.compact-logo-link:hover .compact-logo-img {
    transform: scale(1.05);
}

.compact-nav {
    gap: 0.5rem;
    margin-left: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.compact-nav .nav-link {
    color: #4b5563;
    font-weight: 500;
    font-size: 0.9375rem;
    padding: 0.625rem 1rem;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.compact-nav .nav-link i {
    font-size: 1.0625rem;
    margin-right: 0.5rem;
    opacity: 0.75;
    transition: all 0.3s ease;
    width: 18px;
    text-align: center;
}

.compact-nav .nav-link:hover {
    color: #1f2937;
    background: rgba(0, 0, 0, 0.05);
    transform: translateY(-1px);
}

.compact-nav .nav-link:hover i {
    opacity: 1;
    transform: scale(1.1);
}

.compact-nav .nav-link.active {
    color: #3b82f6;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.12) 0%, rgba(59, 130, 246, 0.08) 100%);
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.15);
}

.compact-nav .nav-link.active i {
    opacity: 1;
    color: #3b82f6;
    transform: scale(1.1);
}

.compact-nav .dropdown-toggle::after {
    margin-left: 0.5rem;
    font-size: 0.75rem;
    transition: transform 0.25s ease;
}

.compact-nav .dropdown-toggle[aria-expanded="true"]::after {
    transform: rotate(180deg);
}

.compact-nav .nav-item.dropdown {
    position: static;
}

.compact-nav .dropdown-menu {
    border: none;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    border-radius: 0 0 16px 16px;
    padding: 2rem;
    margin-top: 0;
    width: 100vw !important;
    min-width: 100vw !important;
    max-width: 100vw !important;
    left: 0 !important;
    right: 0 !important;
    transform: none !important;
    background: #ffffff;
    position: fixed;
    top: auto;
    z-index: 1050;
    display: none;
}

.compact-menu-wrapper {
    position: relative;
}

.compact-navbar-wrapper {
    position: relative;
}

.compact-nav .nav-item.dropdown {
    position: static;
}

.compact-navbar-wrapper > div {
    position: static;
}

.compact-nav .dropdown-menu.show {
    display: block !important;
}

.compact-nav .dropdown-item {
    padding: 1rem 1.25rem;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1rem;
    font-weight: 500;
    color: #4b5563;
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    width: 100%;
}

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

.compact-nav .dropdown-item:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #1f2937;
    transform: translateX(8px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.compact-nav .dropdown-item i {
    font-size: 1.125rem;
    width: 28px;
    opacity: 0.7;
    transition: all 0.3s ease;
    margin-right: 0.75rem;
}

.compact-nav .dropdown-item:hover i {
    opacity: 1;
    transform: scale(1.1);
    color: #1f2937;
}

.compact-nav .dropdown-divider {
    margin: 1rem 0;
    opacity: 0.2;
    border-color: #e5e7eb;
}

/* Compact Search */
.compact-search-form {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.compact-search-input {
    width: 240px;
    padding: 0.75rem 1.125rem;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    font-size: 0.875rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #f9fafb;
    color: #1f2937;
}

.compact-search-input::placeholder {
    color: #9ca3af;
}

.compact-search-input:focus {
    outline: none;
    border-color: #3b82f6;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
    width: 280px;
}

.compact-search-btn {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border: none;
    border-radius: 12px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 3px 10px rgba(59, 130, 246, 0.25);
    flex-shrink: 0;
}

.compact-search-btn:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.35);
    transform: translateY(-2px) scale(1.05);
}

.compact-search-btn:active {
    transform: translateY(0) scale(1);
}

.compact-search-btn i {
    font-size: 1.125rem;
}

/* Compact Phone Button */
.compact-phone-btn {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    box-shadow: 0 3px 10px rgba(59, 130, 246, 0.25);
    position: relative;
    overflow: hidden;
}

.compact-phone-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.compact-phone-btn:hover::before {
    left: 100%;
}

.compact-phone-btn:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.35);
}

.compact-phone-btn i {
    font-size: 1.125rem;
}

/* Responsive adjustments for compact menu */
@media (max-width: 991.98px) {
    .compact-topbar,
    .compact-navbar-wrapper {
        display: none !important;
    }
}
