:root {
            --cnmc-blue: #0a2e6b;
            --cnmc-light-blue: #e6f0ff;
            --cnmc-green: #006633;
            --cnmc-gold: #d4af37;
            --cnmc-gray: #f8f9fa;
        }
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            color: #333;
            line-height: 1.7;
        }
        h1, h2, h3, h4, h5 {
            color: var(--cnmc-blue);
            font-weight: 700;
        }
        .navbar {
            background-color: white;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
            padding: 0.8rem 0;
        }
        .navbar-brand img {
            height: 60px;
        }
        .nav-link {
            color: var(--cnmc-blue) !important;
            font-weight: 600;
            margin: 0 5px;
            padding: 8px 15px !important;
            border-radius: 5px;
            transition: all 0.3s ease;
        }
        .nav-link:hover, .nav-link.active {
            background-color: var(--cnmc-light-blue);
            color: var(--cnmc-green) !important;
        }
        .hero-section {
            background: linear-gradient(rgba(10, 46, 107, 0.85), rgba(0, 102, 51, 0.8)), url('https://images.unsplash.com/photo-1519494026892-80bbd2d6fd0d?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80') center/cover no-repeat;
            color: white;
            padding: 120px 0 80px;
        }
        .section-padding {
            padding: 80px 0;
        }
        .icon-box {
            background: var(--cnmc-light-blue);
            width: 70px;
            height: 70px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 20px;
            color: var(--cnmc-blue);
            font-size: 1.8rem;
            transition: transform 0.3s;
        }
        .feature-card:hover .icon-box {
            transform: translateY(-10px);
            background-color: var(--cnmc-blue);
            color: white;
        }
        .feature-card {
            border: none;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
            transition: transform 0.3s, box-shadow 0.3s;
            height: 100%;
        }
        .feature-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0,0,0,0.1);
        }
        .department-card {
            border-left: 4px solid var(--cnmc-green);
        }
        .doctor-card img {
            width: 100%;
            height: 280px;
            object-fit: cover;
            border-top-left-radius: 10px;
            border-top-right-radius: 10px;
        }
        .doctor-card {
            overflow: hidden;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
            transition: all 0.3s;
        }
        .doctor-card:hover {
            box-shadow: 0 15px 30px rgba(0,0,0,0.1);
        }
        .news-card img {
            height: 220px;
            object-fit: cover;
        }
        .btn-cnmc {
            background-color: var(--cnmc-blue);
            color: white;
            padding: 12px 28px;
            border-radius: 5px;
            font-weight: 600;
            transition: all 0.3s;
            border: 2px solid var(--cnmc-blue);
        }
        .btn-cnmc:hover {
            background-color: transparent;
            color: var(--cnmc-blue);
        }
        .btn-cnmc-outline {
            background-color: transparent;
            color: var(--cnmc-blue);
            border: 2px solid var(--cnmc-blue);
        }
        .btn-cnmc-outline:hover {
            background-color: var(--cnmc-blue);
            color: white;
        }
        footer {
            background-color: #1a1a2e;
            color: #ddd;
        }
        .footer-links a {
            color: #aaa;
            text-decoration: none;
            display: block;
            margin-bottom: 8px;
            transition: color 0.3s;
        }
        .footer-links a:hover {
            color: white;
            padding-left: 5px;
        }
        .social-icons a {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            background-color: rgba(255,255,255,0.1);
            border-radius: 50%;
            margin-right: 10px;
            color: white;
            transition: all 0.3s;
        }
        .social-icons a:hover {
            background-color: var(--cnmc-blue);
            transform: translateY(-3px);
        }
        friendlink {
            display: block;
            background-color: var(--cnmc-gray);
            padding: 40px 0;
            border-top: 1px solid #dee2e6;
        }
        .flink {
            background-color: white;
            padding: 15px;
            border-radius: 8px;
            text-align: center;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 3px 10px rgba(0,0,0,0.05);
            transition: all 0.3s;
            color: #555;
            text-decoration: none;
            font-weight: 500;
        }
        .flink:hover {
            box-shadow: 0 8px 20px rgba(0,0,0,0.1);
            transform: translateY(-5px);
            color: var(--cnmc-blue);
        }
        .stats-number {
            font-size: 3rem;
            font-weight: 800;
            color: var(--cnmc-blue);
            line-height: 1;
        }
        .carousel-item {
            height: 600px;
        }
        .carousel-item img {
            height: 100%;
            object-fit: cover;
        }
        .carousel-caption {
            background: rgba(0, 0, 0, 0.6);
            border-radius: 10px;
            padding: 30px;
            bottom: 100px;
        }
        @media (max-width: 768px) {
            .hero-section {
                padding: 80px 0 50px;
            }
            .section-padding {
                padding: 50px 0;
            }
            .carousel-item {
                height: 400px;
            }
            .carousel-caption {
                bottom: 20px;
                padding: 15px;
            }
            .navbar-nav {
                text-align: center;
                padding: 10px 0;
            }
        }
