*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    list-style: none;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;

}

:root{
    --main-color: #A2EDFF;
    --text-color: #fff;
    --text-color-highlight: #FFCAF2;
    --bg-color: #1e1c2a;
    --big-font: 3rem;
    --h2-font:1.5rem;
    --p-font:1rem;
}

*::selection{
    background: var(--main-color);
    color: #fff;

}

body{
    color: var(--text-color);
    background: var(--bg-color);

}
header{
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px 170px;
    background: var(--bg-color);
}
.logo{
    color: var(--main-color);
    font-weight: 600;
    font-size: 2.4rem;
}
.navbar{
    display: flex;

}
.navbar a{
    color: var(--text-color);
    font-size: 1.1rem;
    padding: 10px 20px;
    font-weight: 500;
}
.navbar a:hover{
    color: #FFF3AD;
    transition: .5s;
}
#menu-icon{
    font-size: 2rem;
    cursor: pointer;
    display: none;
}
section{
    padding: 70px 17%;

}
.home{
    width: 100%;
    min-height: 90vh;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 1.5rem;
    align-items: center;
}
.home-img img{
    max-width: 100%;
    width: 600px;
    height: auto;
    position: relative;
    left: 1.5cm;
    top: 1cm;
    border-radius: 0.5rem;
}
.home-text h1{
    font-size: var(--big-font);
    color: var(--text-color-highlight);
}
.home-text h2{
    font-size: var(--h2-font);
    margin: 1rem 0 2rem;
}

.btn{
    display: inline-block;
    padding: 10px 20px;
    background: var(--main-color);
    color: var(--bg-color);
    border-radius: 0.5rem;
}
.btn:hover{
    transform: scale(1.2);
    background: #BCFFBC;
    color: var(--bg-color);
    transition: 0.5s;
}
.about{
    display: grid;
    grid-template-columns: repeat(2, 2fr);
    grid-gap: 1.5rem;
}
.about-img img{
    max-width: 100%;
    width: 3000px;
    height: 10.5cm;
}
.about-text span{
    color: var(--main-color);
    font-size: 25px;
    font-weight: 600;
}

.about-text h2{
    font-size: var(--h2-font);
}
.about-text p{
    font-size: var(--p-font);
    margin: 0.8rem 0 1.8rem;
    line-height: 1.7;
}
.heading{
    text-align: center;
}
.heading span{
    color: #BCFFBC;
    font-size: var(--big-font);
    font-weight: 600;

}
.heading h2{
    font-size: var(--h2-font);
}

.heading-new{
    text-align: center;
}
.heading-new span{
    color: var(--text-color-highlight);
    font-size: var(--big-font);
    font-weight: 600;

}
.heading-new h2{
    font-size: var(--h2-font);
}
.menu-container{
    display: grid;
    grid-template-columns: repeat(2, minmax(150px, 2fr));
    grid-template-rows: repeat(2, minmax(150px, 2fr));
    grid-column-gap: 20px;
    grid-row-gap: 20px;
    align-items: center;
}
.box{
    position: relative;
    margin-top: 4rem;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.box-img img{
    max-width: 100%;
    width: 450px;
    height: auto;
    align-items: center;
}
.box h2{
    font-size: var(--h2-font);
    text-align: center;
}
.box:hover{
    transform: scale(1.2) translate(5px);
    transition: 0.5s;
    color: var(--text-color-highlight);
    transition: 0.5s;
}
.service-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px,auto));
    grid-gap: 1.5rem;
    margin-top: 4rem;
}
.s-box{
    text-align: center;
    padding: 20px 30px;
}
.s-box img{
    width: 200px;
}
.s-box h3{
    margin: 4px 0 10px;
    font-size: 25px;
}
.s-box:hover{
    color: #FFF3AD;
    transition: .5s;
}
.cta{
    background: #feeee7;
    padding: 70px 0;
    text-align: center;
    width: 66%;
    margin: 10px auto;
    border-radius: 10px;
}
.cta h2{
    font-size: 2rem;
    color: var(--bg-color);
    margin-bottom: 30px;
}

.main{
    display: flex;
    flex-wrap: wrap;

}
.footer{
    padding: 10px 0;
}
.col{
    width: 25%;
}
.col h4{
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 25px;
    position: relative;
}
.col h4::before{
    content: "";
    position: absolute;
    height: 2px;
    width: 50px;
    left: 0;
    bottom: -8px;
    background: var(--main-color);
}
.col ul li:not(last-child){
    margin-bottom: 15px;
}
.col ul li a{
    color: #9897a9;
    font-size: 1.1rem;
    display: block;
    text-transform: capitalize;
    transition: .5s;
}
.col ul li a:hover{
    color: var(--text-color);
    transform: translate(-12px);
}
.col .social{
    width: 220px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.col .social a{
    height: 40px;
    width: 40px;
    background: var(--main-color);
    color: var(--bg-color);
    display: inherit;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border-radius: 50%;
    transition: 0.5s;
}
.col .social a:hover{
    transform: scale(1.2);
    color: var(--bg-color);
    background-color: var(--text-color);
}


@media(max-width: 1140px){
    header{
        padding: 15px 40px;
    }
    :root{
        --big-font:2rem;
        --h2-font:0.8rem;
        --p-font:0.83rem;
    } 
    section{
        padding: 50x 8%;
    }
    #menu-icon{
        display: initial;
        color: var(--text-color);
    }
    header .navbar{
        position: absolute;
        top: -400px;
        left: 0;
        right: 0;
        display: flex;
        flex-direction: column;
        text-align: center;
        background: #2b2640;
        transition: .3s;
    }
    header .navbar.active{
        top: 70px;
    }
    .navbar a{
        padding: 1.5rem;
        display: block;
    }
    .col{
        width: 50%;
        margin-bottom: 10px;
    }
}

@media(max-width: 720px){
    :root{
        --big-font:1.5rem;
        --h2-font:0.6rem;
        --p-font:0.7rem;
    } 
    header{
        padding: 10px 16px;
    }
    .home{
        grid-template-columns: 1fr;
        text-align: center;
    }
   section{
    padding: 100px 7%;
   }
}