@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700&display=swap');

:root{
    --blue:#0abde3;
    --black:#130f40;
    --light-color:#666;
    --border:.1rem solid rgba(0,0,0,.1);
    --box-shadow:0 .5rem 1rem rgba(0,0,0,.1);
}

*{
    font-family: 'Poppins', sans-serif;
    margin:0; padding:0;
    box-sizing: border-box;
    outline: none; border:none;
    text-decoration: none;
    text-transform: capitalize;
    transition: all .2s linear;
}

html{
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-padding-top: 7rem;
    scroll-behavior: smooth;
}

section{
    padding:2rem 9%;
}

html::-webkit-scrollbar{
    width:1rem;
}

html::-webkit-scrollbar-track{
    background: #fff;
}

html::-webkit-scrollbar-thumb{
    background: var(--blue);
    border-radius: 5rem;
}

.heading{
    text-align: center;
    padding-bottom: 2rem;
    font-size: 5rem;
    color:var(--black);
}

.heading span{
    position: relative;
    z-index: 0;
}

.heading span::before{
    content: '';
    position: absolute;
    bottom: 1.2rem; left:0;
    height: 100%;
    width:100%;
    background: var(--blue);
    clip-path: polygon(0 90%, 100% 83%, 100% 100%, 0% 100%);
    z-index: -1;
}

.btn{
    margin-top: 1rem;
    display: inline-block;
    padding:.9rem 3rem;
    font-size: 1.7rem;
    cursor: pointer;
    color:#fff;
    background: var(--black);
    border-radius: .5rem;
}

.btn:hover{
    background: var(--blue);
}

.header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding:2rem 9%;
    background: var(--black);
    position: fixed;
    top:0; left:0; right:0;
    z-index: 1000;
}

.header .techguide{
    text-transform: uppercase;
    font-size: 2.5rem;
    color:#fff;
    font-weight: bolder;
}

.header .navbar a{
    margin-left: 2rem;
    font-size: 1.7rem;
    color:#fff;
}

.header .navbar a:hover{
    color:var(--blue);
}

#menu-btn{
    cursor: pointer;
    color:#fff;
    font-size: 3rem;    
    display: none;
}

.home{
    padding-top: 9rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap:1.5rem;
}

.home .image{
    flex:1 1 42rem;
}

.home .image img{
    width: 100%;
}

.home .content{
    flex:1 1 42rem;
}

.home .content h3{
    color:var(--black);
    font-size: 4rem;
    line-height: 1.2;
}

.home .content p{
    color:var(--light-color);
    font-size: 1.5rem;
    line-height: 1.8;
    padding:.5rem 0;
    text-transform: none;
}

.rmhome{
    padding-top: 13rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap:1.5rem;
}

.rmhome .image{
    flex:1 1 42rem;
}

.rmhome .image img{
    width: 100%;
}

.rmhome .content{
    flex:1 1 42rem;
}

.rmhome .content h3{
    color:var(--black);
    font-size: 4rem;
    line-height: 1.2;
}

.rmhome .content p{
    color:var(--light-color);
    font-size: 1.5rem;
    line-height: 1.8;
    padding:.5rem 0;
    text-transform: none;
}

.courses{
    padding-top: 9rem;
    gap:1.5rem;
}

.courses .box-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(27rem, 1fr));
    gap:1.5rem;
}

.courses .box-container .box{
    text-align: center;
    border:var(--border);
    box-shadow: var(--box-shadow);
    border-radius: .5rem;
    padding:2.5rem;
}

.courses .box-container .box img{
    height: 18rem;
    
}

.courses .box-container .box h3{
    font-size: 2.3rem;
    color:var(--black);
}

.courses .box-container .box p{
    font-size: 1.4rem;
    color:var(--light-color);
    padding:1rem 0;
    line-height: 1.8;
    text-transform: none;
}

.job{
    padding-top: 9rem;
    gap:1.5rem;
}

.job .box-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(27rem, 1fr));
    gap:1.5rem;
}

.job .box-container .box{
    text-align: center;
    border:var(--border);
    box-shadow: var(--box-shadow);
    border-radius: .5rem;
    padding:2.5rem;
}

.job .box-container .box img{
    height: 18rem;
    
}

.job .box-container .box h3{
    font-size: 2.3rem;
    color:var(--black);
}

.job .box-container .box p{
    font-size: 1.4rem;
    color:var(--light-color);
    padding:1rem 0;
    line-height: 1.8;
    text-transform: none;
}

.materials{
    padding-top: 9rem;
    gap:1.5rem;
}

.materials .box-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(27rem, 1fr));
    gap:1.5rem;
}

.materials .box-container .box{
    text-align: center;
    border:var(--border);
    box-shadow: var(--box-shadow);
    border-radius: .5rem;
    padding:2.5rem;
}

.materials .box-container .box img{
    height: 18rem;
    
}

.materials .box-container .box h3{
    font-size: 2.3rem;
    color:var(--black);
}

.materials .box-container .box p{
    font-size: 1.4rem;
    color:var(--light-color);
    padding:1rem 0;
    line-height: 1.8;
    text-transform: none;
}

.about{
    padding-top: 9rem;
    gap: .5rem;
}

.about .row{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap:1.5rem;
}

.about .row .image{
    flex:1 1 42rem;
}

.about .row .image img{
    width:100%;
}

.about .row .content{
    flex:1 1 42rem;
} 

.about .row .content h3{
    color:var(--black);
    font-size: 3.5rem;
    line-height: 1.8;
}

.about .row .content p{
    color:var(--light-color);
    font-size: 1.4rem;
    line-height: 1.8;
    padding:1rem 0;
}

.teacher{
    padding-top: 9rem;
    gap:1.5rem;
}

.teacher .box-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(27rem, 1fr));
    gap:1.5rem;
}

.teacher .box-container .box{
    border:var(--border);
    box-shadow: var(--box-shadow);
    border-radius: .5rem;
    text-align: center;
    padding:2.5rem 2rem;    
}

.teacher .box-container .box .title{
    font-size: 2rem;
    color:var(--black);
}

.teacher .box-container .box img{
    height: 20rem;
}

.teacher .box-container .box{
    font-size: 6rem;
    color:var(--black);
    font-weight: bolder;
}

.teacher .box-container .box{
    font-size: 2.5rem;
    font-weight: normal;
}

.teacher .box-container .box ul{
    padding:1rem 0;
    list-style: none;
}

.teacher .box-container .box ul li{
    padding:0;
    font-size: 1.7rem;
    color:var(--light-color);
    text-transform: none;
}

.teacher .box-container .box ul li a{
    padding:0;
    font-size: 1.7rem;
    color:var(--light-color);
    text-transform: none;
}

.contact{
    padding-top: 9rem;
    gap:1.5rem;
}

.contact .row{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap:1.5rem;
}

.contact .row .image{
    flex:1 1 42rem;
}

.contact .row .image img{
    width:100%;
}

.contact .row form{
    flex:1 1 42rem;
    border-radius: .5rem;
    border:var(--border);
    box-shadow: var(--box-shadow);
    padding:2rem;
    text-align: center;
} 

.contact .row form h3{
    color:var(--black);
    font-size: 3rem;
}

.contact .row form .box{
    width: 100%;
    margin:.8rem 0;
    padding:1rem 1.5rem;
    border-radius: .5rem;
    border:var(--border);
    text-transform: none;
    font-size: 1.4rem;
}

.contact .row form .box:focus,
.contact .row form .box:hover{
    border-color: var(--blue);
}

.contact .row form textarea{
    height: 15rem;
    resize: none;
}

.button{
    text-align: right;
    padding-bottom: 8rem;
}
.footer {
    background: #E6F8FC;
  }
  
  .footer .box-container {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: (minmax(25rem, 1fr))[auto-fit];
        grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    gap: 2rem;
  }
  
  .footer .box-container .box h3 {
    font-size: 2.2rem;
    text-transform: capitalize;
    color: #130F40;
    padding: 1rem 0;
  }
  
  .footer .box-container .box h3 i {
    color: #130F40;
  }
  
  .footer .box-container .box .share {
    margin-top: 1rem;
  }
  
  .footer .box-container .box .share a {
    height: 4.5rem;
    width: 4.5rem;
    line-height: 4.5rem;
    font-size: 1.7rem;
    background-color: #130F40;
    color: #fff;
    margin-right: .3rem;
    text-align: center;
  }
  
  .footer .box-container .box .share a:hover {
    background-color: #54D1EB;
  }
  
  .footer .box-container .box .link {
    font-size: 1.7rem;
    line-height: 2;
    color: #777;
    padding: .5rem 0;
    display: block;
  }
  
  .footer .box-container .box .link:hover {
    color: #130F40;
    text-decoration: underline;
  }
  
  .footer .box-container .box p {
    font-size: 1.5rem;
    line-height: 2;
    color: #777;
    padding: 0;
    text-transform: none;
  }
  
  .footer .box-container .box .email {
    width: 100%;
    padding: 1.2rem 1.4rem;
    font-size: 1.6rem;
    border: 0.1rem solid #130F40;
    margin-bottom: 1rem;
  }
  
  .footer .box-container .box h3 p h2 {
    margin: 2rem;
    padding-left: 9rem;
    gap: .5rem;
  }

  .footer .box-container .box h2 {
    font-size: 5rem;
    color: #130F40;
  }

  .footer .credit {
    text-align: center;
    margin-top: 3rem;
    padding-top: 3rem;
    font-size: 2rem;
    text-transform: capitalize;
    color: #54D1EB;
    border-top: 0.1rem solid #130F40;
  }

  .footer .credit span {
    color: #130F40;
  }

  .footer .counter h3 {
    font-size: 2.2rem;
    text-transform: capitalize;
    color: #130F40;
    padding: 1rem 0;
  }
  


  

/* media queries  */
@media (max-width:991px){

    html{
        font-size: 55%;
    }

    .header{
        padding:2rem;
    }

    section{
        padding:2rem;
    }

}

@media (max-width:768px){

    #menu-btn{
        display: initial;
    }

    #menu-btn.fa-times{
        transform: rotate(180deg);
    }

    .header .navbar{
        position: absolute;
        top:99%; left:0; right:0;
        background:var(--black);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    }

    .header .navbar.active{
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
    }

    .header .navbar a{
        font-size: 2rem;
        margin:2.5rem 2rem;
        display: block;
    }

}

@media (max-width:450px){

    html{
        font-size: 50%;
    }

}
