*{
    margin: 0;
    padding: 0;
    font-family: serif;
}
.header{
    min-height: 50vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)),url(admission-button-web-banner-templates-illustration-vector.jpg);
    background-position: center;
    background-size: cover;
    position: relative;
}

@media(max-width: 700px){
    .header{
        min-height: 60vh;
    }
}
nav{
    display: flex;
    padding: 2% 6%;
    justify-content: space-between;
    align-items: center;
}
nav img{
    width: 200px;
}
@media(max-width: 700px){
    nav img{
        width: 120px;
    }
}
.nav-links{
    flex: 1;
    text-align: right;
}
.nav-links ul li{
    list-style: none;
    display: inline-block;
    padding: 5px;
    position: relative;
}
.nav-links ul li a{
    color:#fff;
    text-decoration: none;
    font-size: 14px;
}
.nav-links ul li::after{
    content: '';
    width: 00%;
    height: 2px;
    background: #f44336;
    display: block;
    margin: auto;
    transition: 0.5s;
}
.nav-links ul li:hover::after{
    width: 100%;
}
.text-box{
    width: 90%;
    color: #fff;
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
}

@media(max-width: 700px){
    .text-box{
        top: 55%;
    }
}
.text-box h1{
    font-size: 55px;
}
.text-box p{
    margin: 10px 0 40px;
    font-size: 25px;
    color: #fff;
}

@media(max-width){
    .text-box p{
        font-size: 20px;
    }
}

.hero-btn{
    display: inline-block;
    text-decoration: none;
    color: #fff;
    border: 1px solid #fff;
    padding: 12px 34px;
    font-size: 15px;
    background: transparent;
    position: relative;
    cursor: pointer;
    border-radius: 50px;
}
.hero-btn:hover{
    border: 1px solid #f44336;
    background: #f44336;
    transition: 1s;
}
nav .fa{
    display: none;
}
@media(max-width: 880px){
    .text-box h1{
        font-size: 50px;
    }
    .nav-links ul li{
        display: block;
    }
    .nav-links{
        position: absolute;
        border-radius:30px;
        background: #f44336;
        height: 75vh;
        width: 200px;
        top: 0;
        left: -200px;
        text-align: left;
        z-index: 2;
        transition: 0.5s;
    }
    nav .fa{
        display: block;
        color: #fff;
        margin: 10px;
        font-size: 30px;
        cursor: pointer;
    }
    .nav-links ul{
        padding: 15px;
    }
    .codex{
        display: none;
    }
    .header{
        margin: 30px opx 30px;
    }
}





.adpr{
    width: 100%;
}
.adpr h1{
    color: #fff;
    margin-top: 35px;
    margin-bottom: 10px;
}
.adpr p{
    color: #fff;
    margin-bottom: 5px;
    font-size: 20px;
}

.adpr h5{
    font-size: 25px;
    color: #fff;
    margin-bottom: 20px;
}
.contact{
    position: relative;
    min-height: 100vh;
    padding: 50px 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color:rgb(87, 13, 13);
    background-size: cover;
}

.contact .content{
    max-width: 800px;
    text-align: center;
}

.contact .content h1{
    font-size: 40px;
    font-weight: 600;
    color: #fff;
}

.contact .content p{
    font-weight: 300;
    color: #fff;
    font-size:20px;
}



.contactForm{
    margin-top: 30px;
    width: 50%;
    padding: 40px;
    background: #fff;
    border-radius: 50px;
    transition: 0.5s;
}

.contactForm:hover{
    box-shadow: 0 0 20px 0px rgba(8, 235, 110, 0.9);
}
.contactForm h1{
    font-size: 25px;
    color: #333;
    font-weight: 600;
}

.contactForm .inputBox{
    position: relative;
    width: 100%;
    margin-top: 10px;
    border-radius: 50px; 
}

.contactForm .inputBox input,
.contactForm .inputBox .textarea{
    width: 100%;
    padding: 5px 0;
    font-size: 16px;
    margin: 10px 0;
    border: none;
    border-bottom: 5px solid #333;
    outline: darkblue;
    resize: none;
    border-radius: 10px;
    color: black;
}

.contactForm .inputBox span{
    position: absolute;
    left: 0;
    padding: 5px 0;
    font-size: 20px;
    margin: 10px 0;
    pointer-events: none;
    transition: 0.5s;
    color:rgb(87, 13, 13);
}

.contactForm .inputBox input:focus ~ span,
.contactForm .inputBox input:valid ~ span,
.contactForm .inputBox .textarea:focus ~ span,
.contactForm .inputBox .textarea:valid ~ span{
    color:rgb(87, 13, 13);
    font-size: 17px;
    transform: translateY(-20px);
}

.contactForm .inputBox button[type="submit"]{
    width: 100px;
    background: #00bcd4;
    color: #fff;
    border: none;
    cursor: pointer;
    padding: 10px;
    font-size: 20px;
    border-radius: 50px;
}




@media(max-width: 991px){
    .contact{
        padding: 50px;
    }
    .container{
        flex-direction: column;
    }
    .container .contactInfo{
        margin-bottom: 20px;
    }
    .container .contactInfo,
    .contactForm{
        width: 100%;
    }
    .contactForm{
        width: 115%;
    }
}





.cta{
    margin: 10px auto;
    width: 100%;
    background-image: linear-gradient(rgba(0,0,0,0.7),rgba(0,0,0,0.7)),url(banner2.jpg);
    background-position: center;
    background-size: cover;
    border-radius: 50px;
    text-align: center;
    padding: 100px 0;
}
@media(max-width: 700px){
    .cta{
        margin: 1px;
        margin-top: 10px;
        width: 100%;
        border-radius: 15px;
    }
}
.cta h1{
    color: #fff;
    margin-bottom: 2px;
    padding: 0;
}


/*----- footer -----*/

footer{
    width: 100%;
    position: absolute;
    background: linear-gradient(to right, darkblue, darkgreen);
    color: #fff;
    padding: 20px 0;
    border-top-left-radius: 125px;
    border-bottom-right-radius: 125px;
    font-size: 13px;
    line-height: 20px;
}
.row{
        width: 85%;
        margin: auto;
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
        justify-content: space-between;
}
.col{
    flex-basis: 25px;
    margin-right: 40px;
}
.col:nth-child(1), .col:nth-child(2){
    flex-basis: 20%;
}
.logo{
    width: 130px;
    margin-bottom: 25px;
}
.col h3{
    width: fit-content;
    margin-bottom: 30px;
    position: relative;
    font-size: 20px;
    color: #00bcd4;
}
.col h4{
    font-size: 15px;
    padding-bottom: 20px;
}
.col p{
    font-size: 16px;
}

.email-id{
    width: fit-content;
    border-bottom: 3px solid #00bcd4;
    margin: 15px 0;
    border-radius: 50px;
}

ul li{
    list-style: none;
    margin-bottom: 5px;   
}
ul li a{
    text-decoration: none;
    color: #fff;

}
form{
    padding-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #ccc;
    margin-bottom: 30px;
}
form .fa{
    font-size: 18px;
    margin-right: 50px;
}
form input{
    width: 100px;
    background: transparent;
    color: #ccc;
    border: 0;
    outline: none;
}
form button{
    background: transparent;
    border: 0;
    outline: none;
    cursor: pointer;
}
form button .fa{
    font-size: 25px;
    color:#00bcd4;
    margin-left: 40px;
}
.social-icons .fa{
    width: 35px;
    height: 40px;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    font-size: 20px;
    color: darkblue;
    background: #00bcd4;
    margin-right: 15px;
    cursor: pointer;
}
hr{
    width: 80%;
    border: 0;
    border-bottom: 5px solid #00bcd4;
    margin: 20px auto;
    border-radius: 50px;
}
.coprright{
    text-align: center;
    font-size: 15px;
    font-family: serif;
}
.coprright .fa{
    color: red;
}


.underline{
    width: 100%;
    height: 5px;
    background: #00bcd4;
    border-radius: 3px;
    position: absolute;
    top: 25px;
    left: 0;
    overflow: hidden;
}


.underline span{
    width: 20px;
    height: 100%;
    background: darkblue;
    border-radius: 3px;
    position: absolute;
    top: 0;
    left: 10px;
    animation: moving 3s linear infinite;
}
@keyframes moving{
    0%{
        left: -20px;
    }
    100%{
        left: 100%;
    }
}




@media(max-width: 700px){
    footer{
        bottom: unset;
        border-top-left-radius: 70px;
        border-bottom-right-radius: 50px;
    }
    .col{
        flex-basis: 100%;
    }
    .col:nth-child(1), .col:nth-child(2){
        flex-basis: 100%;
    }
    .col h3{
        margin-top: 30px;
    }
    .col p{
        font-size: 16px;
    }
}






