/* --- GLOBAL PROPERTIES --- */
:root {
    --emerald-deep: #064e3b;
    --emerald-main: #10b981;
    --accent-gold: #fbbf24;
    --soft-bg: #f8fafc;
    --glass: rgba(255, 255, 255, 0.9);
    --border: #e2e8f0;
}

body { 
    font-family: 'Plus Jakarta Sans', sans-serif; 
    background: var(--soft-bg);
    color: #1e293b;
    scroll-behavior: smooth;
}

/* --- TOP BAR & NAVBAR --- */
.top-info-bar {
    background: var(--emerald-deep);
    color: white;
    font-size: 13px;
    padding: 8px 0;
    letter-spacing: 0.5px;
}

.navbar {
    background: var(--glass) !important;
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(16, 185, 129, 0.2);
    padding: 15px 0;
}
.navbar-brand b { color: var(--emerald-main); }
.nav-link { font-weight: 600; color: #475569 !important; }
.nav-link.active { color: var(--emerald-main) !important; }

/* --- HERO SECTIONS (Index, Latest, Services) --- */
.hero-premium {
    background: linear-gradient(135deg, rgba(6, 78, 59, 0.95), rgba(16, 185, 129, 0.9)), 
                url('https://www.transparenttextures.com/patterns/cubes.png');
    color: white;
    padding: 100px 0 120px 0;
    clip-path: ellipse(150% 100% at 50% 0%);
}

.updates-header {
    background: linear-gradient(135deg, var(--emerald-deep), var(--emerald-main));
    padding: 80px 0;
    color: white;
    border-bottom: 5px solid #fbbf24;
}

.hero { 
    background: linear-gradient(135deg, #198754, #0f5132); 
    color: white; 
    padding: 60px 0; 
    border-bottom: 5px solid #ffc107; 
}

.hero-badge {
    background: rgba(255,255,255,0.1);
    padding: 8px 20px;
    border-radius: 100px;
    border: 1px solid rgba(255,255,255,0.2);
    display: inline-block;
    margin-bottom: 25px;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
}


.hero-link-btn {
    background:#eff !important;
    padding: 8px 20px !important;
    border-radius: 100px !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
    display: inline-block !important;
    margin-bottom: 25px !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    text-transform: uppercase !important;
    max-width:fit-content !important;
    height:37px !important;
    overflow:hidden !important;
    text-decoration: none !important;
    animation: typing 3s steps(30, end) infinite,
           blink 0.7s infinite;
}

/* Typing effect */
@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

/* Cursor blinking */
@keyframes blink {
    50% { border-color: transparent; }
}

/* --- NEWS & UPDATES --- */
.modern-news {
    background: white;
    border-radius: 100px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    margin-top: -45px;
    position: relative;
    z-index: 99;
    border: 1px solid var(--border);
    padding: 12px 25px;
}

.news-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 30px;
    height: 100%;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}
.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    border-color: var(--emerald-main);
}

#blinkNews { animation: pulse 1.5s infinite; color: #ef4444; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

/* --- SERVICE CARDS & BOXES --- */
.service-card-new {
    background: white;
    border: 1px solid #f1f5f9;
    border-radius: 28px;
    padding: 35px;
    height: 100%;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}
.service-card-new:hover {
    transform: translateY(-12px);
    border-color: var(--emerald-main);
    box-shadow: 0 25px 50px rgba(16, 185, 129, 0.1);
}

.service-box { 
    border: none; 
    border-radius: 18px; 
    box-shadow: 0 8px 24px rgba(0,0,0,.08); 
    cursor: pointer; 
    transition: .3s; 
    height: 100%; 
    background: #fff; 
}
.service-box:hover { transform: translateY(-5px); border: 1px solid #198754; }

.icon-box-new {
    width: 60px; height: 60px;
    background: #f0fdf4;
    border-radius: 18px;
    display: flex; align-items: center; justify-content: center;
    font-size: 26px; color: var(--emerald-main);
    margin-bottom: 20px;
}

/* --- QUICK GROUPS & LINKS --- */
.quick-group-item {
    background: white;
    border-radius: 15px;
    padding: 15px 20px;
    border: 1px solid var(--border);
    font-weight: 600;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}
.quick-group-item:hover { background: var(--emerald-main); color: white; }

.quick-link-box {
    background: white;
    border-radius: 20px;
    padding: 25px;
    border: 1px solid var(--border);
    position: sticky;
    top: 100px;
}

.side-link {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    color: #475569;
    text-decoration: none;
    border-radius: 12px;
    margin-bottom: 8px;
    font-weight: 600;
    transition: 0.2s;
}
.side-link:hover { background: #f0fdf4; color: var(--emerald-main); }
.side-link i { margin-right: 12px; font-size: 18px; }

/* --- BADGES & TABLES --- */
.date-badge { font-size: 12px; font-weight: 700; color: var(--emerald-main); text-transform: uppercase; display: block; margin-bottom: 10px; }
.badge-new { background: #fee2e2; color: #ef4444; border-radius: 6px; padding: 4px 10px; font-size: 11px; }
.badge-live { background: #dcfce7; color: #15803d; border-radius: 6px; padding: 4px 10px; font-size: 11px; }
.badge-G2C { background-color: #198754; color: white; padding: 5px 10px; border-radius: 5px; }
.badge-B2C { background-color: #0d6efd; color: white; padding: 5px 10px; border-radius: 5px; }
.badge-G2B { background-color: #ffc107; color: #000; padding: 5px 10px; border-radius: 5px; }

.table thead th { background: #198754; color: white; position: sticky; top: 0; }
.dept-card-text { font-size: 0.85rem; font-weight: 600; color: #198754; }
.hidden { display: none !important; }

/* --- CONTACT SECTION --- */
.contact-premium {
    background: var(--emerald-deep);
    border-radius: 40px;
    padding: 50px;
    color: white;
    position: relative;
    overflow: hidden;
}

/* --- WHATSAPP & FOOTER --- */
.whatsapp-btn {
    position: fixed; bottom: 30px; right: 2%;
    background: #25d366; color: white;
    padding: 1% 1.5%; border-radius: 100px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    text-decoration: none; display: flex; align-items: center;
    font-weight: 700; z-index: 1000;
}
.whatsapp-btn:hover { color: white; transform: scale(1.05); }

footer { background: #0f5132; color: #94a3b8; padding: 60px 0 30px 0; margin-top: 50px; }
footer h4 { color: white; }
/* --- MOBILE NAVIGATION FIX --- */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: white;
        margin-top: 15px;
        border-radius: 20px;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        border: 1px solid var(--border);
    }

    .navbar-nav {
        align-items: flex-start !important; /* Mobile me left aligned sahi dikhta h */
    }

    .nav-item {
        width: 100%;
        border-bottom: 1px solid #f1f5f9;
    }

    .nav-item:last-child {
        border-bottom: none;
    }

    .nav-link {
        padding: 12px 0 !important;
        display: block;
        width: 100%;
    }

    /* Support button ko mobile me full width karne ke liye */
    .nav-item.ms-lg-3 {
        margin-left: 0 !important;
        margin-top: 10px;
    }

    .nav-item.ms-lg-3 .btn {
        width: 100%;
        text-align: center;
        padding: 12px !important;
    }

    /* Hero section padding fix for mobile */
    .hero-premium {
        padding: 60px 0 80px 0;
    }

    .display-3 {
        font-size: 2.5rem !important;
    }
}

/* Toggle Button (Hamburger) color fix */
.navbar-toggler {
    padding: 0;
}
.navbar-toggler:focus {
    box-shadow: none;
}


