@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat';
    text-decoration: none;
    color: black;
}

html{
    scroll-behavior: smooth;
}

.body{
    overflow-x: hidden;
}

.container{
    padding: 10px 10%;
    background-color: black;
}

.row{
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.banner{
    width: 100%;
    height: 100%;
    min-height: 70vh;
    background: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)), url("Images/background.jpg");
    background-size: cover;
    background-position: center;
    position: relative;
}

.main-width{
    width: 1280px;
    max-width: 95%;
    margin: 0 auto;
    padding: 0px 20px;
}

header{
    padding: 40px 0 30px;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
}

/*-------------About Section--------------*/

#about{
    padding: 80px 0;
    background-color: black;
}

.about .container .row{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.about-col-1{
    flex-basis: 35%;
}

.about-col-1 img{
    width: 100%;
    border-radius: 15px;
}

.about-col-2{
    flex-basis: 60%;
}

.about-col-2 p{
    color: #fff;
}

.sub-title{
    font-size: 60px;
    font-weight: 600;
    color: #fff;
}

.tab-titles{
    display: flex;
    margin: 20px 0 40px;
}

.tab-links{
    margin-right: 50px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
}

.tab-links::after{
    content: '';
    width: 0;
    height: 3px;
    background: #2ffd40;
    position: absolute;
    left: 0;
    bottom: -8px;
    transition: 0.5s;
}

.tab-links.active-link::after{
    width: 50%;
}

.tab-contents ul li{
    list-style: none;
    margin: 10px 0;
}

.tab-contents ul li span{
    color: #18af4b;
    font-size: 14px;
}

.tab-contents{
    display: none;
}

.tab-contents.active-tab{
    display: block;
}

.tab-contents.active-tab ul li{
    color: white;
}

/*-------------End of About Section--------------*/

.logo i{
    height: 55px;
    width: 55px;
    background: transparent;
    border: 2px solid #2ecc71;
    color: #2ecc71;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 27px;
    cursor: pointer;
}

nav .hamb{
    width: 35px;
    height: 24px;
    right: 3%;
    top: 60px;
    z-index: 5;
    background: transparent;
    position: absolute;
    cursor: pointer;
    display: none;
}

nav .hamb span{
    display: block;
    background: #2ecc71;
    width: 100%;
    height: 3px;
    transition: .3s;
    transition-property: transform, opacity;
}

nav .hamb span:nth-child(2){
    margin: 7px 0px;
}

nav .submenus{
    list-style: none;
}

nav .submenus ul li{
    display: inline-block;
}

nav .submenus ul{
    display: inline-block;
    list-style: none;
    color: black;
    margin-right: 55px;
    font-size: 24px;
}

nav ul li a{
    color: #2ecc71;
    transition: .4s;
}

.intro img{
    width: 75%;
    height: 75%;
    margin-top: -300px;
    margin-left: 500px;
}

.intro{
    padding-top: 190px;
}

.intro .hero-text{
    margin-bottom: 40px;
}

.intro .hero-text h1{
    color: black;
    font-size: 47px;
    font-weight: 900;
    line-height: 1.2;
    margin: 20px 0 20px;
}

span{
    color:#2ecc71
}

.intro .hero-text h3{
    color: black;
    font-size: 17px;
    font-weight: 400;
}

.intro .hero-text p{
    width: 440px;
    max-width: 100%;
    color: black;
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 30px;
}

.sub-title{
    margin-top: 24px;
    font-size: 42px;
    color: white;
}

.services-list{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 40px;
    margin-top: 50px;
    margin-bottom: 50px;
}

.services-list div{
    background-color: #262626;
    padding: 40px;
    font-size: 13px;
    font-weight: 300;
    border-radius: 10px;
    transition: background 0.5s, transform 0.5s;
}

.services-list div i{
    font-size: 50px;
    margin-bottom: 30px;
    color: white;
}

.services-list div h2{
    font-size: 30px;
    font-weight: 500;
    margin-bottom: 15px;
    color: white;
    font-family: 'Poppins', sans-serif;
}

.services-list div p{
    color: white;
}

.services-list div a{
    text-decoration: none;
    color: white;
    font-size: 12px;
    margin-top: 20px;
    display: inline-block;
}

.services-list div:hover{
    background: #2ecc71;
    transform: translateY(-10px);

}

.contact-left{
    display: inline-block;
    flex-basis: 35%;
}

.contact-right{
    display: inline-block;
    flex-basis: 60%;
}

.contact-left p{
    color: #fff;
    margin-top: 30px;
    font-size: 20px;
}

.contact-left p i{
    color: #2ecc71;
    margin-right: 15px;
    font-size: 25px;
}

.contact-left h1{
    color: #fff;
    font-size: 36px;
    margin-left: 16px;
    margin-top: 16px;
}

.social{
    margin-top: 30px;
}

.social a{
    text-decoration: none;
    font-size: 30px;
    margin-right: 15px;
    display: inline-block;
}

.social a i{
    color: #ababab;
    transition: transform 0.5s;
}

.social a i:hover{
    color: #2ecc71;
    transform: translateY(-5px);
}

.contact-right form{
    width: 100%;
}

form input, form textarea{
    width: 100%;
    border: 0;
    outline: none;
    background-color: #262626;
    padding: 15px;
    margin: 15px 0;
    color: #fff;
    font-size: 18px;
    border-radius: 6px;
}

.btn{
    display: block;
    margin: 50px auto;
    width: fit-content;
    border: 1px solid #2ecc71;
    background: #2ecc71;
    border-radius: 6px;
    text-decoration: none;
    color: #fff;
    padding: 14px 60px;
    font-size: 18px;
    margin-top: 20px;
    cursor: pointer;
}

.btn.btn2{
    display: inline-block;
}


.btn:hover::after{
    transition: transform 0.5s;
}

.copyright{
    width: 100%;
    text-align: center;
    padding: 25px 0;
    background: #262626;
    font-weight: 300;
}

.copyright p{
    color: white;
}

.copyright i{
    color: #ff004f;
}

/* .footer{
    width: 100vw;
    height: 120px;
    margin-top: 100px;
    background-color: #1b1b1b;
    display: flex;
} */

/*--------css styles for differently sized screens-----------*/

@media only screen and (max-width: 930px) {
    nav .hamb{
        display: initial;
    }
    .click{
        top: 46px;
    }
    .click span{
        position: absolute;
        margin-top: 12px;
    }
    .click span:first-child{
        transform: rotate(-40deg);
    }
    .click span:nth-child(2){
        opacity: 0;
        margin: 0;
    }
    .click span:last-child{
        transform: rotate(40deg);
        top: 0;
    }
    
    nav .submenus{
        position: absolute;
        top: 90px;
        right: -65%;
        bottom: 0;
        width: 60%;
        height: 50%;
        background: slategrey;
        z-index: 2;
        padding: 6% 9%;
        transition: .3s right;
        border-radius: 10px;
    }

    nav .submenus li{
        display: block;
    }

    nav .submenus li a{
        display: block;
        text-align: center;
        font-size: 18px;
        font-weight: 400;
        margin-left: 0;
        margin-bottom: 40px;
    }

    nav .submenus li.btn a{
        position: absolute;
        bottom: 0%;
        right: 20%;
        left: 20%;
        padding: 7px 15px;
        font-size: 14px;
    }

    nav .submenus.open{
        right: 0;
    }

    .contact-left p{
        visibility: visible;
        font-size: 16px;
    }
    
    .contact-left p i{
        font-size: 24px;
    }
}

#msg{
    color: #61b752;
    margin-top: -20px;
    display: block;
}