/* =========================================
   1. GLOBAL VARIABLES & RESET
   ========================================= */
     :root {
    --primary-blue: #0a3d62;
    --accent-gold: #f39c12;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --text-dark: #2d3436;
    }

* { margin: 0; padding: 0; box-sizing: border-box; }

body { 
    font-family: 'Poppins', sans-serif; 
    color: var(--text-dark); 
    background: var(--bg-light); 
    overflow-x: hidden; 
}

/* =========================================
   2. TOP HEADER (Association Name Section)
   ========================================= */
.top-header {
    background: var(--white);
    text-align: center;
    padding: 10px 6% 8px; /* गॅप कमी केला (Top: 10px, Bottom: 8px) */
    line-height: 1.3;
    border-bottom: 1px solid #eaeaea;
}

.top-header .nav-title-main {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 4px;
}

.top-header .nav-title-line {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 2px;
}

.top-header .nav-title-line:last-child {
    font-size: 0.85rem;
    font-weight: 500;
    color: #555;
    margin-top: 4px;
}

/* =========================================
   3. NAVIGATION BAR (Sticky Menu)
   ========================================= */
nav { 
    background: var(--white); 
    padding: 0 5%; 
    box-shadow: 0 2px 10px rgba(0,0,0,0.1); 
    position: sticky; 
    top: 0; 
    z-index: 1000; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    height: 55px; /* जाडी कमी केली (Slim Look) */
}

.nav-links { 
    list-style: none; 
    display: flex; 
    gap: 5px; 
    margin: 0; 
    padding: 0; 
    align-items: center; 
}

.nav-links li { position: relative; }

.nav-links li a { 
    text-decoration: none; 
    color: var(--primary-blue); 
    font-weight: 600; 
    font-size: 0.82rem; 
    text-transform: uppercase; 
    padding: 18px 15px; /* Vertical padding adjusted for 55px height */
    display: block; 
    transition: 0.3s; 
}

.nav-links li a:hover, 
.nav-links li a.active { color: var(--accent-gold); }

/* Dropdown Menu */
.dropdown-content { 
    display: none; 
    position: absolute; 
    background-color: var(--white); 
    min-width: 220px; 
    box-shadow: 0px 8px 16px rgba(0,0,0,0.1); 
    z-index: 1; 
    border-top: 3px solid var(--accent-gold); 
    border-radius: 0 0 5px 5px; 
    padding: 8px 0; 
    top: 100%; 
    left: 0; 
}

.dropdown-content a { 
    color: var(--primary-blue) !important; 
    padding: 10px 20px !important; 
    text-transform: none; 
    font-size: 0.85rem; 
    font-weight: 400; 
    display: block; 
    border-bottom: 1px solid #f1f1f1; 
}

.dropdown-content a:last-child { border-bottom: none; }
.dropdown-content a:hover { 
    background-color: #f8f9fa; 
    color: var(--accent-gold) !important; 
    padding-left: 25px !important; 
}

.dropdown:hover .dropdown-content { display: block; }
.fa-chevron-down { font-size: 0.65rem; margin-left: 5px; }

/* Mobile Toggle Icon */
.menu-toggle { 
    display: none; 
    font-size: 1.4rem; 
    color: var(--primary-blue); 
    cursor: pointer; 
}

/* =========================================
   4. MOBILE RESPONSIVE (Media Queries)
   ========================================= */

@media (max-width: 992px) {
    nav { 
        justify-content: flex-end; 
        height: 55px; 
    }
    
    .menu-toggle { 
        display: block; 
    }

    .nav-links {
        display: none; 
        flex-direction: column;
        position: absolute;
        top: 55px; 
        left: 0;
        width: 100%;
        background: var(--white);
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        padding: 10px 0;
        z-index: 1000;
        max-height: 80vh; /* मोबाईलवर मेनू जास्त मोठा झाल्यास स्क्रोल होईल */
        overflow-y: auto;
    }

    .nav-links.show { 
        display: flex; 
    }
    
    .nav-links li { 
        width: 100%; 
    }

    .nav-links li a { 
        padding: 12px 25px; 
        border-bottom: 1px solid #f1f1f1;
        font-size: 0.9rem;
    }

    /* १. मोबाईलवर होव्हर इफेक्ट बंद करा */
    .dropdown:hover .dropdown-content {
        display: none; 
    }

    /* २. जेव्हा क्लिक केल्यावर 'active' क्लास येईल तेव्हाच दाखवा */
    .dropdown.active .dropdown-content {
        display: block !important;
    }

    /* ३. मोबाईल ड्रॉपडाउन स्टाईल */
    .dropdown-content { 
        position: static; 
        box-shadow: none; 
        padding-left: 20px; 
        background: #f9f9f9;
        width: 100%;
        border-top: none;
        border-left: 3px solid var(--accent-gold); 
    }

    .dropdown-content a { 
        padding: 10px 0 !important; 
        border-bottom: none; 
    }
}

/* Small Mobiles (Text size adjustment) */
@media (max-width: 600px) {
    .top-header { padding: 8px 4%; }
    .top-header .nav-title-main { font-size: 1.1rem; }
    .top-header .nav-title-line { font-size: 0.8rem; }
    .top-header .nav-title-line:last-child { font-size: 0.7rem; }
}