@import url('https://fonts.googleapis.com/css2?family=Playwrite+AU+SA:wght@100..400&display=swap');

*{
    box-sizing: border-box;
    padding: 0; 
    margin: 0;
}
html{
    font-size: 10px;
    scroll-behavior: smooth;
}
button .btn{
    cursor: pointer;
    border: none;
    background: transparent;
}
ul{
    list-style-type: none;
}
a{
    text-decoration: none;
}
img{
    width: 100%;
    display: block;
}
.container{
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}
.vh-100{
    min-height: 90vh;
}
h2, h2, h3{
    margin-top: 0;
    margin-bottom: 1rem;
    color: #0866be;
}
.flex{
    display: flex;
    align-items: center;
    justify-content: center;
}
.py-7{
    padding: 7rem 0;
}
.grid{
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1rem;
}
.lead{
    opacity: 0.8;
    padding: 1rem 0;
    font-size: 1.6rem;
    font-weight: 300;

}


#sub-header{
    background: linear-gradient( rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3)), url('img/P1.jpg')
    center/cover no-repeat fixed;
    justify-content: flex-start;
    align-items: flex-end;
}
#sub-header .container{
    width: 100%;
}
.header-content{
    padding-bottom: 12rem;
}
.header-content h1{
    font-size: 3rem;
    font-family: "Playwrite AU SA", serif;
    margin-bottom: 0;
    color: #fc7b02;
}
.header-content img{
    width: 12rem;
}
.header-content p{
    color: #fff;
}
.social-links{
    display: flex;
    margin-top: 3.5rem;
}
.social-links li a{
    width: 40px;
    height: 40px;
    font-size: 2rem;
    background-color: #fff;
    color: #fc7b02;
    margin-right: 1rem;
    border-radius: .3rem;
    box-shadow: 0 0 6px 5px rgba(211, 208, 208, 0.2);
    transition: var(--transition);
}
.social-links li a:hover{
    color: #c96304;
}


header{
    position: fixed;
    width: 100%;
    top: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 100px;
    background: #edecea;
}
.sub-menu{
    display: none;
}
header ul li:hover .sub-menu{
    display: block;
    position: absolute;
    background: #edecea;
    margin-top: 15px;
    margin-left: 15px;
}
header ul li:hover .sub-menu ul {
    display: block;
    margin-top: 10px;
}
header ul li:hover .sub-menu ul li{
    width: 150px;
    padding: 10px;
    border-bottom: 1px dotted #0866be;
    background-color: transparent;
    border-radius: 0;
    text-align: left;
}
header ul li:hover .sub-menu ul li:last-child{
   border-bottom: none;
}
.logo{
    font-size: 3rem;
    font-weight: bold;
    font-family: "Playwrite AU SA", serif; 
    color: #0866be;
}
.navbar{
    position: relative;
    display: flex;
}
.navbar a{
    font-size: 1.5rem;
    padding: 10px 10px;
    font-weight: 500;
    color: var(--text-color);
}
.navbar a:hover{
    color: #0866be;
    font-family: "Playwrite AU SA", serif; 
}
#menu-icon{
    font-size: 2rem;
    cursor: pointer;
    display: none;
}





.about-left{
    margin-bottom: 1rem;
    overflow: hidden;
}
.about .content-right .title h2{
    font-size: 3rem;
    font-family: "Playwrite AU SA", serif;   
}
.about .content-right h2{
    font-size: 3rem;  
    color: #0866be;
    font-family: "Playwrite AU SA", serif; 
}
.about .content-right h3{
    font-size: 3rem;  
    font-family: "Playwrite AU SA", serif; 
}
.about .content-right{
    margin-bottom: 5rem;
}
#about p{
    font-size: 1.6rem;
}


#about-page{
    background: linear-gradient( rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
    url('img/camera.jpg') center/cover no-repeat fixed;
    color: var(--light-color);
}
.about-left{
    margin-bottom: 1rem;
    overflow: hidden;
}
.about .content-right{
    margin-bottom: 5rem;
}
#about-page h2{
    color: #fff;
    font-size: 3rem;
    font-family: "Playwrite AU SA", serif; 
}
#about-page h1{
    color: #fff;
    font-size: 3.5rem;
    font-family: "Playwrite AU SA", serif; 
}
#about-page h3{
    background-color: #fc7b02;
    color: #1b1b1b;
    font-size: 1.6rem;
    padding: 1rem;
}
#about-page p{
    font-size: 1.6rem;
    color: #fff;
}
#about-page .fas{
    font-size: 2.5rem;
    color: #fff;
    padding: .5rem;
    padding-right: 1.5rem;
}
#about-page .contact-content{
    background-color: #0866be;
    padding: 2rem 6rem 1rem 6rem ;   
    border-radius: 1rem;
    margin-top: 5rem;
}
#about-page .contact-content h2{
    color: #f7f7f7;
    font-size: 2.5rem;
}
#about-page .contact-content i{
    color: #1b1b1b;  
}
#about-page .contact-content p{
    color: #1b1b1b;
    font-size: 1.5rem;
}
#about .container button{
    padding: 10px;
    background-color: #fc7b02;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    border-radius: 5px;
}
#about .container button:hover{
    background-color: #b35905;
}

.btn-down{
    font-size: 2rem;
    display: inline-block;
    margin-top: 1rem;
    transition: var(--transition);
}
.btn-down:hover{
    opacity: 0.8;
    transform: translateY(5px);
}
.btn-down-white{
    color: var(--light-color);
}
.title{
    margin-bottom: 1rem;
}
.title h2{
    font-weight: 600;
    position: relative;  
}


#work{
    background: linear-gradient( rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3)), 
    url('img/banner\ \(2\).jpg') center/cover no-repeat fixed;
    color: var(--light-color);
}
#work .title h2{
    color: var(--light-color);
    font-family: "Playwrite AU SA", serif;
}
#work .title , #work h3{
    font-size: 3rem;
    color: #f7f7f7;
    font-family: "Playwrite AU SA", serif;
}
#work .title h2::after{
    background: var(--light-color);
}
#work ul{
    color: #eee;
}
#work i{
    font-size: 2.5rem;
    color: #eee;
}
#work i span{
    color: var(--light-color);
    padding-left: 1rem;
    padding-right: 1rem;
}
.work-bottom{
    margin-top: 4rem;
    text-align: center;
}
.work-bottom > div .icon img{
    width: 100px;
    margin: 0 auto 1.7rem auto;
}

.portfolio-grid > div{
    transition: var(--transition); 
}
.portfolio-grid> div:hover{
    transform: scale(0.9);
}

#work .insta-grid div{
    margin-bottom: 8rem;
}
#work li {
    font-size: 1.6rem;
}
#work .insta-grid div p{
    border-radius: .5rem;
    background-color: #ccc;
    padding: 1rem;
    color: #333;
    font-size: 1.5rem;
}



#videos{
    background: linear-gradient( rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3)), 
    url('img/banner2.jpg') center/cover no-repeat fixed;
    color: var(--light-color);
}
.video-container{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    align-items: flex-start;
    padding: 5px 5%;
}
.videos h2{
    padding-top: 3rem;
    font-size: 3.5rem;
    font-family: "Playwrite AU SA", serif;  
    color: #f7f7f7;
}
.video-container .main-video{
    background: #fff;
    border-radius: 5px;
    padding: 10px;
}
.video-container .main-video video{
    width: 100%;
    height: 500px;
    border-radius: 5px;
}
.video-container .main-video .video-title{
    color: #333;
    font-size: 1.6rem;
    padding-top: 15px;
}
.video-container .video-list{
    background: #fff;
    border-radius: 5px;
    height: 500px;
    overflow-y: scroll;
    margin-bottom: 4rem;
}
.video-container .video-list::-webkit-scrollbar{
    width: 7px;
}
.video-container .video-list::-webkit-scrollbar-track{
    background: #ccc;
    border-radius: 50px;
}
.video-container .video-list::-webkit-scrollbar-thumb{
    background: #0866be;
    border-radius: 50px;
}
.video-container .video-list .vid video{
    width: 100px;
    border-radius: 5px;
}
.video-container .video-list .vid{
    display: flex;
    align-items: center;
    gap: 15px;
    background: #f7f7f7;
    border-radius: 5px;
    margin: 10px;
    padding: 10px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    cursor: pointer;
}
.video-container .video-list .vid:hover{
    background: #eee;
}
.video-container .video-list .vid.active{
    background-color: #1b1b1b;
}
.video-container .video-list .vid.active .video-title{
    color: #fff;
}
.video-container .video-list .vid .video-title{
    color: #333;
    font-size: 16px;
}
#portfolio .title h2{
    font-family: "Playwrite AU SA", serif; 
    font-size: 2.5rem;
}



/*--testimonial---*/
.testimon{
    width: 100%;
    padding: 30px 0;
    display: flex;
    align-items: center;
    justify-content: center;  
}
.testimonial{
    width: 90%;
    max-width: 800px;
    margin: auto;  
}
.testimonial-text{
    background-color: rgb(44, 43, 43);
    color: #fff;
    width: 100%;
    height: 350px;
    position: relative;
    box-shadow: 1 15px 20px rgba(0,0,0,0.2);
}
.user-text{
    width: 80%;
    text-align: center;
    line-height: 30px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
}
.user-text p{
    font-size: 16px;
}
.user-text .fa{
    font-size: 25px;
    margin-bottom: 20px;
    margin-top: 20px;
}
.user-text span{
    display: block;
    font-size: 16px;
    margin-top: 25px;
    font-weight: 600;
    text-transform: uppercase;
}
.testimonial-pic{
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.user-pic{
    width: 65px;
    padding: 5px;
    border-radius: 50%;
    margin: 10px;
    cursor: pointer;
}
.user-text.active-text{
    display: block;
    animation: moveup 0.5s linear forwards;
}
.user-pic.active-pic{
    width: 100px;
    border: 3px solid rgb(41, 41, 41);
}
 



.contact{
    background-color: rgb(248, 248, 248); 
}
.contact-content{
    flex-direction: column;
    align-items: stretch;
}
.contact-left{
    margin-bottom: 5rem;
}
.contact-left .lead{
    padding: 0.5rem;
}
#contact .title h2{
    font-family: "Playwrite AU SA", serif; 
    font-size: 2.5rem;
}
.contact-left .lead .fas{
    font-size: 2rem;
    padding-right: 3rem;
    color: #0866be;
}
.contact-left .lead {
    font-size: 1.6rem;
}
.contact-left form{
    margin-top: 2rem;
}
.contact-left form .form-control{
    display: block;
    margin: 1rem 0;
    border: 1px solid rgba(51, 36, 36, 0.3);
    border-radius: 1rem;
    padding: 1rem;
    width: 100%;
    font-family: 'Poppins';
    font-size: 1.5rem;
}
.about-left form .form-control::placeholder{
    font-size: 1.5rem;
}
.contact-left .btn-submit{
    padding: 1rem 3rem;
    background-color: #fc7b02;
    color: var(--light-color);
    margin-top: .5rem;
    font-size: 1.8rem;
    transition: var(--transition);
    border-radius: .5rem;
    border: none;
}
.contact-left .btn-submit:hover{
    background-color: #c96304;
}
.contact-right iframe{
    width: 100%;
    height: 300px;
}



#footer{
    background-color: #1b1b1b;
    color: #eee;
}
.footer-content{
    text-align: center;
}
.footer-content h3{
    color: var(--light-color);
    font: 2.5rem;
}
.footer-content h2{
    color: var(--light-color);
    font: 2.5rem;
}
.footer-content ul{
    flex-direction: column;
}
.footer-content ul li a{
    color: var(--light-color);
    font-size: 1.6rem;
    transform: var(--transition);
}
.footer-content ul li a:hover{
    opacity: 0.7;
}
.footer-content ul li{
    margin: .5rem 1rem;
}
.footer-content > div:first-child{
    margin-bottom: 1rem;
}
.footer-content > div:first-child div{
    width: 100px;
    height: 60px;
    overflow: hidden;
    margin: 2rem auto;
    border-radius: 50%;
}
#footer .container p{
    text-align: center;
    padding-top: 2rem;
    font-family: "Playwrite AU SA", serif; 
}




@media(min-width:450px){
    .work-bottom{
        grid-template-columns: repeat(2, 1fr);
        column-gap: 3rem;
        row-gap: 0;
    }
    .video-container{
        grid-template-columns: 1fr;
    }
}


@media(min-width: 576px){
    .tittle h2{
        font-size: 3.5rem;
    }
    .work-bottom{
        grid-template-columns: repeat(4, 1fr);
    }
    .portfolio-grid{
        grid-template-columns: repeat(2, 1fr);
    }
    .portfolio-grid > div{
        height: 300px;
        overflow: hidden;
    }
    .portfolio-grid > div img{
        height: 100%;
        overflow: hidden;
    }
    .contact-left form .form-control{
        max-width: 500px;
    }
    .footer-content ul{
        flex-direction: row;
    }
    .video-container{
        grid-template-columns: 1fr;
    }
}


@media(min-width: 768px){
    .header-content h1{
        font-size: 3.5rem;
    }
    .header-content p{
        font-size: 1.6rem;
    }
    .about-content, .work-tp{
        grid-template-columns: repeat(2, 1fr);
        column-gap: 6rem;
        row-gap: 0;
    }
    .about-left{
        margin-bottom: 0;
    }
    .contact-content{
        flex-direction: row;
    }
    .contact-right{
        padding-left: 3rem;
        width: 50%;
    }
    .contact-left{
        width: 50%;
    }
    .insta-grid{
        grid-template-columns: repeat(2, 1fr);
    }
    .video-container{
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width:770px){
    .testimon{
        flex-basis: 100%;
    }
    .testimonial-text{
        width: 100%;
        height: 450px;
    }
    .testimonial-text p{
        font-size: 14px;
    }
    .user-pic{
        width: 50px;
        padding: 5px;
        margin: 5px;
    }
    .team-col{
        flex-basis: 100%;
    }
    .mechine-col{
        flex-basis: 100%;
    }
    form div{
        width: 95%;
    }
}

@media(min-width:992px){
    .insta-grid{
        grid-template-columns: repeat(4, 1fr);
    }
    .insta-grid > div{
        height: 250px;
    }
    .video-container{
        grid-template-columns: 1.5fr 1fr;
        padding: 10px;
    }
}

@media(min-width: 1200px){
    .portfolio-grid{
        grid-template-columns: repeat(3, 1fr);
    }
    .portfolio-grid > div:nth-child(2){
        grid-column: 2 / 4;
    }
    .portfolio-grid > div:nth-child(6){
        grid-column: 1 / 3;
    }
}


@media screen and (max-width: 678px) {
    header .logo{
        font-size: 2rem;
    }
    #sub-header .lead{
        font-size: 16px;
    }
    header .navbar{
        position: absolute;
        top: -500px;
        left: 0;
        right: 0;
        display: flex;
        flex-direction: column;
        background-color: rgba(8, 8, 8, 0.45);
        backdrop-filter: blur(4.5px);
        border: 1px solid rgba(255,255,255,0.18);
        transition: 0.9s ease;
        text-align: right;
    }
    header ul li:hover .sub-menu{
        display: block;
        position: relative;
        background: transparent;
        margin-top: -35px;
        margin-right: -10px;
    }
    header  ul li:hover .sub-menu ul li{
        width: 100%;
        padding: -20px;
        border-bottom: none;
        background-color: transparent;
        border-radius: 0;
        margin-top: -40px;
        text-align: right;
       }
    header  ul li:hover .sub-menu ul li a{
        font-size: 14px;
       }

    .navbar a{
        padding: 1.6rem;
        margin-right: 1.3rem;
        display: block;
        color: #edecea;
    }
    .navbar.active{
        top: 100%;
    }
    .navbar a:hover{
        color: #eee;
        font-family: "Playwrite AU SA", serif; 
    }
}





