/* Import the "Maax" font family */
@font-face {
    font-family: "Maax";
    src: url("../fonts/Maax.ttf");
}

/* Apply the "Maax" font family to specific elements */
body, th, td {
    font-family: "Maax", "Montserrat", Arial, sans-serif;
    font-size: 18px;
}

h1, h2, h3, h4, h5 {
    font-family: "Maax-Black", "Montserrat", Arial, sans-serif;
    font-weight: bold;
}

h1, h2, h3 {
    text-transform: uppercase;
}

strong {
    font-family: "Maax-Bold", "Montserrat", Arial, sans-serif;
}

.nav-link {
    font-family: "Maax", "Montserrat", Arial, sans-serif;
    font-size: 18px;
}

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

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

.bg-f {
    background-color: #293896;
}

.navbar {
    font-size: 20px;
}

.shortline {
    width: 120px;
    margin: 0 auto 35px auto;
    border-bottom: #9a7b50 3px solid;
}

.video-container { position: relative; padding-bottom: 56.25%; padding-top: 30px; height: 0; overflow: hidden; }

.video-container iframe, .video-container object, .video-container embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

.img-person {
    width: 300px;
    height: 300px;
    object-fit: cover;
    object-position: top center;
}

.quote {
    margin: 25px 0;
    font-size: 26px;
    font-weight: bold;
}

.quote > span {
    display: block;
}

.person {
    color: #e2e3e5;
}

.box-content {
    position: relative;
    padding: 30px 15px;
    background-color: rgba(5, 54, 80, 0.80);
    margin-top: -200px;
    margin-bottom: 25px;
}

.box-content2 {
    position: relative;
    padding: 30px 15px;
    background-color: rgba(112, 74, 13, 0.8);
    margin-top: -200px;
    margin-bottom: 25px;
}

#mainpic {
    padding: 75px;
    background-size: cover;
    background-position: right center;
}

#mainpic > img {
    width: 100%;
    max-width: 650px;
}

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

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

.btn-danger {
    background-color: orange !important;
    border-color: orange !important;
}

.btn-danger:hover {
    background-color: #0c1a64 !important;
    border-color: #0c1a64 !important;
}

.heading-2 {
    font-size: 30px;
}

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

#intro {
    background-color: #a47644;
    /*
    background: linear-gradient(to top, rgba(41, 56, 150, 0.5), rgba(41, 56, 150, 0.9), #293896), url("../images/bg2.jpg") no-repeat top center fixed;
    background-size: cover;
    background-position: center center;
    */
}

#hubs {
    background-color: rgba(228, 152, 23, 0.15);
}

.hubs {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.hubs > .hub {
    width: 32%;
    margin-bottom: 1em;
}

.hub h3 {
    font-size: 21px;
}

.hub h5 {
    font-size: 18px;
}

.hubs > .hub > .content {
    transition: 0.5s ease all;
    height: 200px;
    margin-top: -200px;
    bottom: 0;
    padding: 35px;
    box-sizing: border-box;
    position: relative;
    background-color: rgba(255, 255, 0, 0.8);
}

.hubs > .hub:hover > .content {
    transition: 0.1s ease all;
    height: 500px;
    margin-top: -500px;
    background-color: rgba(255, 255, 0, 1);
}

.hubs > .hub:nth-child(odd) > .content {
    background-color: rgba(238, 238, 238, 0.8);
}

.hubs > .hub:nth-child(odd):hover > .content {
    background-color: rgba(238, 238, 238, 0.95);
}

.hub > .content .popup {
    height: 0;
    overflow-y: hidden;
}

.hub:hover > .content .popup {
    height: auto;
}

#logos {
    background-color: #293896;
}

#study {
    background: linear-gradient(to bottom, rgba(41, 56, 150, 0.2), #293896), url("../images/bg3.jpg") no-repeat top center fixed;
    background-size: cover;
}

#study .card {
    padding: 25px;
    min-height: 540px;
    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;
}

#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;
}

#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: 44px;
}

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

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

.misc-icons .item {
    width: 24%;
    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: 15px;
    margin: 5px;
    border: 1px solid #ffffff;
    background-color: #ffffff;
}

.misc-icons .item i {
    display: block;
    font-size: 28px;
    color: #cd0000;
    padding: 25px;
}

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

.shrink {
    height: 70px;
}

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

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

.pill {
    padding: 5px 10px;
    border-radius: 5px;
    line-height: 1.8em;
}

.alert-one {
    transition: background-color 0.3s ease;
    background-color: #293896;
}

.alert-one:hover {
    background-color: #053650;
}

.text-one {
    color: #293896;
}

.text-two {
    color: #a47644 !important;
}

.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;;
}

/* 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 .item .details li {
    font-size: 16px;
}

.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: 100%;
    display: flex;
    margin: 5px 0;
}

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

.programmes-wrap2 .item .excerpt {
    width: 100%;
    position: relative;
    border: 1px solid #ffffff;
    background-color: #ffffff;
    padding: 25px;
    transition: ease all 0.1s;
}

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

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

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

.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;
}

#divider {
    background-color: #FFA904;
}


footer .item img {
    max-height: 65px;
}

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

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

footer .item p {
    font-size: 16px;
    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;
}

#partners {
    background-color: #ffffff;
}

#partners .partners-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
#partners .partners-wrap .item {
    text-align: center;
    width: 240px;
    margin: 5px;
}

#partners .partners-wrap .item .caption {
    font-size: 16px;
    color: #666666;
}

#partners .partners-wrap .item img {
    object-fit: contain;
    object-position: center;
    width: 120px;
    height: 120px;
    margin: 15px auto;
}

#partners h3 {
    font-size: 28px;
    color: #cd0000;
}

#partners .partners-wrap .item p {
    margin-bottom: 0;
}

#partners h4 {
    font-size: 21px;
}

.partner-list p {
    padding-left: 15px;
}

#testimonials .card {
    text-align: center;
    padding-top: 15px;
    padding-bottom: 15px;
}

#testimonials .card h5 {
    font-size: 21px;
    font-weight: bold;
    color: #cd0000;
}
#testimonials .card p {
    color: #333;
}

.card-text-title {
    font-size: 12px;
}

#testimonials .card-img-top {
    border-radius: 50%;
    max-width: 120px;
    margin: 25px auto;
}

.carousel-control-prev {
    left: -120px;
}
.carousel-control-next {
    right: -120px;
}

ul.pl-0 {
    padding-left: 10px !important;
}

ul.pl-0 > li {
    margin-bottom: 5px;
}

.loading-icon {
    width: 100%;
    display: inline-block;
    padding: 5px;
    border-radius: 5px;
}

.loading-icon i {
    margin-right: 10px;
    animation: spin 1s linear infinite; /* Apply the spinning animation */
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (max-width: 991px) {

    .shortline {
        margin-left: auto;
        margin-right: auto;
    }

    .hubs {
        display: block;
    }

    .hubs > .hub {
        width: 100%;
    }

    .programmes-wrap2 .item {
        display: block
    }

    .programmes-wrap2 .item:hover .excerpt {
        transform: translateY(-15px);
    }

    .programmes-wrap2 .item img {
        width: 100%;
    }

    .carousel-control-prev {
        left: 0;
    }
    .carousel-control-next {
        right: 0;
    }

    .person {
        margin-bottom: 55px;
    }

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

    .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;
    }

}


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

@media (min-width: 992px) {
    .ml-lg-0 {
        margin-left: 0;
    }

    .text-md-left {
        text-align: left !important;
    }
}
