:root {
    --bs-light: white;
    --bs-light-muted: rgba(255, 255, 255, 0.801);
    --bs-dark: black;
    --bs-danger: red;
    --bs-success: green;
    --nav-sticky: linear-gradient(135deg, #001e41de, #014da3e1);
    --accent-main: #001e41;
    --accent-main-2: #1e6cfce1;
}

body {
    margin: 0;
    padding: 0;
    background: #f4f6f8;
    overflow-x: clip;
    user-select: none;
}

/*==========
navbar
==================*/
.navbar{
    position: fixed;
    height: 3.9rem;
    width: 100%;
    margin: 0px;
    padding: 0px;
    color: var(--bs-light);
    background: transparent;
}
.navbar.sticky{
    position: fixed;
    z-index: 100;
    height: 3.9rem;
    width: 100%;
    margin: 0px;
    padding: 0px;
    background: var(--nav-sticky);
    backdrop-filter: blur(3px);
    color: white;
}
.navbar-min{
    width: 100%;
    margin: 0px 11px;
    display: flex;
    justify-content: space-between;
}
.navbar .svg1{
    position: absolute;
    top: -103px;
    left: -20px;
    height: 270px;
    width: 270px;
}
.navbar .profile-dropdown{
    position: relative;
    left: 95%;
}
.navbar .access{
    position: absolute;
    top: 18px;
    right: 25px;
}
.navbar .profile{
    font-size: 1.4rem;
}
.navbar .profile-admin{
    border: 2px solid var(--bs-light);
    padding: 5px 5px;
    border-radius: 5px;
}
.navbar .uploadbtn{
    padding: 5px 5px;
    border: 2px solid var(--bs-light);
    border-radius: 5px;
    color: var(--bs-light);
    text-decoration: none;
}

@media (max-width: 500px){
    .navbar{
        height: 3.5rem;
    }
    .navbar-min{
        margin: 5px 11px;
        position: relative;
    }
    .navbar .svg1{
        position: absolute;
        height: 210px;
        width: 300px;
        top: -5.5rem;
        left: -5rem;
    }
}

/*==========
search
================*/
.search-section {
    background: linear-gradient(rgba(0, 0, 0, 0.526), rgba(0, 0, 0, 0.362)), url(../img/dashboard/background.jpg);
    background-position: center;
    background-size: cover;
    height: 70vh;
    width: 100vw;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;

}
.search-section .clear a{
    color: rgb(255, 255, 255);
    position: absolute;
    font-size: 1rem;
    font-weight: 600;
    bottom: 5.6rem;
    left: 47.5%;
}
@media (max-width: 500px){
    .search-section .clear a{
        color: rgb(255, 255, 255);
        position: absolute;
        font-size: 1rem;
        font-weight: 600;
        bottom: 10.6rem;
        left: 40%;
    }
}

.search-min{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 40rem;
    height: 3rem;
    gap: 5px;
}
.search-section input, .search-section select {
    padding: 10px;
    width: 50%;
    border-radius: 5px;
    border: none;
}
.search-section button{
    background: linear-gradient(135deg, #001e41, #003e85);
    text-decoration: none;
    border: none;
    padding: 10px 15px;
    color: white;
    border-radius: 5px;
    width: 20.1rem;
    cursor: pointer;
}
.search-section button:hover{
    background: var(--accent-main);
}


/*==========
categories
==================*/
.category{
    margin-top: 20px;
}
.category-content{
    display: flex;
}
.category-box{
    font-weight: 500;
    font-size: 1.2rem;
}
.category-content .category-box{
    background-image: linear-gradient(rgba(0, 0, 0, 0.526), rgba(0, 0, 0, 0.137)), url(../img/dashboard/houselogo.jpg);
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    height: 150px;
    width: 200px;
}
.category-content .category-box1{
    background-image: linear-gradient(rgba(0, 0, 0, 0.526), rgba(0, 0, 0, 0.137)), url(../img/dashboard/car.jpg);
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    height: 150px;
    width: 200px;
}
.category-content .category-box2{
    background-image: linear-gradient(rgba(0, 0, 0, 0.526), rgba(0, 0, 0, 0.137)), url(../img/dashboard/Corporate\ Office\ Interior\ Design.jpg);
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    height: 150px;
    width: 200px;
}
.category-content .category-box3{
    background-image: linear-gradient(rgba(0, 0, 0, 0.526), rgba(0, 0, 0, 0.137)), url(../img/dashboard/dispatch.jpg);
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    height: 150px;
    width: 200px;
}
.category-box:hover{
    cursor: pointer;
    transform: translateY(-5px);
    transition: 0.7s ease-out;
}
.category-box1:hover{
    cursor: pointer;
    transform: translateY(-5px);
    transition: 0.7s ease-out;
}
.category-box2:hover{
    cursor: pointer;
    transform: translateY(-5px);
    transition: 0.7s ease-out;
}
.category-box3:hover{
    cursor: pointer;
    transform: translateY(-5px);
    transition: 0.7s ease-out;
}

@media (max-width: 500px){
    .category{
        height: 200px;
        padding: 0px 15px;
        margin-left: 10px;
        overflow-x: auto;
        white-space: nowrap;
    }
    .category::-webkit-scrollbar {
        display: none;
    }
    .element-with-scrollbar::-webkit-scrollbar {
    display: none;
}

    .category-content{
        display: inline-flex;
        justify-content: end;
        flex-direction: row;
        overflow-x: auto;
        scroll-behavior: smooth;
    }

    .category-box{
        display: flex;
        justify-content: center;
        align-items: center;
    }

}

.category-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    width: 200px;
    text-align: center;
    align-items: center;
    padding: 10px;
    box-shadow: 2px 5px 5px 2px #00000056;    
    cursor: pointer;
}
.category-card:hover {
    transform: translateY(10px);
    transition: 1s ease;
}

.category-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 10px;
}


/*======
footer
==============*/
.foot{
    background: linear-gradient(135deg, #001e41, #014da3);
    color: var(--bs-light);
}
.footer-head{
    display: flex;
    justify-content: center;
    align-items: center;
}
.footer-head .svg1{
    position: absolute;
    height: 40%;
    width: 40%;
    opacity: 1;
    pointer-events: none;
}
@media (max-width: 500px){
    .footer-head .svg1{
        position: absolute;
        height: 90%;
        width: 90%;
        opacity: 1;
        pointer-events: none;
    }
}
.foot li a{
    color: var(--bs-light);
}
.newsletter-form input{
    border: none;
    padding: 5px;
    border-radius: 1px;
}
.newsletter-form .submit{
    padding: 5px;
    background: var(--accent-main);
    border: 1px solid var(--bs-light);
    color: var(--bs-light);
}
.newsletter-form .submit:hover{
    background: var(--accent-hover-dark);
    border: 1px solid var(--bs-light);
    color: var(--bs-light);
}

.footer-section{
    margin-bottom: -15px;
    padding: 20px;
}
.footer-brand{
    text-transform: uppercase;
    text-align: center;
    color: white;
}

.subscription-form h3{
    text-align: center;
    text-transform: capitalize;
    color: white;
}
.subscription-form .subscription-area{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2px;
}
.subscription-area input{
    padding: 6px;
    border: 1px solid white;
    text-align: center;
    border-radius: 5px;
}
.subscription-area button{
    padding: 7px;
    background: white;
    border: 1px solid white;
    border-radius: 15px;
    color: linear-gradient(135deg, #001e41, #014da3);
}

.footer-writeup{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}
.footer-writeup .footer-logo{
    outline: none;
    text-decoration: none;
    color: rgb(255, 255, 255);
}
.footer-writeup p{
    text-align: center;
    max-width: 50rem;
    color: white;
}