/* === Color Palette & Global Variables === */
:root {
    --primary-yellow: #ffc107;
    --yellow-hover: #e0a800;
    --dark-bg: #111111;
    --darker-bg: #0a0a0a;
    --light-bg: #f8f9fa;
    --text-dark: #333333;
    --text-light: #ffffff;
}

/* === Smooth Scrolling & Typography === */
html {
    scroll-behavior: smooth;
    box-sizing: border-box;
}

html.lenis,
html.lenis body {
    height: auto;
    width: 100vw;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: #fff;
    color: var(--text-dark);
    width: 100%;
    overflow-x: hidden;
    position: relative;
}

@media (hover: hover) and (pointer: fine) {
    body {
        cursor: none;
    }
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    background: radial-gradient(circle at 20% 20%, rgba(255, 193, 7, 0.14), transparent 18%),
        radial-gradient(circle at 85% 25%, rgba(255, 255, 255, 0.12), transparent 18%),
        radial-gradient(circle at 50% 85%, rgba(17, 17, 17, 0.08), transparent 18%);
    background-size: 250% 250%;
    animation: backgroundPulse 20s ease infinite;
    pointer-events: none;
}

.custom-cursor,
.cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 2000;
    transform: translate(-50%, -50%);
    transition: transform 0.12s ease, opacity 0.15s ease, width 0.15s ease, height 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.custom-cursor {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 193, 7, 0.95);
    box-shadow: 0 0 0 4px rgba(255, 193, 7, 0.15);
}

.cursor-ring {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 2px solid rgba(255, 193, 7, 0.7);
    background: rgba(255, 193, 7, 0.08);
}

.cursor-ring::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%) scale(0.8);
    border-radius: 50%;
    border: 1px solid rgba(255, 193, 7, 0.35);
    opacity: 0.5;
    animation: wavePulse 1.8s ease-in-out infinite;
    pointer-events: none;
}

.cursor-ring.wave-click {
    transform: translate(-50%, -50%) scale(1.7);
    border-color: rgba(255, 193, 7, 1);
    background: rgba(255, 193, 7, 0.16);
}

.cursor-ring.wave-click::after {
    animation: none;
    opacity: 0;
}

@keyframes wavePulse {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.6;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.8);
        opacity: 0;
    }
}

@media (max-width: 1024px) {

    .custom-cursor,
    .cursor-ring {
        display: none;
    }
}

@keyframes backgroundPulse {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

img,
video,
svg {
    max-width: 100%;
    height: auto;
}

.handwriting {
    font-family: 'Caveat', cursive;
    color: var(--primary-yellow);
    font-size: 1.4rem;
    letter-spacing: 1px;
}

.text-yellow {
    color: var(--primary-yellow) !important;
}

.bg-yellow {
    background-color: var(--primary-yellow) !important;
}

.bg-dark-custom {
    background-color: var(--dark-bg) !important;
}

/* === Scroll Animations (Fade Up) === */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* === Buttons === */
.btn-yellow {
    background-color: var(--primary-yellow);
    color: var(--dark-bg);
    font-weight: 700;
    border-radius: 30px;
    padding: 12px 30px;
    border: none;
    transition: all 0.4s ease;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.btn-yellow:hover {
    background-color: var(--yellow-hover);
    color: var(--dark-bg);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 193, 7, 0.3);
}

/* === Top Bar === */
.top-bar {
    background-color: var(--darker-bg);
    color: #ccc;
    font-size: 0.85rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.top-bar a {
    color: #ccc;
    text-decoration: none;
    margin-left: 15px;
    transition: color 0.3s;
}

.top-bar a:hover {
    color: var(--primary-yellow);
}

/* === Smart Navbar === */
.navbar {
    transition: all 0.5s ease;
    padding: 20px 0;
    background: transparent;
    position: fixed;
    width: 100%;
    top: 35px;
    z-index: 1000;
}

@media (max-width: 991.98px) {
    .navbar {
        top: 0;
        padding: 12px 0;
        background: rgba(17, 17, 17, 0.95);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    }

    .navbar-expand-lg .navbar-collapse {
        background: rgba(17, 17, 17, 0.98);
        border-radius: 20px;
        margin-top: 10px;
        padding: 20px;
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
    }

    .navbar-expand-lg .navbar-nav {
        width: 100%;
    }

    .navbar-expand-lg .navbar-nav .nav-link {
        display: block;
        width: 100%;
        padding: 12px 0;
        margin: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .navbar-expand-lg .navbar-nav .nav-item:last-child .nav-link {
        border-bottom: none;
    }

    .d-none.d-lg-flex {
        display: none !important;
    }
}

.navbar.scrolled {
    background: rgba(17, 17, 17, 0.95);
    backdrop-filter: blur(10px);
    padding: 10px 0;
    top: 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.8rem;
    color: var(--text-light) !important;
}

.navbar-brand span {
    color: var(--primary-yellow);
}

.nav-link {
    color: var(--text-light) !important;
    font-weight: 500;
    font-size: 1rem;
    margin: 0 10px;
    transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-yellow) !important;
}

.navbar-toggler {
    border: none;
    width: 38px;
    height: 38px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    background: transparent;
    box-shadow: none;
    transition: transform 0.25s ease;
    padding: 0;
}

.navbar-toggler:hover {
    transform: translateY(-1px);
    background-color: transparent;
}

.navbar-toggler-icon {
    background-image: none;
    width: 20px;
    height: 2px;
    background-color: #ffffff;
    position: relative;
    display: inline-block;
    transition: background-color 0.25s ease;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: '';
    position: absolute;
    left: 0;
    width: 20px;
    height: 2px;
    background-color: #ffffff;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.navbar-toggler-icon::before {
    top: -6px;
    transform: none;
}

.navbar-toggler-icon::after {
    top: 6px;
    transform: none;
}

.navbar-toggler.collapsed .navbar-toggler-icon {
    background-color: #ffffff;
}

.navbar-toggler.collapsed .navbar-toggler-icon::before,
.navbar-toggler.collapsed .navbar-toggler-icon::after {
    opacity: 1;
    transform: none;
}

.navbar-toggler:not(.collapsed) .navbar-toggler-icon {
    background-color: transparent;
}

.navbar-toggler:not(.collapsed) .navbar-toggler-icon::before {
    transform: translateY(6px) rotate(45deg);
}

.navbar-toggler:not(.collapsed) .navbar-toggler-icon::after {
    transform: translateY(-6px) rotate(-45deg);
}

.nav-link:hover {
    color: var(--primary-yellow) !important;
}

.nav-icon-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--primary-yellow);
    color: var(--dark-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    margin-left: 15px;
    transition: 0.3s;
    text-decoration: none;
}

.nav-icon-btn:hover {
    transform: scale(1.1);
    color: var(--dark-bg);
}

/* === Smooth Hover Dropdown === */
.custom-hover-dropdown .dropdown-menu {
    display: block;
    /* Override default bootstrap click behavior */
    visibility: hidden;
    opacity: 0;
    transform: translateY(15px);
    /* Start slightly below */
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    background-color: #ffffff;
    border-radius: 12px;
    min-width: 220px;
}

/* Show dropdown on hover */
.custom-hover-dropdown:hover .dropdown-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    /* Slide up to original position */
}

/* Smooth Icon Rotation */
.dropdown-icon {
    transition: transform 0.3s ease;
}

.custom-hover-dropdown:hover .dropdown-icon {
    transform: rotate(180deg);
}

/* Dropdown Item Styling */
.custom-hover-dropdown .dropdown-item {
    color: var(--text-dark);
    font-weight: 500;
    padding: 10px 20px;
    transition: all 0.3s ease;
    position: relative;
    background: transparent !important;
}

/* Dropdown Hover Effect */
.custom-hover-dropdown .dropdown-item:hover {
    color: var(--primary-yellow);
    padding-left: 25px;
    /* Slight right indent on hover */
}

.custom-hover-dropdown .dropdown-item:hover i {
    color: var(--primary-yellow) !important;
}

/* === Hero Parallax + Slider === */
.hero-parallax-slider {
    height: 100vh;
    min-height: 600px;
    position: relative;
}

.heroSwiper {
    width: 100%;
    height: 100%;
}

.hero-slide {
    /* Verticle Parallax Effect using background-attachment: fixed */
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    color: white;
    overflow: hidden;
    /* Important for horizontal parallax */
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    text-transform: capitalize;
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    max-width: 600px;
    margin-bottom: 40px;
    color: #ddd;
}

/* Swiper Navigation Customization */
.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 1.5rem;
    font-weight: bold;
}

.swiper-button-next,
.swiper-button-prev {
    background: rgba(255, 255, 255, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    backdrop-filter: blur(5px);
    transition: 0.3s;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--primary-yellow);
    color: #111 !important;
}

/* Rotating Badge positioning update */
.rotating-badge {
    position: absolute;
    right: 8%;
    bottom: 12%;
    width: 150px;
    height: 150px;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><path id="circle" fill="transparent" d="M 50, 50 m -40, 0 a 40,40 0 1,1 80,0 a 40,40 0 1,1 -80,0" /><text font-size="12" fill="%23ffc107" font-weight="bold" letter-spacing="2.5"><textPath href="%23circle">WORLDWIDE BEST EDUCATION RECOGNIZED</textPath></text></svg>');
    animation: rotate 15s linear infinite;
    z-index: 10;
    /* Keep it above the slider */
    pointer-events: none;
    /* So it doesn't block swiping */
}

/* Rotating Badge */
.rotating-badge {
    position: absolute;
    right: 10%;
    bottom: 15%;
    width: 150px;
    height: 150px;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><path id="circle" fill="transparent" d="M 50, 50 m -40, 0 a 40,40 0 1,1 80,0 a 40,40 0 1,1 -80,0" /><text font-size="12" fill="%23ffc107" font-weight="bold" letter-spacing="2.5"><textPath href="%23circle">WORLDWIDE BEST EDUCATION RECOGNIZED</textPath></text></svg>');
    animation: rotate 15s linear infinite;
}

@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

/* === Mobile / Tablet Responsive Fixes === */
/* === Mobile / Tablet Responsive Fixes === */
@media (max-width: 991.98px) {
    /* Navbar Mobile Fixes */
    .navbar {
        top: 0;
        padding: 12px 0;
        background: rgba(17, 17, 17, 0.98); /* Solid dark background for mobile */
    }

    .navbar-expand-lg .navbar-collapse {
        background: rgba(17, 17, 17, 0.98);
        border-radius: 15px;
        margin-top: 15px;
        padding: 15px 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        max-height: 75vh; /* Prevents long menus from breaking screen */
        overflow-y: auto; 
    }

    .navbar-expand-lg .navbar-nav .nav-link {
        padding: 12px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    /* Disable Parallax attachment on mobile for better performance/fit */
    .hero-slide {
        background-attachment: scroll; 
    }
}

/* === Strict Mobile Screen Fixes (Phones) === */
@media (max-width: 767.98px) {
    /* Adjust Slider Height */
    .hero-parallax-slider {
        min-height: 450px;
        height: 85vh; /* Better fit for mobile browser UI */
    }

    /* Typography Scaling */
    .hero-title {
        font-size: 2.2rem; /* Reduced from 3rem/4.5rem */
        margin-bottom: 15px;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 25px;
        max-width: 100%;
    }

    .handwriting {
        font-size: 1.4rem;
    }

    /* CTA Button sizing */
    .btn-yellow {
        padding: 10px 24px;
        font-size: 0.85rem;
    }

    /* Swiper Navigation Arrows sizing & positioning */
    .swiper-button-next,
    .swiper-button-prev {
        width: 25px;
        height: 25px;
        background: rgba(255, 193, 7, 0.518); /* Make them yellow on mobile for visibility */
        color: #111 !important;
    }

    .swiper-button-next::after,
    .swiper-button-prev::after {
        font-size: 1rem;
    }

    /* Protect text from overlapping with arrows */
    .hero-slide .container {
        padding-left: 45px;
        padding-right: 45px;
        text-align: center; /* Center align text on mobile looks better */
    }

    .hero-slide .row {
        justify-content: center;
    }
}

@media (max-width: 767.98px) {
    .navbar {
        padding: 12px 0;
    }

    .navbar-brand {
        font-size: 1.4rem;
    }

    .nav-link {
        font-size: 0.95rem;
        margin: 0 4px;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        max-width: 100%;
    }

    .hero-parallax-slider {
        min-height: 85vh;
    }

    .swiper-button-next,
    .swiper-button-prev {
        width: 40px;
        height: 40px;
        margin-top: 1rem; 
    }

    .about-images {
        position: static;
        height: auto;
    }

    .img-main,
    .img-sub {
        position: static;
        width: 100%;
        height: auto;
        border-radius: 20px;
    }

    .overlap-card {
        margin-top: 0;
        padding: 20px;
    }
}

/* === Academics Categories (Circles) === */
.category-section {
    padding: 80px 0;
    text-align: center;
    background: #fff;
}

.category-scroll-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 15px;
    margin-bottom: 30px;
    -webkit-overflow-scrolling: touch;
    /* REMOVED: scroll-behavior: smooth; (Yeh hatana zaroori hai) */
    position: relative;
    scrollbar-width: none;
    -ms-overflow-style: none;
    /* REMOVED: scroll-snap-type: x mandatory; (Yeh bhi hata dein) */
    cursor: grab; /* Mouse ke liye grab icon dega */
}

.category-scroll-wrapper:active {
    cursor: grabbing;
}

.category-row {
    display: flex;
    gap: 24px;
    padding: 10px 0;
    width: max-content;
}

.cat-item {
    flex: 0 0 auto;
    width: 180px;
    background: #ffffff;
    border-radius: 25px;
    padding: 24px 18px 18px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.06);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.cat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
}

.cat-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
    transition: all 0.4s ease;
}

.cat-item:hover .cat-circle {
    transform: translateY(-10px) scale(1.05);
    border-color: var(--primary-yellow);
}

.cat-item h6 {
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.category-scroll-wrapper {
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: x mandatory;
}

.category-scroll-wrapper::-webkit-scrollbar {
    display: none;
}

@media (max-width: 767.98px) {
    .cat-item {
        width: 160px;
        padding: 20px 16px 16px;
    }

    .category-section {
        padding: 60px 0;
    }

    .cat-circle {
        width: 100px;
        height: 100px;
    }
}

.cat-item:hover h6 {
    color: var(--primary-yellow);
}

/* === About Us (Overlapping Images) === */
.about-section {
    padding: 80px 0;
}

.about-images {
    position: relative;
    height: 500px;
}

.img-main {
    width: 75%;
    height: 80%;
    object-fit: cover;
    border-radius: 20px;
    position: absolute;
    top: 0;
    left: 0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    z-index: 1;
}

.img-sub {
    width: 50%;
    height: 50%;
    object-fit: cover;
    border-radius: 20px;
    border: 8px solid #f8f9fa;
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 2;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.5s;
}

.about-images:hover .img-sub {
    transform: scale(1.05) translate(-10px, -10px);
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: var(--primary-yellow);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #111;
    font-size: 1.5rem;
    z-index: 3;
    cursor: pointer;
    box-shadow: 0 0 0 10px rgba(255, 193, 7, 0.3);
    transition: 0.3s;
}

.play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 0 0 15px rgba(255, 193, 7, 0.4);
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--primary-yellow);
    margin-bottom: 10px;
}

/* === Admissions Parallax Section === */
.admission-parallax {
    background-image: linear-gradient(rgba(17, 17, 17, 0.8), rgba(17, 17, 17, 0.8)), url('https://images.unsplash.com/photo-1541339907198-e08756dedf3f?q=80&w=2070&auto=format&fit=crop');
    background-attachment: fixed;
    background-size: cover;
    padding: 120px 0;
    position: relative;
    margin-top: 100px;
}

.overlap-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    margin-top: -200px;
    /* Overlaps the section above */
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 10;
}

.overlap-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    min-height: 400px;
}

.form-control {
    background: #f4f4f4;
    border: none;
    padding: 15px;
    border-radius: 10px;
}

.form-control:focus {
    background: #fff;
    border: 1px solid var(--primary-yellow);
    box-shadow: none;
}

/* === Facilities (Dashed Cards) === */
.facilities-section {
    padding: 100px 0;
    background: #fff;
}

.facility-card {
    border: 2px dashed #e0e0e0;
    border-radius: 20px;
    padding: 40px 20px;
    text-align: center;
    transition: all 0.4s ease;
    background: #fff;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.facility-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: var(--primary-yellow);
    transition: 0.4s;
    z-index: 0;
    opacity: 0.05;
}

.facility-card:hover {
    border-color: var(--primary-yellow);
    transform: translateY(-10px);
}

.facility-card:hover::before {
    height: 100%;
}

.facility-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #f8f9fa;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    color: var(--primary-yellow);
    margin: 0 auto 20px;
    position: relative;
    z-index: 1;
    transition: 0.4s;
}

.facility-card:hover .facility-icon {
    background: var(--primary-yellow);
    color: #111;
}

.facility-card h4,
.facility-card p,
.facility-card a {
    position: relative;
    z-index: 1;
}

/* === Programs / Causes (Image Cards with Hover Parallax) === */
.programs-section {
    padding: 100px 0;
    background: var(--light-bg);
}

.prog-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.prog-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.prog-img-wrap {
    overflow: hidden;
    height: 250px;
    position: relative;
}

.prog-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.prog-card:hover .prog-img {
    transform: scale(1.1);
}

/* Image Parallax inside card */
.prog-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-yellow);
    color: #111;
    font-weight: 700;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    z-index: 2;
}

/* === Testimonials === */
.testimonial-section {
    padding: 100px 0;
    background: #fff;
}

.testi-card {
    background: var(--light-bg);
    padding: 40px;
    border-radius: 20px;
    position: relative;
}

.quote-icon {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 4rem;
    color: #e9ecef;
}

.testi-card .stars {
    color: var(--primary-yellow);
    margin-bottom: 15px;
}

/* === Footer === */
.footer {
    background: var(--darker-bg);
    color: #aaa;
    padding: 80px 0 30px;
}

.footer h4 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 25px;
}

.footer a {
    color: #aaa;
    text-decoration: none;
    transition: 0.3s;
    display: block;
    margin-bottom: 10px;
}

.footer a:hover {
    color: var(--primary-yellow);
    padding-left: 5px;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
}

.footer-logo span {
    color: var(--primary-yellow);
}

/* === Shared Responsive Layer For All Pages === */
@media (max-width: 991.98px) {

    html,
    html.lenis,
    html.lenis body {
        width: 100% !important;
        overflow-x: hidden !important;
    }

    body {
        width: 100% !important;
        cursor: auto !important;
    }

    a,
    button,
    input,
    textarea,
    select {
        cursor: auto !important;
    }

    .custom-cursor,
    .cursor-ring,
    .cursor-dot,
    .cursor-outline,
    .floating-shape,
    .rotating-badge {
        display: none !important;
    }

    .navbar {
        top: 0 !important;
        padding: 12px 0 !important;
        background: rgba(17, 17, 17, 0.98) !important;
        backdrop-filter: blur(10px);
    }

    .navbar>.container {
        align-items: center;
    }

    .navbar-collapse {
        max-height: calc(100vh - 78px);
        overflow-y: auto;
    }

    .navbar-expand-lg .navbar-collapse {
        border-radius: 14px !important;
        padding: 12px 16px !important;
    }

    .navbar-expand-lg .navbar-nav .nav-link {
        padding: 11px 0 !important;
    }

    .custom-hover-dropdown .dropdown-menu {
        position: static !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        transform: none !important;
        min-width: 0 !important;
        width: 100% !important;
        margin: 0 0 8px !important;
        padding: 4px 0 8px !important;
        background: rgba(255, 255, 255, 0.06) !important;
        box-shadow: none !important;
        border-radius: 12px !important;
    }

    .custom-hover-dropdown .dropdown-item {
        color: rgba(255, 255, 255, 0.82) !important;
        padding: 10px 16px !important;
        text-align: center;
        white-space: normal;
    }

    .custom-hover-dropdown .dropdown-item i {
        color: var(--primary-yellow) !important;
    }

    .page-hero,
    .hero-slide,
    .admission-parallax,
    .stats-parallax,
    .video-tour {
        background-attachment: scroll !important;
    }

    .page-hero {
        min-height: 320px !important;
        height: auto !important;
        padding: 120px 0 70px !important;
    }

    .page-title {
        font-size: 2.6rem !important;
        line-height: 1.08 !important;
    }

    .handwriting {
        font-size: 1.55rem !important;
    }

    .hero-title {
        font-size: 1.7rem !important;
    }

    .hero-parallax-slider {
        min-height: 88vh !important;
        height: 88vh !important;
    }

    .hero-slide {
        min-height: 88vh !important;
        padding: 110px 0 70px !important;
    }

    .history-section,
    .mv-section,
    .values-section,
    .principal-section,
    .stats-parallax,
    .gallery-section,
    .video-tour,
    .notice-section,
    .admission-intro,
    .criteria-section,
    .testimonial-section,
    .uniform-section,
    .policy-section,
    .contact-section,
    .facilities-section,
    .programs-section,
    .about-section {
        padding-top: 64px !important;
        padding-bottom: 64px !important;
    }

    .footer {
        padding-top: 56px !important;
    }

    .mv-card,
    .value-box,
    .policy-intro,
    .policy-card,
    .rule-card,
    .board-card,
    .testi-card,
    .intro-box,
    .search-card,
    .form-card,
    .info-card {
        padding: 24px !important;
        border-radius: 14px !important;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 14px !important;
    }

    .history-img-wrap {
        padding-bottom: 0 !important;
    }

    .img-back,
    .img-front {
        position: static !important;
        width: 100% !important;
        border-width: 0 !important;
        margin-top: 16px;
    }

    [data-js-parallax] {
        transform: none !important;
    }
}

@media (max-width: 575.98px) {
    .container {
        padding-left: 18px !important;
        padding-right: 18px !important;
    }

    .navbar-brand {
        font-size: 1.28rem !important;
    }

    .page-title {
        font-size: 2.15rem !important;
    }

    .hero-title {
        font-size: 1.90rem !important;
    }

    .hero-subtitle,
    .breadcrumb-custom {
        font-size: 0.98rem !important;
    }

    .btn-yellow,
    .btn-search,
    .btn-submit,
    .filter-btn {
        width: 50%;
        text-align: center;
    }

    .gallery-grid {
        grid-template-columns: 1fr !important;
    }

    .info-card {
        align-items: flex-start !important;
    }

    .info-icon {
        width: 54px !important;
        height: 54px !important;
        min-width: 54px !important;
        font-size: 1.35rem !important;
    }

    .stat-number {
        font-size: 2.3rem !important;
    }

    .stat-text {
        font-size: 0.86rem !important;
    }

    .map-container {
        height: 320px !important;
        border-width: 3px !important;
        border-radius: 14px !important;
    }
}