        :root {
            /* Refined Color Palette */
            --primary-color: #0e7e50;
            --primary-dark: #0a5c3b;
            --secondary-color: #f8ed22;
            --secondary-hover: #e6db15;
            --text-dark: #2c3e50;
            --text-light: #6c757d;
            --light-bg: #f8f9fa;
            --gradient-primary: linear-gradient(135deg, #0e7e50 0%, #0a5c3b 100%);
        }

        body {
            font-family: 'Poppins', sans-serif;
            overflow-x: hidden;
            color: var(--text-dark);
        }
        #admissionModal .modal-dialog { max-width: 800px; }
        .z-3 { z-index: 1050; }

        /* --- Utility Classes --- */
        .text-primary-custom { color: var(--primary-color) !important; }
        .bg-primary-custom { background: var(--gradient-primary) !important; }
        .fw-bold-custom { font-weight: 700; }

        /* --- Custom Buttons with Glow --- */
        .btn-primary-custom {
            background: var(--gradient-primary);
            color: white;
            border: none;
            padding: 10px 28px;
            font-weight: 500;
            border-radius: 50px; /* Pill shape */
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(14, 126, 80, 0.3);
        }

        .btn-primary-custom:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(14, 126, 80, 0.4);
            color: white;
        }

        .btn-light-custom {
            background-color: var(--light-bg);
            color: var(--primary-color);
            font-weight: 500;
            border: none;
            border-radius: 50px;
            padding: 10px 28px;
            transition: all 0.3s ease;
        }
        .btn-light-custom:hover {
            background-color: var(--primary-color);
            transform: translateY(-1px);
            color: white !important;
        }

        .btn-secondary-custom {
            background-color: var(--secondary-color);
            color: var(--primary-dark);
            font-weight: 600;
            border: none;
            border-radius: 5px;
            padding: 8px 20px;
            transition: all 0.3s;
        }
        
        .btn-secondary-custom:hover {
            background-color: var(--secondary-hover);
            transform: translateY(-1px);
        }
        li::marker {
          color: var(--secondary-color-hover);
        }
        /* .text-primary{
            color:var(--primary-color) !important;
        } */
        .web-table.table{
            --bs-table-bg: var(--light-bg);
            --bs-table-striped-color: var(--primary-color);
            --bs-table-striped-bg: var(--secondary-color);
            --bs-table-hover-bg: #f1f1f1;
            --bs-table-hover-color: var(--primary-color);
            --bs-table-border-color: var(--primary-color);
        }
        .web-table .table-primary{
            --bs-table-bg: var(--primary-color);
            --bs-table-color: var(--light-bg);
        }
        /* --- Top Bar --- */
        .top-bar {
            background-color: #fff;
            padding: 8px 0;
            border-bottom: 1px solid rgba(0,0,0,0.05);
            font-size: 0.9rem;
        }
        .top-bar img {
            height: 3.25rem;
            object-fit: contain;
            transition: transform 0.3s;
        }
        .top-bar img:hover { transform: scale(1.05); }

 /* --- Rebuilt Navbar CSS --- */
.navbar {
    background-color: white; /* Solid white by default */
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    padding: 10px 0;
}

/* Offcanvas (Mobile Menu) Styling */
.offcanvas {
    background-color: #fff !important; /* Force solid white background */
    width: 280px !important; /* Fixed width for sidebar feel */
    z-index: 1055 !important; /* Higher than sticky navbar (1020) */
}

/* Backdrop (Dark overlay behind menu) */
.offcanvas-backdrop {
    z-index: 1050 !important;
}

.offcanvas-header {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 1.5rem;
}

.offcanvas-title {
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Close button filter to make it white on green background */
.btn-close-white {
    filter: invert(1) grayscale(100%) brightness(200%);
}

/* Navigation Links */
.nav-link {
    color: var(--text-dark);
    font-weight: 500;
    padding: 10px 15px !important;
    transition: color 0.3s;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color);
}

.dropdown-item {
    padding: 12px 20px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.9rem;
    color: var(--text-dark);
    transition: all 0.2s;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    color: var(--primary-color);
    padding-left: 25px; /* Slight slide effect */
}

        /* --- Hero Section Updates --- */
.hero-section {
    width: 100%;
    height: 85vh;
    position: relative; /* Container is relative */
    overflow: hidden;
}

/* The Slider (Background Images Only) */
.hero-swiper {
    width: 100%;
    height: 100%;
    position: absolute; /* Sits behind content */
    top: 0;
    left: 0;
    z-index: 1; 
}

.hero-slide {
    background-size: cover;
    background-position: center;
}

/* The Dark Overlay on Images */
.hero-slide::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.25); /* Darkens image so static text pops */
}

/* The Static Content (Text & Buttons) */
.hero-static-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10; /* Sits on top of slider */
    display: flex;
    align-items: center;
    pointer-events: none; /* Allows clicking through empty space if needed */
}

.hero-content-static {
    pointer-events: auto; /* Re-enable clicks for buttons */
    color: white;
    max-width: 800px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 35px;
    font-weight: 300;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
}
/* --- News Ticker --- */
.news-ticker-container {
    background: #111;
    color: white;
    overflow: hidden;
    display: flex;
    align-items: center;
    height: 45px;
}
.ticker-label {
    background: var(--secondary-color);
    color: black;
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    z-index: 10;
    position: relative;
    clip-path: polygon(0 0, 100% 0, 90% 100%, 0% 100%); /* Adds a slant effect */
    padding-right: 30px;
}
.ticker-content {
    flex-grow: 1;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}
.ticker-move {
    display: inline-block;
    padding-left: 100%;
    animation: ticker 25s linear infinite;
}
.ticker-item {
    display: inline-block;
    padding: 0 50px;
    font-size: 0.9rem;
}
.ticker-item i {
    color: var(--secondary-color);
    margin-right: 10px;
}
/* Pause on hover */
.ticker-content:hover .ticker-move {
    animation-play-state: paused;
}
@keyframes ticker {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-100%, 0, 0); }
}

        /* --- Feature Cards (Shortcuts) --- */
        .shortcut-section {
            margin-top: -80px; /* Overlap hero */
            position: relative;
            z-index: 10;
            padding-bottom: 60px;
        }
        .shortcut-card {
            background: white;
            padding: 30px 20px;
            border-radius: 12px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.08);
            text-align: center;
            transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
            border-bottom: 4px solid var(--secondary-color);
            height: 100%;
        }
        .shortcut-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(0,0,0,0.12);
            border-bottom-color: var(--primary-color);
        }
        .shortcut-icon-wrapper {
            width: 70px;
            height: 70px;
            background: rgba(14, 126, 80, 0.1);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 20px;
            transition: all 0.3s;
        }
        .shortcut-card:hover .shortcut-icon-wrapper {
            background: var(--primary-color);
        }
        .shortcut-icon {
            font-size: 2rem;
            color: var(--primary-color);
            transition: all 0.3s;
        }
        .shortcut-card:hover .shortcut-icon {
            color: white;
        }

        /* --- Stats Section (Counter) --- */
        .stats-section {
            background: var(--primary-color);
            padding: 60px 0;
            color: white;
            background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='3'/%3E%3Ccircle cx='13' cy='13' r='3'/%3E%3C/g%3E%3C/svg%3E");
        }
        .stat-item h2 { font-size: 3rem; font-weight: 700; margin-bottom: 0; color: var(--secondary-color); }
        .stat-item p { font-size: 1.1rem; opacity: 0.9; }

        /* --- Testimonials --- */
        .testimonial-card {
            background: #fff;
            padding: 40px 30px;
            border-radius: 20px;
            box-shadow: 0 15px 35px rgba(0,0,0,0.05);
            text-align: center;
            margin: 20px;
            position: relative;
            border: 1px solid #f0f0f0;
        }
        .testimonial-img {
            width: 90px;
            height: 90px;
            border-radius: 50%;
            object-fit: cover;
            border: 4px solid #fff;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            margin: -85px auto 20px; /* Pull image up */
        }
        .quote-icon {
            color: rgba(14, 126, 80, 0.1);
            font-size: 4rem;
            position: absolute;
            top: 20px;
            left: 20px;
        }
/* --- Gallery Section --- */
.folder-box {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    height: 200px; /* Fixed height for uniformity */
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.folder-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.folder-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(14, 126, 80, 0.85); /* Adjust theme color here */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.folder-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.folder-overlay h5, .folder-overlay small {
    margin: 0;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.folder-overlay small {
    margin-top: 5px;
    font-size: 0.85rem;
    opacity: 0.8;
}

/* Hover Effects */
.folder-box:hover .folder-thumb {
    transform: scale(1.1);
}

.folder-box:hover .folder-overlay {
    opacity: 1;
}

.folder-box:hover .folder-icon,
.folder-box:hover .folder-overlay h5,
.folder-box:hover .folder-overlay small {
    transform: translateY(0);
}
        /* --- Footer --- */
        footer {
            background-color: #151515;
            color: #bbb;
            padding-top: 80px;
        }
        .footer-widget h5 {
            color: white;
            margin-bottom: 25px;
            position: relative;
            padding-bottom: 10px;
        }
        .footer-widget h5::after {
            content: '';
            position: absolute;
            left: 0; bottom: 0;
            width: 40px;
            height: 2px;
            background: var(--secondary-color);
        }
        .footer-links a {
            display: block;
            color: #bbb;
            text-decoration: none;
            margin-bottom: 12px;
            transition: 0.3s;
        }
        .footer-links a:hover {
            color: var(--secondary-color);
            padding-left: 5px;
        }
        
/* --- Back to Top Button --- */
.fab-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    opacity: 0; /* Hidden by default */
    visibility: hidden;
    transition: all 0.3s ease-in-out;
}

.fab-container.show {
    opacity: 1;
    visibility: visible;
}

.fab-btn {
    width: 50px;
    height: 50px;
    background: var(--primary-color); /* Green background */
    color: white; /* White arrow */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    font-size: 1.5rem;
    text-decoration: none;
    transition: transform 0.3s;
}

.fab-btn:hover {
    transform: translateY(-5px);
    color: white;
    background: var(--primary-dark);
}
/* Page Styles */
.page-header {
background: linear-gradient(rgba(14, 126, 80, 0.75), rgba(10, 92, 59, 0.50)), 
                url('https://dpsbarmer.com/images/breadcrumb.webp');
    background-size: cover;
    background-position: center;
    padding: 100px 0 60px;
    color: white;
    position: relative;
}

/* Breadcrumb Links */
.breadcrumb-item + .breadcrumb-item::before {
    color: var(--secondary-color);
}
.breadcrumb-link {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: 0.3s;
}
.breadcrumb-link:hover {
    color: var(--secondary-color);
}
.breadcrumb-item.active{
    color: var(--secondary-color);
    font-weight: 600;
}
.page-img-main {
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border: 5px solid white;
}
/* --- Form Styling --- */
.registration-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    border-top: 5px solid var(--primary-color);
    padding: 40px;
}
.form-label {
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}
.form-control, .form-select {
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    background-color: #f8f9fa;
}
.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(14, 126, 80, 0.1);
    background-color: white;
}
.required-star { color: red; }

.btn-submit {
    background-color: var(--primary-color);
    color: white;
    padding: 12px 40px;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    transition: all 0.3s;
}
.btn-submit:hover {
    background-color: #0a5c3b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(14, 126, 80, 0.3);
}
/* --- Info Cards --- */
        .contact-info-card {
            background: white;
            padding: 30px;
            border-radius: 12px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.05);
            height: 100%;
            transition: transform 0.3s;
            border-bottom: 4px solid var(--secondary-color);
            text-align: center;
        }
        .contact-info-card:hover {
            transform: translateY(-5px);
            border-bottom-color: var(--primary-color);
        }
        .icon-circle {
            width: 70px;
            height: 70px;
            background: rgba(14, 126, 80, 0.1);
            color: var(--primary-color);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.8rem;
            margin: 0 auto 20px;
            transition: 0.3s;
        }
        .contact-info-card:hover .icon-circle {
            background: var(--primary-color);
            color: white;
        }

        /* --- Contact Form --- */
        .contact-page .form-section {
            background: white;
            padding: 40px;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.05);
        }
        .contact-page .form-control {
            padding: 12px 15px;
            border-radius: 8px;
            border: 1px solid #ddd;
            background-color: #f8f9fa;
        }
        .contact-page .form-control:focus {
            border-color: var(--primary-color);
            background-color: white;
            box-shadow: 0 0 0 4px rgba(14, 126, 80, 0.1);
        }
        .btn-send {
            background: var(--primary-color);
            color: white;
            border: none;
            padding: 12px 30px;
            border-radius: 50px;
            font-weight: 600;
            transition: 0.3s;
            width: 100%;
        }
        .btn-send:hover {
            background: #0a5c3b;
            transform: translateY(-2px);
        }

        /* --- Map --- */
        .map-container {
            height: 100%;
            min-height: 450px;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0,0,0,0.05);
            border: 5px solid white;
        }
        /* --- Faq Page Styling --- */
        .accordion-item {
            border: none;
            margin-bottom: 15px;
            border-radius: 10px !important;
            overflow: hidden;
            box-shadow: 0 4px 15px rgba(0,0,0,0.03);
            border: 1px solid var(--primary-color);
        }
        
        .accordion-button {
            font-weight: 600;
            color: var(--text-dark);
            background-color: white;
            padding: 20px 25px;
            font-size: 1.05rem;
            transition: all 0.3s;
        }

        /* Active State */
        .accordion-button:not(.collapsed) {
            color: var(--primary-color);
            background-color: rgba(14, 126, 80, 0.05);
            box-shadow: inset 0 -1px 0 rgba(0,0,0,.125);
        }

        /* Focus State (Remove Blue Ring) */
        .accordion-button:focus {
            border-color: rgba(14, 126, 80, 0.1);
            box-shadow: none; 
        }

        /* Icon Styling */
        .accordion-button::after {
            background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230e7e50'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
            transition: transform 0.3s ease-in-out;
        }
        
        .accordion-body {
            color: #555;
            line-height: 1.7;
            padding: 20px 25px;
            border-top: 1px solid #eee;
            background-color: #fff;
        }
        /* Activity Card */
            .activity-card {
                transition: transform 0.3s ease, box-shadow 0.3s ease;
            }
            .activity-card:hover {
                transform: translateY(-5px);
                box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
            }
            .img-hover-zoom img {
                transition: transform 0.5s ease;
            }
            .activity-card:hover .img-hover-zoom img {
                transform: scale(1.1);
            }
            .activitySwiper .swiper-slide img {
                width: 100%;
                height: 75vh; /* Adjust as needed */
                object-fit: cover;
            }
            .activitySwiper .swiper-button-next,
            .activitySwiper .swiper-button-prev {
                color: var(--primary-color);
            }
            .activitySwiper .swiper-pagination-bullet-active {
                background: var(--primary-color);
            }
            /* Media Page */
                .media-card { transition: all 0.3s ease; }
                .media-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.1) !important; }
                .transition-img { transition: transform 0.5s ease; }
                .media-card:hover .transition-img { transform: scale(1.05); }
                .hover-success:hover { color: var(--primary-color) !important; }
                .hover-bg-light:hover { background-color: #f8f9fa !important; }
                .transition-all { transition: background-color 0.2s; }
            /* News Page */
                .news-card { transition: transform 0.3s, box-shadow 0.3s; }
                .news-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important; }
                .img-zoom-container img { transition: transform 0.5s ease; }
                .news-card:hover .img-zoom-container img { transform: scale(1.1); }
                .hover-success:hover { color: var(--primary-color) !important; }
        @keyframes pulse {
            0% { box-shadow: 0 0 0 0 rgba(248, 237, 34, 0.7); }
            70% { box-shadow: 0 0 0 15px rgba(248, 237, 34, 0); }
            100% { box-shadow: 0 0 0 0 rgba(248, 237, 34, 0); }
        }

        @media (max-width: 1200px) {
            .top-bar img {
                height: 2.20rem;
                object-fit: contain;
                transition: transform 0.3s;
            }
        }

        /* Show dropdown on hover for Desktop */
@media (min-width: 992px) {
    .nav-item.dropdown:hover .dropdown-menu {
        display: block;
        animation: fadeIn 0.3s ease;
    }
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
        /* Mobile Adjustments */
@media (max-width: 991px) {
    .navbar-collapse {
        /* Reset for offcanvas usage */
        flex-basis: auto; 
    }
    
    /* Add spacing between links in mobile view */
    .nav-item {
        border-bottom: 1px solid #f0f0f0;
    }
    .nav-link {
        padding: 15px 0 !important;
    }
}
        @media (max-width: 768px) {
            .hero-section { height: 65vh; }
            .activitySwiper .swiper-slide img {
                height: 45vh; /* Adjust as needed */
            }
             .hero-title { font-size: 2.2rem; }
            .shortcut-section { margin-top: 0; padding-top: 40px; }
            .top-bar { display: none; } /* Optional: Hide top bar on mobile for cleaner look */
        }