/* hospital-detail page styles (moved out of hospital-detail.php) */

        :root {
            --primary-blue: #0d6efd;
            --dark-blue: #114b9f; 
            --accent-color: #00d2ff;
            --bg-light: #f8faff;
            --text-dark: #1e293b;
            --text-muted: #64748b;
        }

        body {
            font-family: var(--font-sans);
            background: var(--bg-light);
            color: var(--text-dark);
            overflow-x: hidden;
            margin: 0;
        }

        /* Nav Space for your Fixed Menu */
        .nav-space { 
            height: 90px; 
        }

        /* HERO SECTION */
        .hero {
            position: relative;
            background: linear-gradient(135deg, rgba(13, 110, 253, 0.9), rgba(17, 75, 159, 0.95)), 
                        url('https://images.unsplash.com/photo-1519494026892-80bbd2d6fd0d?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover;
            color: white;
            padding: 50px 20px 40px; 
            text-align: center;
        }
        .hero h1 {
            font-weight: 800;
            letter-spacing: -1px;
            font-size: var(--fs-h1);
        }

        /* STAT CARDS */
        .stat-card {
            background: white;
            color: var(--dark-blue);
            border-radius: 16px;
            padding: 20px 15px;
            text-align: center;
            box-shadow: 0 10px 30px rgba(0,0,0,0.08);
            transition: all 0.3s ease;
            border-bottom: 4px solid var(--accent-color);
            height: 100%;
        }
        .stat-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 15px 35px rgba(0,0,0,0.12);
        }

        /* SECTIONS */
        .section { padding: 40px 0; }
        
        .section-title {
            text-align: center;
            font-weight: 700;
            margin-bottom: 35px;
            position: relative;
            color: var(--dark-blue);
        }
        .section-title::after {
            content: '';
            display: block;
            width: 60px;
            height: 4px;
            background: var(--primary-blue);
            margin: 15px auto 0;
            border-radius: 2px;
        }

        /* CARDS */
        .card-custom {
            background: white;
            border-radius: 16px;
            padding: 25px;
            box-shadow: 0 8px 25px rgba(0,0,0,0.04);
            transition: 0.3s ease;
            height: 100%;
            border: 1px solid rgba(0,0,0,0.02);
        }
        .card-custom:hover {
            transform: translateY(-5px);
            box-shadow: 0 12px 30px rgba(0,0,0,0.08);
        }
        .icon-box {
            font-size: 2rem;
            color: var(--primary-blue);
            margin-bottom: 15px;
        }
        
        /* LIST STYLING */
        .custom-list {
            list-style: none;
            padding-left: 0;
        }
        .custom-list li {
            margin-bottom: 10px;
            position: relative;
            padding-left: 28px;
            color: var(--text-muted);
        }
        .custom-list li::before {
            content: '\f00c';
            font-family: 'Font Awesome 5 Free';
            font-weight: 900;
            position: absolute;
            left: 0;
            color: #10b981;
        }

        /* CENTRE CARDS */
        .center-card {
            padding: 20px ;
            background: white;
            border-radius: 12px;
            box-shadow: 0 8px 20px rgba(0,0,0,0.04);
             transition: 0.3s;
            height: 100%;
            text-align: center;
            border: 1px solid rgba(0,0,0,0.03);
        }
        .center-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 30px rgba(13, 110, 253, 0.1);
            border-color: var(--primary-blue);
        }

        /* CTA */
        .cta-banner {
            background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
            color: white;
            text-align: center;
            padding: 40px 20px;
            border-radius: 20px;
            margin-top: 20px;
        }
        
        /* UTILITIES */
        .btn-custom {
            padding: 8px 20px;
            border-radius: 8px;
            font-weight: 600;
            transition: 0.3s;
        }
        .doctor-card {
            border-left: 4px solid var(--primary-blue);
            background: var(--bg-light);
        }

        /* CUSTOM FOOTER */
        footer {
            background: var(--dark-blue);
            color: white;
            padding: 50px 0 20px;
        }
        .footer-heading {
            font-weight: 700;
            margin-bottom: 20px;
            font-size: var(--fs-md);
        }
        .footer-link {
            color: white;
            text-decoration: none;
            display: block;
            margin-bottom: 12px;
            font-size: var(--fs-base);
            transition: opacity 0.3s;
        }
        .footer-link:hover {
            opacity: 0.8;
            text-decoration: underline;
        }
        .footer-text {
            font-size: var(--fs-base);
            line-height: 1.5;
        }
        .footer-divider {
            border-top: 1px solid rgba(255, 255, 255, 0.2);
            margin: 40px 0 20px;
        }
    

/* ---- Former inline style="..." attributes ----
   :not(#_#_#_) gives these the same strength an inline style had:
   they beat normal rules but still lose to !important rules. */
.hospital-detail-s1:not(#_#_#_) {
  border: 0;
  border-radius: 12px;
}
.hospital-detail-s2:not(#_#_#_) {
  font-size: var(--fs-sm);
}
