/* Hero Carousel / Slider Styling */
.hero-slider-img {
    height: 70vh;
    min-height: 420px;
    object-fit: cover;
}

.slider-image-overlay {
    position: relative;
}

.slider-image-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.45), rgba(128, 0, 0, 0.65));
}

.carousel-caption {
    top: 50%;
    transform: translateY(-50%);
    bottom: auto;
    z-index: 10;
}

.carousel-indicators [data-bs-target] {
    background-color: var(--gold-saffron);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
}

.max-w-700 {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .hero-slider-img {
        height: 50vh;
        min-height: 320px;
    }
    .carousel-caption h2 {
        font-size: 1.8rem !important;
    }
    .carousel-caption p {
        font-size: 0.95rem !important;
    }
}

.carousel-indicators [data-bs-target] {
    width: 10px !important;
    height: 10px !important;
    }
    
    /* Custom Image Logo Styling */
        .custom-logo {
            max-height: 85px;
            height: 85px;
            width: 230px;
            transition: transform 0.3s ease;
        }

        .custom-logo:hover {
            transform: scale(1.03);
        }

        @media (max-width: 575.98px) {
            .custom-logo {
                max-height: 42px; /* Mobile screens par logo compact height me adjust hoga */
            }
        }
        
        .py-5 {
    /* padding-top: 0rem !important; */
    padding-bottom: 0rem !important;
}
:root {
        --primary-maroon: #7A0000;
        --secondary-maroon: #4A0000;
        --accent-gold: #FF9933;
        --gold-saffron: #FF9933;
        --gold-glow: rgba(255, 153, 51, 0.2);
        --light-bg: #F8F9FA;
    }

    /* Welcome & Gallery CSS */
    .gallery-card {
        transition: transform 0.4s ease, box-shadow 0.4s ease;
        position: relative;
    }
    .gallery-card img {
        transition: transform 0.5s ease;
    }
    .gallery-card:hover img {
        transform: scale(1.08);
    }
    .gallery-card:hover {
        box-shadow: 0 12px 24px rgba(0,0,0,0.15) !important;
    }

    /* Section Typography & Badges */
    .section-badge {
        letter-spacing: 2px;
        font-size: 0.78rem;
        background: rgba(255, 153, 51, 0.15);
        color: #D97706 !important;
        padding: 6px 16px;
        border-radius: 50px;
        display: inline-block;
    }

    .gold-divider-center {
        width: 70px;
        height: 4px;
        background: linear-gradient(90deg, var(--accent-gold), var(--primary-maroon));
        margin: 12px auto 0 auto;
        border-radius: 10px;
    }

    /* Card Styling & Hovers */
    .card-custom-enhanced {
        border: 1px solid rgba(0, 0, 0, 0.06);
        border-radius: 20px;
        background: #ffffff;
        box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
        transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    }

    .card-custom-enhanced:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 35px -10px rgba(122, 0, 0, 0.15);
        border-color: rgba(255, 153, 51, 0.3);
    }

    /* Heritage Icon Cards */
    .heritage-icon-wrapper {
        width: 70px;
        height: 70px;
        border-radius: 20px;
        background: linear-gradient(135deg, rgba(255, 153, 51, 0.15) 0%, rgba(122, 0, 0, 0.05) 100%);
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 1.25rem;
        transition: all 0.4s ease;
    }

    .card-custom-enhanced:hover .heritage-icon-wrapper {
        background: linear-gradient(135deg, var(--primary-maroon) 0%, #a00000 100%);
        transform: scale(1.05) rotate(-3deg);
    }

    .card-custom-enhanced:hover .heritage-icon-wrapper i {
        color: #ffffff !important;
    }

    /* Swiper Slider Enhancements */
    .swiper-container-padding {
        padding: 10px 8px 45px 8px !important;
    }

    .swiper-pagination-bullet {
        background: #cbd5e1 !important;
        opacity: 1 !important;
        transition: all 0.3s ease;
    }

    .swiper-pagination-bullet-active {
        background: var(--primary-maroon) !important;
        width: 28px !important;
        border-radius: 8px !important;
    }

    /* Slider Arrows */
    .slider-nav-btn {
        width: 38px;
        height: 38px;
        border-radius: 50%;
        border: 1px solid #e2e8f0;
        background: #ffffff;
        color: var(--primary-maroon);
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .slider-nav-btn:hover {
        background: var(--primary-maroon);
        color: #ffffff;
        border-color: var(--primary-maroon);
    }

    /* Image Zoom Wrapper */
    .img-zoom-wrapper {
        overflow: hidden;
        border-top-left-radius: 20px;
        border-top-right-radius: 20px;
        position: relative;
    }

    .img-zoom-wrapper img {
        transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    }

    .card-custom-enhanced:hover .img-zoom-wrapper img {
        transform: scale(1.08);
    }

    /* Education Category Cards */
    .edu-card {
        transition: all 0.3s ease;
    }
    .edu-card:hover .edu-icon {
        transform: scale(1.15);
        color: var(--primary-maroon) !important;
    }
    .edu-icon {
        transition: transform 0.3s ease, color 0.3s ease;
    }

    /* Vision & Mission Highlight Styling */
    .vm-highlight-wrapper {
        background: linear-gradient(135deg, rgba(122, 0, 0, 0.03) 0%, rgba(255, 153, 51, 0.08) 100%);
        border-radius: 30px;
        position: relative;
    }

    .vm-card {
        background: #ffffff;
        border: 1px solid rgba(255, 153, 51, 0.25);
        border-radius: 24px;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
        transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        position: relative;
        overflow: hidden;
    }

    .vm-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 5px;
        background: linear-gradient(90deg, #FF9933, #7A0000);
    }

    .vm-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 25px 45px rgba(122, 0, 0, 0.12);
        border-color: #FF9933;
    }

    .vm-icon-box {
        width: 65px;
        height: 65px;
        border-radius: 18px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 1.25rem;
        font-size: 1.75rem;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    }

    .vm-vision-icon {
        background: linear-gradient(135deg, #FFF3E0 0%, #FFE0B2 100%);
        color: #E65100;
    }

    .vm-mission-icon {
        background: linear-gradient(135deg, #FFEBEE 0%, #FFCDD2 100%);
        color: #B71C1C;
    }

    .vm-badge {
        letter-spacing: 2px;
        font-size: 0.8rem;
        background: rgba(122, 0, 0, 0.08);
        color: #7A0000;
        padding: 6px 18px;
        border-radius: 50px;
        border: 1px solid rgba(122, 0, 0, 0.15);
    }

    .gold-glow-title {
        position: relative;
        display: inline-block;
    }

    .gold-glow-title::after {
        content: '';
        position: absolute;
        bottom: -8px;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 4px;
        background: linear-gradient(90deg, #FF9933, #7A0000);
        border-radius: 10px;
    }