        :root { 
            --primary-blue: #1b365d; 
            --accent-orange: #f26522; 
            --school-red: #a82c2c; 
            --light-bg: #f8f9fa; 
        }
        
        body { 
            background-color: var(--light-bg); 
            font-family: 'Poppins', sans-serif; 
        }
        
        html, body {
            max-width: 100vw;
            overflow-x: hidden; 
        }
       
        
        /* Top Header */
        .top-header { background: #fff; padding: 10px 0; border-bottom: 2px solid var(--primary-blue); }
        .school-title { color: var(--school-red); font-weight: 700; text-transform: uppercase; font-size: 1.8rem; margin: 0; letter-spacing: 1px;}
        
       /* Nav Menu - Updated Active State */
        .nav-main { background: var(--primary-blue); border-bottom: 4px solid var(--accent-orange); }
        
        .nav-link { 
            color: #fff !important; 
            font-weight: 500; 
            text-transform: uppercase; 
            padding: 12px 20px !important; 
            font-size: 13px; 
            letter-spacing: 0.5px; 
            transition: 0.3s; 
            border-bottom: 3px solid transparent; 
        }

        .nav-link:hover, 
        .nav-link.active { 
            background: rgba(255,255,255,0.1); 
            color: var(--accent-orange) !important; 
            font-weight: 800 !important;
            letter-spacing: 1px; 
            border-bottom: 3px solid var(--accent-orange); 
        }
        
        

        /* Responsive Fixes */
        @media (max-width: 768px) {
            .top-header { padding: 5px 0; }
            .school-logo-img { height: 70px !important; } 
            .mobile-hide-text { display: none !important; } 
            .navbar-brand-mobile { display: block !important; color: #fff; font-weight: 700; }
        }

        @media (min-width: 769px) {
            .navbar-brand-mobile { display: none !important; }
        }
        
        
        

    /* =========================================
       PREMIUM WEBSITE FOOTER
       ========================================= */
    .main-footer {
        background: #0f172a; /* Dark Navy Blue */
        color: #e2e8f0;
        padding: 60px 0 30px;
        border-top: 5px solid var(--accent-orange);
    }

    .footer-logo-section img {
        background: #fff;
        padding: 5px;
        border: 2px solid var(--accent-orange);
        transition: 0.3s;
    }

    .footer-heading {
        color: #fff;
        font-weight: 700;
        margin-bottom: 25px;
        position: relative;
        padding-bottom: 10px;
    }

    .footer-heading::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: 0;
        width: 40px;
        height: 3px;
        background: var(--accent-orange);
    }

    .footer-links {
        list-style: none;
        padding: 0;
    }

    .footer-links li {
        margin-bottom: 12px;
    }

    .footer-links a {
        color: #cbd5e1;
        text-decoration: none;
        transition: 0.3s;
        font-size: 0.95rem;
        display: flex;
        align-items: center;
    }

    .footer-links a i {
        font-size: 12px;
        margin-right: 10px;
        color: var(--accent-orange);
    }

    .footer-links a:hover {
        color: #fff;
        padding-left: 8px;
    }

    .contact-info-list {
        list-style: none;
        padding: 0;
    }

    .contact-info-list li {
        display: flex;
        gap: 15px;
        margin-bottom: 15px;
        color: #cbd5e1;
    }

    .contact-info-list i {
        color: var(--accent-orange);
        margin-top: 5px;
    }

    .footer-bottom {
        background: #0b1120;
        padding: 25px 0;
        border-top: 1px solid rgba(255,255,255,0.05);
    }

    .social-circle {
        width: 40px;
        height: 40px;
        background: rgba(255,255,255,0.05);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        color: #fff;
        text-decoration: none;
        margin: 0 8px;
        transition: 0.3s;
        border: 1px solid rgba(255,255,255,0.1);
    }

    .social-circle:hover {
        background: var(--accent-orange);
        color: #fff;
        transform: translateY(-5px);
    }

    .copyright-text {
        font-size: 0.9rem;
        color: #94a3b8;
    }
    
    
    
    

    /* =========================================
       TOP SECTION (CLEAN & BALANCED)
       ========================================= */
    .widget-card {
        background: #fff;
        border: 1px solid var(--border-color);
        border-radius: 8px;
        height: 450px; /* Height increased for better visual impact */
        display: flex;
        flex-direction: column;
        overflow: hidden;
        box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    }

    .widget-header {
        background: var(--primary-blue);
        color: #fff;
        padding: 12px 15px;
        font-weight: 700;
        font-size: 13px;
        text-transform: uppercase;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .scroll-area { flex: 1; overflow-y: auto; padding: 5px; }
    
    /* News Items Styling */
    .news-box { 
        border-bottom: 1px solid #f1f5f9; 
        padding: 15px 10px; 
        display: block; 
        text-decoration: none !important; 
        transition: 0.2s;
    }
    .news-box:hover { background: #f0f7ff; }
    .news-box .title { font-size: 13.5px; font-weight: 700; color: var(--primary-blue); line-height: 1.4; display: block; }
    .news-box .date { font-size: 11px; color: #94a3b8; margin-top: 5px; display: block; }

    /* Event Items Styling */
    .event-row { 
        display: flex; 
        padding: 15px 10px; 
        border-bottom: 1px solid #f1f5f9; 
        text-decoration: none !important; 
        align-items: center;
    }
    .event-row:hover { background: #fff5f0; }
    .ev-date-box { 
        background: #fff; 
        min-width: 55px; 
        height: 55px; 
        border-radius: 6px; 
        display: flex; 
        flex-direction: column; 
        align-items: center; 
        justify-content: center; 
        margin-right: 12px; 
        border: 1px solid var(--border-color);
        box-shadow: 0 2px 4px rgba(0,0,0,0.03);
    }
    .ev-date-box .d { font-size: 18px; font-weight: 800; color: var(--primary-blue); line-height: 1; }
    .ev-date-box .m { font-size: 10px; font-weight: 700; text-transform: uppercase; color: var(--accent-orange); }
    .ev-info .t { font-size: 16px; font-weight: 700; color: #334155; margin: 0; line-height: 1.3; }
    .ev-info .l { font-size: 13px; color: #64748b; margin-top: 2px; display: block; }

    /* Center Slider - Making it "Big" as requested */
    .hero-slider { height: 450px; border-radius: 8px; overflow: hidden; border: 1px solid var(--border-color); }
    .hero-slider img { height: 500px; object-fit: cover; width: 100%; transition: 0.3s; }

    /* =========================================
       BOARD MEMBERS (IMAGE MATCHED)
       ========================================= */
    .section-head { 
        border-bottom: 2px solid #e2e8f0; 
        margin: 50px 0 25px; 
        padding-bottom: 10px; 
        display: flex; 
        justify-content: space-between; 
        align-items: center; 
    }
    .section-head h4 { 
        margin: 0; 
        font-weight: 800; 
        color: var(--primary-blue); 
        font-size: 1.3rem;
        position: relative;
    }
    .section-head h4::after {
        content: ""; position: absolute; bottom: -12px; left: 0; width: 60px; height: 3px; background: var(--accent-orange);
    }
    
    .member-track { display: flex; overflow-x: auto; scroll-behavior: smooth; gap: 20px; padding: 15px 5px; scrollbar-width: none; }
    .member-track::-webkit-scrollbar { display: none; }
    .member-item { 
        flex: 0 0 calc(20% - 16px); 
        min-width: 230px; 
        text-align: center; 
        background: #fff; 
        padding: 25px 15px; 
        border-radius: 12px; 
        border: 1px solid #edf2f7; 
        box-shadow: 0 4px 6px rgba(0,0,0,0.02);
        transition: 0.3s; 
    }
    .member-item:hover { transform: translateY(-8px); box-shadow: 0 12px 20px rgba(0,0,0,0.08); border-color: var(--accent-orange); }
    .member-img { 
        width: 130px; 
        height: 130px; 
        border-radius: 50%; 
        object-fit: cover; 
        margin-bottom: 15px; 
        border: 5px solid #f8fafc;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }

    /* Memory Gallery */
    .album-card { position: relative; height: 200px; border-radius: 12px; overflow: hidden; display: block; margin-bottom: 25px; box-shadow: 0 4px 8px rgba(0,0,0,0.1); }
    .album-card img { width: 100%; height: 100%; object-fit: cover; transition: 0.6s; }
    .album-overlay { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(0,0,0,0.85)); padding: 25px 15px 15px; color: #fff; }

    @media (max-width: 991px) {
        .widget-card, .hero-slider, .hero-slider img { height: 400px; }
        .member-item { flex: 0 0 75%; }
    }
    
    
    
    

    .president-section {
        background: linear-gradient(135deg, var(--primary-blue) 0%, #0a1930 100%);
        padding: 70px 0;
        position: relative;
        overflow: hidden;
        border-top: 4px solid var(--accent-orange);
        border-bottom: 4px solid var(--accent-orange);
        margin: 50px 0;
    }
    
    /* Background decorative element */
    .president-section::before {
        content: '\f10d'; /* Quote icon */
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        position: absolute;
        top: -20px;
        right: 5%;
        font-size: 250px;
        color: rgba(255, 255, 255, 0.03);
        z-index: 0;
    }

    .president-content-wrapper {
        position: relative;
        z-index: 2;
    }

    /* Image Styling */
    .president-img-box {
        position: relative;
        width: 100%;
        max-width: 380px;
        margin: 0 auto;
    }
    
    /* Decorative frame behind image */
    .president-img-box::after {
        content: '';
        position: absolute;
        top: 20px;
        left: -20px;
        width: 100%;
        height: 100%;
        border: 3px solid var(--accent-orange);
        border-radius: 10px;
        z-index: 0;
    }

    .president-img-box img {
        width: 100%;
        aspect-ratio: 4 / 5; /* Perfect portrait ratio */
        object-fit: cover;
        object-position: top; /* Focus on face */
        border-radius: 10px;
        box-shadow: 0 15px 35px rgba(0,0,0,0.4);
        position: relative;
        z-index: 1;
        border: 4px solid #fff;
    }

    /* Content Styling */
    .president-text-box {
        color: #fff;
        padding-left: 30px;
    }
    
    .president-text-box h2 {
        font-size: 2rem;
        font-weight: 800;
        color: #fff;
        margin-bottom: 20px;
        text-transform: uppercase;
        letter-spacing: 1px;
    }
    
    .president-text-box h2 span {
        color: var(--accent-orange);
    }

    .quote-icon {
        color: var(--accent-orange);
        font-size: 24px;
        margin-right: 10px;
        vertical-align: top;
    }

    .president-msg {
        font-size: 1.1rem;
        line-height: 1.8;
        color: #d1d5db; /* Light grey for good readability on dark bg */
        margin-bottom: 20px;
        font-style: italic;
    }

    .president-signature {
        margin-top: 30px;
        border-top: 1px solid rgba(255,255,255,0.1);
        padding-top: 20px;
    }
    
    .president-name {
        font-size: 1.4rem;
        font-weight: 700;
        color: #fff;
        margin-bottom: 2px;
        letter-spacing: 0.5px;
    }
    
    .president-desig {
        font-size: 1rem;
        color: var(--accent-orange);
        font-weight: 600;
        margin-bottom: 5px;
    }

    .president-batch {
        font-size: 0.9rem;
        color: #9ca3af;
        font-weight: 500;
    }

    /* Mobile Responsiveness */
    @media (max-width: 768px) {
        .president-text-box { padding-left: 0; text-align: center; margin-top: 40px; }
        .president-img-box { max-width: 300px; }
        .president-img-box::after { left: 10px; top: 15px; width: calc(100% - 20px); }
        .president-text-box h2 { font-size: 1.6rem; }
        .president-msg { font-size: 1rem; }
    }
    
    
    
    /* Section Header Flex Layout */
    .section-head {
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
        margin-bottom: 25px;
        flex-wrap: nowrap;
        border-bottom: 2px solid #eaeaea;
        padding-bottom: 10px;
    }
    
    .section-head h4 {
        margin-bottom: 0;
        white-space: nowrap;
        font-weight: 800;
        color: var(--primary-blue);
        position: relative;
    }
    /* Orange bottom border just for the title text */
    .section-head h4::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: -12px;
        width: 100%;
        height: 3px;
        background-color: var(--accent-orange);
    }

    .all-members-link {
        font-size: 14px;
        font-weight: 600;
        color: var(--primary-blue);
        text-decoration: none;
        margin-right: 15px;
        transition: 0.3s;
        white-space: nowrap;
    }
    .all-members-link:hover { color: var(--accent-orange); }

    .nav-controls {
        display: flex;
        align-items: center;
        flex-shrink: 0;
    }
    
    /* Navigation Buttons */
    .nav-btn-circle {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        border: 1px solid var(--primary-blue);
        background: transparent;
        color: var(--primary-blue);
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: 0.3s;
        margin-left: 8px;
    }
    .nav-btn-circle:hover {
        background: var(--primary-blue);
        color: white;
    }

    /* =========================================
       TRACK LAYOUT WITH SCROLL SNAP (FIX FOR MOBILE)
       ========================================= */
    .member-track {
        display: flex;
        overflow-x: auto;
        scroll-behavior: smooth;
        gap: 20px;
        padding: 10px 5px 20px 5px; 
        scrollbar-width: none; 
        
        /* Important for mobile snapping */
        scroll-snap-type: x mandatory;
    }
    .member-track::-webkit-scrollbar {
        display: none; 
    }

    /* Individual Card Layout (4 at a time) */
    .member-item {
        flex: 0 0 calc(25% - 15px); /* Exactly 4 cards on desktop */
        background: #fff;
        border: 1px solid #f0f0f0;
        border-radius: 10px;
        text-align: center;
        padding: 20px 15px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.03);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        display: flex;
        flex-direction: column;
        
        /* Snap alignment to center */
        scroll-snap-align: center;
    }
    .member-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    }

    /* =========================================
       IMAGE WRAPPER
       ========================================= */
    .member-img-wrapper {
        width: 100%; 
        height: 200px; 
        margin: 0 auto 15px auto;
        background: transparent; 
        border: none; 
        padding: 0; 
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .member-img-wrapper img {
        width: auto;
        height: 100%;
        max-width: 100%;
        object-fit: contain; 
        border-radius: 6px; 
    }

    /* Text Typography */
    .member-item .name {
        font-size: 16px;
        color: #222;
        margin-bottom: 2px;
    }
    .member-item .desig {
        font-size: 13px;
        font-weight: 600;
        color: var(--accent-orange);
        margin-bottom: 15px;
    }
    .member-item .batch-info {
        font-size: 12px;
        color: #777;
        border-top: 1px solid #eee;
        padding-top: 12px;
        margin-top: auto; 
    }

    /* =========================================
       MOBILE RESPONSIVE FIXES
       ========================================= */
    @media (max-width: 992px) {
        .member-item { flex: 0 0 calc(33.333% - 14px); } 
        .member-img-wrapper { height: 180px; }
    }
    @media (max-width: 768px) {
        /* Tablet Portrait - Show 2.5 cards so it implies scrolling */
        .member-item { flex: 0 0 calc(45% - 10px); } 
    }
    @media (max-width: 576px) {
        .section-head h4 { font-size: 16px; }
        .section-head h4::after { bottom: -11px; height: 2px;}
        .all-members-link { font-size: 12px; margin-right: 8px; }
        .nav-btn-circle { width: 28px; height: 28px; font-size: 10px; }
        
        /* FIX: Made width 85% instead of 100%. 
           This centers the main card and shows a hint of the next card */
        .member-item { flex: 0 0 calc(85% - 10px); } 
        
        /* Add some left padding to the track so the first item isn't touching the edge */
        .member-track { padding-left: 15px; padding-right: 15px; }
        
        .member-img-wrapper { height: 220px; }
    }




    