html {
    direction: rtl;
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    font-family: 'Cairo', 'Inter', sans-serif;
}

a{
    list-style: none;
    color: #fff;
}

.text-center{
    text-align: center;
}

:root{
    --bg-color: #fff;
    --second-bg-color: #000;
    --text-color:#fff;
    --main-color: darkorange;
}

section{
    min-height: 100vh;
    padding: 7rem 4% 7rem;
    border-bottom: .1rem solid rgba(0,0,0, .2);
    background: linear-gradient(135deg, #ffffff 0%, #f7f7f7 100%);
}

.heading{
    font-size: 45px;
    margin-bottom: 5rem;
    text-align: center;
}

.btn{
    background-color: #8f6949;
    color: #fff;
    font-size: 14px;
    padding: 7px;
    margin: 10px 0 0;
}

.btn:hover{
    box-shadow: .5rem .5rem .5rem rgba(143,105,73, .3);
    cursor: pointer;
}

@media (max-width: 1200px) {
    section{
        padding: 5rem 4% 5rem;
    }
    .heading{
        margin-bottom: 3rem;
    }
}
@media (max-width: 800px) {
    section{
        padding: 4rem 4% 1.5rem;
    }
    .heading{
        font-size: 30px;
        margin-bottom: 2rem;
    }
    .btn{
        padding: 1px 3px;
    }
}

/* Header CSS */
.header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 7%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 999;
}

.header.sticky{
    background:#fff;
    border-bottom: .1rem solid rgba(0,0,0, .2);
}

.header.sticky .navbar a{
    color: #000;
}

.header select{
    text-align: center;
    padding: 10px 0;
    background-color: rgba(0,0,0,.0);
    color: #000;
    font-size: 18px;
    border-radius: 5px;
}

.header select option{
    border-radius: 5px;
}

.logo{
    display: inline;
    font-size: 2rem;
    color: var(--main-color);
    font-weight: bold;
    cursor: default;
}

.navbar a{
    font-size: 1.6rem;
    color: #fff;
    margin-left: 4rem;
    transition: .3s;
}

.navbar a:hover,
.header.sticky .navbar a:hover,
.header.sticky .navbar a.active,
.navbar a.active{
    color: var(--main-color);
}

#menu-icon{
    font-size: 3.6rem;
    color: var(--second-bg-color);
    display: none;
}

@media (max-width: 1220px){
    .header{
        padding: 1.1rem 3%;
    }
    .navbar a{
        margin-left: 1rem;
        font-size: 1.2rem
    }
}

@media(max-width:815px){
    header{
        background: #fff;
        text-align: center;
    }
    #menu-icon{
        display: block;
    }
    .navbar{
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 0 3%;
        background: var(--bg-color);
        border-top: .1rem solid rgba(0,0,0, .2);
        box-shadow: 0 .5rem 1rem rgba(0,0,0, .2);
        display: none;
    }
    
    .navbar.active {
        display: block;
    }
    
    .navbar a{
        display: block;
        font-size: 1.5rem;
        margin: 1.5rem 0;
        color: #000;
    }
    .header.sticky .navbar a,{
        color: #000;
    }
    .header select{
        color: #000;
        font-size: 14px;
    }
    .logo{
        font-size: 25px;
        margin: auto;
    }
}

/*   Home CSS   */

.home{
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
    animation: change 20s infinite steps(1, end);
}
.home img{
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
}

.home .overlay{
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0,0,0,0.3);
}

.home .overlay .content{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 80%;
}
.home .overlay h1{
    font-size: 2rem;
    color: var(--text-color);
    text-align: center;
    padding: 10px;
}

.home .overlay p{
    color: var(--text-color);
    text-align: center;
    font-size: 20px;
    line-height: 1.5;
    padding: 10px;
}

@keyframes change{
    0%{
        background-image: url(../images/home/1.jpg);
    }
    33%{
        background-image: url(../images/home/2.jpg);
    }
    75%
    {
        background-image: url(../images/home/Solar.jpg);
    }
}

@media (max-width: 1200px) {
    .home .overlay .content{
        width: 90%;
        padding: 10px;
    }
}

@media (max-width: 800px) {
    .home{
        background-position: center;
        background-size: cover;
        background-attachment: fixed;
        animation: change-xm 20s infinite steps(1, end);
    }
    .home .overlay h1{
        font-size: 20px;
    }
    .home .overlay p{
        font-size: 18px;
    }
    @keyframes change-xm{
        0%{
            background-image: url(../images/home/1-xm.jpg);
        }
        50%
        {
            background-image: url(../images/home/Solar.jpg);
        }
    }
}

/* about css */
about{
    min-height: auto;
    padding-bottom: 5rem;
}

.about .about-row{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    align-items: center;
    align-content: center;
    gap: 0.5rem;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    margin: 10px 0;
}

.about .content{
    width: 97%;
    height: auto;
    margin: 15px auto;
}

.about .content h3{
    font-size: 25px;
}

.about .content p{
    font-size: 20px;
    line-height: 1.5;
    text-align: justify;
    padding-bottom: 5px;
}

.about img{
    width: 83%;
    height: auto;
    border-radius: 5px;
    margin: 0 auto 10px;
}

.about .display-lm{
    display: block;
}

.about .display-xm{
    display: none;
}

@media(max-width:1200px){
    .about .content{
        padding: 1.5rem;
        margin: 1rem 1rem;
    }
    .about img{
        width: 90%;
        height: 400px;
    }
    .about .about-row{
        grid-template-columns: repeat(1,1fr);
        border-bottom: 0;
    }
    .about .display-lm{
        display: none;
    }

    .about .display-xm{
        display: block;
    }
}

@media(max-width:768px){
    .about .about-row{
        margin-bottom: 30px
    }
    .about .content{
        padding: 1rem;
        margin: 10px 0;
        width: 100%;
    }
    .about .content h3{
        font-size: 1.5rem;
    }
    .about .content p{
        font-size: 15px;
    }
    .about img{
        width: 100%;
        height: auto;
        margin: 0;
    }
}


.mgn-top{
    margin: 64px 0 0;
}


/* Customer sat CSS */

.customer-sat {
    background-image: url(../images/home/1.jpg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #fff;
    text-align: center;
    margin: auto;
}

.customer-sat .overlay{
     background: rgba(0,0,0, .6);
}

.customer-sat .overlay h3{
    font-size: 30px;
    font-weight: bold;
    width: 70%;
    padding: 20px 0;
    margin: auto;
    line-height: 1.5;
}

.customer-sat .overlay p{
    font-size: 22px;
    width: 50%;
    margin : 10px auto 0px;
    padding: 0 0 20px;
    line-height: 1.5;
    text-align: justify;
}

@media(max-width: 1200px){
    .customer-sat .overlay p{
        font-size: 20px;
        width: 70%;
    }
}

@media(max-width:768px){
    .customer-sat{
        background-image: url(../images/home/1-xm.jpg);
    }
    .customer-sat .overlay h3{
        font-size: 22px;

        width: 90%;
    }
    .customer-sat .overlay p{
        width: 90%;
        line-height: 1.5;
        font-size: 18px;
    }
}


/*   Productn CSS   */

.product .pro-container{
    display: grid;
    grid-template-columns: repeat(4,1fr);
    align-items: center;
    gap: 1.5rem;
}

.pro-container .pro-box{
    padding: 1.5rem;
    background: #fff;
    outline: 1rem solid rgba(0,0,0, .1);
    outline-offset: -1rem;
    text-align: center;
    box-shadow: 0 .5rem 1.5rem rgba(0,0,0,.1);
    overflow: hidden;
    border-radius: 10px;
}

.pro-container .pro-box:hover {
    outline: .2rem solid #000;
    outline-offset: 0rem;
}

.pro-box img{
    margin: 1rem 0;
    height: 8rem;
}

.pro-box h4{
    font-size: 2.5rem;
    line-height: 1.8;
    color: #000;
}

.pro-box table{
    font-size: .9rem;
    line-height: 1.5;
    color: #666;
    padding: .5rem 0;
    border: 1px solid;
    margin: 0 auto 20px;
    width: 90%;
}


@media (max-width: 1400px){
       
    .product .pro-container{
        grid-template-columns: repeat(3,1fr);
    }
    .pro-container .pro-box{
        margin: 0;
        padding: 0.5rem;
    }
    .pro-box p{
        font-size: 1.5rem;
        line-height: 1.5;
        color: #666;
        padding: 2rem 1rem;
    }
    .pro-box img{
        margin: 2rem 0 0;
    }

}

@media(max-width:968px){
   .product .pro-container{
        grid-template-columns: repeat(2,1fr);
    }
    .pro-container .pro-box{
        margin: 0;
        padding: .5rem 1rem;
    }
    .pro-box h4{
        font-size: 1.8rem;
        line-height: 1.8;
        color: #000;
    }
    .pro-box p{
        font-size: 1.2rem;
        line-height: 1.3;
        color: #666;
        padding: 2rem 1rem;
    }
    .pro-box img{
        margin: 3rem 0 0;
        height: 7rem;
    }
}

@media(max-width:600px){
    .product .pro-container{
        width: 92%;
        margin: auto;
        grid-template-columns: repeat(1,1fr);
    }
    .pro-box img{
        margin: 2rem 0 0;
        height: 5rem;
    }
}

/* Video CSS */
.vid-sec{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    align-items: center;
    align-content: center;
    gap: 0.5rem;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    margin: 50px 20px;
}

.vid-sec video{
    width: 90%;
    height: auto;
    border-radius: 10px;
    margin: 0 auto 50px;
}

.vid-sec .layer{
    padding: 15px;
    border-radius: 10px;
    width: 90%;
    margin: 0 auto 50px;
}

.vid-sec h3{
    font-size: 30px;
    margin-bottom: 20px;
}

.vid-sec p{
    font-size: 20px;
    text-align: justify;
    line-height: 1.5;
}

@media(max-width: 1400px){
    .vid-sec{
         grid-template-columns: repeat(1,1fr);
    }
    .vid-sec video{
        width: 70%;
    }
}

@media(max-width: 768px){
    .vid-sec video{
        width: 100%;
    }
    .vid-sec .layer{
        width: 100%;
        padding: 5px;
    }
    .vid-sec h3{
        font-size: 22px;
        margin-bottom: 10px;
    }
    .vid-sec p{
        font-size: 18px;
    }
}

/* footer css*/

footer{
    color: white;
    font-size: 18px;
    text-align: center;
}
footer .heading{
    color: #000;
}
footer .row{
    border-top-left-radius: 135px;
    border-top-right-radius: 135px;
    background: #452d77;
    width: 100%;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    color: #fff;
    border-bottom: 1px solid #fff;
}

footer .col{
    flex-basis: 25%;
    padding: 30px 10px;
}

footer .col:hover{
    background-color: #fff;
    color: #000;
}

footer iframe {
    width: 100%;
    height: 350px;
}

footer .col i{
    width: 80px;
    font-size: 40px;
    margin-bottom: 10px;
    border: 2px solid #fff;
    border-radius: 100%;
    line-height: 80px;
}

footer .col p{
    direction: ltr;
}

footer .copy-desc{
    padding: 25px 0;
    background-color: #452d77;
}

@media (max-width:768px) {
    footer .copy-desc{
        font-size: 12px;
    }
    footer .col{
        flex-basis: 100%;
        padding: 10px;
    }
}