﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    font-size: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.topbar {
    border-bottom: 0.05em solid #9BABCD;
    background: #159264;
    color: #FFF;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    font-size: 0.85rem;
    padding: 0.5em 3.5em;
    align-items: center;
    align-self: stretch;
    font-style: normal;
    line-height: 1.25em;
}

.topbar-left {
    display: flex;
    gap: 1.5em;
    align-items: center;
    flex-wrap: wrap;
}

.topbar-left-home,
.topbar-left-email,
.topbar-left-phone {
    display: flex;
    align-items: center;
    gap: 0.5em;
}

.topbar-text-badge {
    padding: 0.5em 0.7em;
    border-radius: 0.3em;
    background: #117C54;
    font-size: 0.95em;
}

.topbar-icon {
    width: 1em;
    height: 1em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 0.75em;
    flex-wrap: wrap;
}

.topbar-right a {
    color: white;
    text-decoration: none;
    font-size: 0.85rem;
}

.topbar-right a:hover {
    text-decoration: underline;
}

.header-banner {
    background: radial-gradient(52.85% 555.99% at 46.03% -147%, #10243E 0%, #14437F 30.55%, #10243E 100%);
    padding: 0.5em 3.5em 0.5em 13em;
    color: white;
    display: flex;
    align-items: center;
    position: relative;
}

.ribbon-logo {
    width: 10em;
    height: 17.5em;
    flex-shrink: 0;
    position: absolute;
    top: -1.75em;
    left: 1.8em;
    z-index: 9999;
    transition: opacity 0.3s;
}

.ribbon-logo.hide-on-scroll {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.main-logo-text img {
    max-width: 24em;
    height: auto;
}

.header-buttons {
    margin-left: auto;
    display: flex;
}

.header-buttons button {
    padding: 0.75em 1em;
    font-weight: 600;
    font-style: normal;
    font-size: 1em;
    cursor: pointer;
}

.btn-admissions {
    background: #fff;
    color: #002f5f;
    border: 1px solid #16A75C;
    border-radius: 0.25em 0 0 0.25em;
}

.apply-now-wrapper {
    position: relative;
    display: inline-block;
}

.apply-image {
    width: 9.8em;
    height: auto;
}

.btn-apply {
    position: absolute;
    top: 1.5em;
    left: 47%;
    transform: translate(-50%, -50%);
    background-color: transparent;
    color: white;
    border: none;
    width: 100%;
    font-size: 1em;
}

.sticky-logo {
    position: absolute;
    width: 12.5em;
    height: auto;
    top: 0.3em;
    left: 2em;
    transition: opacity 0.3s;
    opacity: 0;
    /* hidden by default */
    pointer-events: none;
    z-index: 110;
}

@media (max-width: 768px) {
    .sticky-logo {
        opacity: 1 !important;
        pointer-events: auto !important;
        position: static;
        width: 10em;
        left: auto;
        top: auto;
        margin-right: 1em;
    }
}

.main-nav {
    height: 3.25em;
    display: flex;
    flex-wrap: column;
    padding: 0.4em 3.5em 0em 13.8em;
    justify-content: space-between;
    box-shadow: 0 0.06em 0.18em rgba(0, 0, 0, 0.1);
    gap: 0.75em;
    background: #fff;
    position: sticky;
    position: -webkit-sticky;
    overflow: visible;
    /* allow dropdowns to overflow */
    top: 0;
    z-index: 100;
}

.main-nav a,
.nav-mega-menu>.mega-menu-link {
    font-family: 'alata', sans-serif;
    text-decoration: none;
    color: #235BA2;
    font-weight: 500;
    padding: 0.5em 0;
    transition: 0.3s;
    font-size: 1em;
    display: inline-block;
    border-bottom: 0 solid transparent;
    margin: 0 1.2em 0 0;
    background: none;
    box-sizing: border-box;
    vertical-align: middle;
}

.main-nav a:hover,
.main-nav a.active,
.nav-mega-menu>.mega-menu-link:hover,
.nav-mega-menu>.mega-menu-link.active {
    color: #159264;
    border-bottom: 0.4em solid #159264;
}

.main-nav a:last-child,
.nav-mega-menu:last-child>.mega-menu-link {
    margin-right: 0;
}

.mega-menu-column a,
.mega-menu-column a:hover,
.mega-menu-column a.active {
    border-bottom: none !important;
}

.divider {
    width: 0.03em;
    height: 1em;
    background: #fff;
}

.hero-slider {
    position: relative;
    height: 70vh;
    min-height: 16em;
    overflow: hidden;
}

.slide {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.42, 0, 1, 1), transform 1.2s cubic-bezier(0.42, 0, 1, 1);
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    z-index: 0;
    pointer-events: none;
}

.slide.active {
    opacity: 1;
    z-index: 1;
    pointer-events: auto;
}

.slide-content {
    max-width: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.slide-content p {
    max-width: 80%;
    margin: auto;
    text-shadow: 0 0.23em 0.23em rgba(0, 0, 0, 0.25);
    line-height: 1.4;
    font-size: 1.2rem;
}

.slide-content h3 {
    font-size: 2.0rem;
    margin-top: 0.5em;
    color: #FFF;
    text-align: center;
    text-shadow: 0 0.23em 0.23em rgba(0, 0, 0, 0.25);
    font-family: Inter, sans-serif;
    font-style: normal;
    font-weight: 700;
    line-height: 1.08;
}

.subtext {
    margin-bottom: 0.5em;
}

.btn-outline {
    display: flex;
    padding: 0.4em 0.7em 0.4em 1.2em;
    justify-content: center;
    align-items: center;
    gap: 0.6em;
    border-radius: 2em;
    border: none;
    background: rgba(255, 255, 255, 0.79);
    cursor: pointer;
    color: #14437F;
    font-size: 1.1em;
    font-style: normal;
    font-weight: 600;
    line-height: 1.5;
    text-decoration: none;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.9);
}

.btn-link {
    color: inherit;
    text-decoration: none !important;
    display: flex;
    align-items: center;
    gap: 0.6em;
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    color: rgba(255, 255, 255, 0.7);
    border: none;
    font-size: 4em;
    padding: 0.5em;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s;
}


.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
    margin: 0.5em 1em;
}

.mobile-hide {
    display: block;
}

.header-actions-mobile {
    display: none;
}

.desktop-only {
    display: flex;
}

.main-logo-text .mobile-logo {
    display: none;
}

.main-logo-text .desktop-logo {
    display: block;
}

@media (max-width: 1200px) {

    .header-banner,
    .main-nav {
        padding-left: 8em;
        padding-right: 2em;
    }

    .ribbon-logo {
        display: none;
    }
}

@media (max-width: 900px) {

    .header-banner,
    .main-nav {
        padding-left: 2em;
        padding-right: 1em;
    }

    .ribbon-logo {
        display: none;
    }

    .main-logo-text img {
        max-width: 16em;
    }
}

@media (max-width: 768px) {
    .topbar {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 0.5em 1em;
        font-size: 0.95em;
        gap: 0.8em;
    }

    .topbar-left,
    .topbar-right {
        justify-content: center;
        align-items: center;
        width: 100%;
        text-align: center;
    }

    .mobile-hide {
        display: none;
    }

    .header-banner {
        flex-direction: column;
        align-items: stretch;
        padding: 1em 1em;
        min-height: 10em;
    }

    .main-logo-text {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0 1em;
        box-sizing: border-box;
    }

    .main-logo-text img {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        margin: 0;
        display: block;
        object-fit: contain;
    }

    .main-logo-text .desktop-logo {
        display: none;
    }

    .main-logo-text .mobile-logo {
        display: block;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        margin: 0;
        object-fit: contain;
    }

    .header-actions-mobile {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 1em;
        margin-top: 1em;
        width: 100%;
    }

    .header-buttons {
        flex-direction: row;
        align-items: center;
        gap: 0.5em;
        margin: 0;
        width: auto;
    }

    .header-buttons a,
    .header-buttons button {
        width: auto;
        min-width: 0;
    }

    .btn-admissions {
        width: auto;
        margin-bottom: 0;
    }

    .apply-now-wrapper {
        width: auto;
        display: flex;
        justify-content: flex-start;
    }

    .main-nav {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        width: 60vw;
        max-width: 320px;
        background: #fff;
        position: fixed;
        right: 0;
        top: 0;
        z-index: 999;
        box-shadow: 2px 0 16px rgba(0, 0, 0, 0.12);
        padding: 2em 1.5em 1em 1.5em;
        gap: 0.5em;
        height: 100vh;
        overflow-y: auto;
        transform: translateX(-100%);
        transition: transform 0.3s cubic-bezier(.4, 0, .2, 1);
    }

    .main-nav.show {
        display: flex;
        transform: translateX(0);
    }

    .sidebar-overlay {
        display: none;
        position: fixed;
        z-index: 998;
        top: 0;
        right: 0;
        left: auto;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.25);
        transition: opacity 0.3s;
        opacity: 0;
    }

    .sidebar-overlay.active {
        display: block;
        opacity: 1;
    }

    .hamburger {
        display: block;
        z-index: 1001;
        margin: 0 0 0 auto;
        position: relative;
        color: #fff;
    }

    .desktop-only {
        display: none !important;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 1rem;
    }

    .topbar {
        font-size: 0.9em;
        padding: 0.5em 0.5em;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .topbar-left,
    .topbar-right {
        justify-content: center;
        align-items: center;
        width: 100%;
        text-align: center;
        gap: 0.5em;
    }

    .topbar-right a {
        font-size: 0.85em;
    }

    .header-banner {
        min-height: 5em;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0em 1em;
    }

    .ribbon-logo {
        display: none;
    }

    .main-logo-text {
        width: auto;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0 0em;
        box-sizing: border-box;
    }

    .main-logo-text img {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        margin: 0;
        display: block;
        object-fit: contain;
    }

    .main-logo-text .desktop-logo {
        display: none;
    }

    .main-logo-text .mobile-logo {
        display: block;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        margin: 0;
        object-fit: contain;
    }

    .header-actions-mobile {
        display: flex;
        flex-direction: row;
        width: 100%;
    }

    .header-buttons {
        flex-direction: row;
        align-items: center;
        gap: 0;
        margin: 0;
        width: 100%;
    }

    .header-buttons a,
    .header-buttons button {
        width: 100%;
        min-width: 0;
    }

    .btn-admissions {
        width: auto;
        margin-bottom: 0;
    }

    .apply-now-wrapper {
        width: auto;
        display: flex;
        justify-content: flex-start;
    }

    .hamburger {
        display: inline-block;
        margin: 0 0 0 auto;
        color: #fff;
    }

    .desktop-only {
        display: none !important;
    }

    .arrow {
        padding: 0;
        font-size: 3em;
    }

    .header-row-mobile {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        gap: 2em;
    }

    .header-row-mobile .header-actions-mobile {
        margin-left: auto;
    }

    .mobile-hide {
        display: none;
    }

    .hero-slider {
        height: 60vh;
        min-height: 20em;
    }


    .slide {
        height: 100%;
        background-size: cover;
        justify-content: center;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    .slide-content {
        padding-top: 2em !important;
        max-width: 100%;
        gap: 0em;
    }

    .slide-content p {
        max-width: 100%;
        font-size: 1.1rem;
    }

    .slide-content h3 {
        font-size: 1.7rem;
        margin-top: 2em;
        line-height: 1.5;
    }

    .btn-outline {
        margin-top: 0;
    }

    .sticky-logo {
        width: 20em;
    }
}

@media (max-width: 768px) {

    .carousel-item img.d-block.w-100,
    .carousel-item picture,
    .carousel-item source {
        width: 100vw !important;
        height: 63vh !important;
        max-height: 63vh !important;
        min-height: 240px;
        object-fit: cover !important;
        object-position: top center !important;
        display: block;
        position: relative;
        margin: 0 auto;
    }

    .carousel-item {
        min-height: 63vh;
        height: 35vh;
        max-height: 100vh;
        padding: 0;
        background-size: cover !important;
        background-position: top center !important;
    }
}

.carousel-item {
    min-height: 60vh;
    height: 70vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    padding-top: 8vh;
}

.carousel-item img.d-block.w-100 {
    height: 70vh;
    object-fit: cover;
    object-position: top center;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

.carousel-item .slide-content {
    position: relative;
    z-index: 2;
}

.carousel-item .slide-content {
    max-width: 80%;
    margin: auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 1.25em;
    padding-top: 2em;
}

@media (max-width: 768px) {
    .carousel-item {
        min-height: 63vh;
        height: 63vh;
    }

    .carousel-item .slide-content {
        padding: 1em 1em;
        max-width: 98vw;
    }
}

.main-nav .sticky-logo {
    display: none;
    transition: opacity 0.3s;
    left: 1em;
    top: 0.7em;
}

.main-nav.show-sticky-logo .sticky-logo {
    display: block;
    opacity: 1;
}

@media (max-width: 768px) {
    .main-nav .sticky-logo {
        display: block;
    }

    .main-nav.show-sticky-logo .sticky-logo {
        display: block;
    }
}

.carousel-control-prev,
.carousel-control-next {
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.carousel:hover .carousel-control-prev,
.carousel:hover .carousel-control-next {
    opacity: 1;
    pointer-events: auto;
}

@media (hover: none) and (pointer: coarse) {

    .carousel-control-prev,
    .carousel-control-next {
        opacity: 1;
        pointer-events: auto;
    }
}

.nav-mega-menu {
    position: relative;
    display: inline-block;
    z-index: 10010;
}

.mega-menu-link {
    cursor: pointer;
    font-family: 'alata', sans-serif;
    text-decoration: none;
    color: #235BA2;
    font-weight: 500;
    padding: 0.5em 0;
    font-size: 1em;
    transition: 0.3s;
}

.mega-menu-link:hover,
.mega-menu-link.active {
    color: #159264;
}

.mega-menu-content {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    min-width: 32em;
    max-width: 90vw;
    background: #fff;
    box-shadow: 0 0.5em 2em rgba(0, 0, 0, 0.12);
    padding: 2em 2em 1em 2em;
    z-index: 10020;
    border-radius: 0.5em;
    gap: 2em;
    flex-direction: row;
    pointer-events: auto;
}

.nav-mega-menu:hover .mega-menu-content,
.nav-mega-menu:focus-within .mega-menu-content {
    display: flex;
}

.mega-menu-column {
    display: flex;
    flex-direction: column;
    min-width: 10em;
    margin-right: 2em;
}

.mega-menu-column h4 {
    font-size: 1.1em;
    margin-bottom: 0.7em;
    color: #14437F;
    font-weight: 700;
}

.mega-menu-column a {
    color: #235BA2;
    text-decoration: none;
    margin-bottom: 0.5em;
    font-size: 0.98em;
    transition: color 0.2s;
}

.mega-menu-column a:hover {
    color: #159264;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .nav-mega-menu {
        width: 100%;
        display: block;
    }

    .mega-menu-content {
        position: static;
        box-shadow: none;
        padding: 1em 0 0.5em 0;
        min-width: 0;
        border-radius: 0;
        flex-direction: column;
        gap: 1em;
        background: transparent;
        display: none;
        width: 100%;
        z-index: auto;
        top: auto;
        left: auto;
        max-width: none;
    }

    .nav-mega-menu.show .mega-menu-content {
        display: block;
    }
}

@media (max-width: 991px) {
    .navbar {
        position: sticky !important;
        top: 0 !important;
        z-index: 100 !important;
    }
}

.navbar {
    position: sticky !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1050 !important;
}

@media (max-width: 991px) {

    body,
    html,
    .container-fluid {
        overflow-x: visible !important;
    }
}


@media (max-width: 991px) {

    .navbar-collapse {
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        width: 100vw !important;
        padding: 1em 0 !important;
        z-index: 100;
        box-shadow: 0 8px 20px rgb(0 0 0 / 0.12);
        background: radial-gradient(52.85% 555.99% at 46.03% -147%, #10243E 0%, #14437F 30.55%, #10243E 100%);
        height: auto !important;
        min-height: 0 !important;
        overflow: visible !important;
        overflow-y: visible !important;
    }

    .navbar-collapse.collapse.show {
        display: block !important;
    }

    body.nav-open {
        overflow: hidden !important;
        height: 100vh !important;
    }
}

.navbar-collapse,
.navbar-collapse.collapsing {
    transition: none !important;
    height: auto !important;
}

.latest-updates {
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: 0 6px 6px 0;
    overflow: hidden;
    border-left: 8px solid #10243e;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.updates-label {
    /*background: #10243e;*/
    background: radial-gradient(52.85% 555.99% at 46.03% -147%, #10243E 0%, #14437F 30.55%, #10243E 100%);
    color: white;
    font-weight: bold;
    padding: 12px 20px;
    font-size: 14px;
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%);
    white-space: nowrap;
}

.updates-marquee {
    flex: 1;
    overflow: hidden;
    position: relative;
    padding: 10px 0;
}

.updates-marquee ul {
    display: flex;
    animation: scrollLeftContinuous 30s linear infinite;
    gap: 50px;
    white-space: nowrap;
    list-style: none;
    margin: 0;
    padding: 0;
    /* Remove padding-left: 100% to start from the container edge */
}

.updates-marquee li {
    color: #10243e;
    font-weight: 500;
    font-size: 14px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    /* Prevent items from shrinking */
}

.updates-marquee li a {
    color: #10243e;
    text-decoration: none;
}

.updates-marquee li::before {
    content: "●";
    font-size: 12px;
    color: #10243e;
    margin-right: 8px;
}

/* Continuous scrolling animation - scrolls from right (100%) to completely off-screen left (-100%) */
@keyframes scrollLeftContinuous {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

.tabbed-accordion-section {
    max-width: 1000px;
    margin: 40px auto;
    padding: 20px;
    background: #f8fbff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.tabs {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
    gap: 10px;
}

.tab {
    flex: 1;
    min-width: 150px;
    padding: 10px 15px;
    background: #e0eaf4;
    border: none;
    cursor: pointer;
    font-weight: bold;
    border-radius: 6px;
    transition: background 0.3s ease;
}

.tab.active {
    background: #10243e;
    color: white;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.accordion-item {
    border: 1px solid #c5d7e4;
    border-radius: 5px;
    margin-bottom: 10px;
    overflow: hidden;
    background: white;
}

.accordion-toggle {
    width: 100%;
    background: #f0f6fc;
    padding: 12px;
    text-align: left;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

.accordion-toggle:hover {
    background: #dceeff;
}

.accordion-content {
    display: none;
    padding: 12px 16px;
    background: #fff;
    border-top: 1px solid #c5d7e4;
}

/* ====== COMMENTED OUT - Related to removed news-section ======
.news-section {
    padding: 40px 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    background-image: url("images/overlay.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    gap: 20px;
}

.news-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    margin-top: 50px;
}

.news-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.news-card {
    flex: 1 1 calc(33.333% - 20px);
    max-width: calc(33.333% - 20px);
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 20px;
    overflow: hidden;
    border-left: 5px solid #10243e;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 360px;
}

.news-marquee-wrapper {
    height: 260px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.news-marquee {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.news-marquee-wrapper:hover .news-marquee {
    animation-play-state: paused;
}

@keyframes scroll-up {
    0% {
        transform: translateY(30%);
    }

    100% {
        transform: translateY(-100%);
    }
}

@media (max-width: 992px) {
    .news-card {
        max-width: 100%;
        flex: 1 1 100%;
    }
}

.news-item {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.news-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
}

.news-text h4 {
    font-size: 15px;
    color: #222;
    margin: 0 0 6px;
    font-weight: 600;
    line-height: 1.3;
}

.news-text p {
    font-size: 13px;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

.view-all-btn {
    text-align: center;
    background: radial-gradient(52.85% 555.99% at 46.03% -147%, #10243E 0%, #14437F 30.55%, #10243E 100%);
    padding: 10px;
    border-radius: 6px;
    margin-top: 10px;
}

.view-all-btn a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    font-size: 14px;
}

.news-text {
    padding: 0 15px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.news-date {
    font-size: 12px;
    color: #999;
    font-weight: 500;
}

.news-text h4 {
    font-size: 15px;
    color: #222;
    margin: 0;
    font-weight: 600;
    line-height: 1.3;
}

.news-text p {
    font-size: 13px;
    color: #666;
    margin: 0;
    line-height: 1.3;
}

.news-link-item {
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #eee;
    font-size: 14px;
    color: #333;
}

.news-link-item i {
    color: #007bff;
    font-size: 12px;
}

.news-link-item a {
    color: #333;
    text-decoration: none;
    flex: 1;
    transition: color 0.2s;
}

.news-link-item a:hover {
    color: #007bff;
}
====== END COMMENTED OUT ====== */

.social-fixed-icons {
    position: fixed;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-icon {
    color: #fff;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 0 4px 4px 0;
    transition: transform 0.3s, filter 0.3s;
}

/* Facebook - Brand Blue */
.social-icon.fb {
    background-color: #1877F2;
}

.social-icon.fb:hover {
    filter: brightness(1.1);
    transform: translateX(5px);
}

/* Instagram - Brand Gradient */
.social-icon.insta {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-icon.insta:hover {
    filter: brightness(1.1);
    transform: translateX(5px);
}

/* Twitter - Brand Blue */
.social-icon.twitter {
    background-color: #1DA1F2;
}

.social-icon.twitter:hover {
    filter: brightness(1.1);
    transform: translateX(5px);
}

.social-icon i {
    font-size: 18px;
}

.stats-parallax-section {
    position: relative;
    background-image: url("images/overlay2.webp");
    /* Use your uploaded background image path */
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    padding: 60px 20px;
    color: #fff;
}

.stats-overlay {
    /*background-color: rgba(0, 0, 0, 0.4); */
    padding: 40px 20px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-box {
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 20px;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
}

.stat-box h2 {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.stat-box h2 a {
    color: #007bff;
    text-decoration: none;
}

.stat-box p {
    font-size: 15px;
    line-height: 1.4;
    color: #fff;
    margin: 0;
}

.stat-box h4 {
    font-size: 16px;
    color: #fff;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.faculty-section {
    background: url("/images/bg-campus.jpg") no-repeat center center;
    background-size: cover;
    padding: 60px 20px;
    width: 100%;
    color: #000;
}

.faculty-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.faculty-column {
    flex: 1;
    min-width: 300px;
}

.faculty-box {
    background-color: #fff;
    margin-bottom: 15px;
    border-left: 5px solid #0074d9;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.faculty-toggle {
    width: 100%;
    padding: 15px;
    /*background-color: #10243e;*/
    background: radial-gradient(52.85% 555.99% at 46.03% -147%, #10243E 0%, #14437F 30.55%, #10243E 100%);
    color: #fff;
    font-weight: bold;
    text-align: left;
    border: none;
    font-size: 16px;
    cursor: pointer;
    position: relative;
}

.faculty-toggle::after {
    content: "+";
    position: absolute;
    right: 20px;
}

.faculty-toggle.active::after {
    content: "−";
}

.faculty-submenu {
    list-style: none;
    margin: 0;
    padding: 10px 20px;
    display: none;
    background-color: #f9f9f9;
}

.faculty-submenu li {
    padding: 6px 0;
    font-size: 15px;
    border-bottom: 1px solid #ddd;
}

.faculty-submenu li:last-child {
    border-bottom: none;
}

.view-all-btn2 {
    text-align: right;
    margin-top: 30px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.view-all-btn2 a {
    color: #fff;
    background-color: rgba(16, 36, 62, 0.9);
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
}

.view-all-btn2 a:hover {
    background-color: #000;
}

/* ============================================
   GNDU FOOTER STYLES - COMPACT VERSION
   Dark blue theme matching header-top (#10243e)
============================================ */

.gndu-footer {
    font-family: 'Inter', 'Lato', sans-serif;
}

/* Main Footer Section - Compact */
.footer-main {
    background-color: #10243e;
    padding: 25px 0 20px;
}

.footer-main .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-row {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: space-between;
}

.footer-col {
    flex: 1;
    min-width: 180px;
    max-width: 250px;
}

.footer-col.footer-address-col {
    max-width: 280px;
}

.footer-heading {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffd700;
    margin: 0 0 14px 0;
    text-transform: none;
    letter-spacing: 0;
    display: block;
}

.footer-heading.mt-15 {
    margin-top: 15px;
}

/* Clickable Heading Links */
.footer-heading-link {
    display: block;
    font-size: 1.05rem;
    font-weight: 600;
    color: #ffd700;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-heading-link.mt-15 {
    margin-top: 15px;
}

.footer-heading-link.mt-10 {
    margin-top: 10px;
}

.footer-heading-link:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.2s ease;
    line-height: 1.6;
}

.footer-col ul li a:hover {
    color: #ffd700;
}

/* Address Column */
.footer-address-col p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1rem;
    margin: 0 0 6px 0;
    line-height: 1.6;
}

/* Footer Map */
.footer-map {
    margin-top: 10px;
}

.footer-map iframe {
    display: block;
    margin-bottom: 5px;
}

.view-map-link {
    color: #ffd700;
    font-size: 0.85rem;
    text-decoration: none;
}

.view-map-link:hover {
    color: #fff;
    text-decoration: underline;
}

/* Contact Bar */
.footer-contact-bar {
    background-color: #10243e;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-contact-bar .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex: 1;
    min-width: 200px;
    max-width: 260px;
}

.contact-icon-circle {
    width: 45px;
    height: 45px;
    min-width: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, #26c6da, #00acc1);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(38, 198, 218, 0.25);
}

.contact-icon-circle i {
    font-size: 1.1rem;
    color: #fff;
}

.contact-details h5 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 6px 0;
    line-height: 1.4;
}

.contact-details p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 3px 0;
    line-height: 1.5;
}

.contact-details .email-text {
    color: #ffd700;
    font-size: 0.85rem;
}

/* Bottom Bar - No white space below */
.footer-bottom-bar {
    background-color: #0a1628;
    padding: 12px 0;
    margin-bottom: 0;
}

.footer-bottom-bar .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.copyright-text {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    margin: 0;
}

.footer-right-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-right-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-right-links a:hover {
    color: #ffd700;
}

/* Footer Responsive Styles */
@media (max-width: 992px) {
    .footer-row {
        gap: 25px;
    }

    .footer-col {
        min-width: 160px;
    }

    .contact-row {
        gap: 12px;
    }

    .contact-item {
        min-width: 180px;
    }
}

@media (max-width: 768px) {
    .footer-main {
        padding: 20px 0 15px;
    }

    .footer-row {
        flex-direction: column;
        gap: 20px;
    }

    .footer-col {
        max-width: 100%;
    }

    .footer-col.footer-address-col {
        max-width: 100%;
    }

    .footer-map {
        display: flex;
        align-items: flex-start;
        gap: 15px;
        flex-wrap: wrap;
    }

    .contact-row {
        flex-direction: column;
        gap: 15px;
    }

    .contact-item {
        max-width: 100%;
    }

    .bottom-row {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    .copyright-text {
        order: 2;
    }

    .footer-right-links {
        order: 1;
    }
}

@media (max-width: 480px) {

    .footer-main .container,
    .footer-contact-bar .container,
    .footer-bottom-bar .container {
        padding: 0 15px;
    }

    .footer-heading {
        font-size: 0.8rem;
    }

    .footer-col ul li a {
        font-size: 0.75rem;
    }

    .contact-icon-circle {
        width: 40px;
        height: 40px;
        min-width: 40px;
    }

    .contact-icon-circle i {
        font-size: 0.9rem;
    }

    .contact-details h5 {
        font-size: 0.72rem;
    }

    .contact-details p {
        font-size: 0.68rem;
    }
}

/* Punjabi text support in footer - Strong Override for font-size */
.gndu-footer,
.gndu-footer * {
    font-family: 'Inter', 'Lato', 'Noto Sans Gurmukhi', sans-serif;
}

.gndu-footer [lang="pa"],
.gndu-footer .punjabi-text,
.gndu-footer [data-pa] {
    font-family: 'Noto Sans Gurmukhi', 'Lato', sans-serif !important;
    text-align: left;
    line-height: 1.8;
}

/* Footer heading - STRONG override for Punjabi */
.gndu-footer .footer-heading {
    font-size: 1.2rem !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
}

/* Footer links - STRONG override for both English and Punjabi */
.gndu-footer .footer-col ul li a {
    font-size: 1.1rem !important;
    line-height: 1.7 !important;
}

.gndu-footer .footer-heading-link {
    font-size: 1.15rem !important;
    line-height: 1.6 !important;
}

/* Footer address - STRONG override */
.gndu-footer .footer-address-col p {
    font-size: 1.08rem !important;
    line-height: 1.7 !important;
}

/* Contact section - STRONG override */
.gndu-footer .contact-details h5 {
    font-size: 1.0rem !important;
    line-height: 1.5 !important;
}

.gndu-footer .contact-details p {
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
}

/* Bottom bar - STRONG override */
.gndu-footer .copyright-text,
.gndu-footer .footer-right-links a {
    font-size: 0.95rem !important;
}

/* Ensure no white space below footer */
.gndu-footer {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.footer-bottom-bar {
    margin-bottom: 0 !important;
}

/* Reset any form margin inside footer */
.gndu-footer form {
    margin: 0;
    padding: 0;
}