html {
    scroll-behavior: smooth;
}
.mw-90 {
    max-width: 90% !important;
}

[data-vc-theme="light"] .vc-date[data-vc-date-selected] .vc-date__btn {
    background-color: #ff417b !important;
    color: white;
}

.vc-date__btn_legend {
    background-color: #ff417b !important;
    color: white;
}

.header.header-sticky {
    z-index: 1!important;
}

.badge-radio {
    cursor: pointer;
}
.badge-radio input[type="checkbox"] {
    display: none;
}
.badge-radio input[type="checkbox"]:checked + span {
    background-color: green!important;
    color: white;
}

@media (min-width: 768px) {
    .dropdown-menu-responsive {
        width: 800px;
    }
    .product-image {
        height: 200px;
    }
}
@media (max-width: 767.98px) {
    .dropdown-menu-responsive {
        width: auto;
    }
    .product-image {
        height: 400px;
    }
}

.product-car {
    transition: all 0.3s ease;
    overflow: hidden;
    cursor: pointer;
}

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

.product-image {
    transition: all 0.5s ease;
    object-fit: cover;
}

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

.badge-custom {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
}

.price {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
}

.btn-custom {
    background: linear-gradient(45deg, #3498db, #2ecc71);
    border: none;
    transition: all 0.3s ease;
}

.btn-custom:hover {
    transform: translateX(5px);
    box-shadow: -5px 5px 15px rgba(46, 204, 113, 0.3);
}

.search-float-container {
    margin-top: -90px;
    position: relative;
}

.search-card .form-control:focus {
    background-color: transparent;
}
.search-card .col-md-4:hover,
.search-card .col-md-3:hover {
    background-color: #fbfbfb;
    transition: background 0.2s;
}
@media (max-width: 767px) {
    .search-float-container { margin-top: -100px; }
    .border-end { border-right: none !important; border-bottom: 1px solid #eee; }
}

.hero-forms .search-float-container {
    margin-top: 0px;
}


.featured-route-card {
    height: 320px;
    transition: transform 0.3s ease;
}

.featured-route-card:hover {
    transform: translateY(-8px);
}

.card-img-overlay-wrap {
    position: relative;
    height: 100%;
    width: 100%;
}

.featured-route-card .card-img {
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

/* The Secret Sauce: Dark Gradient Overlay for Readability */
.card-img-overlay {
    background: linear-gradient(
            to bottom,
            rgba(0,0,0,0) 50%,
            rgba(0,0,0,0.2) 60%,
            rgba(0,0,0,0.5) 100%
    );
    transition: background 0.3s ease;
}

.featured-route-card:hover .card-img-overlay {
    background: linear-gradient(
            to bottom,
            rgba(0,0,0,0) 40%,
            rgba(0,0,0,0.3) 60%,
            rgba(0,0,0,0.6) 100%
    );
}



/* Reset Bootstrap nav-link defaults to stack items vertically */
.icon-nav .custom-tab-btn {
    background: transparent !important;
    border: none !important;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #ffffff; /* Changed text color to white */
    opacity: 0.85; /* Increased base opacity slightly for better dark-background visibility */
    transition: opacity 0.2s ease;
}

.icon-nav .custom-tab-btn:hover {
    opacity: 1;
}

/* The square icon box */
.icon-nav .icon-box {
    width: 60px;
    height: 60px;
    background-color: #ffffff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    color: #495057; /* Keep the icon inside the box dark so it shows up */
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Tiny text label */
.icon-nav .tab-label {
    font-size: 0.85rem;
    font-weight: 500;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4); /* Helps text pop against varying backgrounds */
}

/* Active State */
.icon-nav .custom-tab-btn.active {
    opacity: 1;
    color: #ffffff !important; /* Ensures the active text stays white */
}

.icon-nav .custom-tab-btn.active .icon-box {
    background-color: #df6128; /* The active brand color */
    color: #ffffff; /* White icon inside the active box */
    border-color: #df6128;
    box-shadow: 0 4px 12px rgba(223, 97, 40, 0.3) !important;
}
