:root {
    --primary: #008A8A;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    transition: .3s all ease-in-out;
}

a {
    text-decoration: none;
}

li {
    list-style-type: none;
}
h1, h2, h3 {
    font-family: "Playfair Display", serif;
}
h4{
    font-family: "DM Serif Display", serif;
}
.section {
    padding: 80px 0;
}
p{
    font-size: 14px;
}
body {
    font-family: sans-serif;
    padding: 0;
    margin: 0;
}

input {
    outline: 0;
}

/* Navbar */
#navbar {
    overflow: hidden;
    transition: 0.4s;
    /* Adds a transition effect when the padding is decreased */
    position: fixed;
    /* Sticky/fixed navbar */
    width: 100%;
    margin: 0 auto;
    top: 0;
    left: calc(50% - 2px);
    transform: translateX(-50%);
    /* At the top */
    z-index: 99;
}
.navbar>.container{
    display: flex;
    flex-wrap: inherit;
    align-items: none!important;
    justify-content: none!important;
}
#navbar #logo img{
    margin-left: 00px;
    margin-top: 8px;
}
/* Style the navbar links */
#navbar a.nav-link {
    float: left;
    color: white;
    background-color: #000;
    text-align: center;
    padding: 12px;
    text-decoration: none;
    font-size: 14px;
    line-height: 25px;
}

/* Links on mouse-over */
#navbar a.nav-link:hover {
    background-color: #fff;
    color: black;
}

/* Display some links to the right */
#navbar-right {
    float: right;
}

/* Add responsiveness - on screens less than 580px wide, display the navbar vertically instead of horizontally */
@media screen and (max-width: 580px) {
    #navbar {
        background-color: #000 !important;
        position: fixed;
        /* Sticky/fixed navbar */
        width: 100%;
        top: 0;
        left: 50%;
        padding: 10px!important;
        /* At the top */
        z-index: 1;
    }
    #navbar #logo img{
        margin-left: 0px;
        margin-top: 0px;
    }
    #navbar #logo {
        width: 85px !important;
    }
    #navbar #navbar-nav{
        margin-top: 0!important;
    }
}

/*banner  */

.banner form.carousel-caption {
    position: absolute;
    bottom: calc(50% + 26px);
    left: calc(100% - 50px);
    transform: translate(-100%, 50%);
    width: 320px;
    background-color: #bf0000;
    border-radius: 10px;
}
.banner video{
    margin-top: -78px;
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.banner form.carousel-caption button {
    position: absolute;
    top: 100%;
    font-size: 18px;
    left: 50%;
    width: 190px;
    transform: translate(-50%, 50%);
    z-index: 1;
    background-color: #cac21c;
}

input::placeholder, textarea::placeholder {
    color: white;
}

.banner form.carousel-caption button:hover {
    background-color: #108d6f;
}

@media only screen and (max-width: 567px) {
    .banner form.carousel-caption {
        position: relative;
        width: 100%;
        bottom: 100%;
        left: 0;
        transform: translate(0, 0);
        height: 100%;
        background-color: #000000;
    }

    .banner form.carousel-caption button {
        position: relative;
        top: 10px;
        font-size: 14px;
        left: 35%;
        transform: translateX(-50%);
        width: 190px;
        z-index: 1;
        background-color: #108d6f;
    }
    .banner video{
        margin-top: 0px;
        height: 100%;
        width: 100%;
        object-fit: cover;
    }
}

/* facility */
.facility h6{
    font-size: 14px;
}
.facility,
.universities {
    background-color: rgba(128, 128, 128, 0.13);
}

.card {
    box-shadow: 0 0 10px #4e4e4b54;
}

.black {
    background-color: #000;
    color: #fff;
}

/* service */
.service .card {
    box-shadow: 0 0 10px #4e4e4b3d;
}

.service .card h5 {
    width: fit-content;
}

.service .card a {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.service .card a:hover {
    border: 1px solid var(--primary) !important;
    color: var(--primary) !important;
}

/* Alumni */
.alumni .card-img-overlay {
    position: absolute;
    top: 75%;
    width: 100%;
    height: fit-content;
    background-color: rgba(10, 10, 10, 0.753);
}

.alumni .card p {
    font-size: 14px;
}

/* footer */
footer h3 span {
    position: relative;
}

footer h3 span::before {
    content: "";
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #f5c661;
    z-index: 99;
}

/* Popup-form */
.popup-form a#openPopup {
    position: fixed;
    top: 85%;
    right: 3%;
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: red;
    box-shadow: 0px 0px 29px 10px rgb(11, 47, 102);
    animation: bounce 1s infinite ease-in-out;
}

@keyframes bounce {
    0%,
    100% {
        box-shadow: 0px 0px 9px 3px rgb(11, 47, 102);
        rotate: -45deg;
    }
    50% {
        box-shadow: 0px 0px 29px 10px rgb(11, 47, 102);
        rotate: 45deg;
    }
}
@keyframes bounce1 {
    0%,
    100% {
        box-shadow: 0px 0px 9px 3px rgb(11, 102, 64);
        rotate: -45deg;
    }
    50% {
        box-shadow: 0px 0px 29px 10px rgb(11, 102, 64);
        rotate: 45deg;
    }
}
a.call{
    position: fixed;
    bottom: 15%;
    right: 3%;
    width: 45px;
    z-index: 1000;
    height: 45px;
    z-index: 9;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgb(12, 175, 33);
    box-shadow: 0px 0px 29px 10px rgb(11, 102, 64);
    animation: bounce1 1s infinite ease-in-out;
}
a.whatsapp{
    position: fixed;
    top: 80%;
    z-index: 9;
    left: 3%;
    width: 55px;
    height: 55px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgb(12, 175, 33);
    box-shadow: 0px 0px 29px 10px rgb(11, 102, 64);
}
/* Styles for the popup */
.popup {
    display: none;
    position: fixed;
    top: 40px;
    left: 50%;
    width: 280px;
    margin: 0 auto;
    transform: translate(-50%, 0%);
    background-color: #060060;
    color: white;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
}
.popup h5{
    position: relative;
}
.popup h5::after{
    content: "";
    position: absolute;
    top: 35px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: white;
}
/* Styles for the close button */
.close {
    position: absolute;
    top: 20px;
    left: calc(100% - 40px);
    width: 100%;
    height: 100%;
    z-index: 10000;
    cursor: pointer;
}

/* gallery */
.gallery img{
    height: 250px;
    object-fit: cover;
    object-position: top;
}
footer h3{
    font-family: sans-serif;
}

/*  */
.slick-prev{
    position: absolute;
    top: 50%;
    left: 0%;
    transform: translateY(-50%);
}
.slick-next, .slick-prev{
    z-index: 1;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 0;
    font-size: 20px;
    background-color: black;
    color: white;
    opacity: .5;
}
.slick-next:hover, .slick-prev:hover{
    opacity: 1;
}
.slick-next{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0%;
}