@font-face {
    font-family: 'Bebas Neue';
    src: url('../fonts/BebasNeue-Regular.ttf') format('truetype');
}

html, body {
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: #cd0000;
}

.bg-black {
    background-color: #000000;
}

body, th, td {
    font-family: Helvetica,Arial,Lucida,sans-serif;
    font-size: 18px;
}

h1, h2, h3, h4, h5, .navbar {
    font-family: 'Bebas Neue',Helvetica,Arial,Lucida,sans-serif;
}

.navbar {
    font-size: 21px;
}


.card-form h4 {
    font-size: 32px;
}

.py-section {
    padding: 95px 0;
}


#register2 {
    background-color: #ffffff;
    box-shadow: rgba(0, 0, 0, 0.1) 0 0 15px;
}

#study {
    background: linear-gradient(to bottom, rgba(205, 0, 0, 0.8), rgba(205, 0, 0, 0.1)), url("../images/bg-logistics.jpg") no-repeat top center fixed;
    background-size: cover;
}

#study .card {
    padding: 25px;
    min-height: 480px;
    border: 1px solid #ffffff;
    box-shadow: rgba(0, 0, 0, 0.1) 1px 1px 5px;
    border-radius: 5px;
}

#study .card:hover,
.misc-icons .item:hover {
    border: 1px solid #cd0000;
}

.btn-whatsapp {
    background-color: #25d366;
    color: #ffffff;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}
.btn-whatsapp:hover {
    text-decoration: none;
    color: #ffffff;
    background-color: #128C7E;
}
#awards .logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

#awards h4 {
    padding: 15px;
}

#awards h4.text-alt {
    color: #ffffff;
    background-color: #cd0000;
}

#awards .row:not(:last-child) .logos {
    border-bottom: 1px solid #eeeeee;
}

#awards .logos > .item {
    padding: 15px;
    text-align: center;
}

#awards .logos > .item h5 {
    margin-top: 15px;
    font-size: 12px;
    max-width: 140px;
    font-weight: normal;
}

#awards .logos > .item > img {
    width: 120px;
    height: 120px;
    object-fit: contain;
}

#awards .logos > .item > img.logo-wide {
    width: auto;
    height: 50px;
    object-fit: contain;
}

#awards .logos > .item.and-more {
    color: #cd0000;
}

#awards .logos > .item.featured > img {
    width: 200px;
    height: 200px;
}

.award-item > img {
    max-width: 140px;
    margin: 15px;
}

.award-item2 > img {
    max-height: 85px;
    margin: 15px;
}

.award-item3 > img {
    max-width: 180px;
    margin: 15px;
}

h5.modal-title {
    color: #cd0000;
    font-size: 14px;
    line-height: 1.2em;
}

.modal-body li {
    font-size: 14px;
    line-height: 1.1em;
    margin-bottom: 8px;
}

#about,
#programmes {
    background: linear-gradient(to bottom, rgba(238, 238, 238, 0.5), #eeeeee, rgba(238, 238, 238, 0.5));
    box-shadow: rgba(0, 0, 0, 0.05) 0 0 5px;
}

.img-programme {
    width: 100%;
    max-height: 200px;
    object-position: center;
    object-fit: cover;
}

#about .icon-box {
    padding: 25px 15px;
    margin: 15px 0;
    box-shadow: rgba(0, 0, 0, 0.08) 1px 1px 5px;
    background-color: #ffffff;
}

#about .icon-box i {
    font-size: 36px;
    margin-bottom: 15px;
}

#about .icon-box h5 {
    font-size: 21px;
}

section h2 {
    font-size: 52px;
}

header .navbar-brand img {
    height: 50px;
    margin: 10px 0;
}

#programmes {
    background: #ffffff none;
}

#programmes .tab-pane {
    padding: 25px 15px;
}

#programmes .nav-link {
    font-weight: bold;
    font-size: 16px;
    color: #888888;
}

#programmes h5 {
    font-size: 28px;
}

#programmes .nav-tabs .nav-link.active {
    color: #000000;
}

.misc-icons {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.misc-icons .item {
    width: 48%;
    text-align: left;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    box-shadow: rgba(0, 0, 0, 0.1) 1px 1px 5px;
    border-radius: 5px;
    padding: 5px;
    margin: 5px;
    border: 1px solid #ffffff;
    background-color: #ffffff;
}

.misc-icons2 .item {
    width: 32.3%;
}

.misc-icons .item i {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    color: #cd0000;
    width: 55px;
    height: 55px;
    border-radius: 5px;
    border: #cd0000 1px solid;
    background-color: #ffffff;
    margin-right: 10px;
}

.misc-icons .item p {
    line-height: 1.1em;
    margin-bottom: 0;
}

.shrink {
    height: 70px;
}

.shrink .navbar-brand img {
    height: 40px;
}

.shrink .navbar-nav .nav-link {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

/* Transition for smooth effect */
header {
    transition: height 0.3s;
}

header.navbar-shrink {
    height: 60px;
}

header.sticky-top.shrink .navbar-brand img {
    margin: 0;
}

header.navbar-shrink .navbar-brand img {
    height: 40px;
}

header.navbar-shrink .navbar-nav .nav-link {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.form-group, button {
    margin-bottom: 5px;
}

.card-radius {
    border-radius: 15px;
}

.programmes-title {
    margin: 55px 0 15px 0;
    font-size: 34px;
}

.programmes-wrap,
.programmes-wrap2 {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.programmes-wrap .item,
.programmes-wrap .title {
    width: 25%;
    height: 320px;
    padding: 0;
    text-align: center;
    border: 1px solid #ffffff;
    background-color: #666666;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-y: hidden;
}

.programmes-wrap .item {
    background-size: cover !important;
}

.programmes-wrap .title {
    background: url("../images/bg3.jpg") no-repeat fixed;
    background-size: contain;
    color: #ffffff;
}

.programmes-wrap .title h4 {
    font-size: 28px;
}

.programmes-wrap .title h4 i {
    margin-left: 5px;
}

.programmes-wrap .item .overlay {
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
    height: 100%;
    padding: 15px;
    background-color: rgba(0, 0, 0, 0.5);
}

.programmes-wrap .item .excerpt {
    transition: ease all 0.5s;
    transform: translateY(100px);
    color: #ffffff
}

.programmes-wrap .item .details {
    transition: ease all 0.5s;
    opacity: 0;
}

.programmes-wrap .item:hover .overlay {
    transition: ease all 0.5s;
    background-color: rgba(0, 0, 0, 0.95);
}

.programmes-wrap .item:hover .excerpt {
    transition: ease all 0.5s;
    transform: unset;
}

.programmes-wrap .item:hover .details {
    transition: ease all 0.5s;
    opacity: 1;
}

.programmes-wrap2 .item {
    box-sizing: border-box;
    width: 19%;
    margin: 15px 5px;
}

.programmes-wrap2 .item img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.programmes-wrap2 .item .excerpt {
    font-size: 16px;
    position: relative;
    border: 1px solid #ffffff;
    background-color: #ffffff;
    padding: 25px 15px;
    transition: ease all 0.1s;
}

.programmes-wrap2 .item:hover .excerpt {
    border: 1px solid #cd0000;
    transition: ease all 0.3s;
    transform: translateY(-35px);
}

.programmes-wrap2 .item:hover .excerpt h4 {
    color: #cd0000;
    transition: ease all 0.2s;
}

.programmes-wrap2 .item .mqa {
    word-break: break-all;
    font-size: 0.6em;
}

.faculties .label {
    background-color: #cd0000;
    color: #ffffff;
    padding: 5px 10px;
    display: inline-block;
    cursor: pointer;
    border-top-right-radius: 15px;
    transform: translateY(-36px);
}

.faculties .col > img:hover {
    cursor: pointer;
    border: 2px solid #cd0000;
}

.faculties .col .text {
    padding: 15px 5px;
}

.faculties .col .text h5 {
    font-size: 24px !important;
}


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

.gallery > img {
    object-fit: cover;
    width: 220px;
    height: 220px;
    margin: 0;
}

#carouselPartners .row {
    align-items: center;
    min-height: 100px;
}

#carouselPartners img {
    max-height: 75px;
    object-fit: contain;
    margin: auto;
}

#testimonial .card {
    padding: 25px;
    min-height: 640px;
}

#testimonial .card:hover {
    border-color: #cd0000;
    background-color: rgba(255, 255, 0, 0.01);
    box-shadow: rgba(0, 0, 0, 0.15) 1px 1px 15px;
}

#testimonial .stars {
    color: #cd0000;
    font-size: 1.2em;
    margin: 8px 0;
}

#testimonial .info {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

#testimonial .info img {
    border: 3px solid #cd0000;
    margin: 15px;
    border-radius: 50%;
    width: 85px;
    height: 85px;
    object-fit: cover;
}

#testimonial .content {
    min-height: 300px;
}

#scholarships {
    background: url("../images/bg-3.jpg");
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
}

footer .item {
    padding: 0 15px;
}

footer .item img {
    max-height: 75px;
    margin: 5px;
}

footer .item h4 {
    font-size: 28px;
    margin-bottom: 10px;
}

footer .item p {
    font-size: 18px;
    color: #666666;
}

footer .logos h5 {
    font-size: 18px;
}

#back-to-top {
    position: fixed;
    bottom: 100px;
    right: 5px;
    width: 60px;
    height: 60px;
    background-color: rgba(51, 51, 51, 0.8);
    color: #fff;
    text-align: center;
    border-radius: 5px;
    font-size: 18px;
    line-height: 12px;
    cursor: pointer;
    display: none;
    flex-direction: column;
    justify-content: center;
}

/* Show the button when scrolling */
#back-to-top.show {
    display: flex;
}

@media (max-width: 991px) {

    #study .card {
        min-height: unset;
    }

    .misc-icons {
        display: block;
    }

    .misc-icons .item {
        width: 100%;
    }

    .misc-icons .item i {
        padding: 5px 25px;
    }

    .misc-icons .item p {
        margin-bottom: 0;
    }

    .programmes-wrap, .programmes-wrap2 {
        justify-content: space-evenly;
    }

    .programmes-wrap2 .item {
        width: 45%;
    }

    #testimonial .card {
        min-height: unset;
    }

    #testimonial .content {
        min-height: unset;
    }

    footer .item {
        padding: 15px 0;
    }

}



@media (max-width: 767px) {
    .programmes-wrap2 .item {
        width: 100%;
    }

    .faculties {
        display: block;
    }
}
