*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* Styling Navbar */
nav{
    height: 4em;
    width: 100vw;
    display: flex;
    justify-content:flex-end;
    align-items: center;
    position: fixed;
    z-index: 10;
}
nav ul{
    display: flex;
    height: 100%;
    width: 50vw;
    justify-content: space-around;
    align-items: center;
}
nav ul li{
    font-size: 1.1rem;
    list-style: none;
    font-style: italic;
    font-family: sans-serif;
    font-weight: 600;
    background-color: white;
    position: relative;
    padding: .2em .5em;
    overflow: hidden;
    cursor: pointer;
}
nav ul li::before{
    content: "";
    position: absolute;
    top: 0;
    right: -100%;
    height: 1px;
    width: 100%;
    background-color: black;
    transition:.4s;
}
nav ul li::after{
    content: "";
    position: absolute;
    bottom: 0;
    left: -100%;
    height: 1px;
    width: 100%;
    background-color: black;
    transition:.5s;
}
nav ul li:hover::before{
    right: 0
}
nav ul li:hover::after{
    left: 0;
}
#nav-list{
    display: none;
}
/* Media Query for 850px Screen */
@media only screen and (max-width:850px){
    #nav-list{
        position: absolute;
        right: 1em;
        top: 1em;
        height: 2em;
        width: 2em;
        display: inline-block;
    }
    nav{
        display: none;
    }
    .navbar.nav2{
        width: 100vw;
        height: 10em;
        background-color: white;
        display: flex;
        justify-content: center;
        align-items: center;
        transition:all 1s;
    }
    .navbar.nav2 ul{
        height: 100%;
        width: 100%;
        flex-direction: column;
        justify-content: space-evenly;


    }
}
#logo-con{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 5.5em;
    width:6.5em;
    border: 1px solid black;
    border-radius: 50%;
    position: absolute;
    top: 5em;
    left: 1em;
}
#logo{
    height: 4em;
    width: 5em;
    border: 1px solid black;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-content: center;
    cursor: pointer;
    
}
#logo h1{
    font-style: italic;
    font-size: 3rem;
    animation: logo .4s linear infinite;
    animation-play-state:paused;
}
/* Logo Animation */
@keyframes logo{
    0%{
      transform: rotate(0deg);  
    }
    100%{
        transform: rotate(360deg);
    }
}
#logo h1:hover{
    animation-play-state:running;
}
#sec1{
    height: 100vh;
    width: 100vw;
}
#greet{
    position: absolute;
    top: 40%;
    left: 2em;
    height: 50vh;
    width: 50vw;
}
#greet h1{
    font-size: 3rem;
    font-family: sans-serif;
    font-style: italic;
    line-height: 1.5;
}
#greet h3{
    font-size: 1.3rem;
    font-weight: 900;
    font-style: italic;
}
#greet button{
    position: relative;
    top: 2em;
    left: 1em;
    height: 2em;
    width: 10em;
    border: 1px solid black;
    font-size: 1rem;
    border-radius: 2em;
    font-family: sans-serif;
    font-style: italic;
    font-weight: 900;
    letter-spacing: 1px;
    box-shadow: inset 2px 2px 5px black;
    transition: .2s;
    cursor: pointer;
}
#greet button:hover{
    box-shadow: inset -2px -2px 5px black;
}
/* Media Query for 500px Screen */
@media only screen and (max-width:500px){
    #greet{
        width: 100vw;
        padding: 0 1.5em;
        left: 0;
    }
    #greet h1{
        font-size: 2rem;
    }
    #greet h3{
        font-size: 1rem;
    }
}
#svg-con{
    position: absolute;
    right: 0;
    top: 20%;
    height: 70vh;
    width: 50vw;
}
#brain{
    position: fixed;
    stroke-dasharray: 5000000;
    stroke-dashoffset: 5000000;
    animation: br 1500s linear infinite;
    animation-delay: 1s;
}
/* Media Query for 1250px Screen */
@media only screen and (max-width:1250px){
    #brain{
        position:relative;
        height: 20em;
        width: 20em;
    }
    #svg-con{
        width: 100vw;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}
/* Brain Animation */
@keyframes br{
    0%{
      stroke-dashoffset: 5000000;  
    }
    100%{
        stroke-dashoffset: 0;
    }
}
#sec2{
    height: 100vh;
    width: 100vw;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
#sec2 #about{
    height: 50vh;
    width: 50vw;
}
#sec2 #about h2{
    font-size: 2rem;
    font-family: sans-serif;
    font-style: italic;
    line-height: 2;
}
#sec2 #about p{
    font-size: 1.2rem;
    font-weight: 900;
    font-style: italic;

}
@media only screen and (max-width:500px){
    #sec2 #about{
        width: 100vw;
        padding:0 1em;
    }
    #sec2 #about h2{
        font-size: 1.8rem;
    }
    #sec2 #about p{
        font-size: 1rem;
    }
}

#main-content{
    height: 100vh;
    width: 100vw;
}
#main-content #service-con{
    height: 70vh;
    width: 50vw;
    display: grid;
    grid-template-columns:1fr 1fr;
    grid-gap: .5em;
    padding-left: 1em;
}
#main-content h2{
    line-height: 2;
    font-size: 2rem;
    font-family: sans-serif;
    font-style: italic;
    padding-left: 1em;
}
#main-content .services{
    height: 15em;
    width: 20em;
    display: flex;
    justify-content: center;
    align-items: center;
}
@media only screen and (max-width:700px){
    #main-content #service-con{
        grid-template-columns: 1fr;

    }
}
@media only screen and (max-width:600px){
    #main-content #service-con{
        width: 100vw;
        padding: 0;
        height: 200vh;

    }
    #main-content #service-con .services{
        padding: 0 1em;
    }
    #main-content h2{
        line-height: 1;
        font-size: 1.8rem;
    }
}
.img1{
    background-image: url(./media/learn.svg);
    background-size: cover;
    background-position: center;
    height: 6em;
    width: 10em;
    padding-left: 1em;
}
.img2{
    background-image: url(./media/vision.svg);
    background-size: cover;
    background-position: center;
    height: 6em;
    width: 10em;
    padding-left: 5em;
}
.img3{
    background-image: url(./media/achieve.svg);
    background-size: cover;
    background-position: center;
    height: 6em;
    width: 10em;
    padding-left: 1em;
}
.img4{
    background-image: url(./media/money.svg);
    background-size: cover;
    background-position: center;
    height: 6em;
    width: 10em;
    padding-left: 1em;
}
.services .details h3{
    font-size: 1.2rem;
    font-weight: 900;
    font-family: sans-serif;
    font-style: italic;
    line-height: 2;
}
.services .details p{
    font-size: 1.1rem;
    font-weight: 900;
    font-style: italic;
    line-height: 1.5;
}
#sec3{
    height: 100vh;
    width: 100vw;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
#sec3 .cert{
    height: 50vh;
    width: 50vw;
    padding-left:3em;
}
#sec3 .cert #cert-img{
    height: 10em;
    width: 15em;
    position: relative;
    left: 5em;
    bottom: 1em;
}
#sec3 .cert #cert-img img{
    height: 100%;
    width: 100%;
}
#sec3 .cert p{
    font-size: 1.2rem;
    font-weight: 900;
    font-style: italic;
    line-height: 1.5;
}

@media only screen and (max-width:500px){
    #sec3 .cert{
        width: 100%;
        height: 100%;
        padding: 0;

    }
    #sec3 .cert p{
        padding-left: 1em;
    }
    #sec3 .cert #cert-img{
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100vw;
        left: 0;

    }
    #brain{
        height: 15em;
        width: 15em;
    }
}
/* Styling Footer Section */
footer{
    height: 10vh;
    width: 100vw;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    border-top: 1px solid black;
}
footer #follow{
    height: 2em;
    width: 50vw;
    display:flex;
    justify-content:space-evenly;
    align-items:center;
    padding: 0 2em;
    border-right: 3px solid black;
}
footer #follow h3{
    font-size: 1rem;
    font-weight: 900;
    font-family: sans-serif;
    font-style: italic;
}
footer #follow img{
    height: 2em;
    width: 2em;
    margin-right: 2em;
    transition: .3s;
    cursor: pointer;
}
footer #follow img:hover{
    transform: translateY(-10px);
}
footer #licence{
    height: 2em;
    width: 50vw;
    display:flex;
    justify-content:center;
    align-items:center;
}
footer #licence p{
    font-size: 0.9rem;
    font-weight: 900;
    font-family: sans-serif;
    font-style: italic;
}
@media only screen and (max-width:700px){
    #sec3{
        position: relative;
        top: 130vh;
    }
    footer{
        position: absolute;
        bottom: -450vh;
        height: 40vh;
        flex-direction: column;
    }
    footer #follow{
        width: 100vw;
        padding: 0;
        justify-content: space-between;
        padding: 0 .5em;
        border: none;
        padding-bottom:1em ;
        border-bottom: 1px solid black;
    }
    footer #follow span{
        width: 8em;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    footer #follow span img{
        height: 1.5em;
        width: 1.5em;
    }
    footer #licence{
        width: 100vw;
        padding-left: 1em;
    }
}