
.banner__four-brand .scroll__slider {
    margin-right: -260px;
    padding: 15px 0;
    background: var(--color-2);
    border-left: 1px solid var(--border-color-2);
}
#backToTopBtn {
    display: none; /* Hidden by default */
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
    font-size: 18px;
    border: none;
    outline: none;
    /* background-color: #333; */
    background-color: #FFBF43;
    color: black;
    /* color: white; */
    cursor: pointer;
    padding: 12px 16px;
    border-radius: 8px;
    transition: all 0.3s ease-in-out;
}

#backToTopBtn:hover {
    /* background-color: #555; */
    background-color: #ffae43;
    transform: scale(1.1);
}

.header__area-menubar-right-search {
    position: relative;
}
/**============================[LEAD GENERATION POPUP]==============================**/
.popup-container {
    display: none; 
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.popup-content {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    position: relative;
    /* max-width: 500px; */
    width: 800px;
    text-align: center;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
}
/**=================================================================================**/

/**=======================================[SEARCH BAR ]==========================================**/

    .search {
        position: relative;
        display: flex;
        align-items: center;
        transition: width 0.3s ease; /* For smooth transition */
    }

    .header__area-menubar-right-search-icon {
        /* Retain original styles */
        cursor: pointer;
        font-size: 18px;
        color: #333;
        padding: 8px;
        transition: opacity 0.2s ease; /* Updated transition for faster hide */
    }

    /* Hide search icon when search input is active */
    .search__box.active + .header__area-menubar-right-search-icon {
        opacity: 0;
        pointer-events: none; /* Disables clicks on the hidden icon */
    }

    .search__box {
        /* Add transition for smooth appearance */
        transition: all 0.3s ease;
        /* Hide the box by default, position it over the icon */
        position: absolute;
        top: 50%;
        right: 0;
        transform: translateY(-50%) scaleX(0); /* Initially scale to 0 to be hidden */
        transform-origin: right; /* Make it expand from the right */
        opacity: 0;
        display: flex;
        align-items: center;
        gap: 10px;
        min-width: 300px;
        z-index: 1000;
    }

    .search__box.active {
        opacity: 1; /* Show the search box */
        transform: translateY(-50%) scaleX(1); /* Expand to full size */
    }



    .search__input {
        border: 1px solid #ccc; /* Add a border to the input */
        border-radius: 4px; /* Add rounded corners */
        padding: 8px 12px;
        font-size: 14px;
        flex: 1;
        background: #f9f9f9;
        width: 100%;
        height: 51px !important;
    }

    .search-results-dropdown {
        position: absolute;
        top: 100%; /* Position below the input box */
        left: 0;
        width: 100%;
        background-color: #fff;
        border: 1px solid #ddd;
        border-top: none; /* No top border for a connected look */
        border-radius: 0 0 4px 4px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        max-height: 400px;
        overflow-y: auto;
        z-index: 999;
        display: none; /* Hide by default */
    }

    .search-results-dropdown.visible {
        display: block; /* Show when results are available */
    }

    .search-result-item {
        padding: 12px 15px;
        border-bottom: 1px solid #eee;
        cursor: pointer;
        transition: background-color 0.2s ease;
    }

    .search-result-item:last-child {
        border-bottom: none;
    }

    .search-result-item:hover {
        background-color: #f0f0f0;
    }

    .search-result-title {
        font-size: 1rem;
        font-weight: 500;
        color: #333;
        margin: 0;
    }

    .search-result-excerpt {
        font-size: 0.8rem;
        color: #888;
        margin: 0;
    }

    .no-results {
        text-align: center;
        padding: 20px;
        color: #666;
    }

    .search-loading {
        text-align: center;
        padding: 20px;
        color: #666;
    }

@media (max-width: 768px) {

    .header__area-menubar-right-search {
        display: block; 
        visibility: visible;
        opacity: 1;
        z-index: 9999;
        order: 2; 
        margin-left: 10px;
    }


    .header__area-menubar-right-search-icon {
        display: inline-block;
        opacity: 1; 
    }


    .search__box.active + .header__area-menubar-right-search-icon {
        opacity: 0;
        pointer-events: none;
    }
    
    .search__box {
        /* Your existing styles for mobile search box */
        display: flex; 
        align-items: center; 
        justify-content: center;
        /* padding: 16% 4% 0%; */
        padding: 40% 4% 0%;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 200%;
        background: rgba(0, 0, 0, 0.8);
        z-index: 10000;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        /* margin-top:10%; */
        
        flex-direction: row; /* Arrange items in a row */
    }


    
    .search__box.active {
        opacity: 1;
        visibility: visible;
    }

    .search__input {
        flex: 1; /* Allow the input to take up available space */
        width: 80%; /* Ensure it's full width inside its container */
        max-width: unset; /* Override max-width for mobile */
    }

    .search__close-mobile {
        display: none;
        cursor: pointer;
        color: #000;
        font-size: 24px;
        margin-left: -8%;
        padding: 6px 2px 5px 0px;
    }

    .search__box.active .search__close-mobile {
        display: block; /* Show the button when the search box is active */
    }

    .search-results-dropdown {
        top: auto;
        left: 50%;
        transform: translateX(-50%);
        width: 92%;
        max-width: unset;
        position: absolute;
        margin-top: 110%;
        height: 100%;
        overflow-y: scroll;
    }
}

    @media (min-width: 769px) {
        .search__close-mobile {
            display: none !important;
        }
    }
/**=================================================================================**/
            