@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,600;1,100;1,200&display=swap');

:root{
    --blue :#21397f;
    --black:#333;
    --white:#fff;
    --light-color:#666;
    --light-bg:#eee;
    --border:.2rem solid rgba(0,0,0,.1) ;
    --border-white:.2rem solid rgb(255, 255, 255, 0.3) ;
    --box-shadow: 0.5rem 0.5rem rgba(112, 112, 112, 0.1) ;
}
*{
    font-family: 'poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    border:none;
    text-decoration: none !important;
    
}
*::-webkit-scrollbar{
    height:.5rem;
    width: 1rem;
}

*::-webkit-scrollbar-track{
    background-color: transparent;
}
*::-webkit-scrollbar-thumb{
    background-color: var(--blue);
}

html{
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-behavior: smooth;
    scroll-padding-top: 6.5rem  ;
}
section{
    padding:  7rem 2rem;
}
.heading{
    text-align: center;
    font-size: 4rem;
    color: var(--blue);
    text-transform: uppercase;
    font-weight: bolder;
    margin-bottom: 3rem;
}
.sub-heading{
    text-align: center;
    font-size: 2.5rem;
    color: var(--white);
    text-transform: uppercase;
    font-weight: bolder;
    margin-bottom: 2rem;
    
}
.sub-heading-2{
    text-align: center;
    font-size: 2.5rem;
    color: var(--black);
    text-transform: uppercase;
    font-weight: bolder;
    margin-bottom: 2rem;
    padding-top: 2.4rem;
   
}

.link-btn{
    display: inline-block;
    padding: 1rem 5rem;
    border-radius: .5rem;
    cursor: pointer;
    font-size: 1.7rem;
    color: var(--white);
    background-color: var(--blue);
}
.link-btn:hover{
    background-color: var(--black);
    color: var(--white);
}


/* header starts  */
.header{
    padding: 0.7rem;
    border-bottom: var(--border);
    /* position: fixed; */
    background-color: var(--white);
 
}
.header.active{
    background-color: var(--white);
    box-shadow: var(--box-shadow);
    border: 0;
}

.header .logo{
    font-size: 2rem;
    color: var(--black);

}
.header .logo img{
    /* height: 17rem; */
    width: 20rem;
}
.header .nav a{
    margin: 0 1rem;
    font-size: 2rem;
    color: var(--black);
}

.header .nav .social-links a{
    margin: 0 1rem;
    font-size: 2rem;
    color: var(--blue);
}
.header .nav a:hover{
    color: var(--blue);
}

#menu-btn{
    font-size: 2rem;
    color: var(--black);
    cursor: pointer;
    display: none;
}

/* home section starts  */
.home{
    background: url(../img/home9.jpg) no-repeat;
    background-size: cover;
    background-position: center;
    height: 100vh;
}

.home .content{
    width: 70rem;
    padding: 2rem;
}

.home .content h3{
    font-size: 4rem;
    text-transform: uppercase;
    color: var(--white);
    font-weight: bold;
}

.home .content p{
    line-height: 2;
    font-size: 1.5rem;
    color: var(--white);
    padding: 1rem 0;
    font-weight: 400;
}
/* home section ends */

/* about section :start */
.about{
    background-color: var(--light-bg);
}
.about .d-flex{
    min-height: 50vh;
}
.about .content span{
    font-size: 4rem;
    color: var(--blue);
    margin-bottom: 1rem;
}
.about .content h3{
    font-size: 2.8rem;
    color: var(--blue) ;
    margin-top: 1rem;
}
.about .content p{
    padding: 2rem 0;
    font-size: 1.4rem;
    color: var(--light-color);
    line-height: 1.4;
}

/* about section ends */

/* about us page unit section starts here  */
.unit{
    background-color: var(--white);
    padding: 2rem 0 0 0;
}
.sub-unit{

    background-color: var(--blue);
    
    
}
.sub-unit p{
    font-size: 1.6rem;
    text-align: center;
    color: var(--light-bg);
}

/* about us page unit section ends here  */




 /* group page starts */
 .group{
    padding: 4rem 0;
 }
 .group .icon-box{
    margin-top: 40px;

} 
.group .icon-box .icon{
    float: left;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4.5rem;
    height: 4.5rem;
    border: 2px solid var(--blue);
    border-radius: 50%;
    transition: 0.3s;
}
.group .icon-box .icon i{
    color: var(--blue);
    font-size: 2.5rem;
}
.group .icon-box:hover .icon{
    background:  var(--blue);
    border:  var(--blue);
}
.group .icon-box:hover .icon i{
    color: var(--white);
}
.group .icon-box p{
    margin-left: 6rem;
    padding-top: .6rem;
    font-size: 2rem;
    line-height: 24px;
    /* margin-top: 1rem; */
    
}
 /* group page ends */
 /* product page and zyphar group portfolio page starts */
 .product, .portfolio{
    background-color: var(--light-bg);
 }
 .product .box-container, .portfolio .box-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 2rem;
 }
 
 .product .box-container .box, .portfolio .box-container .box {
    text-align: center;
    padding: 2rem;
    background-color: var(--white);
    /* box-shadow: var(--box-shadow); */
    border-radius: 0.5rem;
 }
 .portfolio .box-container .box .box-icon{
    height: 7rem;
 }
 .product .box-container .box h3, .portfolio .box-container .box h3{
    font-size: 2rem;
    padding: 1rem 0;
    color: var(--blue);
 }
 .product .box-container .box p{
    font-size: 1.5rem;
    color: var(--black);
    line-height: 2;
 }
 .product .box-container .box:hover, .portfolio .box-container .box:hover {
    /* background-color: var(--blue); */
    transition: 0.1s;
    box-shadow: var(--box-shadow);
    
 }
 
 /* product page and zyphar group portfolio page ends  */

 /* form page starts here  */
 
.form form{
    border-radius: .5rem;
    padding: 2rem;
    margin: 0 auto;
    max-width: 50rem;
    background-color: var(--light-bg);

}

.form form .box{
    width: 100% ;
    margin-top: 1rem;
    margin-bottom: 2rem;
    border-radius: .5rem;
    padding: 1.2rem 1.4rem;
    font-size: 1.7rem;
    color: var(--black);
    background-color: var(--white);
}
.form form span{
    font-size: 1.7rem;
    color: var(--black);
}

 /* form page ends here  */

/* contact page starts  */
.contact{
    background-color: var(--light-bg);
}
.contact .box-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20rem, 2fr));
    gap: 3rem;
 }
 .contact .box-container .box{
    text-align: center;
 }
 .contact .box-container .box i{
    height: 5rem;
    width: 5rem;
    border-radius: 50%;
    line-height: 5rem;
    font-size: 2rem;
    background-color: var(--blue);
    color: var(--white);
   
 }
 .contact .box-container .box h3{
    font-size: 2rem ;
    margin: 2rem 0;
    color: var(--black);
 }
 .contact .box-container .box p , .contact .box-container .box p a {
    font-size: 1.5rem;
    color: var(--light-color);
    text-transform: none;
    line-height: 2;
    
 }
/* contact page ends  */

/* footer starts here  */
.footer{
    background-color: var(--blue);
}

.footer .content{
    margin-top: 2rem;
    color: var(--white);
}

.footer .content h3{
    font-size: 2.2rem;

}
.footer .content p{
    width: 30rem;
font-size: 1.6rem;
color: var(--light-bg);
text-transform: none;
}
.footer .content p a{
    text-decoration: none;
    text-transform: none;
    color: var(--light-bg);
}
.footer ul li{
 list-style: none;
 font-size: 2rem;
 transition: .2s;
 margin: .3rem;
}
.footer ul li i{
    margin-right: .8rem;
}
.footer ul li a{
    color: var(--white);
}
.footer .content .social-link a{
    color: var(--white);
    font-size: 2rem;
    margin-right: .6rem;
}

/* footer ends here  */







/* media queries */
@media(max-width:991px){

    html{
          font-size: 55%;
    }

    .header .link-btn{
        display: none;
    }
    section{
        padding:  5rem 2rem;
    }

    }

@media (max-width:768px){
    section{
        padding:  3rem 1rem;
    }

    #menu-btn{
        display: inline-block;
        transition: .2s linear;
    }

    #menu-btn .fa-times{
        transform: rotate(180deg);
    }
    .header .nav{
        position: absolute;
        top:99%; left:0; right:0;
        background-color: var(--white);
        border-top: var(--border);
        border-bottom: var(--border);
        padding: 1rem 0;
        text-align: center;
        flex-flow: column;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: .2s linear;
    }

    .header .nav a{
        margin: 1rem 0;
        font-size: 2rem;
    }
    
    .header .nav.active{
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    .home .content{
        width: auto;
    }
   
}

@media (max-width:450px){
    html{
          font-size: 50%;
    }

    .home .content h3{
        font-size: 4rem;
    }

    .heading{
    font-size: 3rem ;
    }

}

