:root {
    --primary-color: #0FC324;
    --primary-light: #ebfff0;
    --text-dark: #000;
    --text-light: #fff;
    --miami-yellow: #f1b018;
}

.rental-banner-section-events {
    height: fit-content !important;
    /* padding-bottom: 0px; */
}

.register-container {
    display: flex;
    gap: 30px;
    justify-content: center;
}

.section-title {
    font-size: 3.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Buttons */
.btn-primary-custom {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--text-light);
    padding: 15px 62px;
    font-weight: 500;
    border-radius: 60px;
    margin: 0 10px;
    font-size: 22px;
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary-custom:hover {
    background-color: #0da720;
    border-color: #0da720;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-outline-custom {
    border: 2px solid var(--text-light);
    color: var(--text-light);
    padding: 15px 62px;
    font-weight: 500;
    font-size: 22px;
    border-radius: 60px;
    margin: 0 10px;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-outline-custom:hover {
    background-color: var(--text-light);
    color: var(--text-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Category Tabs */
.category-tabs {
    display: flex;
    /* justify-content: center; */
    /* overflow-x: auto; */
    padding-bottom: 15px;
    /* margin-bottom: 30px; */
    /* scrollbar-width: none; */
    /* Firefox */
}

.category-tabs::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}

.category-tab:hover,
.category-tab.active {
    background-color: var(--primary-color);
    color: var(--text-light);
}

/* Business Cards */
.business-card {
    border-radius: 16px;
    overflow: hidden;
    /* box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12); */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
    border: none;
    cursor: pointer;
}

.business-card:hover {
    /* transform: translateY(-8px); */
    /* box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18); */
}

.business-card .card-img-top {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid #e0e0e0;
    transition: transform 0.4s ease;
}

.card-body {
    padding: 20px;
    height: 100%;
    background-color: var(--primary-light);
}

.card-category-tab {
    display: inline-block;
    background-color: #0fc324;
    color: black;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 6px 14px;
    border-radius: 30px;
    margin-bottom: 12px;
    letter-spacing: 0.05em;
}

.card-title {
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #222;
}

.card-text {
    font-size: 1rem;
    color: #555;
    line-height: 1.5;
}


/* Card Category Tab */
.card-category-tab {
    display: inline-block;
    background: transparent;
    border: 1px solid var(--primary-color);
    padding: 4px 12px;
    border-radius: 60px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.card-category-tab:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.bg-light-custom {
    background: var(--primary-light);
}

.browse-business-heading .banner-title-1,
.browse-business-heading .banner-title-2,
.browse-business-heading {
    font-size: 50px !important;
    font-weight: 400;
    line-height: 1;
}

.business-card .business-card-rating {
    color: var(--miami-yellow);
    font-size: 12px
}

.business-card .card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.filter-tab {
    white-space: nowrap;
    padding: 8px 20px;
    margin-right: 10px;
    border-radius: 20px;
    background-color: #f8f9fa;
    background: var(--primary-color);
    color: #fff;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    width: 100px;
    height: 40px;
    text-align: center;
    text-transform: capitalize;
    border: none;
}

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

.form-check-input {
    border: 0.25px solid var(--primary-color);
}

.reset-filter-btn {
    border: white solid;
    color: black;
    padding: 5px 15px;
    border-radius: 60px
}

.primary-color-filter-button {
    background: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 60px;
    border: none;
    font-weight: 500;
    border: 1px solid var(--primary-color);

}

.primary-color-filter-button:hover,
.filter-tab:hover {
    color: black;
    background-color: transparent;
    border: 1px solid var(--primary-color);
}

/* Search Bar */
.search-bar-container {
    width: fit-content;
    padding: 10px 20px;
    height: fit-content;
    border: 1.5px solid #161917;
    border-radius: 22px;
}

.category-tab {
    border: 1.5px solid #161917;
}

.search-bar-container input {
    border: none;
}

.category-filter {
    white-space: nowrap;
    padding: 8px 25px;
    margin-right: 10px;
    border-radius: 20px;
    background-color: #f8f9fa;
    border: 1px solid var(--primary-color);
    color: var(--text-dark);
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    margin-bottom: 0px;
    margin-top: 0px;
}

.back-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: none;
    z-index: 999;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background 0.3s, transform 0.2s;
}

.back-to-top-btn svg {
    width: 24px;
    height: 24px;
}

/* Design */
.dropdown-container,
.submenu {
    /* background-color: var(--primaryLight); */
    /* padding: 2px; */
    width: max-content;
    height: min-content;
    border-radius: 30px;
    position: relative;
}

.submenu {
    border-radius: 10px;
}


.select-button {
    width: max-content;
    border: 1.5px solid #878B8F;
    background-color: white;
    padding: 10px 30px;
    border-radius: 30px;
    display: flex;
    gap: 10px;
    align-items: center;
    color: var(--primary-color);
}

.dropdown-container:hover .select-button {
    background: var(--primary-color);
    color: white;
}

.drop-down-list {
    width: max-content;
    position: absolute;
    max-height: 0;
    padding-top: 10px;
    display: none;
    transition: max-height 0.4s ease, opacity 0.4s ease;
}

.drop-down-list li,
.submenu li {
    padding: 10px 30px;

}

/* .drop-down-list li:hover{
                                                    color: var(--primary-color);
                                                    cursor: pointer;
                                                } */
.dropdown-container:hover .drop-down-list {
    background: var(--white);
    z-index: 999;
    display: block;
    max-height: 500px;
    transition: all 0.5s ease-in-out;
    /* top: 70px; */
}

/* Final CSS */
.card-sub-heading {
    font-size: 14px;
    font-weight: 300;
    color: var(--primary-color);
}


.drop-down-list li.active {
    color: var(--primary-color);
}

#filterDropdown {
    background: var(--primary-color);
    border: 1px solid var(--primary-color);
    width: 160px;
    color: white;
}

.dropdown-menu {
    border: none;
}

.hover-open-menu {}

@media (min-width: 768px) and (max-width: 992px) {
    #filterDropdown {
        padding: 10px 30px
    }
}

@media (min-width: 576px) and (max-width: 768px) {

    #filterDropdown {
        padding: 10px 30px
    }

}



@media (min-width: 480px) and (max-width: 575.98px) {
    .search-bar-container {
        overflow: hidden;
        width: 180px;
    }


    #filterDropdown {
        padding: 10px 30px
    }

}

@media (max-width: 479.98px) {

    .section-title {
        font-size: 40px !important;
    }

    .treding-banner-content {
        padding-bottom: 0px;
    }

    .rental-banner-section-events {
        border-bottom-left-radius: 30px;
        border-bottom-right-radius: 30px;
    }

    .search-bar-container {
        overflow: hidden;
        width: 150px;
    }

    .search-bar-container input {
        font-size: 12px;
    }

    #filterDropdown {
        width: 100px;
        padding: 10px 30px;
        font-size: 12px;
    }

    .dropdown-item,
    .submenu li {
        font-size: 12px;
        padding: 5px 20px;
    }

    button.category-tab {
        background: var(--primary-color);
        border: 1px solid var(--primary-color);
        color: white;
    }

    .category-tab:hover {
        border: 1px solid var(--primary-color);
    }

}






/* Submenu list */
/* Show dropdown menu on hover */
/* Show main dropdown on parent hover */
.dropdown:hover .dropdown-menu {
    display: block;
}

/* Submenu style */
.dropdown-submenu {
    position: relative;
}

/* Submenu hidden by default */
.dropdown-submenu .dropdown-menu {
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
    margin-top: 0;
}

/* Show submenu only when hovering on <a> */

.dropdown-item:hover {
    cursor: pointer;
    background: var(--primary-light);
    color: var(--primary-color);
}

.submenu li:hover {
    cursor: pointer;
    background: var(--primary-light);
    color: var(--primary-color);

}

.submenu li.active {
    color: var(--primary-color);
}

#filterDropdown::after {
    content: none;
}

.menu-filter-option.active {
    background: transparent;
    color: var(--primary-color);
}

.menu-filter-option:active,
.hover-open:active {
    background: transparent;
    border: none;
    color: black;
}

.dropdown-item {
    padding: 10px 30px;
}

.dropdown-item:hover {
    cursor: pointer;
}

.hover-open-menu {
    visibility: hidden;
    opacity: 0;
}

.hover-open:hover .hover-open-menu {
    visibility: visible;
    opacity: 1;
}

.hover-open-menu:hover {
    visibility: visible;
    opacity: 1;
}

.dropdown-submenu>.hover-open:hover:hover+.dropdown-menu {
    visibility: visible;
    opacity: 1;
}


/* sliding Search Bar css */
.box {
    position: relative;
    width: fit-content;
}

.input {
    padding: 10px;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border: 1.5px solid var(--primary-color);

    border-radius: 50px !important;
    box-sizing: border-box;
    /* font-family: Comic Sans MS; */
    font-size: 20px;
    color: rgba(135, 139, 143, 1);
    outline: none;
    transition: 0.5s;
}

.input::placeholder {
    color: transparent;
    transition: color 0.3s ease;
    font-size: 15px;
}

/* Show placeholder on focus */
.input:focus::placeholder {
    color: rgba(135, 139, 143, 1);
    font-size: 15px;
}

input {
    color: rgba(135, 139, 143, 1);
}

/* Expand on hover or focus */
.box:hover .input,
.box .input:focus {
    width: 200px;
    background: transparent;
    border-radius: 10px;
}

.box i {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    font-size: 15px;
    color: #000000;
    transition: 0.2s;
    pointer-events: none;
}

/* Hide icon on hover or focus */
.box:hover i,
.box .input:focus+i {
    opacity: 0;
    z-index: -1;
}

@media (min-width: 480px) and (max-width: 768px) {
    .box i {
        top: 45%;
    }
}


.home-business-card {
    height: 250px;
}

.home-business-card img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.business-card {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.business-card .card-body {
    height: 220px;
}

.dropdown-menu {
    box-shadow: 4px 10px 9px rgba(0, 0, 0, 0.1);
}

@media (max-width: 576px) {
    .section-title {
        font-size: 40px !important;
        width: 100%;
    }

    .box i {
        color: white;
    }
}