:root {
            --primary-blue: #003366;
            --secondary-gold: #D4AF37;
            --accent-teal: #008080;
            --light-gray: #f8f9fa;
            --dark-gray: #343a40;
            --success-green: #28a745;
            --warning-orange: #ffc107;
        }
        body {
            font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
            line-height: 1.6;
            color: #333;
            overflow-x: hidden;
        }
        .navbar-brand {
            font-weight: 700;
            font-size: 1.8rem;
            color: var(--primary-blue) !important;
        }
        .navbar-brand span {
            color: var(--secondary-gold);
        }
        .nav-link {
            font-weight: 500;
            padding: 0.5rem 1rem !important;
            transition: all 0.3s ease;
        }
        .nav-link:hover {
            color: var(--accent-teal) !important;
            transform: translateY(-2px);
        }
        .emergency-badge {
            background: linear-gradient(135deg, #dc3545, #c82333);
            color: white;
            padding: 0.5rem 1.5rem;
            border-radius: 50px;
            font-weight: 600;
            animation: pulse 2s infinite;
        }
        @keyframes pulse {
            0% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7); }
            70% { box-shadow: 0 0 0 10px rgba(220, 53, 69, 0); }
            100% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0); }
        }
        .hero-section {
            background: linear-gradient(rgba(0, 51, 102, 0.85), rgba(0, 64, 128, 0.9)), url('https://images.unsplash.com/photo-1586773860418-dc22f8b874bc?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1920&q=80');
            background-size: cover;
            background-position: center;
            color: white;
            padding: 8rem 0;
            position: relative;
        }
        .hero-section h1 {
            font-size: 3.5rem;
            font-weight: 700;
            margin-bottom: 1.5rem;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
        }
        .hero-section .lead {
            font-size: 1.5rem;
            margin-bottom: 2rem;
            opacity: 0.95;
        }
        .section-title {
            color: var(--primary-blue);
            position: relative;
            padding-bottom: 15px;
            margin-bottom: 3rem;
            text-align: center;
        }
        .section-title:after {
            content: '';
            position: absolute;
            width: 80px;
            height: 4px;
            background: var(--secondary-gold);
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            border-radius: 2px;
        }
        .card {
            border: none;
            border-radius: 15px;
            overflow: hidden;
            transition: all 0.3s ease;
            height: 100%;
            box-shadow: 0 5px 15px rgba(0,0,0,0.08);
        }
        .card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0,0,0,0.15);
        }
        .card-icon {
            width: 80px;
            height: 80px;
            background: linear-gradient(135deg, var(--primary-blue), var(--accent-teal));
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1.5rem;
            color: white;
            font-size: 2rem;
        }
        .department-card {
            border-left: 5px solid var(--accent-teal);
            transition: all 0.3s ease;
        }
        .department-card:hover {
            border-left-color: var(--secondary-gold);
            background-color: rgba(0, 128, 128, 0.05);
        }
        .doctor-card {
            text-align: center;
            padding: 1.5rem;
        }
        .doctor-img {
            width: 180px;
            height: 180px;
            border-radius: 50%;
            object-fit: cover;
            border: 5px solid var(--light-gray);
            margin: 0 auto 1.5rem;
            transition: all 0.3s ease;
        }
        .doctor-card:hover .doctor-img {
            border-color: var(--accent-teal);
            transform: scale(1.05);
        }
        .stats-section {
            background: linear-gradient(rgba(0, 51, 102, 0.9), rgba(0, 64, 128, 0.95)), url('https://images.unsplash.com/photo-1519494026892-80bbd2d6fd0d?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
            background-size: cover;
            background-attachment: fixed;
            color: white;
            padding: 5rem 0;
        }
        .stat-number {
            font-size: 3.5rem;
            font-weight: 700;
            color: var(--secondary-gold);
            margin-bottom: 0.5rem;
        }
        .testimonial-card {
            background: var(--light-gray);
            border-radius: 15px;
            padding: 2rem;
            position: relative;
            margin-top: 2rem;
        }
        .testimonial-card:before {
            content: '"';
            position: absolute;
            top: -25px;
            left: 30px;
            font-size: 5rem;
            color: var(--accent-teal);
            opacity: 0.2;
            font-family: Georgia, serif;
        }
        .contact-form .form-control {
            border-radius: 10px;
            padding: 0.75rem 1rem;
            border: 2px solid #e0e0e0;
            transition: all 0.3s ease;
        }
        .contact-form .form-control:focus {
            border-color: var(--accent-teal);
            box-shadow: 0 0 0 0.25rem rgba(0, 128, 128, 0.25);
        }
        .footer {
            background: var(--primary-blue);
            color: white;
            padding: 4rem 0 2rem;
        }
        .footer-links a {
            color: #ddd;
            text-decoration: none;
            transition: all 0.3s ease;
            display: block;
            margin-bottom: 0.5rem;
        }
        .footer-links a:hover {
            color: var(--secondary-gold);
            padding-left: 5px;
        }
        .social-icons a {
            display: inline-block;
            width: 40px;
            height: 40px;
            background: rgba(255,255,255,0.1);
            border-radius: 50%;
            text-align: center;
            line-height: 40px;
            margin-right: 10px;
            transition: all 0.3s ease;
        }
        .social-icons a:hover {
            background: var(--secondary-gold);
            transform: translateY(-5px);
        }
        friendlink {
            display: block;
            background: var(--light-gray);
            padding: 3rem 0;
            margin-top: 3rem;
        }
        .flink-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
            gap: 1.5rem;
            margin-top: 2rem;
        }
        .flink {
            background: white;
            border-radius: 10px;
            padding: 1.5rem;
            text-align: center;
            text-decoration: none;
            color: var(--dark-gray);
            transition: all 0.3s ease;
            border: 2px solid transparent;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            height: 100%;
        }
        .flink:hover {
            border-color: var(--accent-teal);
            transform: translateY(-5px);
            color: var(--primary-blue);
        }
        .flink i {
            font-size: 2rem;
            margin-bottom: 1rem;
            color: var(--primary-blue);
        }
        @media (max-width: 768px) {
            .hero-section h1 {
                font-size: 2.5rem;
            }
            .hero-section .lead {
                font-size: 1.2rem;
            }
            .section-title {
                font-size: 1.8rem;
            }
            .stat-number {
                font-size: 2.5rem;
            }
            .navbar-nav {
                text-align: center;
                padding-top: 1rem;
            }
            .emergency-badge {
                margin-top: 1rem;
                display: inline-block;
            }
        }
        @media (max-width: 576px) {
            .hero-section {
                padding: 5rem 0;
            }
            .hero-section h1 {
                font-size: 2rem;
            }
            .flink-container {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        .fade-in {
            animation: fadeIn 1s ease-in-out;
        }
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }
        .sr-only {
            position: absolute;
            width: 1px;
            height: 1px;
            padding: 0;
            margin: -1px;
            overflow: hidden;
            clip: rect(0, 0, 0, 0);
            white-space: nowrap;
            border: 0;
        }
        @media print {
            .no-print {
                display: none;
            }
        }
