  @keyframes beating {
    0% {
        transform: scale(1);
    }
    70% {
        transform: scale(1);
    }
    75% {
        transform: scale(0.95);
    }
    80% {
        transform: scale(1.15);
    }
    85% {
        transform: scale(0.95);
    }
    90% {
        transform: scale(1);
    }

}

.beat {
    animation-name: beating;
    animation-iteration-count: infinite;
    animation-duration: 3s;
    transition: ease all;
}

html,
body {
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

body {
    color: #333333;
    font-family: 'Montserrat', sans-serif, Arial;
    font-size: 16px;
    font-weight: 300;
    overflow-x: hidden;
    line-height: 1.5;
    height: 100%;
    background: linear-gradient(to bottom right, rgba(210, 230, 243, 0.7), rgba(252, 255, 222, 0.7)), url(/enquiries/msu/assets/images/patterns.jpg);
}

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

#logo {
    height: 70px;
}

.text-primary {
    color: #dc2626 !important;
}

.bg-primary,
.btn-primary {
    background: linear-gradient(70deg, #ee2e24, #561bb1);
    border: #dc2626 1px solid;
}

h2 {
    text-transform: uppercase;
}

#hero,
.bg-main {
    background-image: url("/enquiries/msu/assets/images/bg.webp?v=2");
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

@keyframes zoom {
    0% {
        background-size: auto 100%;
        filter: grayscale(25%);
    }
    100% {
        background-size: auto 110%;
        filter: grayscale(0%);
    }
}



#logoCarousel img {
    width: 140px;
    height: 150px;
    object-fit: contain;
}

#logoCarousel .d-flex {
    flex-wrap: wrap;
}

.address {
    display: none;
}

.boxes .box {
    min-height: 110px;
    border-radius: 15px 2px 15px 2px;
    padding: 15px;
    margin-bottom: 20px;
    display: flex;
    background-color: #dc2626;
    color: #ffffff;
}

.boxes .box .icon {
    margin-right: 15px;
}

.boxes .box strong {
    display: inline-block;
    font-size: 21px;
}

.boxes .box .text {
    font-size: 16px;
    line-height: 1.2em;
}

.boxes .box .text span {
    text-transform: uppercase;
}

.faculties {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.faculties .item {
    transition: ease all 0.2s;
    background-color: rgba(0, 0, 0, 0.6);
    box-sizing: border-box;
    width: 32%;
    padding: 25px;
    margin-bottom: 15px;
}

.faculties .item:hover {
    transition: ease all 0.5s;
    background-color: rgba(255, 255, 255, 0.9);
    color: #333333 !important;
}

.faculties .item .head {
    display: flex;
}

.faculties .item i {
    color: #dc2626;
    margin-right: 15px;
}

.faculties .item h4 {
    font-size: 21px;
}

.courses-boxes h4 {
    color: #dc2626;
}

.courses-boxes h4 i {
    margin-left: 15px;
    font-size: 0.7em;
}

.courses-boxes p {
    margin-bottom: 0;
}

.box {
    background-color: #ffffff;
    box-shadow: rgba(0, 0, 0, 0.025) 0 0 5px;
    padding: 15px;
}

.box img {
    margin-bottom: 8px;
}

.box h4 {
    font-size: 21px;
    margin-top: 15px;
}

.scholarship-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.scholarship-items .item {
    width: 32%;
    transition: ease all 0.2s;
    background-color: #ffffff;
    box-sizing: border-box;
    padding: 35px 25px;
    margin-bottom: 15px;
}

.scholarship-items h5 {
    color: #dc2626;
}

.sm-icons i {
    margin: 5px 15px
}

#contact {
    background-image: url('/enquiries/msu/assets/images/map.png');
    background-size: contain;
    background-position: center right;
    background-repeat: no-repeat;
}

.highlight {
    background-color: #dc2626;
    color: #ffffff;
    padding: 3px 10px;
}

.nav-link {
    margin-left: 5px;
}

.nav-link:hover {
    background-color: #dc2626;
    color: #ffffff !important;
    padding: 5px;
}

#backToTop {
    position: fixed;
    bottom: 20px;
    right: 80px;
    display: none;
    cursor: pointer;
    font-size: 24px;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    border-radius: 50%;
    padding: 10px;
    width: 50px;
    height: 50px;
    text-decoration: none;
    justify-content: center;
    align-items: center;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.4) !important;
}

#courseAccordion ul {
    list-style-type: none; /* Remove default bullets */
    padding-left: 0; /* Remove default padding */
}

#courseAccordion ul li {
    position: relative;
    padding-left: 20px;
    color: #333029;
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 17px;
}

#courseAccordion ul li small {
    color: #666666;
    font-size: 12px;
    font-weight: normal;
}

#courseAccordion ul li::before {
    content: '•'; /* Custom bullet character */
    color: #cd0000; /* Bullet colour */
    position: absolute; /* Positioning the bullet */
    left: 0; /* Align bullet to the left */
}

#courseAccordion .accordion-item {
    background-color: rgba(255, 255, 255, 0.45);
}
#courseAccordion .accordion-button {
    line-height: 1.2em;
}

#courseAccordion .accordion-button {
    font-size: 20px;
    background-color: rgba(255,255, 255, 0.45);
}
#courseAccordion .accordion-body {
    background-color: rgba(255,255, 255, 0.75);
}

#courseAccordion .accordion-button:not(.collapsed) {
    color: #cd0000;
}

#courseAccordion .accordion-button:not(.collapsed) i {
    color: #cd0000;
}

#courseAccordion .accordion-button i {
    color: #cd0000;
    margin-right: 20px !important;
}

.mobile-logo {
    max-height: 90px;
}

#header.sticky {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    background-color: white; /* or any background */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.3s ease-in-out;
}

#header.sticky #logo {
    height: 40px;
}

.fade-image {
    transition: opacity 1s ease-in-out;
}
.opacity-0 {
    opacity: 0;
    z-index: 1;
}
.opacity-1 {
    opacity: 1;
    z-index: 2;
}

@media(max-width: 991px) {

    #gallery .item {
        width: 25%;
    }

    h2 {
        font-size: 32px;
        line-height: 48px;
    }

    .nav-link {
        padding: 15px;
    }
    #contact {
        background-image: none;
    }

    .boxes {
        display: block;
    }

    .boxes .col,
    .scholarship-items .item {
        width: 100%;
    }
}

@media(max-width: 767px) {

    #courseAccordion ul li small {
        display: block;
    }

    .btn-group-lg>.btn, .btn-lg {
        font-size: 1rem;
    }

    #courseAccordion .accordion-button {
        font-size: 17px;
    }

    #courseAccordion .accordion-button i {
        margin-right: 10px !important;
    }

    #hero {
        background-attachment: fixed;
        background-repeat: no-repeat;
        background-image: url("/enquiries/msu/assets/images/bg.webp");
        background-size: 100% 500px;
        background-position: top center;
        animation: zoom 20s infinite alternate;
    }

    @keyframes zoom {
        0% {
            background-size: 100% 800px;
            filter: grayscale(25%);
        }
        100% {
            background-size: 120% 800px;
            filter: grayscale(0%);
        }
    }

    #gallery .item {
        width: 50%;
    }

    .mobile-logo {
        max-height: 60px;
    }

    .faculties .item {
        width: 100%;
    }
}
