@import url('https://fonts.googleapis.com/css2?family=Pacifico&family=Roboto:ital,wght@0,100..900;1,100..900&family=Titan+One&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    font-family: "Ubuntu", sans-serif;
}


.nav-bar{
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 10000 !important;
    background-color: #fff;
    padding: 15px 50px; 
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);
}

.logo{
    color: #10367d;
}

.logo span{
    color: #74b4d9;
}

.nav-links a{
    text-decoration: 0;
    color: #000;
    margin: 10px;
    font-size: 15px;
    font-weight: 900;
}

.cart i{
    font-size: 30px;
    color: #10367d;
}

#close{
    visibility: hidden;
}

.login{
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;

    i{
        color: #10367d;
    }

    h3{
        color: #ffba08;
    }

    h1{
        font-size: 20px;
        color: #ffba08;
    }

    #logout{
        text-decoration: 0;
        margin-left: 10px;
        color: #fff;
        background-color: #10367d;
        padding: 10px;
        border-radius: 10px;
    }
}


/* hero */

.hero-section{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #74b4d9;
    margin-top: 50px;
}

.text h1{
    width: 100%;
    color: #10367d;
}

.text p{
    width: 70%;
    margin-top: 10px;
    margin:  40px 0 40px;
    color: #10367d;
}

.text button{
    margin-top: 20px;
    padding: 15px;
    border: 0;
    border-radius: 30px;
    background-color: #10367d;
    color: #fff;
    font-weight: 700;
}

.text a{
    font-size: 15px;
    color: #fff;
    background-color: #10367d;
    padding: 5px;
    border-radius: 20px;

}

.photo img{
    height: 80%;
    width: 80%;
    object-fit: cover;
    border-radius: 50px;
    margin-right: -50px;
}

/* featured */

.featured-pro{
    padding: 50px;
}

.products{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 1em;
}

.pro {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #f0f0f0; 
    padding: 30px; 
    border-radius: 20px;
    width: 300px; 
    margin: 15px; 
    position: relative; 
    z-index: 1; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: 0.5s;
    
     i{
        font-size: 20px;
        margin-top: 10px;
        color: #74b4d9;
    }
}

form button{
        background: none;
        border: 0;
    }

.pro a{
        margin-top: 10px;
        margin-left: -50px;
        text-decoration: 0;
        font-size: 20px;
        font-weight: 700;
        color: #10367d;
    }

.pro h2, .pro h4, .pro a {
    margin-left: 0; 
    text-align: center;
}

.pro:hover {
    transform: translateY(-5px);  
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.pro p {
    margin: 10px 0;
    width: 100%;
    text-align: 
}


.pro img{
    width: 200px;
    height: 200px;
    object-fit: cover;
    position: center;
}

.pro h2{
    color: #10367d;
}

.pro p{
    width: 200px;
    font-size: 15px;
    margin-top: 20px;
}

/* cate */

.categories{
    padding: 50px;
}

.cat{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: left;
    margin-top: 100px;
    background-color: #ebebeb;
    padding: 50px;
    border-radius: 30px;
    width: 100%;
}
.cart span {
    background: #74b4d9;
    color: #fff;
    padding: 5px;
    border-radius: 50%;
}

.cat img{
    width: 200px;
    height: 200px;
    object-fit: cover;
}

.cat h2{
    color: #10367d;
    margin-top: -50;
}

.cat i{
    font-size: 100px;
    margin-top: 50px;
}

.cat a{
    color: #74b4d9;
    margin-top: 20px;
}

.viewmore{
    display: flex;
    justify-content: center;
    align-items: center;
}

.viewmore a{
    text-decoration: 0;
    background: #10367d;
    color: #74b4d9;
    padding: 10px;
    border-radius: 10px;
    font-size: 15px;
}


/* footer */

.footer{
    background-color: #ebebeb;
    padding: 50px;
    margin-top: 50px;
}

.head{
    display: flex;
    justify-content: center;
    align-items: center;
}

.properties{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.prt{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin-top: 20px;

    i{
        font-size: 50px;
    }

    h2{
        margin-top: 20px;
    }

    p{
        width: 200px;
    }
}

.foot{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 50px;
    background-color: #ebebeb;
}

.foot-logo p{
    width: 300px;
    margin-top: 20px;
    color: #10367d;
}

.foot-logo h1{
    color: #10367d;
}

.Navigation{
    display: flex;
    flex-direction: column;
    justify-content: center;

    a{
        text-decoration: 0;
        color: #10367d;
        margin-top: 10px;
    }

}

.Quick-link{
    display: flex;
    flex-direction: column;
    justify-content: center;

    a{
        text-decoration: 0;
        color: #10367d;
        margin-top: 10px;
    }

}

.services p{
   color: #10367d;
   margin-top: 10px;
}

.cont-info{
    display: flex;
    justify-content: space-between;
    padding: 20px;
    background-color: #ebebeb;
    border-top: 1px solid #10367d;
}

.line p{
    color: #10367d;
}

.social a{
   text-decoration: 0;
   color: #fff;
   background-color: #10367d;
   margin: 5px;
   padding: 5px;
   border-radius: 20px;
}

.copy{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    color: #ebebeb;
    background-color: #74b4d9;
}


#custom-alert {
    position: fixed;
    top: -100px; /* Inajificha juu kabisa mwanzo */
    left: 50%;
    transform: translateX(-50%);
    background-color: #10367d; /* Rangi ya Facti Shop */
    color: white;
    padding: 15px 30px;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 10000;
    transition: top 0.5s ease-in-out;
    font-family: Arial, sans-serif;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
}

#custom-alert.show {
    top: 0; 
}

.alert-icon {
    font-size: 20px;
}


