.navbar,
body {
    font-family: var(--body-font)
}

:root {
    --primary: #001F4D;
    --accent: #C62828;
    --light-bg: #FFFFFF;
    --dark-bg: #121212;
    --navbar-bg: #eddede;
    --light-gray: #F5F5F5;
    --heading-font: 'League Spartan', sans-serif;
    --body-font: 'Roboto', sans-serif
}

body,
html {
    overflow-x: hidden
}

body {
    background: var(--light-bg);
    color: var(--primary)
}

.navbar {
    background: var(--navbar-bg);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .04)
}

.navbar-brand {
    font-family: var(--heading-font);
    font-size: 1.5rem;
    color: var(--primary) !important;
    letter-spacing: 1px
}

.nav-link,
.navbar-nav .nav-link {
    color: var(--primary) !important;
    font-weight: 500;
    transition: color .3s
}

.nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--accent) !important
}

.hero {
    min-height: 70vh;
    background: linear-gradient(rgba(0, 31, 77, .7), rgba(0, 31, 77, .7)), url('https://images.unsplash.com/photo-1506744038136-46273834b3fb?auto=format&fit=crop&w=1500&q=80') center/cover no-repeat;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    padding: 5rem 1rem 3rem
}

.logo-title,
section h2 {
    color: var(--primary);
    font-family: var(--heading-font)
}

.hero h1 {
    font-family: var(--heading-font);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 1px
}

.hero p {
    font-size: 1rem;
    margin-bottom: 2rem
}

.hero .btn {
    background: var(--accent);
    color: #fff;
    font-weight: 500;
    border-radius: 2rem;
    padding: .75rem 2rem;
    font-size: 1.1rem;
    transition: background .3s
}

.about-card .icon,
.about-card:hover,
.section-bg {
    background: var(--light-gray)
}

.hero .btn:hover {
    background: #a91d1d
}

section {
    padding: 4rem 0 3rem
}

section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem
}

.card {
    border: none;
    border-radius: 1rem;
    box-shadow: 0 2px 12px rgba(0, 31, 77, .07);
    transition: box-shadow .3s
}

footer {
    font-family: Roboto, Arial, sans-serif;
    color: var(--text-light);
    background-image: linear-gradient(rgba(0, 51, 102, .85), rgba(0, 51, 102, .85)), url('../img/footer-img.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    background-position: center
}

.footer,
img {
    border-radius: 20px
}

.footer a {
    color: #fff;
    text-decoration: underline
}

.about-card {
    background: var(--light-bg);
    transition: box-shadow .3s, background .3s;
    border: none
}

.about-card:hover {
    box-shadow: 0 6px 32px rgba(0, 31, 77, .1)
}

.about-card .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    transition: background .3s
}

.top-logos-bar {
    background: linear-gradient(90deg, #f5f8ff 60%, #e3eafc 100%);
    box-shadow: 0 2px 8px rgba(0, 31, 77, .04);
    position: relative;
    z-index: 1020;
    padding-top: .7rem;
    padding-bottom: .7rem
}

.logo-divider {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #001f4d 0, #c62828 100%);
    opacity: .12;
    margin-top: 8px
}

.logo-block {
    transition: transform .2s, box-shadow .2s;
    border-radius: 1rem;
    padding: .5rem .5rem .2rem;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 31, 77, .07);
    margin-bottom: .5rem;
    margin-top: .5rem;
    min-width: 220px;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    align-items: center
}

.logo-block:hover {
    transform: scale(1.045);
    box-shadow: 0 6px 32px rgba(0, 31, 77, .13);
    background: #f8fafc
}

.logo-img {
    height: 64px;
    max-width: 90%;
    border-radius: .7rem;
    box-shadow: 0 2px 8px rgba(0, 31, 77, .1);
    background: #fff;
    margin-bottom: .4rem;
    object-fit: contain;
    padding: .2rem .5rem
}

.logo-subtext,
.logo-title {
    margin-bottom: .1rem;
    text-align: center
}

.logo-title {
    font-weight: 800;
    font-size: 1.08rem;
    letter-spacing: .5px;
    line-height: 1.2
}

.logo-title-blue {
    color: #1a237e
}

.logo-title-primary {
    color: var(--primary)
}

.help-section-title .highlight,
.logo-title-accent,
.mobile-menu-list li a:hover,
.mobile-submenu-list li a:hover {
    color: var(--accent)
}

.logo-subtext {
    font-size: .85rem;
    color: #333;
    opacity: .85
}

.logo-subtext-black,
.logo-title-black {
    color: #001f4d;
    text-align: left;
    line-height: 1.1
}

.top-logos-bar-black {
    background: #fff;
    padding: .7rem 0;
    width: 100%;
    position: relative;
    z-index: 1020
}

.top-logos-flex {
    gap: 0
}

.logo-block-black {
    min-width: 0;
    flex: 1 1 0;
    justify-content: flex-start;
    padding: 0 1.5vw
}

.logo-img-black {
    height: 64px;
    width: auto;
    max-width: 80px;
    object-fit: contain;
    background: 0 0;
    border-radius: .5rem;
    box-shadow: none
}

.logo-title-black {
    font-family: var(--heading-font);
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: 1px
}

.logo-subtext-black {
    font-size: .75rem;
    font-weight: 500;
    letter-spacing: .5px;
    margin-top: .1rem
}

.logo-divider-vert {
    width: 2px;
    height: 64px;
    background: linear-gradient(180deg, #c62828 0, #c62828 100%);
    opacity: .7;
    margin: 0 1vw
}

.banner-image-section {
    width: 100%;
    background: #000;
    margin: 0;
    padding: 0;
    display: block
}

.banner-image-section img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    max-width: 100vw
}

.hero-carousel-section {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    min-height: 350px;
    background: #001f4d;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    overflow: hidden
}

#loader,
.carousel-img {
    display: block;
    height: 350px
}

.carousel-img {
    width: 100vw;
    object-fit: cover;
    object-position: center;
    border-radius: 0
}

.help-each-other-section {
    background: var(--light-bg);
    padding: 0 0 2rem
}

.help-img-col {
    background: var(--light-bg);
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 3rem 0
}

.vertical-label {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    background: var(--primary);
    color: #fff;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 1px;
    padding: .7rem 2.2rem;
    border-radius: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 31, 77, .07);
    z-index: 2;
    text-align: center
}

.vertical-label span {
    color: var(--accent);
    font-weight: 700
}

.help-img-stack {
    position: relative;
    width: 320px;
    min-height: 340px;
    margin-left: 3.5rem
}

.help-img-main {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 1.2rem;
    box-shadow: 0 4px 24px rgba(0, 31, 77, .1);
    position: relative;
    z-index: 1
}

.help-img-small {
    position: absolute;
    width: 110px;
    height: 90px;
    object-fit: cover;
    border-radius: 1rem;
    box-shadow: 0 2px 12px rgba(0, 31, 77, .1);
    z-index: 2;
    background: #fff
}

.help-img-small-top {
    left: -70px;
    top: 18px
}

.help-img-small-bottom {
    right: -40px;
    bottom: -30px
}

.help-content-col {
    background: var(--light-bg);
    border-radius: 0 1.5rem 1.5rem 0;
    box-shadow: 0 2px 16px rgba(0, 31, 77, .04);
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: center
}

.help-section-label {
    color: var(--accent);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 1px
}

.help-section-title {
    font-family: var(--heading-font);
    font-size: 2.1rem;
    font-weight: 700;
    color: var(--primary)
}

.help-section-desc {
    color: #333;
    font-size: 1.08rem;
    text-align: justify
}

.help-icon-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: var(--light-gray);
    border-radius: 1rem;
    padding: 1rem 1.2rem;
    box-shadow: 0 2px 8px rgba(0, 31, 77, .04);
    margin-bottom: .5rem;
    transition: box-shadow .2s, background .2s
}

.help-icon-card:hover {
    background: #e3eafc;
    box-shadow: 0 4px 16px rgba(0, 31, 77, .1)
}

.help-cta-btn,
.help-icon-card .icon {
    box-shadow: 0 2px 8px rgba(0, 31, 77, .07)
}

.help-icon-card .icon {
    font-size: 2rem;
    color: var(--accent);
    background: #fff;
    border-radius: 50%;
    padding: .5rem;
    margin-right: .5rem
}

.icon-card-title {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.1rem
}

.icon-card-desc {
    color: #333;
    font-size: .98rem
}

.help-bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 1.2rem
}

.help-bullets li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: .5rem;
    color: var(--primary);
    font-size: 1.05rem
}

.help-bullets li::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--accent);
    position: absolute;
    left: 0;
    top: .1rem;
    font-size: 1.1rem
}

.help-cta-btn {
    background: var(--accent);
    color: #fff;
    font-weight: 700;
    border-radius: 2rem;
    padding: .7rem 2.2rem;
    font-size: 1.1rem;
    transition: background .2s, color .2s;
    border: none
}

.campus-life-img-card,
.infra-img-card {
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 31, 77, .07);
    display: flex
}

.help-cta-btn:hover {
    background: #a91d1d;
    color: #fff
}

.help-contact {
    color: var(--primary);
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    align-items: center
}

#preloader,
#upcomingTicker,
.navbar-fixed {
    top: 0;
    left: 0;
    width: 100%
}

#news-events .card {
    display: flex;
    flex-direction: column;
    height: 100%
}

#news-events .card .p-4 {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start
}

#news-events .card img,
#news-events .news-image {
    object-fit: fill !important
}

#news-events .card .btn {
    margin-top: auto;
    align-self: flex-start
}

.infra-img-card {
    border-radius: 1.2rem;
    overflow: hidden;
    transition: box-shadow .3s, transform .3s;
    height: 260px;
    align-items: center;
    justify-content: center
}

.infra-img-card:hover {
    box-shadow: 0 6px 32px rgba(0, 31, 77, .13);
    transform: translateY(-6px) scale(1.03)
}

.campus-life-img,
.infra-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1.2rem;
    transition: transform .3s
}

.infra-img-card:hover .infra-img {
    transform: scale(1.06)
}

.campus-life-img-card {
    border-radius: 1.2rem;
    overflow: hidden;
    height: 320px;
    align-items: center;
    justify-content: center
}

.holder,
.upcoming-events-ticker {
    border-radius: 16px;
    position: relative;
    margin-bottom: 0;
    overflow: hidden
}

.campus-life-img-card:hover .campus-life-img {
    transform: scale(1.04)
}

.hero-section .row.align-items-center {
    min-height: 580px;
    display: flex;
    align-items: stretch
}

.hero-section .carousel,
.hero-section .carousel-inner,
.hero-section .carousel-item img {
    height: 100%;
    min-height: 560px;
    max-height: 580px;
    border-radius: 24px
}

.hero-section .carousel-item img {
    object-fit: cover;
    width: 100%
}

.hero-section .upcoming-events-box {
    min-height: 560px;
    max-height: 580px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: var(--primary) !important;
    color: #fff;
    border-radius: 24px
}

.hero-section .upcoming-events-box h4 {
    color: var(--accent) !important;
    opacity: 1
}

.hero-section .upcoming-events-box .fw-bold,
.hero-section .upcoming-events-box div,
.hero-section .upcoming-events-box li {
    color: #fff !important
}

.hero-section .upcoming-events-box a {
    color: var(--accent) !important;
    text-decoration: underline;
    transition: color .2s
}

.hero-section .upcoming-events-box a:hover {
    color: #fff !important;
    text-decoration: none
}

.hero-section .upcoming-events-list {
    scroll-behavior: smooth;
    overflow-y: auto;
    -ms-overflow-style: none;
    scrollbar-width: none
}

.hero-section .upcoming-events-list::-webkit-scrollbar {
    display: none
}

.upcoming-events-ticker {
    height: 70px;
    background: 0 0;
    color: #fff;
    padding: 0
}

.upcoming-events-ticker ul {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative
}

.upcoming-events-ticker li {
    min-height: 60px;
    transition: transform .6s cubic-bezier(.4, 2, .6, 1);
    will-change: transform;
    padding-bottom: .5rem;
    display: flex;
    flex-direction: column;
    justify-content: center
}

#upcomingTicker li,
.holder {
    display: flex;
    flex-direction: column;
    background: 0 0
}

.upcoming-events-ticker a {
    color: var(--accent);
    text-decoration: underline
}

#upcomingTicker li a:hover,
.upcoming-events-ticker a:hover {
    color: #fff;
    text-decoration: none
}

.news-ticker-container {
    min-height: 220px;
    max-height: 240px
}

.news-ticker {
    height: 200px
}

.news-ticker-item {
    height: 50px
}

.holder {
    width: 100%;
    height: 460px;
    padding: 0 10px;
    font-family: var(--body-font), Helvetica, Arial, sans-serif;
    justify-content: flex-start
}

.main-navbar,
.navbar-fixed {
    z-index: 1050;
    background: var(--navbar-bg)
}

.form-label,
.hero-side-toggle,
.mobile-menu-content,
.social-float-widget {
    font-family: var(--body-font)
}

#upcomingTicker {
    list-style: none;
    margin: 0;
    padding: 0;
    position: absolute
}

#upcomingTicker li {
    padding: 18px 0 0 18px;
    font-size: 1.08rem;
    gap: .2em;
    align-items: flex-start;
    color: #fff
}

#upcomingTicker li span {
    color: #fff;
    font-weight: 700;
    min-width: 90px;
    display: inline-block;
    font-size: 1.08rem
}

#upcomingTicker li a {
    color: var(--accent);
    text-decoration: underline;
    transition: color .2s;
    font-size: 1.05rem;
    font-weight: 400
}

#upcomingTicker li hr {
    width: 100%;
    border: none;
    border-top: 1px solid #fff;
    margin: 12px 0 0
}

.main-navbar {
    box-shadow: 0 2px 8px rgba(0, 0, 0, .04)
}

.navbar-fixed {
    position: fixed !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
    transition: box-shadow .2s, background .2s
}

.social-link,
.social-links,
.social-main-btn {
    display: flex;
    transition: .3s cubic-bezier(.68, -.55, .265, 1.55)
}

@supports not (position:sticky) {
    .main-navbar {
        position: fixed;
        width: 100%;
        left: 0;
        right: 0
    }
}

.hero-side-toggle {
    position: fixed;
    top: 300px;
    left: 5px;
    width: 45px;
    height: auto;
    min-height: 120px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 0 8px 8px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    z-index: 2000;
    box-shadow: 0 4px 12px rgba(0, 31, 77, .15);
    padding: 10px 5px;
    letter-spacing: .5px
}

.social-link,
.social-main-btn {
    width: 40px;
    height: 40px;
    color: #fff
}

.hero-side-toggle:hover {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 6px 16px rgba(0, 31, 77, .2);
    transition: .3s
}

.hero-side-toggle i {
    font-size: 1.4rem;
    margin-bottom: 8px
}

.hero-side-toggle span {
    writing-mode: sideways-lr;
    text-orientation: upright;
    font-size: 1rem;
    font-weight: 600
}

#preloader {
    position: fixed;
    height: 100%;
    background: #fff;
    z-index: 9999
}

#loader,
.admission-form .form-group,
.btn-loading {
    position: relative
}

#loader {
    left: 42%;
    top: 39%;
    width: 350px;
    margin: -75px 0 0 -75px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #069;
    -webkit-animation: 2s linear infinite spin;
    animation: 2s linear infinite spin
}

#loader:before {
    content: "";
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: rgba(0, 102, 153, .7);
    -webkit-animation: 3s linear infinite spin;
    animation: 3s linear infinite spin
}

#loader:after {
    content: "";
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: rgba(0, 102, 153, .4);
    -webkit-animation: 1.5s linear infinite spin;
    animation: 1.5s linear infinite spin
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0);
        -ms-transform: rotate(0);
        transform: rotate(0)
    }

    100% {
        -webkit-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        transform: rotate(360deg)
    }
}

#preloader img {
    position: absolute;
    top: 54%;
    left: 49%;
    width: 310px;
    height: 310px;
    transform: translate(-50%, -50%);
    z-index: 10;
    pointer-events: none;
    animation: none !important
}

@media (max-width:1024px) and (min-width:768px) {
    #loader {
        width: 250px;
        height: 250px;
        left: 50%;
        top: 50%;
        margin: -125px 0 0 -125px
    }

    #preloader img {
        width: 220px;
        height: 220px;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%)
    }
}

.modern-input:focus,
.modern-select:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 .2rem rgba(0, 31, 77, .25) !important;
    outline: 0
}

.modern-input:hover,
.modern-select:hover {
    border-color: var(--accent) !important
}

.form-label {
    font-size: .95rem
}

.admission-form .form-control,
.admission-form .form-select {
    background: #fff;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 1rem;
    transition: .3s;
    font-family: var(--body-font)
}

.admission-form .form-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23001F4D' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m1 6 7 7 7-7'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px 12px;
    padding-right: 40px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none
}

.admission-form .form-select:hover {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23C62828' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m1 6 7 7 7-7'/%3e%3c/svg%3e")
}

.admission-form .form-select:focus {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23001F4D' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m1 6 7 7 7-7'/%3e%3c/svg%3e")
}

.admission-form .form-control:valid,
.admission-form .form-select:valid {
    border-color: #28a745
}

.admission-form .form-select:valid {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%2328a745' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m1 6 7 7 7-7'/%3e%3c/svg%3e")
}

.admission-form .form-control:invalid:not(:placeholder-shown) {
    border-color: #dc3545
}

.admission-form .form-select:invalid:not([value=""]) {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23dc3545' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m1 6 7 7 7-7'/%3e%3c/svg%3e");
    border-color: #dc3545
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 31, 77, .3)
}

.btn-loading {
    color: transparent !important
}

.btn-loading::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid #fff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: 1s linear infinite spin
}

@keyframes spin {
    0% {
        -webkit-transform: rotate(0);
        -ms-transform: rotate(0);
        transform: rotate(0)
    }

    100% {
        -webkit-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        transform: rotate(360deg)
    }

    to {
        transform: rotate(360deg)
    }
}

.social-float-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000
}

.social-main-btn {
    background: linear-gradient(135deg, var(--primary) 0, var(--accent) 100%);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 31, 77, .3);
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden
}

.social-main-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 31, 77, .4)
}

.social-main-btn:active {
    transform: scale(.95)
}

.social-main-btn.active {
    transform: rotate(45deg);
    background: linear-gradient(135deg, var(--accent) 0, #ff5722 100%)
}

.social-main-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .2), transparent);
    transition: left .5s
}

.social-main-btn:hover::before {
    left: 100%
}

.social-links {
    position: absolute;
    bottom: 70px;
    right: 0;
    flex-direction: column;
    gap: 15px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px)
}

.social-links.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0)
}

.social-link {
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.3rem;
    box-shadow: 0 3px 15px rgba(0, 0, 0, .2);
    position: relative;
    overflow: hidden
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    transform: scale(0);
    transition: transform .3s;
    z-index: -1
}

.social-link:hover::before {
    transform: scale(1)
}

.social-link:hover {
    transform: scale(1.15) translateX(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, .3)
}

.social-link.facebook {
    background: linear-gradient(135deg, #1877f2 0, #42a5f5 100%)
}

.social-link.facebook::before {
    background: linear-gradient(135deg, #0d47a1 0, #1565c0 100%)
}

.social-link.instagram {
    background: linear-gradient(135deg, #e91e63 0, #f06292 50%, #ffb74d 100%)
}

.social-link.instagram::before {
    background: linear-gradient(135deg, #ad1457 0, #c2185b 50%, #ff8a65 100%)
}

.social-link.youtube {
    background: linear-gradient(135deg, red 0, #ff5722 100%)
}

.social-link.youtube::before {
    background: linear-gradient(135deg, #c62828 0, #d84315 100%)
}

.social-link::after {
    content: attr(data-tooltip);
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, .8);
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: .85rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: .3s;
    pointer-events: none
}

.social-link:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(-5px)
}

.social-links.active .social-link:first-child {
    transition-delay: 0.1s
}

.social-links.active .social-link:nth-child(2) {
    transition-delay: 0.2s
}

.social-links.active .social-link:nth-child(3) {
    transition-delay: 0.3s
}

@media (max-width:768px) {
    .modal-dialog {
        margin: .5rem
    }

    .modal-body {
        padding: 1rem !important
    }

    .admission-form .form-control,
    .admission-form .form-select {
        padding: 10px 14px;
        font-size: .95rem
    }

    .social-float-widget {
        bottom: 20px;
        right: 20px
    }

    .social-main-btn {
        width: 35px;
        height: 35px;
        font-size: 1.3rem
    }

    .social-link {
        width: 30px;
        height: 30px;
        font-size: 1.1rem
    }

    .social-links {
        bottom: 65px;
        gap: 12px
    }

    .social-link::after {
        display: none
    }
}

@media (max-width:480px) {
    .social-float-widget {
        bottom: 15px;
        right: 15px
    }

    .social-main-btn {
        width: 30px;
        height: 30px;
        font-size: 1.2rem
    }

    .social-link {
        width: 30px;
        height: 30px;
        font-size: 1rem
    }

    .social-links {
        bottom: 60px;
        gap: 10px
    }
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 4px 20px rgba(0, 31, 77, .3)
    }

    50% {
        box-shadow: 0 4px 20px rgba(0, 31, 77, .5), 0 0 0 10px rgba(0, 31, 77, .1)
    }
}

.social-main-btn.pulse {
    animation: 2s infinite pulse
}

@media (max-width:992px) {
    .top-logos-bar-black {
        display: none !important
    }
}

.navbar {
    background-color: #fff;
    z-index: 1000;
    position: relative
}

.navbar-toggler {
    border: none;
    background: 0 0;
    font-size: 1rem
}

.custom-collapse {
    display: none
}

.navbar-toggler:focus {
    outline: 0 !important;
    box-shadow: none !important
}

.navbar.show-menu .custom-collapse {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    z-index: 999;
    padding: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .1)
}

.custom-collapse .nav-link {
    display: block;
    padding: .5rem 0;
    border-bottom: 1px solid #eee
}

.custom-collapse .dropdown-menu {
    display: none;
    padding-left: 1rem;
    background: 0 0;
    border: none
}

.custom-collapse .dropdown:hover .dropdown-menu {
    display: block
}

.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 31, 77, .97);
    z-index: 2000;
    transition: opacity .3s;
    opacity: 0
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1
}

.mobile-menu-content {
    position: relative;
    width: 90vw;
    max-width: 340px;
    background: #fff;
    color: var(--primary);
    height: 100vh;
    padding: 2.5rem 1.5rem 1.5rem;
    box-shadow: 2px 0 16px rgba(0, 0, 0, .12);
    overflow-y: auto
}

.mobile-menu-close {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    background: 0 0;
    border: none;
    font-size: 2.2rem;
    color: var(--accent);
    cursor: pointer;
    z-index: 10
}

.mobile-menu-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0 0;
    display: flex;
    flex-direction: column;
    gap: 1.2rem
}

.mobile-menu-list li a {
    color: var(--primary);
    font-size: 1.15rem;
    font-weight: 600;
    text-decoration: none;
    transition: color .2s
}

@media (max-width:991.98px) {
    .collapse.navbar-collapse {
        display: none !important
    }
}

@media (min-width:992px) {
    .navbar-collapse.custom-collapse {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        width: 100%
    }

    .navbar-nav {
        flex-direction: row;
        gap: 1rem
    }

    .navbar-nav .nav-link {
        padding: 8px 12px
    }

    .dropdown-menu {
        position: absolute;
        background-color: #fff;
        display: none;
        z-index: 1000;
        box-shadow: 0 4px 10px rgba(0, 0, 0, .1);
        margin-top: .5rem
    }

    .dropdown.show .dropdown-menu {
        display: block
    }

    .mobile-menu-overlay {
        display: none !important
    }

    .collapse.navbar-collapse {
        display: flex !important
    }
}

.mobile-menu-list .has-submenu>.mobile-parent-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 700;
    color: var(--primary);
    cursor: pointer;
    font-size: 1.15rem
}

.mobile-menu-list .has-submenu>.mobile-parent-link .submenu-arrow {
    margin-left: .7em;
    font-size: 1em;
    color: var(--accent);
    transition: transform .2s
}

.mobile-menu-list .has-submenu.open>.mobile-parent-link .submenu-arrow {
    transform: rotate(90deg)
}

.mobile-submenu-list {
    display: none;
    flex-direction: column;
    gap: .8rem;
    margin: .5rem 0 .5rem 1.2rem;
    padding-left: .7rem;
    border-left: 2px solid var(--accent);
    background: #f8f8f8;
    border-radius: .5rem;
    transition: max-height .3s, opacity .3s;
    max-height: 0;
    opacity: 0;
    overflow: hidden
}

.mobile-menu-list .has-submenu.open>.mobile-submenu-list {
    display: flex;
    max-height: 500px;
    opacity: 1
}

.mobile-submenu-list li a {
    font-size: 1rem;
    font-weight: 500;
    color: var(--primary);
    padding: .2rem 0
}

.news-filters {
    margin-bottom: 2rem;
    text-align: center
}

.news-filter-btn {
    background: 0 0;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: .5rem 1.5rem;
    margin: 0 .5rem .5rem;
    border-radius: 2rem;
    font-weight: 500;
    transition: .3s;
    text-decoration: none;
    display: inline-block
}

.news-filter-btn.active,
.news-filter-btn:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 31, 77, .2)
}

.news-filter-btn:focus {
    outline: 0;
    box-shadow: 0 0 0 3px rgba(0, 31, 77, .1)
}

#newsDetailModal .modal-dialog {
    max-width: 90%;
    margin: 1.75rem auto
}

#newsDetailModal .modal-content {
    border: none;
    border-radius: 1rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .15)
}

#newsDetailModal .modal-header {
    background: linear-gradient(135deg, var(--primary) 0, #0056b3 100%);
    color: #fff;
    border-radius: 1rem 1rem 0 0;
    padding: 1.5rem 2rem
}

#newsDetailModal .modal-title {
    color: #fff !important;
    font-size: 1.5rem
}

#newsDetailModal .btn-close {
    filter: invert(1);
    opacity: .8
}

#newsDetailModal .modal-body {
    padding: 2rem
}

#newsDetailModal .carousel {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .1)
}

#newsDetailModal .carousel-control-next,
#newsDetailModal .carousel-control-prev {
    background: rgba(0, 31, 77, .7);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    top: 50%;
    transform: translateY(-50%)
}

#newsDetailModal .carousel-control-prev {
    left: 10px
}

#newsDetailModal .carousel-control-next {
    right: 10px
}

.news-content .lead {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333
}

.highlights-section ul li {
    padding: .5rem 0;
    border-bottom: 1px solid #f0f0f0
}

.event-details .detail-item:last-child,
.highlights-section ul li:last-child {
    border-bottom: none
}

.news-sidebar .card {
    border-radius: 1rem;
    transition: transform .3s, box-shadow .3s
}

.news-sidebar .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .1)
}

.event-details .detail-item {
    padding: .75rem 0;
    border-bottom: 1px solid #f0f0f0
}

.tags-container .badge {
    font-size: .8rem;
    padding: .5rem 1rem;
    border-radius: 2rem;
    transition: .3s
}

.tags-container .badge:hover {
    background: var(--accent) !important;
    color: #fff !important;
    transform: translateY(-2px)
}

#newsDetailModal .modal-footer {
    background: #f8f9fa;
    border-radius: 0 0 1rem 1rem;
    padding: 1.5rem 2rem
}

#newsDetailModal .btn {
    padding: .75rem 1.5rem;
    border-radius: 2rem;
    font-weight: 500;
    transition: .3s
}

#newsDetailModal .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .15)
}

.accreditations-hero {
    background: linear-gradient(90deg, #001f4d 60%, #c62828 100%);
    color: #fff;
    padding: 48px 0 32px;
    text-align: center
}

.accreditations-title {
    font-family: var(--heading-font);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: .5rem;
    color: #fff
}

.accreditations-section {
    background: var(--light-gray);
    padding: 48px 0 32px
}

.accreditation-card {
    background: #fff;
    border-radius: 1.2rem;
    box-shadow: 0 2px 12px rgba(0, 31, 77, .08);
    padding: 1.5rem 1.2rem 1.2rem;
    text-align: center;
    transition: box-shadow .2s, transform .2s;
    min-height: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem
}

.accreditation-card:hover {
    box-shadow: 0 8px 32px rgba(198, 40, 40, .13);
    transform: translateY(-4px) scale(1.03)
}

.accreditation-logo {
    max-width: 90px;
    max-height: 60px;
    margin-bottom: .7rem;
    object-fit: contain;
    display: block;
    margin-left: auto;
    margin-right: auto
}

.accreditation-label {
    font-size: 1.08rem;
    color: var(--primary);
    font-weight: 500;
    font-family: var(--body-font);
    margin-top: .2rem
}

@media (max-width:991px) {
    .logo-block {
        min-width: 160px;
        max-width: 220px;
        padding: .4rem .2rem .2rem
    }

    .logo-img {
        height: 48px
    }

    .logo-title {
        font-size: .98rem
    }

    .logo-img-black {
        height: 44px;
        max-width: 60px
    }

    .logo-title-black {
        font-size: 1.05rem
    }

    .logo-subtext-black {
        font-size: .85rem
    }

    .logo-divider-vert {
        height: 44px;
        margin: 0 .5vw
    }

    .help-img-stack {
        width: 220px;
        min-height: 220px
    }

    .help-img-main,
    .holder,
    .infra-img-card {
        height: 180px
    }

    .help-img-small {
        width: 70px;
        height: 60px
    }

    .help-img-small-top {
        left: -30px;
        top: 10px
    }

    .help-img-small-bottom {
        right: -20px;
        bottom: -15px
    }

    .help-content-col {
        border-radius: 0 1rem 1rem 0;
        min-height: 220px
    }

    .campus-life-img-card {
        height: 200px
    }

    .hero-section .row.align-items-center {
        min-height: unset;
        flex-direction: column
    }

    .hero-section .carousel,
    .hero-section .carousel-inner,
    .hero-section .carousel-item img,
    .hero-section .upcoming-events-box {
        min-height: 280px;
        max-height: 320px;
        border-radius: 16px
    }

    .upcoming-events-ticker {
        height: 60px
    }

    .upcoming-events-ticker li {
        min-height: 48px
    }

    .news-ticker-container {
        min-height: 140px;
        max-height: 160px
    }

    .news-ticker {
        height: 120px
    }

    .news-ticker-item {
        height: 40px
    }

    #upcomingTicker li {
        font-size: .98rem;
        padding: 8px 0
    }

    .navbar-collapse.custom-collapse {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #fff;
        padding: 10px 0
    }

    .navbar-collapse.custom-collapse.active {
        display: flex
    }

    .navbar-nav {
        flex-direction: column;
        width: 100%
    }

    .nav-item {
        width: 100%;
        padding: 8px 16px
    }

    .dropdown-menu {
        display: none;
        position: relative;
        background-color: #f9f9f9;
        box-shadow: none;
        margin-top: .5rem
    }

    .nav-item.dropdown.open .dropdown-menu {
        display: block
    }

    #newsDetailModal .modal-dialog {
        max-width: 95%;
        margin: 1rem auto
    }

    #newsDetailModal .modal-body {
        padding: 1.5rem
    }

    #newsDetailModal .modal-footer,
    #newsDetailModal .modal-header {
        padding: 1rem 1.5rem
    }

    .news-sidebar {
        margin-top: 2rem
    }

    .accreditation-card {
        min-height: 140px;
        padding: 1.1rem .7rem
    }

    .accreditation-logo {
        max-width: 70px;
        max-height: 48px
    }
}

@media (max-width:767px) {
    .hero h1 {
        font-size: 1.25rem
    }

    section h2 {
        font-size: 1.4rem
    }

    .hero-side-toggle i,
    .navbar-brand {
        font-size: 1.1rem
    }

    .logo-block {
        min-width: 120px;
        max-width: 100%;
        margin-bottom: .7rem
    }

    .logo-img {
        height: 38px
    }

    .logo-title {
        font-size: .92rem
    }

    .top-logos-flex {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: .5rem
    }

    .logo-block-black {
        width: 100%;
        padding: .3rem .5rem;
        margin-bottom: .2rem;
        justify-content: flex-start
    }

    .logo-img-black {
        height: 36px;
        max-width: 40px
    }

    .logo-divider-vert {
        display: none
    }

    .logo-subtext-black,
    .logo-title-black {
        text-align: left
    }

    .carousel-img {
        height: 200px
    }

    .help-each-other-section {
        padding: 0 0 1rem
    }

    .help-content-col,
    .help-img-col {
        border-radius: 0;
        min-height: unset;
        padding: 2rem 0 1rem
    }

    .help-img-stack {
        width: 100%;
        min-height: 120px;
        margin-left: 0
    }

    .help-img-main {
        height: 120px
    }

    .help-img-small {
        width: 40px;
        height: 36px
    }

    .vertical-label {
        left: 50%;
        top: 0;
        transform: translateX(-50%) rotate(0);
        padding: .4rem 1.2rem;
        font-size: .9rem;
        border-radius: 1rem
    }

    #news-events .card .btn {
        width: 100%;
        align-self: stretch
    }

    .infra-img-card {
        height: 180px
    }

    .campus-life-img-card {
        height: 140px
    }

    .hero-side-toggle {
        width: 40px;
        min-height: 100px;
        top: 150px;
        left: 0;
        padding: 8px 4px
    }

    .hero-side-toggle span {
        font-size: .9rem
    }

    #loader {
        width: 180px;
        height: 180px;
        left: 50%;
        top: 50%;
        margin: -90px 0 0 -90px
    }

    #preloader img {
        width: 140px;
        height: 140px;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%)
    }

    .news-filters {
        margin-bottom: 1.5rem
    }

    .news-filter-btn {
        padding: .4rem 1rem;
        margin: 0 .25rem .5rem;
        font-size: .9rem
    }

    #newsDetailModal .modal-dialog {
        max-width: 100%;
        margin: .5rem
    }

    #newsDetailModal .modal-body {
        padding: 1rem
    }

    #newsDetailModal .modal-title {
        font-size: 1.2rem
    }

    .news-content .lead {
        font-size: 1rem
    }

    .accreditations-title {
        font-size: 1.3rem
    }

    .accreditation-card {
        min-height: 110px;
        padding: .7rem .3rem
    }

    .accreditation-logo {
        max-width: 48px;
        max-height: 32px
    }
}