@import "https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap";

/* Root */
:root {
    --blue: rgb(6, 150, 239);
    --ltblue: rgb(6, 114, 223);
    --drkblue: rgb(0, 0, 102);
    --blk: #000;
    --wht: #fff;

    --lwwht: #f1f1f1;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-size: var(--fs-400);
    font-family: "Poppins", sans-serif;
}

a {
    text-decoration: none;

}

li {
    list-style: none;
}

.flex {
    display: flex;
    align-items: center;
}

.home {
    height: 100vh;
}

.wrapper {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

.header {
    padding-top: 2rem;
    justify-content: space-between;
    position: relative;
    align-items: center;

}


.header-wrapper {
    justify-content: space-between;
    
}
.home {
    height: 50vh;
}
.home { 
    padding-bottom: 2rem;
    min-height: 60vh;
    background-image: url("./img/pagecover.jpg");
    background-position: top;
    background-size: cover;
    position: relative;
    z-index: 1;
}
/* PAGE BG IMG */
.aboutus{
    background-image: url("./img/employeetraining.jpg") !important;
    background-position: center;
}
.portfolio{
    background-image: url("./img/contactus.jpg") !important;
    background-position: center;
}
/* BG BCK */

.home::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color:  rgba(51, 51, 51, 0.6);
    z-index: -1;
}
.logo img {
    width: 1.8rem;
}

.navbar {
    margin-right: 2rem;
}

.header a {
    color: var(--wht);
    font-size: 1.1rem;
    margin-right: 2em;
    padding-right: .4rem;
    padding: .2rem .6rem;
    border-radius: .4rem;
}
.active {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: #f1f1f1;
    padding: 1rem 0 ;
}
.active li{
    color: var(--blk);
}
.active a{
    color: var(--blk);

}
/* sub menu */
.nav_ul{
    color:#fff;
}
.service-link {
    position: relative;
    margin-right: 1rem;
    cursor: pointer;
    font-size: 1.1rem;

}

.service-drop {
    list-style: none;
    width: 240px;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgb(240, 240, 240);
    border-radius: 5px;
    overflow: hidden;
    display: none;
    margin-top: 2rem;
    flex-wrap: wrap;
    border-top: 1px solid var(--ltblue);
    border-bottom: 1px solid var(--ltblue);
        display: block;
        margin-top: 2rem;
        visibility: hidden;
        transform: translatey(-30px);
        transition: all .3s ease-in; 
}
.service-drop a{
    color:#000;
}
.service-drop-list {
    padding: 0.6em 0;
    border-bottom: 1px solid #e0e5e5;
}
.service-drop-list a:hover{
    color: var(--ltblue);
}
.service-drop-list:hover{
   background: #e7e7e7;
}
.service-drop a{
    font-size: .9rem;
}
.serv-details{
    margin: 5rem 0;
}
.serv-heading {
    top: 15%;
  margin-left: 10%;
    font-size: 2.5rem;
    color: #fff;
    position: relative;
}
h3{
    text-transform: uppercase;

}
.wrapper {
    width: 90%;
    margin: 0 auto;
}
.section_inner {
    align-items: center;
    padding: 0 2rem;
}
.serv-inner{
    width: 100%;
    justify-content: space-between;
    gap: 4rem
}

.serv-img img{
   max-width: 25rem;
  max-height: 25rem; 
   width: 20rem;
   height: 20rem;
    border-radius: 50%;
}
.serv-desc h3{
    font-size: 2rem;
    margin-bottom: 1.5rem;
}
.serv-desc p{
    font-size: 1rem;
    color: #1b1b1b;
    text-align: left;
}
/* Footer */
footer{
background: #e7e7e7;
}
.pre-footer{
    margin-top: 3rem;
background: #e7e7e7;
padding: 2rem 0;
}
.logo-name img{
width: 27rem;
}
.address p{
font-size: 1rem;
margin-top: 1rem;
}

.logo-name{
    border-right: 1px solid #a3a3a3;
    margin-right: 2rem;
}


.footer {
    margin-top: 3rem;
}

.footer-inner {
    flex-direction: column;
}

.social-icons {
    gap: 2rem;
    margin-bottom: 2rem;
}

.social-icons a {
    color: var(--blue);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgb(214, 214, 214);
    justify-content: center;
}

.social-icons i {
    font-size: 1.2rem;
}

.copyright {
    margin-bottom: 2rem;
    text-align: center;
}

/* PARTNERS */
.partners{
    /* margin: 2rem 0; */
    margin-top: 3rem;
}
.partners h2{
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.5rem;
    font-weight: 500;
}
.partner-inner{
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}
.partner-inner img{
    width: 9rem;
}

/* TOP FOOTER */
footer{
    background: #e7e7e7;
    }
    .pre-footer{
        margin-top: 3rem;
    background: #e7e7e7;
    padding: 2rem 0;
    }
    .logo-name img{
    width: 27rem;
    }
    .address p{
    font-size: 1rem;
    margin-top: 1rem;
    }
    
    .logo-name{
        border-right: 1px solid #a3a3a3;
        margin-right: 2rem;
    }
    
/* BOTTOM FOOTER     */
.footer {
    margin-top: 3rem;
}

.footer-inner {
    flex-direction: column;
}

.social-icons {
    gap: 2rem;
    margin-bottom: 2rem;
}

.social-icons a {
    color: var(--blue);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgb(214, 214, 214);
    justify-content: center;
}

.social-icons i {
    font-size: 1.2rem;
}

.copyright {
    margin-bottom: 2rem;
    text-align: center;
}



/* Conatct */
.contact {
    margin-bottom: 4rem;
}
.contact_page{
    margin: 3rem 0;
}
.contact h3 {
    font-size: 1.5rem;
    font-weight: 300;
    text-align: center;
    margin-bottom: 3rem;
}
.contact p{
text-align: center;
margin-bottom:2rem ;
}
.contact .heading span {
    text-align: center;
    text-transform: uppercase;
    padding: 1rem;
    padding-bottom: 3rem;
}

.contact-box {
    display: flex;
    gap: 1rem;
    border-radius: 2rem;
    border: .2rem solid rgba(0, 0, 0, .1);
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .1);
    overflow: hidden;
}

.contact-box .img {
    width: 60%
}

.contact-box img {
    width: 100%;
    height: 100%;
}

.contact-box .form {
    width: 60%;
    padding: 1.2rem;
}

.contact-box form .inputbox {
    padding: 1rem o;
}

.contact-box form .inputbox h4 {
    padding: .5rem 0;
    font-size: 1rem;
    font-weight: 600;
}

.contact-box form .inputbox input,
.contact-box form .inputbox textarea {
    width: 100%;
    padding: 1rem;
    border: .1rem solid rgba(0, 0, 0, .1);
    text-transform: none;
}

.contact-box form .inputbox textarea {
    resize: none;
    max-height: 9rem;
}

.message ::placeholder {
    font-size: 1rem;

}

.btn {
    display: inline-block;
    margin-top: .6rem;
    margin-bottom: 2rem;
    background: var(--blue);
    padding: .4rem 1.5rem;
    font-size: 1.2rem;
    color: #fff;
    cursor: pointer;
    text-align: center;
    border: none;
}
/* MEDIA QUERY */

/* Media Query */
@media(max-width: 800px) {
    .btn {
        margin-bottom: 1.5rem;
    }

    .contact-box {
        flex-wrap: wrap;
    }

    .contact-box .img {
        width: 100%
    }

    .contact-box img {
        width: 100%;
        height: 100%;
    }

    .contact-box .form {
        width: 100%;
    }

    .btn {
        margin-bottom: 2rem;
    }
    .partner-inner{
        flex-wrap: wrap;
        gap: 2.5rem;
    }
    .partner-inner img{
        width: 8rem;
    }

}
@media(max-width: 600px) {
    .header {
        height: 4rem;
    }

    .logo img {
        width: 1.6rem;
    }

    .navbar {
        width: 90%;
        position: absolute;
        top: 0;
        left: 0;
        transform: translateX(-100%);
        margin-top: 65px;
        background-color: var(--lwwht);
        transition: transform 800ms;
    }

    .nav_ul {
        align-items: flex-start;
        flex-direction: column;
        gap: .8rem;
        padding: 1rem
    }

    .cur-page {
        background-color: var(--ltblue);
        color: #424240 !important
    }

    .header a {
        background: none;
        color: var(--blk);
    }

    .header__menu {
        width: 25px;
        cursor: pointer;
    }
    .nav_ul {
        color: var(--blk);
    }
    .header__line {
        width: 100%;
        margin-bottom: 4px;
        background-color: #1b1b1b;
        display: block;
        height: 3px;
    }

    .open.header__menu {
        position: relative;
    }

    .open.header__navb {
        transform: translateX(0);
    }

    .open .header__line {
        position: absolute;
    }

    .open .header__line:nth-child(1),
    .open .header__line:nth-child(3) {
        transition: transform 0.5s;
    }

    .open .header__line:nth-child(1) {
        transform: rotate(45deg);
    }

    .open .header__line:nth-child(3) {
        transform: rotate(-45deg);
    }

    .open .header__line:nth-child(2) {
        opacity: 0;
        transition: opacity 0.05s;
    }


    .open.navbar {
        transform: translateX(0);
    }
    .serv-heading {
        top: 25%;
      margin-left: 10%;
        font-size: 1.6rem;
        flex-wrap: wrap;
    }
    .home {
        padding-bottom: 2rem;
        height: 40vh;
        min-height: 40vh;
    }
    .header {
        /* position: fixed; */
        top: 0;
        left: 0;
        right: 0;
        z-index: 10000;
        background: #f1f1f1;
        padding: 1rem 0 ;
    }
    .serv-inner{
        flex-direction: column;
    }
    .serv-img img {
        max-width: 17rem;
        max-height: 17rem;
        width: 17rem;
        height: 17rem;
}
.serv-desc h3 {
    font-size: 1.5rem;
}
.serv-inner {
    gap: 2rem;
}
.prefoot{
flex-direction: column;
}
.prefoot img{
    width: 20rem;
}
.logo-name{
    border-right: none;
    margin-bottom: 2rem;
}
.address h3{
    margin-bottom: 1rem;
    font-size: 1rem;
}

.address p{
   font-size: .9rem;
}

.contact-box {
    flex-wrap: wrap;
}

.contact-box .img {
    width: 100%
}

.contact-box img {
    width: 100%;
    height: 100%;
}

.contact-box .form {
    width: 100%;
    padding: 1.2rem;
}
}

@media(min-width:599px) {
    .header-menu {
        display: none;
    }
}

@media(max-width: 400px) {

    .header a {
        font-size: 1rem;
    }
    .serv-heading {
        top: 25%;
      margin-left: 6%;
        font-size: 1.2rem;
        flex-wrap: wrap;
    }
    .prefoot img {
        width: 14rem;
    }
    .social-icons {
        gap: 0.8rem;
    }

    .social-icons a {
        width: 40px;
        height: 40px;
    }

    .social-icons i {
        font-size: 1rem;
    }

    .copyright {
        font-size: .8rem;
        margin: 0 1rem;
    }
    .service-box a {
        margin-top: 1.2rem;
        padding: 0.7rem;
    }
    .contact h3 {
        font-size: 1.1rem;
    }
    
    .contact-box form .inputbox h4 {
        font-size: .8rem;
    }

}