


















* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    font-family: "times",sans-serif;
}

:root {
    --bg-color: #rgb(255, 249, 249);
    --second-bg-color: #131313;
    --text-color: white;
    --main-color: #9c0027;
}

html {
    font-size: 60%;
    overflow-x: hidden;
}

body {
    background: rgb(255, 249, 249);
    color: var(--main-color);
}


.header {
    direction: rtl;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    padding: 1.5rem 8% 0.5rem;
    background: rgba(244, 239, 239, 0.3);
    backdrop-filter: blur(40px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 5;
}

.logo {
    
    
    border-radius: 5%;
    height: 50px;
    width: 60px;
}
.logo__o {
    
    margin-left: 20rem;
    border-radius: 5%;
    height: 50px;
    width: 60px;
    
}

.navbar a{
    font-size: 1.8rem;
    color: var(--main-color);
    margin-left: 4rem;
    font-weight: 800;
    transition: 0.3s;
    border-bottom: 3px solid transparent;

}
.navbar a:hover,
.navbar a.active{
    color: rgb(0, 0, 0);
    border-bottom: 3px solid var(--main-color);
}
#menu-icon{
    font-size: 3.6rem;
    color: var(--main-color);
    display: none;
}








section {
    min-height: 100vh;
    padding: 8rem 8% 8rem;
}

.home{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15rem;

}

.home-content {
    display: flex;
    flex-direction: column;
    align-items:end;
    text-align: right;
    justify-content: center;
    margin-top: 3rem;
    margin-left: 120px;
}

.logo-img{
    position: absolute;
    display: flex;
    top: 20rem;
    left: 70rem;
}

span{
    color: var(--main-color);
}

.logo span{
    color: var(--main-color);
}

.home-content h3{
    margin-bottom: 2rem;
    margin-top: 1rem;
    font-size: 3.5rem;
}
.home-content h1{
    text-align: right;
    font-size: 7rem;
    font-weight: 700;
    margin-top: 1.5rem;
    line-height: 1;
}

.home-content h2{
    text-align: right;
    font-size: 5rem;
    font-weight: 700;
    margin-top: 1.5rem;
    line-height: 1;
}

.home-img{
    border-radius: 50%;
}

.home-img img{
    position: relative;
    top: 2rem;
    width: 32vw;
    border-radius: 30%;
    box-shadow: 0 0 25px rgb(92, 0, 0);
    cursor: pointer;
    transition: 0.4s ease-in-out;
}


.home-img img:hover{
    box-shadow: 0 0 25px rgb(92, 0, 0), 
                0 0 50px rgb(92, 0, 0),
                0 0 100px rgb(92, 0, 0);

}

.home-content p{
font-size: 1.5rem;
font-weight: 800;
line-height: 1.5;
max-width: 1000px;
}

.social-icons a{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 4.5rem;
    height: 4.5rem;
    background: rgb(252, 229, 193);
    border: 2px solid var(--main-color);
    font-size: 2.5rem;
    border-radius: 50%;
    color: var(--main-color);
    margin: 3rem 1.5rem 3rem 0;
    transition: 0.3s ease-in-out;
}

.social-icons a:hover{
    color: rgb(245, 212, 212);
    transform: scale(1.3)translateY(-5px);
    box-shadow: 0 0 25px var(--main-color);
    background-color: rgb(255, 252, 252);
}

.btn{
    display: inline-block;
    padding: 1rem 2.8rem;
    background: var(--main-color);
    box-shadow: 0 0 25px var(--main-color);
    border-radius: 4rem;
    font-size: 1.6rem;
    color: rgb(252, 229, 193);
    border: 2px solid transparent;
    letter-spacing: 0.1rem;
    font-weight: 600;
    transition: 0.3s ease-in-out;
    cursor: pointer;
}

.btn:hover{
    transform: scale(1.05);
    box-shadow: 0 0 50px var(--main-color);
    background-color: rgb(255, 255, 255);
    color: rgb(4, 4, 233);
}

.btn-group{
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.btn-group a:nth-of-type(2){
    background-color: var(--main-color);
    color: rgb(252, 229, 193);
    border: 2px solid var(--main-color);
    box-shadow: 0 0 25px transparent;
}

.btn-group a:nth-of-type(2):hover{
    box-shadow: 0 0 25px var(--main-color);
    background-color: white;
    color: rgb(4, 4, 233);
}





/* ----------------text animation-------------- */


.text-animation{
    font-size: 34px;
    font-weight: 600;
    min-width: 280px;
}

.text-animation span{
    position: relative;
    text-align: right;
}

.text-animation span::before{
    content: "";
    color: rgb(0, 0, 0);
    animation: words 20s infinite;
}

.text-animation span::after{
    content: "";
    background-color: rgb(255, 249, 249);
    position: absolute;
    width: calc(100% + 8px);
    height: 100%;
    border-right: 3px solid rgb(255, 249, 249);
    right: -8px;
    animation: cursor 0.6s infinite, typing 20s steps(14) infinite;
}


@keyframes cursor{
    to{
        border-left: 2px solid var(--main-color);
    }
}

@keyframes words{
    0%,
    20%{
        content: "اكثر من 30 عام خبره ";
    }
    21%,
    40%{
        content: "نمتلك الخبره الكافيه واللازمه";
    }
    41%,60%{
        content: "اختيار افضل خامات الالواح الصلبه";
    }
    61%,80%{
        content: "اقصى درجات الرقي و الجمال";
    }
    81%,100%{
        content: "والحمايه و الامان";
    }
}

@keyframes typing{
    10%,
    15%,
    30%,
    35%,
    50%,
    55%,
    70%,
    75%,
    90%,
    95%{
        width: 0;
    }
    5%,
    20%,
    25%,
    40%,
    60%,
    65%,
    80%,
    85%{
        width: calc(100% + 8px);
    }
}




























/* -----------products--------------- */






.products{
    background: var(--bg-color);
}

.products-box{
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.products .heading{
    margin-bottom: 2rem;
    font-size: 8rem;
    background: rgb(255, 249, 249);
    border: 3px solid rgba(red, green, blue, alpha);
    border-radius: 2rem;
    cursor: pointer;
    color: rgb(0, 0, 0);
    transition: 0.4s ease-in-out;
}


.products-box img{
    width: 20rem;
    height: 20rem;
    border-radius: 10%;
    border: 3px solid var(--main-color);
    box-shadow: 0 0 25px var(--main-color);
}

.wrapper{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 1rem;
}


.products-items{
    min-height: 300px;
    max-width: 300px;
    background: rgb(255, 249, 249);
    border: 3px solid rgba(red, green, blue, alpha);
    border-radius: 2rem;
    margin: 0 2rem;
    padding: 30px 40px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 2rem;
    color: rgb(251, 5, 5);
    transition: 0.4s ease-in-out;
}


.products-items:hover{
    border: 3px solid var(--main-color);
    transform: translateY(-18px)scale(1.03);
    box-shadow: 0 0 50px var(--main-color);
}


.products-items h2{
    font-size: 3rem;
    font-weight: 800;
    margin-top: 3rem;
    color: var(--main-color);
}

.products-items p{
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 2rem;
    color: var(--main-color);
}

.btn-group{
    align-items: center;
    justify-content: center;
}




.contact{
    background-color: var(--bg-color);
}
.contact h2{
    margin-bottom: 3rem;
    color: rgb(19, 2, 2);
    font-size: 7rem;
}

.contact form{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    margin: 5rem auto;
    text-align: center;
}

.contact form .input-box{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.contact form .input-box input,
.contact form textarea{
    width: 100%;
    padding: 2.5rem;
    font-size: 1.8rem;
    color: var(--text-color);
    background: var(--bg-color);
    border-radius: 2rem;
    border: 2px solid var(--main-color);
    margin: 1.5rem 0;
    resize: none;

}


.contact form .btn{
    margin-top: 2rem;
}

.footer{
    position: relative;
    bottom: 0;
    width: 100%;
    padding: 40px 0;
    background-color: var(--second-bg-color);
}


.footer .social{
    text-align: center;
    padding-bottom: 25px;
    color: var(--main-color);
}

.footer .social a{
    font-size: 25px;
    color: var(--main-color);
    border: 2px solid var(--main-color);
    width: 42px;
    line-height: 42px;
    display: inline-block;
    text-align: center;
    border-radius: 50%;
    margin: 0 10px;
    transition: 0.3s ease-in-out;
}

.footer .social a:hover{
    transform: scale(1.2)translateY(-10px);
    background-color: var(--main-color);
    color: black;
    box-shadow: 0 0 25px var(--main-color);
}


.footer ul{
    margin-top: 0;
    padding: 0;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 0;
    text-align: center;
}


.footer ul li a{
    color: white;
    border-bottom: 3px solid var(--main-color);
    transition: 0.3s ease-in-out;
}

.footer ul li a:hover{
    border-bottom: 3px solid var(--main-color);
}


.footer ul li{
    display: inline-block;
    padding: 0 15px;
}


.footer .copyright{
    margin-top: 50px;
    text-align: center;
    font-size: 16px;
    color: white;
}







.projects-img{
    width: 20rem;
    height: 20rem;
    border-radius: 10%;
    border: 3px solid var(--main-color);
    box-shadow: 0 0 25px var(--main-color);
    margin-top: 80px;
    margin-left: 10px;
    gap: 2rem;

}





/* --------------partners---------------- */



.partners_section{
    padding: 64px 0;
}

.section_title{
    text-align: center;
    margin-bottom: 1.5rem;
}
.section_title h3{
    font-size: 6rem;
    font-weight: bold;
    margin-top: 6rem;
}

.logos_slider{
    overflow-x: hidden;
}

.overflow{
    display: flex;
    padding: 0.5rem 1rem;
    overflow: hidden;
}


.reverse .logos_wrapper{
    animation-direction: reverse;
}

.logos_wrapper{
    display: flex;
    align-items: center;
    justify-content: space-around;
    animation: logoloop 30s linear infinite;
}

.logo_item{
    margin-left: 1rem;
    padding: 1rem;
    aspect-ratio: 30/9;
    display: grid;
    place-items: center;
    border-radius: 1rem;
}

.logo_item img{
    width: 200px;
    height: 10rem;
    margin-inline: 2rem;
}

@keyframes logoloop{
    from{
        transform: translateX(0);
    }
    to{
        transform: translateX(-100%);
    }
}























@media(max-width:1285px){
    html{
        font-size: 55%;
        font-weight: 600;
    }
    
}

@media(max-width:1024px){
    header{
        padding: 2rem 3%;
    }
    .logo-img{
        left: 55rem;
    }
}
@media(max-width:1100px){
    header{
        padding: 2rem 3%;
    }
    .logo-img{
        left: 55rem;
    }
}
@media(max-width:991px){
    header{
        padding: 2rem 3%;
    }
    .logo-img{
        left: 55rem;
    }
}

@media(max-width:895px){
    #menu-icon{
        display: block;
    }
    .navbar{
        position: absolute;
        top: 100%;
        right: 0;
        width: 50%;
        padding: 1rem 3%;
        background: rgba(0, 0, 0, 0.8);
        backdrop-filter: blur(20px);
        border-bottom-left-radius: 2rem;
        border-left: 2px solid var(--main-color);
        border-bottom: 2px solid var(--main-color);
        display: none;
    }
    .navbar.active{
        display: block;
    }
    .navbar a{
        display: block;
        font-size: 2rem;
        margin: 3rem 0;
        color: white;
    }

    .home{
        flex-direction: column-reverse;
        margin: 5rem 4rem;
    }

    .logo-img{
        top: 85rem;
        left: 70rem;
    }

    .home-content h3{
        font-size: 2.6rem;
    }
    .home-content p{
        max-width: 600px;
        margin: 0 auto;
    }
    .home-img img{
        width: 56vw;
    }
    
}
















.tel{
    text-align: center;
    padding-bottom: 25px;
    color: var(--main-color);
}

.tel a{
    font-size: 25px;
    color: var(--main-color);
    border: 2px solid var(--main-color);
    width: 60px;
    line-height: 60px;
    display: inline-block;
    text-align: center;
    border-radius: 50%;
    margin: 0 10px;
    transition: 0.3s ease-in-out;
}

.tel a:hover{
    transform: scale(1.2)translateY(-10px);
    background-color: var(--main-color);
    color: black;
    box-shadow: 0 0 25px var(--main-color);
}
.whats{
    text-align: center;
    padding-bottom: 25px;
    color: var(--main-color);
}

.whats a{
    font-size: 25px;
    color: var(--main-color);
    border: 2px solid var(--main-color);
    width: 60px;
    line-height: 60px;
    display: inline-block;
    text-align: center;
    border-radius: 50%;
    margin: 0 10px;
    transition: 0.3s ease-in-out;
}

.whats a:hover{
    transform: scale(1.2)translateY(-10px);
    background-color: var(--main-color);
    color: black;
    box-shadow: 0 0 25px var(--main-color);
}









/* ---------------media--------------- */



@media(max-width:1600px){
    
    
    
    .logo-img{
        position: absolute;
        display: flex;
        top: 15rem;
        left: 60rem;
    }
    
}
@media(max-width:1350px){
    
    
    
    .logo-img{
        position: absolute;
        display: flex;
        top: 26rem;
        left: 60rem;
    }
    
}
@media(max-width:1250px){
    
    .navbar a{
        font-size: 1.4rem;
    }
    
    .logo-img{
        position: absolute;
        display: flex;
        top: 26rem;
        left: 57rem;
    }
    .products-box h1{
        font-size: 60px;
    }
    
}
@media(max-width:1150px){
    
    
    .navbar a{
        font-size: 1.3rem;
        
        top: 100%;
        right: 0;
        width: 50%;
        
    }
    
    .logo-img{
       
        
        top: 25rem;
        left: 510px;
    }

    .home-content h1{
        font-size: 6rem;
    }
    .text-animation span{
        font-size: 31px;
    }
}
@media(max-width:1100px){
    
    
    .navbar a{
        font-size: 1.2rem;
        margin-left: 1rem;
        top: 100%;
        right: 0;
        width: 50%;
        
    }
    
   
    
    
    

    .logo-img{
        top: 25rem;
        left: 48rem;
    }

    .home-content h3{
        font-size: 2.5rem;
    }
    .home-content p{
        max-width: 600px;
        margin: 0 auto;
    }
    
    .btn{
        display: inline-block;
        padding: 1rem 1.5rem;
       
    }
    

    
}
@media(max-width:1024px){
    
    .navbar a{
        font-size: 1.2rem;
        margin-left: 1rem;
        top: 100%;
        right: 0;
        width: 50%;
        
    }
    
   
    
    
    

    .logo-img{
        top: 25rem;
        left: 45rem;
    }

    .home-content h3{
        font-size: 2rem;
    }
    .home-content p{
        max-width: 600px;
        margin: 0 auto;
    }
    
    .btn-group{
        align-items: center;
        justify-content: center;
    }

    .btn{
        display: inline-block;
        padding: 1rem 1.5rem;
       
    }


    .home-content h1{
        font-size: 4rem;
    }
    .home-content h2{
        font-size: 3rem;
    }
    .text-animation span{
        font-size: 25px;
    }
    
}








@media(max-width:991px){
    
    
    header{
        padding: 2rem 3%;
    }
   

    
    .logo-img{
        top: 9rem;
        left: 10rem;
    }

    .social-icons a{
        display: inline-flex;
        justify-content: center;
        align-items: center;
        width: 3.5rem;
        height: 3.5rem;
       
    }

   .contact {
    align-items: center;
    justify-content: center;
   
    
   }
   .contact .heading {
    align-items: center;
    justify-content: center;
   
    
   }
    
    
    
}

@media(max-width:912px){
    #menu-icon{
        display: block;
    }
    .navbar{
        position: absolute;
        top: 100%;
        right: 0;
        width: 50%;
        padding: 1rem 3%;
        background: rgba(0, 0, 0, 0.8);
        backdrop-filter: blur(20px);
        border-bottom-left-radius: 2rem;
        border-left: 2px solid var(--main-color);
        border-bottom: 2px solid var(--main-color);
        display: none;
    }
    .navbar.active{
        display: block;
    }
    .navbar a{
        display: block;
        font-size: 2rem;
        margin: 3rem 0;
        color: white;
    }


    .home{
        flex-direction: column-reverse;
        margin: 5re 4rem;
    }
    .home-content h3{
        font-size: 2.5rem;

    }

    .home-content h1{
        font-size: 8rem;
        margin-top: 3rem;
    }
    .home-content h2{
        font-size: 6rem;
        margin-top: 3rem;
    }
    
    .home-content p{
        font-weight: 800;
        font-size: 2rem;
        margin: 0 auto;
    }
    .products{
        padding-bottom: 7rem;
    }
    .products .wrapper{
        grid-template-columns: repeat(1,1fr);
    }

    .products h2{
        margin-bottom: 3rem;
    }
    .footer{
        padding: 2rem 3%;
    }

    .tel{
        
        position: fixed;
        bottom: 22%; 
        right: 10px;
        display: block;
        padding: 2rem 3%;
        z-index: 999;
    }




    .whats{
        position: fixed;
        bottom: 7%; 
        right: 10px;
        display: block;
        padding: 2rem 3%;
        z-index: 999;
        padding: 2rem 3%;
    }


    
    .logo-img{
        top: 11rem;
        left: 15rem;
    }


    .section_title h3{
        font-size: 5rem;
        font-weight: bold;
        margin-top: 6rem;
    }


}



@media(max-width:750px){
    .logo-img{
        top: 11rem;
        left: 10rem;
    }
}
@media(max-width:600px){
    .logo-img{
        top: 11rem;
        left: 5rem;
    }



    
.contact form{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin: 3rem 2rem;
    text-align: center;
}

.contact form .input-box input,
.contact form textarea{
    width: 100%;
    padding: 1.5rem;
    font-size: 1.2rem;
    

}


.contact form .btn{
    margin-top: 2rem;
}
}

@media(max-width:450px){
    section {
        
        padding: 8rem 2% 2rem;
    }

    #menu-icon{
        font-size: 5rem;
    }
    
    

    .logo-img{
        top: 28rem;
        left: 175px;
    }

    .home-content h1{
        font-size: 7rem;
        margin-top: 3rem;
    }

    .header .langeush_btn{
       place-items: center;
    }

    .btn{
        
    padding: 0.5rem 1rem;
    
   
    border-radius: 1rem;
    font-size: 1rem;
    color: rgb(252, 229, 193);
    border: 2px solid transparent;
    letter-spacing: 0.1rem;
    font-weight: 600;
    transition: 0.3s ease-in-out;
    cursor: pointer;
    }
    .header .langeush_btn{
        margin-left: -60px;
        gap: 2rem;
    }

    .section_title h3{
        font-size: 4rem;
        font-weight: bold;
        margin-top: 6rem;
    }
}


 @media(max-width:414px){
    .logo-img{
        top: 28rem;
        left: 160px;
    }
 }

@media(max-width:400px){
    .btn{
        
        padding: 0.5rem 0.7rem;
        
       
        border-radius: 1rem;
        font-size: 0.8rem;
        color: rgb(252, 229, 193);
        border: 2px solid transparent;
        letter-spacing: 0.1rem;
        font-weight: 600;
        transition: 0.3s ease-in-out;
        cursor: pointer;
        }

        .header .langeush_btn{
            margin-left: -60px;
            gap: 2rem;
        }
        .logo-img{
            top: 28rem;
            left: 140px;
        }

}
@media(max-width:350px){
    .btn{
        
        padding: 0.5rem 0.7rem;
        
       
        border-radius: 1rem;
        font-size: 0.8rem;
        color: rgb(252, 229, 193);
        border: 2px solid transparent;
        letter-spacing: 0.1rem;
        font-weight: 600;
        transition: 0.3s ease-in-out;
        cursor: pointer;
        }

        .header .langeush_btn{
            margin-left: -80px;
            gap: 2rem;
        }

        .logo-img{
            top: 26rem;
            left: 130px;
        }


        .section_title h3{
            font-size: 3rem;
            font-weight: bold;
            margin-top: 6rem;
        }
}

@media(max-width:345px){
    .logo-img{
        top: 26rem;
        left: 125px;
    }
}
@media(max-width:330px){
    .header .langeush_btn{
        margin-left: -150px;
        
    }
}





















