html{
    scroll-behavior: smooth;
}
/* backgroun gradient */
.blue-gradient{
    background: hsla(217, 100%, 50%, 1);
    background: linear-gradient(90deg, hsla(201, 69%, 54%,1) 0%, hsla(186, 80%, 84%,1) 100%);
    background: -moz-linear-gradient(90deg, hsla(201, 69%, 54%,1) 0%, hsla(186, 80%, 84%,1) 100%);
    background: -webkit-linear-gradient(90deg, hsla(201, 69%, 54%,1) 0%, hsla(186, 80%, 84%,1) 100%);
    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr="#0061FF", endColorstr="#60EFFF", GradientType=1 );
}

.g-sky-to-blue{
    background: hsla(230, 70%, 64%, 1);

    background: linear-gradient(40deg, hsla(230, 70%, 64%, 1) 0%, hsla(180, 82%, 49%,1) 100%);

    background: -moz-linear-gradient(40deg, hsla(230, 70%, 64%, 1) 0%, hsla(180, 82%, 49%,1) 100%);

    background: -webkit-linear-gradient(40deg, hsla(230, 70%, 64%, 1) 0%, hsla(180, 82%, 49%,1) 100%);

    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr="#27F3F3", endColorstr="#6378E4", GradientType=1 );
}

.ties-video-background{
    position: relative;
    width: 100% !important;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}
.linear-grad-to-bottom-clear-dark{
	background: linear-gradient(to bottom,rgba(0,0,0,0)0%,rgba(50,50,50,0.9)100%);
}
.ties-video-player{
    position: absolute;
    width: 100%;
}

/* fonts */
.font-sans{
    font-family: 'Roboto', sans-serif;
}
.font-display{
    font-family: 'Carter One', cursive;
}
.font-display-2{
    font-family: 'Gothic A1', sans-serif;
    font-weight: bold;
}
.font-display-3{
    font-family: 'Poppins', sans-serif;
    font-weight: bold;
}
/* navbar */
.scroll-to-top{
    font-size: 40px;
    margin-right: 10px;
    width: 3.6rem;
    height: 60px;
    background-color: rgba(51, 57, 65, 0.721);
    border: none;
    border-radius: 5px;
    color: #ffffff;
    display: none;
}
.scroll-to-top:hover{
    background-color: #f5cf69;
}
footer{
    background-color: rgb(28, 67, 112);
}
.social-icon{
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #acacac;
    border-radius: 100%;
    height: 2rem;
    width: 2rem;
    line-height: 0;
    margin: 0 3px;
    /* padding: 5px; */
    color:white
}
.social-icon.facebook{
    background-color: #4371a5;
}
.social-icon.twitter{
    background-color: #41e1ec;
}
.social-icon.whatsapp{
    background-color: #16a858;
}
.social-icon.instagram{
    background-color: #7a2aa8;
}
.social-icon.youtube{
    background-color: #a8162c;
}

.social-icon:hover>svg{
    transform: scale(1.5);
}
.navbar{
    background-image: linear-gradient(to bottom, rgba(16, 53, 105, 0.9),rgba(16, 53, 105, 0));
    background-color: rgb(16, 53, 105);
    transition: 0.4s;
    z-index: 100;
}
.navbar-toggler{
    background-color: #569BEC;
    padding: 3px;
}
.navbar-toggler:focus{
    background-color: #87b0df;
    background-image: none;
    outline: 0;
    box-shadow: none;
}
.navbar-nav{
    background-color: rgba(16, 53, 105, 1);
}
.nav-link{
    border-radius: 3px;
}
.nav-item:hover{
    border-radius: 5px 5px 5px 5px;
    background-color: #4371a5;
}
.nav-item.dropdown:hover{
    border-radius: 5px 5px 0 0;
}
.nav-item{
    padding-left: 1px;
    padding-right: 1px;
}
.navbar .dropdown-menu{
    border-radius: 0;
    left: 0;
    border:none;
	font-size:0.8rem;
    border-radius: 0 5px 5px 5px;
    background-color: #4371a5;
    color: #fff;
    padding: 2px;
}
.navbar .dropdown-menu .dropdown-item{
    color: #fff;
}
.navbar .dropdown-menu .dropdown-item:hover{
    background-color: #5c87b8;
}

/* carousel */
#carousel{
    margin-top: 110px;
}

/* pages */
.page-header{
    position: relative;
    background-color: rgba(16, 53, 105, 1);
    color: #fff;
    user-select: none;
    z-index: 10;
}
.page-header::after{
    position: absolute;
    content: '';
    height: 5px;
    width: 100%;
    top: 100%;
    left: 0;
    background-color: #ffac31;
}
.page-header h2{
    width: fit-content;
    position: relative;
    margin: 0 !important;
    padding-bottom: 30px;
    font-weight: 300;
}
.page-header h2::after{
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    height: 5px;
    width: 100%;
    background: rgb(148, 103, 5);
    z-index: 1;
}
.title{
    position: relative;
    font-family: 'Rubik', sans-serif;
    font-weight: bold;
    color: #569BEC;
}
.title::after{
    content: "";
    position: absolute;
    background-color: #e0e04e;
    width: 100px;
    height: 3px;
    top: 110%;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* index */
.academic .card{
    height: 220px;
    transition: transform ease 0.2s;
}
.academic .card-body{
    font-size: 1rem;
}
.grid-grid{
    display: grid;
    gap: 5px;
    grid-template-columns: auto;
    grid-template-rows: 250px 250px 250px 250px 250px;
}
.academic .card img{
    width: 8rem;
}
.facilities img{
    transition: transform 0.3s;
}
.facilities:hover>img{
    transform: scale(1.1);
}
.certificate img{
    transition: transform 0.3s;
}
.certificate:hover>img{
    transform: scale(1.1);
}
.dropdown-toggle:hover>.dropdown-menu {
    display: block;
    margin-top: 0;
}
.animated{
    animation-duration: 0.3s;
    -webkit-animation-duration: 0.3s;
    animation-fill-mode: both;
    -webkit-animation-fill-mode: both;
}

/* Profile */
.profile-item{
    position: relative;
    /* overflow: hidden; */
    border-radius: 5px;
    width: fit-content;
    max-width: 100%;
}
.profile-item .profile-img{
    display: flex;
    justify-content: center;
    /* height: 100%; */
    background-color: #BFC6D9;
    width: 100%;
    overflow: hidden;
    height: 100%;
}
.profile-item .profile-img img{
    width: 100%;
    transition: transform 0.3s ease;
}
.profile-item .profile-body{
    position: absolute;
    background-color: rgba(38, 38, 38, 0.9);
    left: 0;
    padding: 5px 10px 0 10px;
    margin-right: 20px;
    bottom: 30px;
    z-index: 2;
}
.profile-item .profile-name{
    color: #fff;
    font-weight: bold;
    /* padding: 5px 0px; */
    display: block;
    font-size: 0.5rem;
}
.profile-item .profile-rule{
    color: white;
    position: relative;
    font-size: 0.4rem;
    padding: 5px 10px;
    background-color:#4392d7;
    width: fit-content;
    border-radius: 3px;
    transform: translateY(0.5rem);
}
.profile-item:hover .profile-img img{
    transform: scale(1.1);
}
.scale-hover{
    transition: transform 0.3s ease;
}
.scale-hover:hover{
    transform: scale(1.09);
}

@media only screen and (min-width: 600px) {
    .navbar{
        background-color: transparent;
    }
    #carousel{
        margin-top: 0;
    }
    .grid-grid{
        grid-template-columns: 25% 25% 25% 25%;
        grid-template-rows: 190px 190px;
    }
    .grid-grid a:first-child{
        grid-area: 1/1 / span 2/ span 2;
    }
}
@media only screen and (min-width: 992px){
    .navbar-nav{
        background-color: inherit;
    }
	.academic .card{
		height:300px;
	}
    .academic .card-body{
        font-size: 1.2rem;
    }  
    .academic .card img{
        width: 10rem;
    }
    .academic .card:hover{
        /* width: 12rem; */
        transform:scale(1.05);
    }
    .navbar .dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
    }
	.profile-item .profile-name{
		font-size: 0.9rem;
	}
	.profile-item .profile-rule{
		font-size: 0.7rem;
		transform: translateY(15px);
	}
}