﻿body {
    font-family: "Poppins";
}

.headerrow a {
    text-decoration: none;
}

    .headerrow a:hover {
        text-decoration: underline;
    }

.topmenucontent a {
    text-decoration: none;
}

    .topmenucontent a:hover {
        text-decoration: underline;
    }

.mainmenucontainer_in a {
    text-decoration: none;
}

    .mainmenucontainer_in a:hover {
        text-decoration: underline;
    }

.homepage {
    position: relative;
    height: 100vh;
    overflow: hidden;
    padding: 0;
}

    .homepage::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url("images/main/homebg1.jpg");
        background-size: contain;
        z-index: -1;
    }

@media (min-aspect-ratio: 16/9) {
    .homepage::before {
        background-size: 100% 100%;
    }
}

.homepage .headerrowwrapper {
    background: linear-gradient(to bottom, #e0caa3, rgba(224, 202, 163, 0));
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
    height: 220px;
    padding: 20px 20px 0 20px;
}

.homepage .headerrow {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

    .homepage .headerrow .logocontainer {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
    }

        .homepage .headerrow .logocontainer .logobox {
            margin-right: 12px;
        }

        .homepage .headerrow .logocontainer .logoboxtxt {
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
            align-items: start;
        }

            .homepage .headerrow .logocontainer .logoboxtxt h1 {
                font-size: 30px;
                font-weight: 700;
                color: #0a1c44;
                margin: 0;
                padding: 0;
                margin-top: 12px;
            }

            .homepage .headerrow .logocontainer .logoboxtxt h4 {
                font-size: 22px;
                font-weight: 500;
                letter-spacing: -1.5px;
                color: #0a1c44;
                margin: 0;
                padding: 0;
                margin-top: -1px;
            }

        .homepage .headerrow .logocontainer:hover {
            text-decoration: none !important;
        }

    .homepage .headerrow .topmenucontainer {
        margin-top: 30px;
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        grid-gap: 10px;
    }

        .homepage .headerrow .topmenucontainer .topmenucontent {
            display: flex;
            flex-direction: row;
            justify-content: flex-start;
            align-items: baseline;
            gap: 10px;
            margin-top: 5px;
            margin-right: 10px;
        }

            .homepage .headerrow .topmenucontainer .topmenucontent a {
                font-weight: 700;
                text-transform: uppercase;
                color: #0a1c44;
                font-size: 14px;
            }

        .homepage .headerrow .topmenucontainer .searchbox {
            margin-top: 1px;
        }

            .homepage .headerrow .topmenucontainer .searchbox input {
                font-family: "Helvetica", FontAwesome, sans-serif;
                border: solid 1px #091d42;
                border-radius: 6px;
                background-color: transparent;
            }

                .homepage .headerrow .topmenucontainer .searchbox input::placeholder {
                    color: #0a1c44;
                    opacity: 1;
                }

.homepage .mainmenucontainer {
    margin: 20px 0 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

    .homepage .mainmenucontainer .mainmenucontainer_in {
        width: 1300px;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }

        .homepage .mainmenucontainer .mainmenucontainer_in a {
            text-transform: uppercase;
            color: #0a1b46;
            font-weight: 800;
            letter-spacing: 3px;
            font-size: 20px;
        }

.homepage .mainstripcontainer {
    position: absolute;
    top: 70%;
    right: 0;
}

    .homepage .mainstripcontainer .mainstripbadge {
        background-color: #0a1c44;
        text-transform: uppercase;
        color: #e2cba2;
        font-size: 46px;
        font-weight: 700;
        padding: 5px 5px;
        cursor: pointer;
    }

@media (max-width: 768px) {
    .homepage::before {
        display: none;
    }

    .homepage {
        padding: 5px;
        height: auto !important;
        overflow: visible !important;
    }

        .homepage .headerrow {
            flex-direction: column;
            align-items: center;
        }

            .homepage .headerrow .logocontainer {
                margin-left: 0;
                margin-bottom: 10px;
                justify-content: center;
            }

                .homepage .headerrow .logocontainer .logoboxtxt {
                    display: flex;
                    flex-direction: column;
                    justify-content: flex-start;
                    align-items: start;
                }

                    .homepage .headerrow .logocontainer .logoboxtxt h1 {
                        font-size: 24px;
                        font-weight: 700;
                        color: #0a1c44;
                        margin: 0;
                        padding: 0;
                        margin-top: 12px;
                    }

                    .homepage .headerrow .logocontainer .logoboxtxt h4 {
                        font-size: 20px;
                        font-weight: 500;
                        letter-spacing: -1.5px;
                        color: #0a1c44;
                        margin: 0;
                        padding: 0;
                        margin-top: -1px;
                    }

            .homepage .headerrow .topmenucontainer {
                margin-top: 10px;
                flex-wrap: wrap;
                justify-content: center;
            }

                .homepage .headerrow .topmenucontainer .topmenucontent {
                    flex-wrap: wrap;
                    justify-content: center;
                    margin-top: 5px;
                    gap: 6px;
                }

                    .homepage .headerrow .topmenucontainer .topmenucontent a {
                        font-size: 14px;
                    }

                .homepage .headerrow .topmenucontainer .searchbox {
                    margin-top: 5px;
                }

                .homepage .headerrow .topmenucontainer .burightlogo {
                    display: none;
                    position: static;
                    top: auto;
                    left: auto;
                }

        /* Main menu container: relative for hamburger */
        .homepage .mainmenucontainer {
            display: inline;
            flex-direction: column;
            position: relative; /* Make sure it's not absolute */
        }

            /* Hamburger button styles */
            .homepage .mainmenucontainer .hamburger-campus {
                display: block;
                font-size: 26px;
                background: none;
                border: none;
                color: #0a1b46;
                cursor: pointer;
                padding: 5px 15px;
                user-select: none;
            }

            /* Hide main menu links by default on mobile */
            .homepage .mainmenucontainer .mainmenucontainer_in {
                display: none;
                flex-direction: column;
                width: 100%;
                background-color: #f8f8f8;
                padding: 0px 0;
                border-radius: 4px;
            }

            /* Show menu when active */
            .homepage .mainmenucontainer.active .mainmenucontainer_in {
                display: flex;
            }

            .homepage .mainmenucontainer .mainmenucontainer_in a {
                font-size: 12px;
                padding: 5px 5px;
                border-bottom: 1px solid #ccc;
                width: 100%;
                box-sizing: border-box;
            }

                .homepage .mainmenucontainer .mainmenucontainer_in a:last-child {
                    border-bottom: none;
                }

            /* Remove underline from menu links, underline only on hover */
            .homepage .headerrow .topmenucontainer .topmenucontent a,
            .homepage .mainmenucontainer .mainmenucontainer_in a {
                text-decoration: none;
                transition: text-decoration 0.3s ease;
            }

                .homepage .headerrow .topmenucontainer .topmenucontent a:hover,
                .homepage .mainmenucontainer .mainmenucontainer_in a:hover {
                    text-decoration: underline;
                }

        /* Adjust mainstripcontainer position on mobile */
        .homepage .mainstripcontainer {
            position: static;
            width: 100%;
            line-height: 50px;
        }

            .homepage .mainstripcontainer .mainstripbadge {
                background-color: #0a1c44;
                text-transform: uppercase;
                color: #e2cba2;
                font-size: 38px;
                font-weight: 700;
                padding: 30px 10px;
                cursor: pointer;
            }
}

@media (min-width: 769px) {
    /* Hide hamburger on desktop */
    .homepage .mainmenucontainer .hamburger-campus {
        display: none;
    }
}


.welcome_page {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    margin-top: 20px;
}

    .welcome_page .welcome_page_content {
        margin: 20px 0 0 20px;
    }

        .welcome_page .welcome_page_content h2 {
            color: #0a1c44;
            font-weight: 900;
            font-size: 36px;
            text-transform: uppercase;
        }

            .welcome_page .welcome_page_content h2 .secondcolortxt {
                color: #ba9d59;
                font-weight: 900;
            }

        .welcome_page .welcome_page_content a.read_more {
            display: block;
            margin-top: 15px;
            text-transform: uppercase;
            color: #0a1c44;
            font-size: 18px;
            text-decoration: none;
            cursor: pointer;
        }


.rector_message_page {
    padding: 20px 0;
}

.rector_message_container {
    background: linear-gradient(to right, #090a29, rgb(66, 68, 93));
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
}

.message_content {
    padding: 20px;
}

    .message_content img.message_logo {
        margin: 10px 0 10px -12px;
        max-width: 100%;
        height: auto;
    }

    .message_content h2 {
        color: #bc9f59;
        text-transform: uppercase;
        font-size: 28px;
        font-weight: 400;
        margin: 0;
        padding: 0;
    }

        .message_content h2.secondheading {
            color: #fff;
            font-weight: 700;
            margin: 6px 0;
        }

    .message_content p {
        color: #ffffff;
        font-size: 16px;
    }

    .message_content .read_more {
        text-transform: uppercase;
        color: #ba9d57;
        cursor: pointer;
        display: block;
        font-weight: 500;
        font-size: 16px;
        text-decoration: underline;
        margin-top: 3px;
        text-align: right;
    }

.rector_bg {
    background: url("/Content/images/main/rector_message.png") no-repeat center center;
    background-size: contain;
    width: 100%;
    height: 100%;
    min-height: 400px;
}

@media (max-width: 991.98px) {
    .message_content h2 {
        font-size: 22px;
    }

    .message_content .read_more {
        text-align: left;
        font-size: 14px;
    }

    .rector_bg {
        height: 300px;
    }
}

.admissions-header {
    text-align: center;
    background-color: white;
}

    .admissions-header h2 {
        font-weight: bold;
        font-size: 2.5rem;
        color: #0d1a42;
    }

    .admissions-header p {
        font-size: 1.1rem;
        color: #0d1a42;
        margin: 0;
    }

.admissions-section {
    background: url('images/main/admission_bg.jpg') no-repeat center center;
    background-size: contain;
    height: 450px;
    color: white;
    display: flex;
    align-items: flex-end;
    padding: 60px;
}

.admissions-row {
    width: 100%;
}

.admission-option {
    border: 1px solid white;
    padding: 30px 10px;
    margin: 0px;
    border-radius: 0px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.356);
}

.admission_info_box {
    text-transform: uppercase;
    color: #fff;
    font-weight: 700;
    font-size: 24px;
}

.admission-option .icon {
    font-size: 2rem;
    background: white;
    color: #0d1a42;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.admission-option h5 {
    font-weight: bold;
    color: white;
    margin-top: 20px;
}

@media (max-width: 767px) {
    .admission-option {
        margin-bottom: 20px;
    }

    .admissions-section {
        height: auto;
        padding-top: 30px;
    }
}

.scholorships_page {
    margin-top: 30px;
    margin-bottom: 20px;
}

    .scholorships_page .bg_image_container {
        position: relative;
        height: 100%;
    }

        .scholorships_page .bg_image_container img {
            width: 100%;
            height: auto;
            display: block;
        }

.scholorship_page_heading_box {
    height: 140px;
    width: 100%;
    background: linear-gradient(to bottom, rgba(10, 28, 68, 0), rgb(10, 28, 68) 85px);
    position: absolute;
    bottom: 0;
    left: 0;
}

    .scholorship_page_heading_box a {
        text-decoration: none;
    }

.bg_image_container a:hover {
    text-decoration: underline;
}

.bg_image_container a {
    text-decoration: none;
}

    .bg_image_container a:hover {
        text-decoration: underline;
    }

.scholorship_page_heading_box h1 {
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    text-transform: uppercase;
    margin: 0;
    padding: 10px;
    height: 140px;
    display: flex;
    align-items: flex-end;
}

/* Dates background */
/*
            .newsticker li a:hover {
                text-decoration: underline;
            }
            */
/* Responsive H1 Size */

.bg_dates_to_remember {
    background: url("/Content/images/main/scholorships/dates_to_remember.jpg") no-repeat center center;
    background-size: cover;
    height: 100%;
}

.newstickercontainer {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-top: 0px;
    position: relative;
    padding-top: 0px;
    padding-right: 10px;
}

.scrollbtn {
    border: 1px solid #fff;
    padding: 3px;
    color: #fff;
    height: 20px;
    cursor: pointer;
    margin: 4px 0;
    margin-right: 25px;
}

#scrollup,
#scrolldown {
    position: relative;
}

.newsticker-wrapper {
    position: relative;
    overflow: hidden;
    height: 50px;
    width: 100%;
    max-width: 500px;
    margin-right: 30px;
}

.newsticker {
    list-style: none;
    padding: 0;
    margin: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transition: top 0.5s ease-in-out;
    width: 100%;
    max-width: 500px;
}

    .newsticker li {
        font-size: 18px;
        font-weight: 500;
        border-bottom: 1px solid #fff;
        margin: 10px 0;
        color: #fff;
        height: 50px;
        line-height: 50px;
        padding-left: 10px;
        list-style: none;
        font-size: 18px;
        font-weight: 500;
        border-bottom: 1px solid #fff;
        margin: 10px 0;
        color: #fff;
    }

        .newsticker li a {
            color: #fff;
            text-decoration: none;
            display: block;
            width: 100%;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            color: #fff;
            text-decoration: none;
        }

            .newsticker li a:hover {
                text-decoration: underline;
            }

@media (min-width: 768px) {
    .scholorship_page_heading_box h1 {
        font-size: 34px;
    }
}

@media (max-width: 767.98px) {
    .bg_image_container {
        height: auto !important;
    }
}

.academicsbox {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: transparent;
    height: 100%;
}

    .academicsbox img {
        width: 100%;
        height: auto;
        max-height: 250px;
        object-fit: contain;
    }

.academicsboxtxtcontainer a {
    text-decoration: none;
}

    .academicsboxtxtcontainer a:hover {
        text-decoration: underline;
    }

.academicsboxtxtcontainer {
    display: block;
    background-color: #0a1c44;
    height: 100%;
}

    .academicsboxtxtcontainer h2 {
        text-transform: uppercase;
        color: #ba9d59;
        font-weight: 700;
        font-size: 20px;
        padding: 10px;
        text-align: center;
        margin: 0;
        border-top: dotted 1px #ffffff;
        border-bottom: dotted 1px #ffffff;
    }

    .academicsboxtxtcontainer p {
        margin-top: 10px;
        color: #fff;
        text-align: justify;
        padding: 0 10px 10px;
        font-size: 14px;
    }
/*.academics-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;*/ /* space between boxes */
    /*padding: 10px 0;
}

.academicsbox {
    flex: 1 1 calc(20% - 20px);*/ /* 5 per row */
    /*max-width: calc(20% - 20px);
    background: #fff;
    text-align: center;
    box-sizing: border-box;
}

    .academicsbox img {
        width: 100%;
        height: auto;
        display: block;
    }

.academicsboxtxtcontainer {
    padding: 15px;
}*/


/* Responsive adjustments */
/*@media (max-width: 1200px) {
    .academicsbox {
        flex: 1 1 calc(25% - 20px);*/ /* 4 per row */
        /*max-width: calc(25% - 20px);
    }
}

@media (max-width: 992px) {
    .academicsbox {
        flex: 1 1 calc(33.33% - 20px);*/ /* 3 per row */
        /*max-width: calc(33.33% - 20px);
    }
}

@media (max-width: 768px) {
    .academicsbox {
        flex: 1 1 calc(50% - 20px);*/ /* 2 per row */
        /*max-width: calc(50% - 20px);
    }
}

@media (max-width: 480px) {
    .academicsbox {
        flex: 1 1 100%;*/ /* 1 per row */
        /*max-width: 100%;
    }
}*/
.campus-card {
    position: relative;
    margin-bottom: 20px;
}

    .campus-card img {
        width: 100%;
        height: auto;
        display: block;
    }

.campus-overlay {
    position: absolute;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(10, 28, 68, 0), rgb(10, 28, 68) 75px);
    width: 100%;
    padding: 15px;
    text-align: left;
}

    .campus-overlay a {
        text-decoration: none;
    }

.campus-uni-name {
    color: white;
    font-weight: 700;
}

.campus-city-name {
    color: #bb9e5a;
    font-weight: 900;
}


.support-centres-container {
    background-color: #0a1c44;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
}

.support-centres {
    display: flex;
    align-items: center;
    padding: 25px 125px;
}

.support-title {
    color: #bb9e5a;
    font-weight: 900;
    font-size: 2rem;
    margin-right: 10px;
}

.bi-chevron-right {
    color: #bb9e5a;
    margin-right: 10px;
    font-size: 1.5rem;
}

.support-items {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-left: 50px;
}

.support-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.support-icon {
    width: 30px;
    height: auto;
}

.support-text {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
}

.support-item a {
    text-decoration: none;
}

@media (max-width: 768px) {
    .support-centres {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px 15px;
    }

    .support-items {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin-left: 10px;
    }

    .support-item {
        justify-content: flex-start;
    }
}
