.mobileContact{
    display: none;
}
.mega-menu{
    background: none;
}
.align-items-stretch{
    margin-left: 0;
    margin-right: 0;
    background: white;
    padding: 1.5rem;
    border-radius: 1.25rem;
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
}
.contact-item .btn-primary:hover{
    background: white;
    color: var(--homi-green);
}
.featured-products{
    width: 30%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.5rem;
}
.featured-product-item{
    display: flex;
    flex-direction: row;
    justify-content: space-between;    
    background: white;
    padding: 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}
.featured-product-item:hover{
    box-shadow: 0 10px 10px rgba(0,0,0,0.2);
}
.featured-product-item-img{
        width: 35%;
        height: 100%;
        border-radius: 0.5rem;
        overflow: hidden;
}
.featured-product-item-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.featured-product-item-content{
        width: 60%;
        height: 100%;
}
.navbar-nav{
    margin: auto;
    gap: 3rem;
}
.mega-grid{
    width: 70%;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
/* Search Box Styles */
.search-main{
    margin-left: 20px;
}
.search-box {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 1999;
    opacity: 0;
    transform: translateY(-100%);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.search-box.active {
    opacity: 1;
    transform: translateY(0);
}

.search-input-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 30px 0;
}

.search-input {
    width: 100% !important;
    padding: 16px 60px 16px 20px !important;
    font-size: 16px !important;
    border: 2px solid #f0f0f0 !important;
    border-radius: 50px !important;
    outline: none !important;
    transition: border-color 0.3s ease !important;
}

.search-input:focus {
    border-color: var(--primary-color) !important;
}

.search-submit,
.search-close {
    position: absolute !important;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #666;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-submit {
    right: 70px;
}

.search-icon::before{
    content:"\f002";
    width: 10px;
    height: 10px;
    box-sizing: border-box;
}
.search-close .search-icon::before{
    content:"\f00d";
}
.search-close {
    right: 20px;
}

.search-submit:hover,
.search-close:hover{
    background: transparent !important; 
    color: var(--primary-color) !important;
    font-size: 24px;
}
.navbar-colored .btn-outline-primary.searchToggle{
    color: white;
}
.navbar-colored .btn-outline-primary.searchToggle:hover{
    color: var(--primary-color) !important;
}

@media (max-width: 768px){
    .mobileContact{
        display: block;
        margin-right: -20%;
    }
    .navbar-transparent .navbar .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='%235b9ea5' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }
    .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='%23ffffff' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");        
    }
    .navbar-toggler{
        border-color:white;
    }
    .navbar-toggler:focus{
        box-shadow: none;
    }
    .navbar-collapse{
        margin-top: 2rem;
        padding: 1rem;
        border-radius: 1rem;
        background: var(--homi-green);
        overflow: scroll;
        max-height: 80vh;
    }
    .navbar-transparent .navbar .nav-link{
        color: white;
    }

    .dropdown-hover .mega-menu.none{
        display: none;
    }
    .navbar .dropdown-toggle::after {
    margin-left: 2rem;
    }
    .dropdown-hover .mega-menu{
        overflow-y: scroll;
    }
    .dropdown-hover .mega-menu .mega-grid{
        width: 100%;
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
    
    .dropdown-hover .mega-menu .featured-products{
        display: none;
    }
}
@media (max-width: 370px){
    .mobileContact{
        margin-right: -5%;
    }
}