@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600&display=swap');

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
}

/*Scroll back to top button*/
.to_top {
    background: white;
    position: fixed;
    bottom: 16px;
    right: 32px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: black;
    text-decoration: none;
    opacity: 0;
    pointer-events: none;
    transition: all .4s;
    border: 1px solid black;
}

.to_top.active {
    bottom: 32px;
    pointer-events: auto;
    opacity: 1;
}

.to_top img {
    width: 90%;
}

.to_top:hover {
    transform: translatey(-10px);
}

/*index.html video background*/

.hero {
    width: 100%;
    height: 100vh;
    background-image: linear-gradient(rgba(12, 3, 51, .03), rgba(12, 3, 51, .03));
    position: relative;
    padding: 0 5%;
    display: flex;
    align-items: center;
    justify-content: center;
}

video {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: -1;
}

/*Navigation bar*/

nav {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: white;
    z-index: 99;
}


nav .logo {
    width: 250px;
}

nav ul li {
    list-style: none;
    display: inline-block;
    margin-left: 40px;
}

nav ul li a {
    text-decoration: none;
    font-size: 17px;
    padding: 10px 10px 10px 10px;
    color: black;
}

nav ul a:hover {
    color: white;
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    background-color: #2a3982;
    border-radius: 50px;
}

.dropdown_content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 90px;
    z-index: 0;
    box-sizing: border-box;
    border-radius: 5px;
    margin: 10px;
}

.dropdown_content a {
    color: black;
    padding: 14px 16px;
    text-decoration: none;
    margin-top: 10px;   
    display: flex;
}

.dropdown_content a:hover {
    border-radius: 5px;
    background-color: #2A3982;
}

.dropdown:hover .dropdown_content {
    display: block;
}

.active a {
    padding: 10px 10px 10px 10px;
    border-radius: 50px;
    background-color: #2A3982;
    color: white;
}

/*Page Main Content*/

.content {
    color: white;
    z-index: 98;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}



.content h2 {
    font-size: 40px;
}

.content h1 {
    font-size: 100px;
    font-weight: 600;
    transition: 0.5s;
}

.content h1:hover {
    -webkit-text-stroke: 5px #fff;
    color: transparent;

}

.content h3 {
    font-size: 30px;
}

.content a {
    text-decoration: none;
    display: inline-block;
    font-size: 24px;
    border: 2px solid #fff;
    padding: 14px 70px;
    color: white;
    border-radius: 50px;
    margin-top: 20px;
}

.content a:hover {
    background-color: #2A3982;
    transition: all 0.2s ease-in-out;
}

#main h1 {
    padding-top: 100px;
    font-size: 50px;
}

.main p {
    margin: 30px 200px 30px 200px;
}

.solid {
    background-color: #2A3982;
    color: white;
    padding-bottom: 100px;
}

.solid a {
    text-decoration: none;
    display: inline-block;
    color: #fff;
    font-size: 24px;
    border: 2px solid #fff;
    padding: 14px 70px;
    border-radius: 50px;
    margin-top: 20px;
}

.solid a:hover {
    background-color: white;
    color: black;
    transition: all 0.2s ease-in-out;
}

.white {
    padding-bottom: 100px;
}

.card {
    width: 400px;
    height: 430px;
    display: inline-block;
    border-radius: 10px;
    padding: 15px 25px;
    box-sizing: border-box;
    margin: 20px 20px 20px 20px;
    background-image: center;
    background-size: cover;
    transition: transform 0.5s;
    color: white;
}

.card h2 {
    background-color: rgba(0, 0, 0, 50%);
    border-radius: 10px;
    padding: 5px 0 5px;
}

.card p {
    padding: 40px;
    background-color: rgba(0, 0, 0, 50%);
    border-radius: 10px;
    text-align: justify;
}

.card1 {
    background-image: url(Media/certificate.jpg);
}

.card2 {
    background-image: url(Media/learning.jpg);
}

.card3 {
    background-image: url(media/research.jpg);
}

.card:hover {
    transform: translatey(-10px);
}

.testimonials {
    padding: 10px 0;
    text-align: center;
}

.inner {
    max-width: 1200px;
    margin: auto;
    overflow: hidden;
    padding: 0 20px;
    color: white;
}

.border {
    width: 120px;
    height: 5px;
    background: white;
    margin: 26px auto;
}

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

.col {
    flex: 33.33%;
    max-width: 33.33%;
    box-sizing: border-box;
    padding: 15px;
    border: 1px solid #fff;
    margin: 10px 10px;
    border-radius: 10%;
    background: white;
}

.courses img {
    display: flex;
    width: 50%;
    margin-right: 20px;
    align-items: center;
    
}

.row_courses {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    color: black;
    text-align: left;
}

.column_course {
    padding: 30px 30px 30px 30px;
    margin: 30px 10px 0 10px;
    border-radius: 50px;
}

.row_courses ul {
    font-weight: 500;
}

.row_courses li {
    text-align: left;
}

.testimonial {
    background: fff;
    padding: 30px;
    color: black;
}

.testimonial img {
    width: 120px;
    height: 120px;
    border-radius: 100px;
}

.name {
    font-size: 20px;
    text-transform: uppercase;
    margin: 20px 0;
}

.countdown_cont {
    position: relative;
    background: url("Media/mental\ health.jpg");
    background-position: center;
    background-size: cover;
    margin: 0 150px;
    border-radius: 30px;
    padding: 200px;
    padding-top: 100px;
    transition: transform .2s;
}

.countdown_cont:hover {
    transform: scale(1.1);
}

.countdown_cont h2 {
    text-align: center;
    line-height: 20px;
    color: #fff;
    margin-top: -150px;
    font-size: 70px;
}

.countdown_cont p {
    color: white;
    padding: 40px;
    margin-bottom: -50px;
    font-size: 20px;
}

.countdown_cont h2 span {
    display: block;
    font-weight: 300;
    letter-spacing: 6px;
    padding-bottom: 40px;
    padding: 100px 0 40px
}

.countdown {
    display: flex;
    margin-top: 50px;
    justify-content: center;
}

.countdown div {
    position: relative;
    width: 100px;
    height: 100px;
    line-height: 100px;
    text-align: center;
    background: #333;
    color: #fff;
    margin: 0 15px;
    font-size: 20px;
    font-weight: 500;
}

.countdown div:before {
    position: absolute;
    content: '';
    bottom: -30px;
    left: 0;
    width: 100%;
    height: 50px;
    background: #ff0;
    color: #333;
    font-style: 0.35em;
    line-height: 35px;
    font-weight: 300;
}

.countdown #day::before {
    content: 'Days';
}

.countdown #hour:before {
    content: 'Hours';
}

.countdown #minute:before {
    content: 'Minutes';
}

.countdown #second:before {
    content: 'Second';
}
/*Content Header for each pages except index.html*/

.content_header {
    position: relative;
    text-align: center;
    color: white;
}


.img_header {
    margin-top: -140px;
    z-index: -1;
    width: 100%;
    filter: blur(5px);
    -webkit-filter: blur(5px);
}

/*Contact Us Form*/

.contact_box {
    padding: 10px 0px 10px;
    margin-top: 300px;
    width: 500px;
    background-color: #fff;
    box-shadow: 0 0 20px 0 #999;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    position: relative;
    z-index: 97;
    border-radius: 30px;
}

form {
    margin: 35px;
}

.input_field {
    width: 400px;
    height: 40px;
    margin-top: 20px;
    padding-left: 10px;
    border: 1px solid #777;
    border-radius: 14px;
    outline: none;
}

.msg_area {
    height: 100px;
    padding: 10px;
}

.btn {
    border-radius: 20px;
    color: #fff;
    margin-top: 18px;
    padding: 10px;
    background-color: #47c35a;
    font-size: 12px;
}

/*Login*/

.login {
    padding: 10px 0px 10px;
    margin-top: 300px;
    width: 500px;
    background-color: #fff;
    box-shadow: 0 0 20px 0 #999;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    position: relative;
    z-index: 97;
    border-radius: 30px;
}

.login h1 {
    margin: 0;
    padding: 0 0 20px;
    text-align: center;
    font-size: 22px;
}

.login placeholder {
    border: 1px solid black;
}

.portal {
    background-image: url("Media/sampleUni.jpg");
    background-size: cover;
    background-repeat: no-repeat;
}

/*Footer - Applicable to all pages*/

footer {
    background-color: #808080;
}

footer img {
    width: 20%;
}

.quick_links ul {
    list-style: none;
    display: flex;
}

.quick_links ul li a {
    text-decoration: none;
    padding: 15px 15px 15px 15px;
    font-size: 20px;
    color: white;
}

.main_footer h2 {
    padding: 10px;
    text-align: center;
    color: white;
    font-size: 15px;
}

.main_footer h3 {
    padding: 10px;
    text-align: center;
    color: white;
    font-size: 10px;
}