:root {
            --nims-primary: #004080;
            --nims-secondary: #28a745;
            --nims-accent: #e63946;
            --nims-light: #f8f9fa;
            --nims-dark: #212529;
        }
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.7;
            color: #333;
            overflow-x: hidden;
        }
        .navbar {
            background-color: rgba(255, 255, 255, 0.98);
            box-shadow: 0 2px 15px rgba(0, 64, 128, 0.08);
            transition: all 0.3s ease;
            padding-top: 0.75rem;
            padding-bottom: 0.75rem;
        }
        .navbar-brand {
            font-weight: 700;
            color: var(--nims-primary) !important;
            font-size: 1.8rem;
        }
        .nav-link {
            font-weight: 500;
            color: var(--nims-dark) !important;
            margin: 0 0.5rem;
            transition: color 0.3s;
            position: relative;
        }
        .nav-link:hover, .nav-link.active {
            color: var(--nims-primary) !important;
        }
        .nav-link::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: -2px;
            left: 0;
            background-color: var(--nims-primary);
            transition: width 0.3s ease;
        }
        .nav-link:hover::after, .nav-link.active::after {
            width: 100%;
        }
        .hero-section {
            background: linear-gradient(rgba(0, 64, 128, 0.85), rgba(0, 64, 128, 0.92)), url('https://images.unsplash.com/photo-1516549655669-df3e5c1215ea?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
            background-size: cover;
            background-position: center;
            color: white;
            padding: 9rem 0 7rem;
            margin-top: 76px;
        }
        .hero-title {
            font-size: 3.2rem;
            font-weight: 800;
            margin-bottom: 1.5rem;
            text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
        }
        .section-title {
            color: var(--nims-primary);
            font-weight: 700;
            margin-bottom: 1.5rem;
            position: relative;
            padding-bottom: 0.8rem;
        }
        .section-title::after {
            content: '';
            position: absolute;
            width: 70px;
            height: 4px;
            background-color: var(--nims-secondary);
            bottom: 0;
            left: 0;
            border-radius: 2px;
        }
        .text-center .section-title::after {
            left: 50%;
            transform: translateX(-50%);
        }
        .card {
            border: none;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
            transition: transform 0.4s ease, box-shadow 0.4s ease;
            height: 100%;
        }
        .card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
        }
        .card-icon {
            font-size: 2.5rem;
            color: var(--nims-primary);
            margin-bottom: 1.2rem;
        }
        .btn-nims {
            background-color: var(--nims-primary);
            color: white;
            padding: 0.75rem 2rem;
            border-radius: 50px;
            font-weight: 600;
            transition: all 0.3s;
            border: 2px solid var(--nims-primary);
        }
        .btn-nims:hover {
            background-color: transparent;
            color: var(--nims-primary);
            border-color: var(--nims-primary);
        }
        .btn-nims-secondary {
            background-color: var(--nims-secondary);
            color: white;
            border: 2px solid var(--nims-secondary);
        }
        .btn-nims-secondary:hover {
            background-color: transparent;
            color: var(--nims-secondary);
        }
        .department-card {
            border-left: 5px solid var(--nims-primary);
        }
        .stats-counter {
            font-size: 3rem;
            font-weight: 800;
            color: var(--nims-primary);
            line-height: 1;
        }
        .doctor-card img {
            height: 280px;
            object-fit: cover;
            object-position: top;
        }
        .news-card img {
            height: 220px;
            object-fit: cover;
        }
        footer {
            background-color: #1a1a2e;
            color: #e6e6e6;
            padding-top: 4rem;
        }
        .footer-links a {
            color: #b0b0b0;
            text-decoration: none;
            transition: color 0.3s;
            display: block;
            margin-bottom: 0.7rem;
        }
        .footer-links a:hover {
            color: white;
            padding-left: 5px;
        }
        .social-icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            background-color: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            color: white;
            margin-right: 10px;
            transition: all 0.3s;
        }
        .social-icon:hover {
            background-color: var(--nims-primary);
            transform: translateY(-3px);
        }
        .flink {
            display: inline-block;
            background-color: #f8f9fa;
            padding: 0.7rem 1.5rem;
            margin: 0.5rem;
            border-radius: 8px;
            text-decoration: none;
            color: var(--nims-dark);
            font-weight: 500;
            transition: all 0.3s;
            border: 1px solid #dee2e6;
        }
        .flink:hover {
            background-color: var(--nims-primary);
            color: white;
            border-color: var(--nims-primary);
            transform: scale(1.05);
        }
        .accordion-button:not(.collapsed) {
            background-color: rgba(0, 64, 128, 0.08);
            color: var(--nims-primary);
            font-weight: 600;
        }
        .contact-info-box {
            background-color: #f0f8ff;
            border-radius: 12px;
            padding: 2rem;
            border-left: 5px solid var(--nims-primary);
            height: 100%;
        }
        .emergency-banner {
            background: linear-gradient(135deg, var(--nims-accent) 0%, #c1121f 100%);
            color: white;
            padding: 1.5rem;
            border-radius: 12px;
            animation: pulse 2s infinite;
        }
        @keyframes pulse {
            0% { box-shadow: 0 0 0 0 rgba(230, 57, 70, 0.6); }
            70% { box-shadow: 0 0 0 15px rgba(230, 57, 70, 0); }
            100% { box-shadow: 0 0 0 0 rgba(230, 57, 70, 0); }
        }
        @media (max-width: 768px) {
            .hero-title {
                font-size: 2.5rem;
            }
            .hero-section {
                padding: 6rem 0 4rem;
            }
            .stats-counter {
                font-size: 2.2rem;
            }
        }
