:root {
    --bs-font-sans-serif: 'Fira Sans Condensed', sans-serif;
    --bs-body-font-family: 'Fira Sans Condensed', sans-serif;
    --primary-blue: #2c56b3;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-h, 76px); /* anchor targets clear the fixed navbar */
}

/* Navbar is position:fixed (see .ngss-nav); reserve its height so content isn't hidden.
   NOTE: do not set overflow on html/body - it breaks fixed/sticky headers and scrolling. */
body {
    padding-top: var(--nav-h, 76px);
    /* sideways overflow handled on html */ /* stop sideways overflow (g-5 rows / AOS slides) without creating a scroll container */
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}

/* Image loading: soft shimmer placeholder + fade-in */
@keyframes ngssShimmer {
    0% { background-position: -400px 0; }
    100% { background-position: 400px 0; }
}
@keyframes ngssFadeIn { from { opacity: 0; } to { opacity: 1; } }
img.img-fade {
    color: transparent; /* hide alt text while loading */
    background: linear-gradient(90deg, #eef1f6 0%, #f8f9fb 40%, #eef1f6 80%);
    background-size: 800px 100%;
    animation: ngssShimmer 1.2s linear infinite;
}
img.img-fade.loaded {
    animation: ngssFadeIn .5s ease;
    background: none;
}
.img-fluid { height: auto; }
.slider-image { background-color: #1a2a4f; }

body {
    font-family: 'Fira Sans Condensed', sans-serif;
    color: #333;
}

h1, h2, h3 {
    font-family: 'Fira Sans Condensed', sans-serif;
}

.color-primary {
    color: var(--primary-blue) !important;
}

.bg-primary {
    background-color: var(--primary-blue) !important;
}

/* Scroll Progress */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-blue), #198754);
    z-index: 1001;
    transition: width 0.1s ease;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(44, 86, 179, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #1a3d80;
    transform: translateY(-3px);
}

/* Navbar Effects */
.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.navbar-nav .nav-link.active {
    color: var(--primary-blue) !important;
    position: relative;
}

.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 15px;
    right: 15px;
    height: 2px;
    background-color: var(--primary-blue);
}

}
/* Section Animations */
.section-fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.section-fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hover Effects */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15) !important;
}

.hover-effect {
    transition: all 0.3s ease;
}

.hover-effect:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Image Zoom */
.img-zoom-container {
    overflow: hidden;
    border-radius: 10px;
}

.img-zoom-container img {
    transition: transform 0.5s ease;
}

.img-zoom-container:hover img {
    transform: scale(1.08);
}

/* Slider */
.slider-image {
    height: 85vh;
    background-size: cover;
    background-position: center;
    position: relative;
}

.slider-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

/* Dropdown */
.dropdown-menu {
    border-radius: 12px;
    padding: 10px;
    animation: fadeInDown 0.3s ease;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.dropdown-item {
    font-weight: 600;
    color: #444;
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background-color: var(--primary-blue);
    color: white;
    transform: translateX(5px);
}

/* Cards */
.about-wide-card {
    background: white;
    border-radius: 20px;
    min-height: 250px;
    transition: all 0.4s ease;
    border: 1px solid #eee;
}

/* Brand Separator */
.brand-separator {
    width: 100px;
    height: 5px;
    background-color: var(--primary-blue);
    border-radius: 10px;
    display: block;
}

/* Text */
.text-justify {
    text-align: justify;
    text-justify: inter-word;
    line-height: 1.7;
    color: #444;
    margin-bottom: 1.5rem;
}

.italic-quote {
    font-style: italic;
    font-size: 1.2rem;
    color: var(--primary-blue);
    border-left: 3px solid var(--primary-blue);
    padding-left: 15px;
}

/* Mission Cards */
.wide-mission-card {
    max-width: 100%;
    min-height: 400px;
}

@media (min-width: 768px) {
    .border-start-custom {
        border-left: 5px solid var(--primary-blue);
        padding-left: 40px;
    }
    .border-white {
        border-left-color: white !important;
    }
}

/* Campus Images */
.campus-img {
    height: 550px;
    object-fit: cover;
}

/* Location Cards (vibrant campus cards) */
.campus-blue    { --c1: #3b82f6; --c2: #2c56b3; }
.campus-emerald { --c1: #34d399; --c2: #059669; }
.campus-amber   { --c1: #fbbf24; --c2: #f97316; }
.campus-violet  { --c1: #a78bfa; --c2: #7c3aed; }
.location-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: .55rem;
    padding: 1.6rem 1.4rem 1.4rem;
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(160deg, rgba(255,255,255,.10), rgba(255,255,255,.03));
    border: 1px solid rgba(255,255,255,.12);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 8px 24px rgba(0,0,0,.25);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.location-card::before {
    content: "";
    position: absolute; top: 0; left: 0; right: 0; height: 5px;
    background: linear-gradient(90deg, var(--c1), var(--c2));
}
.location-card::after {
    content: "";
    position: absolute; top: -60px; right: -60px; width: 160px; height: 160px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--c1), transparent 70%);
    opacity: .18; pointer-events: none;
}
.location-card:hover {
    transform: translateY(-8px);
    border-color: var(--c1);
    box-shadow: 0 16px 36px rgba(0,0,0,.35), 0 0 24px color-mix(in srgb, var(--c1) 45%, transparent);
}
.campus-chip {
    width: 54px; height: 54px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.5rem; color: #fff;
    background: linear-gradient(135deg, var(--c1), var(--c2));
    box-shadow: 0 6px 16px color-mix(in srgb, var(--c2) 55%, transparent);
    margin-bottom: .35rem;
}
.campus-title {
    font-size: 1.4rem; font-weight: 700; margin: 0 0 .25rem;
    color: #fff; letter-spacing: .2px;
}
.campus-line {
    display: flex; align-items: flex-start; gap: .55rem;
    color: rgba(255,255,255,.82); text-decoration: none;
    font-size: .95rem; line-height: 1.4;
    transition: color .2s ease;
}
.campus-line i { color: var(--c1); margin-top: .15rem; flex-shrink: 0; }
.campus-line:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--c1); }
.campus-phone { margin-top: auto; font-weight: 700; font-size: 1.05rem; color: #fff; }

/* Social Icons */
.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    margin-left: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon i {
    font-size: 1.2rem;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: 5px;
}

/* Responsive */
@media (max-width: 768px) {
    .text-justify {
        text-align: left;
    }
    .campus-img {
        height: 300px;
    }
    .brand-separator {
        margin: 20px auto;
    }
    .order-md-1 { order: 2 !important; }
    .order-md-2 { order: 1 !important; }
}

/* Logo Placeholder */
.logo-placeholder {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 10px;
}
/* ===== SIMPLE SLIDER STYLES ===== */
#home {
    position: relative;
    overflow: hidden;
    height: 100vh;
}

.slider-image {
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.slider-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

/* Hide all elements initially */
.slider-content h6,
.slider-content h1,
.slider-content p,
.slider-content .btn {
    opacity: 0;
}

/* Animation for subtitle */
.slide-subtitle {
    animation: slideDown 0.8s ease forwards;
}

/* Animation for heading (typing effect) */
.slide-heading {
    white-space: nowrap;
    overflow: hidden;
    width: 0;
    border-right: 3px solid #0dcaf0;
    animation: typing 3s steps(60) forwards, blink 1s infinite;
}

/* Animation for paragraph */
.slide-paragraph {
    animation: fadeInUp 1s ease forwards;
}

/* Animation for button */
.slide-button {
    animation: popIn 0.8s ease forwards;
}

/* Animation Keyframes */
@keyframes slideDown {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes typing {
    from { width: 0; opacity: 1; }
    to { width: 100%; opacity: 1; }
}

@keyframes blink {
    0%, 100% { border-right-color: #0dcaf0; }
    50% { border-right-color: transparent; }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes popIn {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Remove cursor after typing completes */
.heading-typing-complete {
    border-right: none !important;
    animation: none !important;
}

/* Progress Bar (1 minute timer) */
.slide-timer {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    background: #0dcaf0;
    width: 0%;
    z-index: 10;
    transition: width 120s linear;
}

/* Responsive */
@media (max-width: 768px) {
    #home {
        height: 80vh;
    }
    
    .slider-image {
        height: 80vh;
    }
    
    .slider-content h1 {
        font-size: 2.5rem !important;
        white-space: normal;
    }
}
/* Add these styles to your CSS */

/* Ensure smooth transitions */
.slider-content h6,
.slider-content h1,
.slider-content p,
.slider-content .btn {
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Fix for Bootstrap carousel resetting */
.carousel-item.active .slider-content h6,
.carousel-item.active .slider-content h1,
.carousel-item.active .slider-content p,
.carousel-item.active .slider-content .btn {
    opacity: 1 !important;
}

/* Ensure animations work on all slides */
.carousel-item .slide-subtitle,
.carousel-item .slide-heading,
.carousel-item .slide-paragraph,
.carousel-item .slide-button {
    opacity: 1 !important;
}

/* Reset animations when slide is not active */
.carousel-item:not(.active) .slider-content h6,
.carousel-item:not(.active) .slider-content h1,
.carousel-item:not(.active) .slider-content p,
.carousel-item:not(.active) .slider-content .btn {
    opacity: 0 !important;
    animation: none !important;
}
/* ===== SLIDER IMAGE EFFECTS ===== */

/* ZOOM IN EFFECT */
.zoom-in .slider-image {
    animation: zoomInEffect 15s ease-in-out infinite alternate;
}

@keyframes zoomInEffect {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.2);
    }
}

/* ZOOM OUT EFFECT */
.zoom-out .slider-image {
    animation: zoomOutEffect 15s ease-in-out infinite alternate;
}

@keyframes zoomOutEffect {
    0% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

/* SLOW ZOOM EFFECT */
.slow-zoom .slider-image {
    animation: slowZoom 20s ease-in-out infinite;
}

@keyframes slowZoom {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
    100% {
        transform: scale(1);
    }
}

/* FADE IN EFFECT */
.fade-in .slider-image {
    animation: fadeInEffect 8s ease-in-out;
}

@keyframes fadeInEffect {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* FADE OUT EFFECT */
.fade-out .slider-image {
    animation: fadeOutEffect 8s ease-in-out infinite alternate;
}

@keyframes fadeOutEffect {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0.7;
    }
}

/* PAN LEFT EFFECT */
.pan-left .slider-image {
    animation: panLeftEffect 20s ease-in-out infinite alternate;
}

@keyframes panLeftEffect {
    0% {
        background-position: center;
    }
    100% {
        background-position: left center;
    }
}

/* PAN RIGHT EFFECT */
.pan-right .slider-image {
    animation: panRightEffect 20s ease-in-out infinite alternate;
}

@keyframes panRightEffect {
    0% {
        background-position: center;
    }
    100% {
        background-position: right center;
    }
}

/* PAN UP EFFECT */
.pan-up .slider-image {
    animation: panUpEffect 20s ease-in-out infinite alternate;
}

@keyframes panUpEffect {
    0% {
        background-position: center;
    }
    100% {
        background-position: center top;
    }
}

/* PAN DOWN EFFECT */
.pan-down .slider-image {
    animation: panDownEffect 20s ease-in-out infinite alternate;
}

@keyframes panDownEffect {
    0% {
        background-position: center;
    }
    100% {
        background-position: center bottom;
    }
}

/* BLUR EFFECT */
.blur-effect .slider-image {
    animation: blurEffect 10s ease-in-out infinite alternate;
}

@keyframes blurEffect {
    0% {
        filter: blur(0px);
    }
    100% {
        filter: blur(3px);
    }
}

/* BRIGHTNESS EFFECT */
.brightness-effect .slider-image {
    animation: brightnessEffect 10s ease-in-out infinite alternate;
}

@keyframes brightnessEffect {
    0% {
        filter: brightness(1);
    }
    100% {
        filter: brightness(1.3);
    }
}

/* CONTRAST EFFECT */
.contrast-effect .slider-image {
    animation: contrastEffect 10s ease-in-out infinite alternate;
}

@keyframes contrastEffect {
    0% {
        filter: contrast(1);
    }
    100% {
        filter: contrast(1.3);
    }
}

/* GRAYSCALE EFFECT */
.grayscale-effect .slider-image {
    animation: grayscaleEffect 10s ease-in-out infinite alternate;
}

@keyframes grayscaleEffect {
    0% {
        filter: grayscale(0);
    }
    100% {
        filter: grayscale(1);
    }
}

/* SEPIA EFFECT */
.sepia-effect .slider-image {
    animation: sepiaEffect 10s ease-in-out infinite alternate;
}

@keyframes sepiaEffect {
    0% {
        filter: sepia(0);
    }
    100% {
        filter: sepia(0.7);
    }
}

/* GLOW EFFECT */
.glow-effect .slider-image {
    animation: glowEffect 8s ease-in-out infinite alternate;
}

@keyframes glowEffect {
    0% {
        box-shadow: inset 0 0 0px rgba(255, 255, 255, 0.5);
    }
    100% {
        box-shadow: inset 0 0 100px rgba(255, 255, 255, 0.2);
    }
}

/* SHAKE EFFECT */
.shake-effect .slider-image {
    animation: shakeEffect 20s ease-in-out infinite;
}

@keyframes shakeEffect {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-5px);
    }
    75% {
        transform: translateX(5px);
    }
}

/* WAVE EFFECT */
.wave-effect .slider-image {
    animation: waveEffect 15s ease-in-out infinite alternate;
}

@keyframes waveEffect {
    0% {
        transform: scaleY(1);
    }
    100% {
        transform: scaleY(1.05);
    }
}

/* SLIDE FROM LEFT EFFECT */
.slide-left .slider-image {
    animation: slideFromLeft 1s ease-out;
}

@keyframes slideFromLeft {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(0);
    }
}

/* SLIDE FROM RIGHT EFFECT */
.slide-right .slider-image {
    animation: slideFromRight 1s ease-out;
}

@keyframes slideFromRight {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(0);
    }
}

/* ROTATE EFFECT */
.rotate-effect .slider-image {
    animation: rotateEffect 30s linear infinite;
}

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

/* FLIP EFFECT */
.flip-effect .slider-image {
    animation: flipEffect 10s ease-in-out infinite alternate;
}

@keyframes flipEffect {
    0% {
        transform: perspective(1000px) rotateY(0deg);
    }
    100% {
        transform: perspective(1000px) rotateY(10deg);
    }
}

/* PULSE EFFECT */
.pulse-effect .slider-image {
    animation: pulseEffect 4s ease-in-out infinite;
}

@keyframes pulseEffect {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Ensure images cover properly */
.slider-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    will-change: transform, filter, opacity; /* Performance optimization */
}

/* Overlay for better text readability */
.slider-overlay {
    background: rgba(0, 0, 0, 0.5);
}
/* Add to your CSS file */
.effect-settings-btn {
    transition: all 0.3s ease !important;
}

.effect-settings-btn:hover {
    transform: scale(1.1) !important;
    box-shadow: 0 0 15px rgba(44, 86, 179, 0.7) !important;
}

/* If not using Font Awesome, use a text icon */
.effect-settings-btn:not(.fa)::before {
    content: "⚙";
    font-size: 1.5rem;
}
/* Add to your CSS file */
.hover-effect {
    transition: all 0.3s ease;
}

.hover-effect:hover {
    transform: translateY(-2px);
    color: #0dcaf0 !important; /* Or your preferred hover color */
}

/* Specific style for the developer link */
a[href*="https://www.sharplite.com/"]:hover {
    text-decoration: underline !important;
}






































/* Popup Notification CSS */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* High z-index to appear above everything */
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Popup Box - Centered with horizontal margin */
.popup {
    background-color: white;
    width: 50%;
    max-width: 600px;
    min-width: 300px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    transform: scale(0.9);
    transition: transform 0.4s ease;
    margin: 50px auto; /* This centers horizontally with top/bottom margin */
}

.popup-overlay.active .popup {
    transform: scale(1);
}

.popup-header {
    background: linear-gradient(to right, #1a3a8f, #2d5cc2);
    color: white;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.popup-header h2 {
    font-size: 1.8rem;
    margin: 0;
}

.close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    transition: transform 0.3s;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn:hover {
    transform: scale(1.2);
}

.popup-content {
    padding: 2rem;
    text-align: center;
}

.welcome-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #e8f0ff;
    margin: 0 auto 1.5rem;
    display: block;
}

.welcome-text {
    font-size: 2rem;
    color: #1a3a8f;
    margin-bottom: 1rem;
    font-weight: 700;
}

.notification {
    background-color: #f0f7ff;
    border-left: 4px solid #2d5cc2;
    padding: 1rem;
    margin: 1.5rem 0;
    text-align: left;
    border-radius: 0 8px 8px 0;
}

.notification h3 {
    color: #1a3a8f;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.2rem;
}

.notification h3 i {
    color: #ffcc00;
}

.notification p {
    margin: 0;
    color: #333;
    line-height: 1.5;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #333;
}

.contact-icon {
    color: #1a3a8f;
    font-size: 1.2rem;
}

.popup-footer {
    padding: 1rem 2rem;
    background-color: #f8faff;
    text-align: center;
    font-size: 0.9rem;
    color: #666;
}

/* Optional: Button to trigger popup */
.show-popup-btn {
    background: linear-gradient(to right, #1a3a8f, #2d5cc2);
    color: white;
    border: none;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(26, 58, 143, 0.3);
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 auto;
}

.show-popup-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(26, 58, 143, 0.4);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .popup {
        width: 90%;
        margin: 20px auto;
    }
    
    .popup-header h2 {
        font-size: 1.5rem;
    }
    
    .welcome-text {
        font-size: 1.7rem;
    }
}

@media (max-width: 480px) {
    .popup {
        width: 95%;
        margin: 10px auto;
    }
    
    .popup-content {
        padding: 1.5rem;
    }
    
    .welcome-text {
        font-size: 1.5rem;
    }
}

/* Site-wide font (icon fonts untouched: they set their own font-family on i/.fa/.bi) */
body, h1, h2, h3, h4, h5, h6, p, a, span, li, label, small, strong, b,
.navbar, .nav-link, .btn, button, input, select, textarea, .popup, .card, .badge {
    font-family: 'Fira Sans Condensed', sans-serif;
}

/* Admission Notification popup is DISABLED. Markup kept in index.html (#popupOverlay).
   To re-enable: change class="popup-overlay11" back to class="popup-overlay" in index.html
   (script.js then shows it on load and locks scroll until closed). */
.popup-overlay11, #popupOverlay.popup-overlay11 { display: none !important; }
#showPopupBtn { display: none !important; }


/* ===== Vibrant NGSS navbar ===== */
.ngss-nav {
    background: rgba(255,255,255,.78) !important;
    backdrop-filter: blur(12px) saturate(160%);
    -webkit-backdrop-filter: blur(12px) saturate(160%);
    border-bottom: 1px solid rgba(44,86,179,.10);
    transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
    padding-top: .55rem; padding-bottom: .55rem;
}
.ngss-nav::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, #3b82f6, #2c56b3 22%, #059669 40%, #34d399 52%, #fbbf24 66%, #f97316 78%, #7c3aed);
}
.ngss-nav.scrolled {
    background: #fff !important;
    box-shadow: 0 6px 24px rgba(20,40,90,.14);
    padding-top: .35rem; padding-bottom: .35rem;
}
.ngss-nav .navbar-brand img { border-radius: 50%; box-shadow: 0 2px 8px rgba(44,86,179,.25); }
.ngss-nav .brand-text span { color: #1a3a8f !important; font-weight: 700; font-size: 1.08rem; letter-spacing: .2px; }
.ngss-nav .nav-link {
    position: relative; font-weight: 700; color: #22305a !important;
    font-size: 1.02rem; white-space: nowrap; transition: color .25s ease;
}
.ngss-nav .nav-link::after {
    content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 3px;
    border-radius: 3px; background: linear-gradient(90deg, #3b82f6, #34d399, #fbbf24, #7c3aed);
    background-size: 200% 100%;
    transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.ngss-nav .nav-link:hover, .ngss-nav .nav-link.active, .ngss-nav .nav-link.show { color: #2c56b3 !important; }
.ngss-nav .nav-link:hover::after, .ngss-nav .nav-link.active::after {
    transform: scaleX(1); animation: ngssNavFlow 2.5s linear infinite;
}
.ngss-nav .dropdown-toggle::after { /* keep bootstrap caret */ }
.ngss-nav .nav-link.dropdown-toggle::after {
    position: static; display: inline-block; height: auto; width: auto; background: none; transform: none; animation: none;
    margin-left: .3em; vertical-align: .2em; border-top: .32em solid; border-right: .32em solid transparent; border-left: .32em solid transparent; border-bottom: 0;
}
.ngss-nav .nav-link.dropdown-toggle { box-shadow: inset 0 -3px 0 transparent; }
.ngss-nav .nav-link.dropdown-toggle.active, .ngss-nav .nav-link.dropdown-toggle:hover { box-shadow: inset 0 -3px 0 #34d399; border-radius: 2px; }
@keyframes ngssNavFlow { from { background-position: 0 0; } to { background-position: 200% 0; } }
.ngss-nav .dropdown-menu {
    border-radius: 14px; padding: .4rem; border-top: 3px solid #2c56b3 !important;
    box-shadow: 0 12px 30px rgba(20,40,90,.15) !important;
}
.ngss-nav .dropdown-item { font-weight: 600; border-radius: 8px; padding: .5rem .9rem; }
.ngss-nav .dropdown-item:hover, .ngss-nav .dropdown-item.active {
    background: linear-gradient(90deg, rgba(59,130,246,.12), rgba(52,211,153,.12)); color: #1a3a8f;
}
.nav-cta {
    display: inline-flex; align-items: center; gap: .4rem; white-space: nowrap;
    margin-left: .6rem; padding: .5rem 1.15rem; border-radius: 999px;
    font-weight: 700; color: #fff !important; text-decoration: none;
    background: linear-gradient(90deg, #2c56b3, #7c3aed 55%, #f97316);
    background-size: 180% 100%; background-position: 0 0;
    box-shadow: 0 6px 16px rgba(124,58,237,.30);
    transition: background-position .4s ease, transform .2s ease, box-shadow .3s ease;
}
.nav-cta:hover { background-position: 100% 0; transform: translateY(-2px); box-shadow: 0 10px 22px rgba(249,115,22,.35); }
/* Hamburger */
.ngss-nav .navbar-toggler { border: 0; padding: .45rem .5rem; border-radius: 10px; background: linear-gradient(135deg, #2c56b3, #7c3aed); }
.ngss-nav .navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(124,58,237,.25); }
.ngss-burger { display: inline-flex; flex-direction: column; justify-content: space-between; width: 24px; height: 18px; }
.ngss-burger span { display: block; height: 3px; border-radius: 3px; background: #fff; transition: transform .3s ease, opacity .2s ease; }
.ngss-nav.menu-open .ngss-burger span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.ngss-nav.menu-open .ngss-burger span:nth-child(2) { opacity: 0; }
.ngss-nav.menu-open .ngss-burger span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
@media (max-width: 991.98px) {
    .ngss-nav .navbar-collapse { margin-top: .6rem; }
    .ngss-nav .navbar-nav { background: #fff; border-radius: 16px; padding: .5rem; box-shadow: 0 12px 28px rgba(20,40,90,.15); }
    .ngss-nav .nav-link { padding: .75rem 1rem !important; border-radius: 10px; }
    .ngss-nav .nav-link::after { display: none; }
    .ngss-nav .nav-link:hover, .ngss-nav .nav-link.active { background: linear-gradient(90deg, rgba(59,130,246,.12), rgba(52,211,153,.10)); box-shadow: inset 4px 0 0 #2c56b3; }
    .ngss-nav .nav-link.dropdown-toggle.active, .ngss-nav .nav-link.dropdown-toggle:hover { box-shadow: inset 4px 0 0 #34d399; }
    .ngss-nav .dropdown-menu { box-shadow: none !important; border-top: 0 !important; background: #f6f8fd; margin: 0 .4rem .4rem; }
    .nav-cta-item { padding: .5rem .4rem .3rem; }
    .nav-cta { margin-left: 0; width: 100%; justify-content: center; padding: .7rem 1rem; }
    .ngss-nav .navbar-collapse.collapsing { transition: height .35s ease; }
}
@media (max-width: 400px) { .ngss-nav .brand-text span { font-size: .98rem; } }

/* Always-visible fixed top menu */
#mainNav.ngss-nav {
    position: fixed !important; top: 0; left: 0; right: 0; z-index: 1030;
    transform: none !important;
}

/* AOS slide-ins / g-5 rows overflow sideways and widen the mobile page (fixed menu then gets cut off).
   Clip per section; 'clip' does not create a scroll container, so scrolling and the fixed menu keep working. */
body > section, body > header, body > footer, body > div, body > main { overflow-x: clip; }

/* ===== Vibrant Admissions cards (palette shared with campus cards: .campus-blue/emerald/amber) ===== */
.adm-card {
    position: relative; overflow: hidden;
    display: flex; flex-direction: column; gap: .6rem;
    padding: 1.8rem 1.6rem 1.6rem; border-radius: 20px;
    background: linear-gradient(165deg, color-mix(in srgb, var(--c1) 12%, #fff), #fff 65%);
    border: 1px solid color-mix(in srgb, var(--c1) 30%, transparent);
    box-shadow: 0 10px 28px rgba(20,40,90,.08);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.adm-card::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px;
    background: linear-gradient(90deg, var(--c1), var(--c2));
}
.adm-card::after {
    content: ""; position: absolute; top: -70px; right: -70px; width: 180px; height: 180px; border-radius: 50%;
    background: radial-gradient(circle, var(--c1), transparent 70%); opacity: .16; pointer-events: none;
}
.adm-card:hover {
    transform: translateY(-8px); border-color: var(--c1);
    box-shadow: 0 18px 38px rgba(20,40,90,.14), 0 0 26px color-mix(in srgb, var(--c1) 40%, transparent);
}
.adm-title { font-weight: 700; font-size: 1.55rem; color: #1a3a8f; margin: .1rem 0 .3rem; }
.adm-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .65rem; }
.adm-list li { display: flex; gap: .6rem; align-items: flex-start; line-height: 1.45; }
.adm-list li i { color: var(--c2); font-size: 1.1rem; margin-top: .05rem; flex-shrink: 0; }
.adm-months { display: flex; flex-wrap: wrap; gap: .6rem; margin: .2rem 0 .6rem; }
.adm-month {
    flex: 1 1 140px; display: flex; flex-direction: column; padding: .6rem .9rem; border-radius: 14px; color: #fff;
    box-shadow: 0 6px 16px rgba(0,0,0,.12);
}
.adm-month strong { font-size: 1.15rem; letter-spacing: .3px; }
.adm-month span { font-size: .9rem; opacity: .92; }
.adm-feb { background: linear-gradient(135deg, #34d399, #059669); }
.adm-aug { background: linear-gradient(135deg, #fbbf24, #f97316); }

/* =====================================================================
   NGSS site-wide polish (Oct 2026): full-bleed layout, responsive hero,
   vibrant sections in the blue / emerald / amber / violet palette.
   ===================================================================== */
:root {
    --ngss-blue: #2c56b3; --ngss-blue2: #3b82f6; --ngss-navy: #1a3a8f;
    --ngss-emerald: #059669; --ngss-mint: #34d399;
    --ngss-amber: #fbbf24; --ngss-orange: #f97316; --ngss-violet: #7c3aed;
    --ngss-grad: linear-gradient(90deg, #2c56b3, #059669 35%, #f97316 70%, #7c3aed);
}

/* ---- Full-bleed: no max-width / side bars anywhere ---- */
html, body { width: 100%; max-width: none !important; margin: 0 !important; }
body { background: #fff; }
body > section, body > header, body > footer { width: 100%; max-width: none; }
@media (min-width: 1600px) { .container, .container-xl, .container-xxl { max-width: 1480px; } }
@media (max-width: 767.98px) {
    .container { padding-left: 18px; padding-right: 18px; }
    .row.g-5 { --bs-gutter-x: 1.5rem; }          /* g-5 gutters were wider than the container padding */
    .py-5.section-fade-in > .container.py-5, section > .container.py-5 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
}

/* ---- Hero slider ---- */
#home, #home .slider-image { height: 100svh; min-height: 520px; max-height: 1000px; }
#home .slider-image { background-size: cover; background-position: center 30%; }
#home .slider-overlay {
    background: linear-gradient(90deg, rgba(10,22,60,.82) 0%, rgba(10,22,60,.55) 45%, rgba(10,22,60,.15) 100%);
}
#home .slider-content { max-width: min(800px, 100%); padding-inline: 4.5rem 1rem; }
#home .slider-content h1 { font-size: clamp(2.1rem, 1.2rem + 4.2vw, 4.6rem) !important; line-height: 1.08; overflow-wrap: anywhere; }
#home .slider-content h6 { letter-spacing: 1.5px; font-size: clamp(.8rem, .7rem + .4vw, 1rem); }
#home .slider-content .lead { font-size: clamp(1rem, .9rem + .45vw, 1.3rem); color: rgba(255,255,255,.85) !important; }
#home .slider-content .btn { font-weight: 700; padding: .75rem 2.2rem; }
#home .slider-content .btn-primary { background: linear-gradient(90deg, #2c56b3, #7c3aed); border: 0; box-shadow: 0 8px 22px rgba(124,58,237,.35); }
#home .carousel-control-prev, #home .carousel-control-next { width: 4rem; opacity: .75; }
#home .carousel-indicators [data-bs-target] { width: 26px; height: 5px; border-radius: 4px; }
#home .carousel-indicators .active { background: var(--ngss-amber); }
@media (max-width: 991.98px) {
    /* typing effect needs nowrap + width:0 -> it clipped long headings on small screens */
    #home .slider-content h1, #home .slide-heading {
        white-space: normal !important; width: auto !important; border-right: 0 !important;
    }
    #home .slide-heading { animation: fadeInUp .8s ease forwards !important; }
}
@media (max-width: 767.98px) {
    #home, #home .slider-image { height: 78svh; min-height: 480px; }
    #home .slider-overlay { background: linear-gradient(180deg, rgba(10,22,60,.35) 0%, rgba(10,22,60,.65) 45%, rgba(10,22,60,.88) 100%); }
    #home .slider-overlay > .container { align-items: flex-end !important; padding-bottom: 3.5rem; }
    #home .slider-content { padding-inline: 0; }
    #home .slider-content h1 { margin-bottom: .9rem !important; }
    #home .slider-content .lead { margin-bottom: 1.4rem !important; }
    #home .carousel-control-prev, #home .carousel-control-next { display: none; } /* swipe instead */
}

/* ---- Section headings + separators ---- */
section h2.display-5, section h2.color-primary, #gallery h2.text-primary {
    background: linear-gradient(90deg, #1a3a8f, #2c56b3 40%, #7c3aed);
    -webkit-background-clip: text; background-clip: text; color: transparent !important;
    -webkit-text-fill-color: transparent;
    font-size: clamp(1.9rem, 1.3rem + 2.2vw, 3.2rem);
}
.brand-separator { height: 5px !important; width: 90px; border-radius: 5px; background: var(--ngss-grad) !important; }
section h6.text-primary, section h6.text-uppercase { color: var(--ngss-emerald) !important; letter-spacing: 1.5px; }
section.bg-light { background: linear-gradient(180deg, #f4f7ff 0%, #f7fbf9 100%) !important; }

/* ---- Cards across sections: glassy, gradient strip, hover glow ---- */
.about-wide-card, .wide-mission-card, .value-card, .academic-card, #values .card, #academic .card {
    position: relative; overflow: hidden; border-radius: 20px !important;
    border: 1px solid rgba(44,86,179,.12) !important;
    box-shadow: 0 10px 28px rgba(20,40,90,.08) !important;
    transition: transform .3s ease, box-shadow .3s ease;
}
.about-wide-card::before, .wide-mission-card::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px; background: var(--ngss-grad);
}
.about-wide-card:hover, .wide-mission-card:hover, #values .card:hover, #academic .card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 38px rgba(20,40,90,.14), 0 0 24px rgba(124,58,237,.18) !important;
}
.wide-mission-card.bg-primary { background: linear-gradient(135deg, #1a3a8f, #2c56b3 50%, #7c3aed) !important; }
.wide-mission-card .bi.display-1 {
    display: inline-flex; align-items: center; justify-content: center; width: 120px; height: 120px; border-radius: 50%;
    font-size: 3.4rem !important; color: #fff !important;
    background: linear-gradient(135deg, #3b82f6, #059669); box-shadow: 0 10px 26px rgba(5,150,105,.35);
}
.wide-mission-card.bg-primary .bi.display-1 { background: linear-gradient(135deg, #fbbf24, #f97316); box-shadow: 0 10px 26px rgba(249,115,22,.4); }
#missionCarousel .carousel-control-prev-icon, #missionCarousel .carousel-control-next-icon { background-color: #2c56b3 !important; background-size: 50%; }
@media (max-width: 767.98px) {
    .wide-mission-card { padding: 1.6rem !important; }
    #missionCarousel .carousel-control-prev, #missionCarousel .carousel-control-next { display: none; }
}

/* image frames */
.about-img-frame, .message-img-frame, .image-wrapper { border-radius: 20px !important; box-shadow: 0 16px 40px rgba(20,40,90,.16) !important; }
.message-img-frame.border-primary, .image-wrapper.border-primary { border-color: #7c3aed !important; }

/* ---- Buttons ---- */
.btn-primary {
    background: linear-gradient(90deg, #2c56b3, #3b82f6); border: 0; font-weight: 700;
    box-shadow: 0 6px 16px rgba(44,86,179,.25); transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.btn-primary:hover, .btn-primary:focus { filter: brightness(1.08); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(44,86,179,.35); }
.btn-outline-primary { font-weight: 700; border-width: 2px; }
.btn-outline-primary:hover { background: linear-gradient(90deg, #2c56b3, #7c3aed); border-color: transparent; }
#loadMoreBtn {
    border-radius: 999px; padding: .85rem 2.6rem;
    background: linear-gradient(90deg, #2c56b3, #7c3aed 55%, #f97316); background-size: 180% 100%;
    box-shadow: 0 10px 26px rgba(124,58,237,.30); transition: background-position .4s ease, transform .2s ease;
}
#loadMoreBtn:hover { background-position: 100% 0; transform: translateY(-3px); }

/* ---- Gallery ---- */
#gallery .filter-btn { border-radius: 999px; padding: .45rem 1.1rem; }
#gallery .filter-btn.active { background: linear-gradient(90deg, #2c56b3, #059669); color: #fff; border-color: transparent; }
#gallery .gallery-card { border-radius: 18px; overflow: hidden; border: 0; box-shadow: 0 10px 26px rgba(20,40,90,.10); }
#gallery .gallery-card:hover { box-shadow: 0 16px 34px rgba(20,40,90,.16), 0 0 22px rgba(59,130,246,.20); }
#gallery .badge.bg-primary { background: linear-gradient(90deg, #2c56b3, #3b82f6) !important; }
#gallery .badge.bg-success { background: linear-gradient(90deg, #059669, #34d399) !important; }

/* ---- Campus carousel ---- */
#campusCarousel { border-radius: 22px !important; box-shadow: 0 18px 44px rgba(20,40,90,.16) !important; }
#campusCarousel .campus-img { object-fit: cover; }
@media (max-width: 767.98px) { #campusCarousel .campus-img { height: 240px !important; } #campusCarousel .card-body { padding: 1.4rem !important; } }

/* ---- Footer ---- */
footer#contact {
    position: relative;
    background: radial-gradient(1200px 400px at 10% 0%, rgba(44,86,179,.35), transparent 60%),
                radial-gradient(900px 400px at 90% 100%, rgba(124,58,237,.28), transparent 60%),
                #0f1630 !important;
}
footer#contact::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: var(--ngss-grad); }
footer#contact h2 { color: #fff; border-color: transparent !important; position: relative; }
footer#contact h2::after { content: ""; display: block; height: 4px; width: 60%; margin: .5rem auto 0; border-radius: 4px; background: var(--ngss-grad); }
footer .social-icon { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); }
footer .social-icon:hover { background: linear-gradient(135deg, #3b82f6, #7c3aed); transform: translateY(-3px); }

/* back-to-top */
.back-to-top { background: linear-gradient(135deg, #2c56b3, #7c3aed) !important; }
#home .carousel-indicators [data-bs-target] { background-clip: padding-box; }
@media (max-width: 767.98px) {
    #home .slider-overlay > .container { padding: 0 20px 4.5rem !important; }
    #home .carousel-indicators { margin-bottom: 1.2rem; }
}
@media (max-width: 767.98px) {
    /* zoom/pan effects scale the whole slide incl. its text -> text pushed past the screen edge on phones */
    #home .slider-image { animation: none !important; transform: none !important; filter: none !important; }
}
/* Zoom/pan slide effects transform the whole slide (text included), pushing headings to the edge on every
   screen size, so they are switched off; slides still cross-fade. */
#home .slider-image { animation: none !important; transform: none !important; filter: none !important; }
@media (max-width: 767.98px) { #campusCarousel .carousel-control-prev, #campusCarousel .carousel-control-next { display: none; } }

/* ---- Justified body paragraphs (all screen sizes) ---- */
section p, section .adm-list li span, .wide-mission-card p, .text-justify {
    text-align: justify !important;
    text-align-last: left;
    hyphens: auto; -webkit-hyphens: auto;
    overflow-wrap: break-word;
}
/* keep these as they were */
#home p, section p.text-center, section .text-center > p, section p.lead, #gallery .row.mb-5 p,
.gallery-card p, .card-title, footer p, .campus-line, .adm-month span, .badge, .btn {
    text-align: inherit !important; text-align-last: auto; hyphens: manual;
}
section p.text-center, section .text-center > p { text-align: center !important; }

/* ---- Campus slider: fixed symmetric height + controls below the slides ---- */
#campusCarousel { padding-bottom: 76px; }
#campusCarousel .carousel-item > .row { min-height: var(--campus-h, 460px); }
#campusCarousel .campus-image-container { height: 100%; min-height: 460px; aspect-ratio: auto; overflow: hidden; }
#campusCarousel .campus-image-container img { width: 100%; height: 100% !important; min-height: 460px; object-fit: cover; object-position: center; display: block; }
#campusCarousel .carousel-item > .row > [class*="col-md-6"]:has(.campus-image-container) { align-self: stretch; }
#campusCarousel .carousel-item > .row > [class*="col-md-6"] { display: flex; flex-direction: column; justify-content: center; }
#campusCarousel .carousel-item > .row > [class*="col-md-6"] > .campus-image-container { flex: 1; }
#campusCarousel .carousel-control-prev, #campusCarousel .carousel-control-next {
    display: flex !important; top: auto; bottom: 14px; width: 48px; height: 48px; opacity: 1; z-index: 5;
}
#campusCarousel .carousel-control-prev { left: calc(50% - 150px); }
#campusCarousel .carousel-control-next { right: calc(50% - 150px); }
#campusCarousel .carousel-control-prev i, #campusCarousel .carousel-control-next i {
    display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 0 !important;
    font-size: 1.2rem !important; color: #fff; background: linear-gradient(135deg, #2c56b3, #7c3aed) !important;
    box-shadow: 0 6px 16px rgba(44,86,179,.3); transition: transform .2s ease;
}
#campusCarousel .carousel-control-prev:hover i, #campusCarousel .carousel-control-next:hover i { transform: scale(1.08); }
#campusCarousel .carousel-indicators { bottom: 22px !important; margin-bottom: 0; }
#campusCarousel .carousel-indicators [data-bs-target] { background-color: #2c56b3; width: 24px; height: 5px; border-radius: 4px; background-clip: padding-box; }
#campusCarousel .carousel-indicators .active { background-color: #f97316; }
@media (max-width: 767.98px) {
    #campusCarousel .campus-image-container, #campusCarousel .campus-image-container img { min-height: 0; height: 240px !important; }
    #campusCarousel .carousel-item > .row { min-height: var(--campus-h, auto); align-content: flex-start; }
}
