
        :root {
            --primary-blue: #0d4a7c;
            --secondary-blue: #1c6ea4;
            --accent-blue: #4a9bd8;
            --light-blue: #e8f4fc;
            --dark-blue: #083358;
            --white: #ffffff;
            --light-gray: #f8f9fa;
            --medium-gray: #e9ecef;
            --dark-gray: #6c757d;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Roboto', sans-serif;
            color: #333;
            line-height: 1.6;
            overflow-x: hidden;
        }
        
        h1, h2, h3, h4, h5, h6 {
            font-family: 'Poppins', sans-serif;
            font-weight: 600;
        }
        
        /* Navbar Styles */
        .navbar {
            background-color: transparent;
            padding: 1.2rem 0;
            transition: all 0.4s ease;
            box-shadow: none;
        }
        
        .navbar.scrolled {
            background-color: var(--primary-blue);
            padding: 0.8rem 0;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        }
        
        .navbar-brand {
            font-weight: 700;
            font-size: 1.8rem;
            color: var(--white);
        }
        
        .navbar-brand span {
            color: var(--accent-blue);
        }
        
        .navbar-nav .nav-link {
            color: var(--white);
            font-weight: 500;
            margin: 0 10px;
            transition: color 0.3s;
        }
        
        .navbar-nav .nav-link:hover {
            color: var(--accent-blue);
        }
        
        .btn-portal {
            background-color: var(--accent-blue);
            color: var(--white);
            border-radius: 30px;
            padding: 8px 24px;
            font-weight: 500;
            border: none;
            transition: all 0.3s;
        }
        
        .btn-portal:hover {
            background-color: var(--secondary-blue);
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }
        
        /* Hero Section */
        .hero-section {
            background: linear-gradient(rgba(13, 74, 124, 0.85), rgba(13, 74, 124, 0.9)), url('https://images.unsplash.com/photo-1519494026892-80bbd2d6fd0d?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2053&q=80');
            background-size: cover;
            background-position: center;
            color: var(--white);
            padding: 120px 0 100px;
            min-height: 100vh;
            display: flex;
            align-items: center;
        }
        
        .hero-content {
            max-width: 700px;
        }
        
        .hero-title {
            font-size: 3.5rem;
            font-weight: 700;
            margin-bottom: 1.5rem;
            line-height: 1.2;
        }
        
        .hero-subtitle {
            font-size: 1.2rem;
            margin-bottom: 2.5rem;
            opacity: 0.9;
            max-width: 600px;
        }
        
        .btn-hero {
            background-color: var(--accent-blue);
            color: var(--white);
            border-radius: 30px;
            padding: 12px 36px;
            font-size: 1.1rem;
            font-weight: 600;
            border: none;
            transition: all 0.3s;
        }
        
        .btn-hero:hover {
            background-color: var(--white);
            color: var(--primary-blue);
            transform: translateY(-3px);
            box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
        }
        
        /* Login Cards Section */
        .login-section {
            padding: 100px 0;
            background-color: var(--light-gray);
        }
        
        .section-title {
            color: var(--primary-blue);
            margin-bottom: 1rem;
            font-weight: 700;
        }
        
        .section-subtitle {
            color: var(--dark-gray);
            margin-bottom: 4rem;
            max-width: 700px;
            margin-left: auto;
            margin-right: auto;
        }
        
        .login-card {
            background-color: var(--white);
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
            transition: all 0.4s ease;
            height: 100%;
            border: none;
        }
        
        .login-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
        }
        
        .card-icon {
            background-color: var(--light-blue);
            height: 120px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .card-icon i {
            font-size: 3.5rem;
            color: var(--primary-blue);
        }
        
        .card-body {
            padding: 2rem;
            text-align: center;
        }
        
        .card-title {
            color: var(--primary-blue);
            font-weight: 600;
            margin-bottom: 1rem;
        }
        
        .card-text {
            color: var(--dark-gray);
            margin-bottom: 1.5rem;
        }
        
        .btn-login {
            background-color: var(--primary-blue);
            color: var(--white);
            border-radius: 30px;
            padding: 10px 30px;
            font-weight: 500;
            border: none;
            transition: all 0.3s;
            width: 100%;
        }
        
        .btn-login:hover {
            background-color: var(--secondary-blue);
        }
        
        /* Footer */
        .footer {
            background-color: var(--dark-blue);
            color: var(--white);
            padding: 70px 0 30px;
        }
        
        .footer h5 {
            color: var(--white);
            margin-bottom: 1.5rem;
            font-weight: 600;
        }
        
        .footer p, .footer li {
            color: rgba(255, 255, 255, 0.8);
        }
        
        .footer ul {
            list-style: none;
            padding-left: 0;
        }
        
        .footer ul li {
            margin-bottom: 10px;
        }
        
        .footer ul li i {
            color: var(--accent-blue);
            margin-right: 10px;
            width: 20px;
        }
        
        .footer-bottom {
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            padding-top: 30px;
            margin-top: 50px;
            text-align: center;
            color: rgba(255, 255, 255, 0.7);
        }
        
        /* Responsive Styles */
        @media (max-width: 992px) {
            .hero-title {
                font-size: 2.8rem;
            }
            
            .login-card {
                margin-bottom: 30px;
            }
        }
        
        @media (max-width: 768px) {
            .hero-title {
                font-size: 2.3rem;
            }
            
            .hero-section {
                padding: 100px 0 80px;
                text-align: center;
            }
            
            .navbar-nav {
                text-align: center;
                padding-top: 15px;
            }
            
            .navbar-nav .nav-link {
                margin: 5px 0;
            }
        }
        
        @media (max-width: 576px) {
            .hero-title {
                font-size: 2rem;
            }
            
            .hero-subtitle {
                font-size: 1rem;
            }
            
            .btn-hero {
                padding: 10px 28px;
                font-size: 1rem;
            }
            
            .section-title {
                font-size: 1.8rem;
            }
        }
:root {
            --primary-blue: #0d4a7c;
            --secondary-blue: #1c6ea4;
            --accent-blue: #4a9bd8;
            --light-blue: #e8f4fc;
            --dark-blue: #083358;
            --white: #ffffff;
            --light-gray: #f8f9fa;
            --medium-gray: #e9ecef;
            --dark-gray: #6c757d;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Roboto', sans-serif;
            color: #333;
            line-height: 1.6;
            overflow-x: hidden;
            padding-top: 80px;
        }
        
        h1, h2, h3, h4, h5, h6 {
            font-family: 'Poppins', sans-serif;
            font-weight: 600;
        }
        
        /* Navbar Styles */
        .navbar {
            background-color: var(--primary-blue);
            padding: 1.2rem 0;
            transition: all 0.4s ease;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        }
        
        .navbar.scrolled {
            padding: 0.8rem 0;
        }
        
        .navbar-brand {
            font-weight: 700;
            font-size: 1.8rem;
            color: var(--white);
        }
        
        .navbar-brand span {
            color: var(--accent-blue);
        }
        
        .navbar-nav .nav-link {
            color: var(--white);
            font-weight: 500;
            margin: 0 10px;
            transition: color 0.3s;
        }
        
        .navbar-nav .nav-link:hover,
        .navbar-nav .nav-link.active {
            color: var(--accent-blue);
        }
        
        .btn-portal {
            background-color: var(--accent-blue);
            color: var(--white);
            border-radius: 30px;
            padding: 8px 24px;
            font-weight: 500;
            border: none;
            transition: all 0.3s;
        }
        
        .btn-portal:hover {
            background-color: var(--secondary-blue);
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }
        
        /* Page Header */
        .page-header {
            background: linear-gradient(rgba(13, 74, 124, 0.85), rgba(13, 74, 124, 0.9)), url('https://images.unsplash.com/photo-1516549655669-df565bc5d5e8?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
            background-size: cover;
            background-position: center;
            color: var(--white);
            padding: 100px 0 70px;
            text-align: center;
        }
        
        .page-title {
            font-size: 3rem;
            font-weight: 700;
            margin-bottom: 1rem;
        }
        
        .page-subtitle {
            font-size: 1.2rem;
            opacity: 0.9;
            max-width: 700px;
            margin: 0 auto;
        }
        
        /* About Content Section */
        .about-content {
            padding: 100px 0;
            background-color: var(--white);
        }
        
        .section-title {
            color: var(--primary-blue);
            margin-bottom: 1.5rem;
            font-weight: 700;
            position: relative;
            padding-bottom: 15px;
        }
        
        .section-title:after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 60px;
            height: 3px;
            background-color: var(--accent-blue);
        }
        
        .section-title.center:after {
            left: 50%;
            transform: translateX(-50%);
        }
        
        .highlight-box {
            background-color: var(--light-blue);
            border-left: 4px solid var(--accent-blue);
            padding: 25px;
            border-radius: 0 8px 8px 0;
            margin: 30px 0;
        }
        
        .stats-box {
            background-color: var(--primary-blue);
            color: var(--white);
            padding: 30px;
            border-radius: 8px;
            text-align: center;
            margin-top: 30px;
        }
        
        .stat-number {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 10px;
            color: var(--accent-blue);
        }
        
        .stat-label {
            font-size: 1.1rem;
            opacity: 0.9;
        }
        
        /* Team Section */
        .team-section {
            padding: 100px 0;
            background-color: var(--light-gray);
        }
        
        .team-card {
            background-color: var(--white);
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
            transition: all 0.4s ease;
            height: 100%;
            margin-bottom: 30px;
        }
        
        .team-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
        }
        
        .team-img {
            height: 280px;
            width: 100%;
            object-fit: cover;
        }
        
        .team-body {
            padding: 25px;
        }
        
        .team-name {
            color: var(--primary-blue);
            font-weight: 600;
            margin-bottom: 5px;
        }
        
        .team-role {
            color: var(--accent-blue);
            font-weight: 500;
            margin-bottom: 15px;
        }
        
        .team-bio {
            color: var(--dark-gray);
            margin-bottom: 20px;
            font-size: 0.95rem;
        }
        
        .team-contact {
            border-top: 1px solid var(--medium-gray);
            padding-top: 15px;
        }
        
        .team-contact p {
            margin-bottom: 5px;
            font-size: 0.9rem;
            color: var(--dark-gray);
        }
        
        .team-contact i {
            color: var(--accent-blue);
            margin-right: 8px;
            width: 16px;
        }
        
        /* Tabs for Departments */
        .nav-tabs {
            border-bottom: 2px solid var(--medium-gray);
            margin-bottom: 30px;
        }
        
        .nav-tabs .nav-link {
            color: var(--dark-gray);
            font-weight: 500;
            border: none;
            padding: 12px 25px;
            border-radius: 8px 8px 0 0;
            margin-right: 5px;
        }
        
        .nav-tabs .nav-link.active {
            color: var(--primary-blue);
            background-color: var(--light-blue);
            border-bottom: 3px solid var(--accent-blue);
        }
        
        /* Facilities Section */
        .facilities-section {
            padding: 100px 0;
            background-color: var(--white);
        }
        
        .facility-card {
            text-align: center;
            padding: 30px 20px;
            border-radius: 8px;
            transition: all 0.3s;
            height: 100%;
            margin-bottom: 30px;
        }
        
        .facility-card:hover {
            background-color: var(--light-blue);
            transform: translateY(-5px);
        }
        
        .facility-icon {
            width: 70px;
            height: 70px;
            background-color: var(--light-blue);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 20px;
        }
        
        .facility-icon i {
            font-size: 2rem;
            color: var(--primary-blue);
        }
        
        /* Footer */
        .footer {
            background-color: var(--dark-blue);
            color: var(--white);
            padding: 70px 0 30px;
        }
        
        .footer h5 {
            color: var(--white);
            margin-bottom: 1.5rem;
            font-weight: 600;
        }
        
        .footer p, .footer li {
            color: rgba(255, 255, 255, 0.8);
        }
        
        .footer ul {
            list-style: none;
            padding-left: 0;
        }
        
        .footer ul li {
            margin-bottom: 10px;
        }
        
        .footer ul li i {
            color: var(--accent-blue);
            margin-right: 10px;
            width: 20px;
        }
        
        .footer-bottom {
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            padding-top: 30px;
            margin-top: 50px;
            text-align: center;
            color: rgba(255, 255, 255, 0.7);
        }
        
        /* Responsive Styles */
        @media (max-width: 992px) {
            .page-title {
                font-size: 2.5rem;
            }
        }
        
        @media (max-width: 768px) {
            .page-title {
                font-size: 2rem;
            }
            
            .page-subtitle {
                font-size: 1rem;
            }
            
            body {
                padding-top: 70px;
            }
            
            .navbar-nav {
                text-align: center;
                padding-top: 15px;
            }
            
            .navbar-nav .nav-link {
                margin: 5px 0;
            }
            
            .nav-tabs .nav-link {
                padding: 10px 15px;
                font-size: 0.9rem;
            }
        }
        
        @media (max-width: 576px) {
            .page-title {
                font-size: 1.8rem;
            }
            
            .section-title {
                font-size: 1.8rem;
            }
            
            .team-img {
                height: 220px;
            }
        }
        
        /* Back to Top Button */
        .back-to-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 50px;
            height: 50px;
            background-color: var(--accent-blue);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            text-decoration: none;
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s;
        }
        
        .back-to-top.show {
            opacity: 1;
            visibility: visible;
        }
        
        .back-to-top:hover {
            background-color: var(--primary-blue);
            color: white;
            transform: translateY(-3px);
        }
        :root {
        --primary-blue: #0d4a7c;
        --secondary-blue: #1c6ea4;
        --accent-blue: #4a9bd8;
        --light-blue: #e8f4fc;
        --dark-blue: #083358;
        --white: #ffffff;
        --light-gray: #f8f9fa;
        --medium-gray: #e9ecef;
        --dark-gray: #6c757d;
        --success: #28a745;
        --danger: #dc3545;
    }
    
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }
    
    body {
        font-family: 'Roboto', sans-serif;
        color: #333;
        line-height: 1.6;
        overflow-x: hidden;
        padding-top: 80px;
        background-color: #f9f9f9;
    }
    
    h1, h2, h3, h4, h5, h6 {
        font-family: 'Poppins', sans-serif;
        font-weight: 600;
        color: var(--primary-blue);
    }
    
    /* Navbar Styles */
    .navbar {
        background-color: var(--primary-blue);
        padding: 1.2rem 0;
        transition: all 0.4s ease;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        z-index: 1030;
    }
    
    .navbar.scrolled {
        padding: 0.8rem 0;
    }
    
    .navbar-brand {
        font-weight: 700;
        font-size: 1.8rem;
        color: var(--white);
    }
    
    .navbar-brand span {
        color: var(--accent-blue);
    }
    
    .navbar-nav .nav-link {
        color: var(--white);
        font-weight: 500;
        margin: 0 10px;
        transition: color 0.3s;
        font-size: 1.1rem;
    }
    
    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link.active {
        color: var(--accent-blue);
    }
    
    .btn-portal {
        background-color: var(--accent-blue);
        color: var(--white);
        border-radius: 30px;
        padding: 10px 24px;
        font-weight: 500;
        border: none;
        transition: all 0.3s;
        font-size: 1rem;
    }
    
    .btn-portal:hover {
        background-color: var(--secondary-blue);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }
    
    /* Page Header */
    .page-header {
        background: linear-gradient(rgba(13, 74, 124, 0.85), rgba(13, 74, 124, 0.9)), url('https://images.unsplash.com/photo-1519494026892-80bbd2d6fd0d?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2053&q=80');
        background-size: cover;
        background-position: center;
        color: var(--white);
        padding: 120px 0 80px;
        text-align: center;
        position: relative;
    }
    
    .page-title {
        font-size: 3rem;
        font-weight: 700;
        margin-bottom: 1rem;
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    }
    
    .page-subtitle {
        font-size: 1.2rem;
        opacity: 0.9;
        max-width: 700px;
        margin: 0 auto;
        line-height: 1.8;
    }
    
    /* Departments Section */
    .departments-section {
        padding: 100px 0;
        background-color: var(--white);
    }
    
    .section-title {
        color: var(--primary-blue);
        margin-bottom: 1.5rem;
        font-weight: 700;
        position: relative;
        padding-bottom: 15px;
        display: inline-block;
    }
    
    .section-title:after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 60px;
        height: 4px;
        background-color: var(--accent-blue);
        border-radius: 2px;
    }
    
    .section-title.center {
        display: block;
        text-align: center;
    }
    
    .section-title.center:after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    /* Department Filter Buttons */
    .dept-filter {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        margin-bottom: 40px;
    }
    
    .filter-btn {
        background-color: var(--light-blue);
        color: var(--primary-blue);
        border: none;
        padding: 10px 24px;
        border-radius: 30px;
        font-weight: 500;
        transition: all 0.3s;
        cursor: pointer;
        font-size: 0.95rem;
        border: 2px solid transparent;
    }
    
    .filter-btn:hover {
        background-color: var(--primary-blue);
        color: var(--white);
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }
    
    .filter-btn.active {
        background-color: var(--primary-blue);
        color: var(--white);
        border-color: var(--accent-blue);
    }
    
    /* Department Cards */
    .dept-card {
        background-color: var(--white);
        border-radius: 15px;
        overflow: hidden;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        height: 100%;
        margin-bottom: 30px;
        border: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .dept-card:hover {
        transform: translateY(-12px);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    }
    
    .dept-img {
        height: 220px;
        width: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }
    
    .dept-card:hover .dept-img {
        transform: scale(1.05);
    }
    
    .dept-body {
        padding: 25px;
        position: relative;
    }
    
    .dept-icon {
        width: 70px;
        height: 70px;
        background: linear-gradient(135deg, var(--light-blue) 0%, var(--accent-blue) 100%);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 20px;
        box-shadow: 0 4px 10px rgba(74, 155, 216, 0.2);
    }
    
    .dept-icon i {
        font-size: 2rem;
        color: var(--white);
    }
    
    .dept-name {
        color: var(--primary-blue);
        font-weight: 700;
        margin-bottom: 8px;
        font-size: 1.5rem;
        line-height: 1.3;
    }
    
    .dept-head {
        color: var(--accent-blue);
        font-weight: 600;
        margin-bottom: 15px;
        font-size: 1rem;
        display: flex;
        align-items: center;
    }
    
    .dept-head:before {
        content: '👨‍⚕️';
        margin-right: 8px;
        font-size: 0.9em;
    }
    
    .dept-desc {
        color: var(--dark-gray);
        margin-bottom: 20px;
        font-size: 0.95rem;
        line-height: 1.6;
        min-height: 72px;
    }
    
    .dept-features {
        margin-bottom: 25px;
        padding-left: 0;
    }
    
    .dept-features li {
        margin-bottom: 8px;
        color: #555;
        font-size: 0.9rem;
        display: flex;
        align-items: flex-start;
        list-style: none;
    }
    
    .dept-features li i {
        color: var(--success);
        margin-right: 10px;
        margin-top: 3px;
        font-size: 0.9rem;
        flex-shrink: 0;
    }
    
    .dept-actions {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-top: 15px;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .btn-appointment {
        background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
        color: var(--white);
        border-radius: 30px;
        padding: 10px 22px;
        font-size: 0.95rem;
        font-weight: 600;
        border: none;
        transition: all 0.3s;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 10px rgba(13, 74, 124, 0.2);
    }
    
    .btn-appointment:hover {
        background: linear-gradient(135deg, var(--secondary-blue) 0%, var(--primary-blue) 100%);
        color: var(--white);
        transform: translateY(-2px);
        box-shadow: 0 6px 15px rgba(13, 74, 124, 0.3);
        text-decoration: none;
    }
    
    .dept-phone {
        color: var(--primary-blue);
        font-weight: 600;
        font-size: 0.9rem;
        display: flex;
        align-items: center;
    }
    
    .dept-phone i {
        color: var(--accent-blue);
        margin-right: 8px;
        font-size: 1.1rem;
    }
    
    /* Emergency Department Highlight */
    .emergency-dept {
        border: 2px solid var(--danger);
        position: relative;
    }
    
    .emergency-badge {
        position: absolute;
        top: 15px;
        right: 15px;
        background-color: var(--danger);
        color: white;
        padding: 6px 15px;
        border-radius: 20px;
        font-size: 0.8rem;
        font-weight: 700;
        z-index: 2;
        box-shadow: 0 3px 8px rgba(220, 53, 69, 0.3);
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    
    /* Department Details Modal */
    .modal-header {
        background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
        color: white;
        border-bottom: none;
        padding: 1.5rem;
    }
    
    .modal-title {
        font-weight: 600;
        display: flex;
        align-items: center;
    }
    
    .modal-title i {
        margin-right: 10px;
        font-size: 1.3rem;
    }
    
    .btn-close-white {
        filter: invert(1) grayscale(100%) brightness(200%);
        opacity: 0.8;
    }
    
    .btn-close-white:hover {
        opacity: 1;
    }
    
    /* Facilities Section */
    .facilities-section {
        padding: 100px 0;
        background-color: var(--light-gray);
    }
    
    .facility-card {
        text-align: center;
        padding: 35px 25px;
        border-radius: 12px;
        transition: all 0.3s;
        height: 100%;
        margin-bottom: 30px;
        background-color: var(--white);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        border: 1px solid rgba(0, 0, 0, 0.03);
    }
    
    .facility-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
    }
    
    .facility-icon {
        width: 80px;
        height: 80px;
        background: linear-gradient(135deg, var(--light-blue) 0%, var(--accent-blue) 100%);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 25px;
        box-shadow: 0 5px 15px rgba(74, 155, 216, 0.2);
    }
    
    .facility-icon i {
        font-size: 2.2rem;
        color: var(--white);
    }
    
    .facility-card h5 {
        color: var(--primary-blue);
        font-weight: 700;
        margin-bottom: 15px;
        font-size: 1.3rem;
    }
    
    .facility-card p {
        color: var(--dark-gray);
        line-height: 1.6;
        font-size: 0.95rem;
    }
    
    /* Footer */
    .footer {
        background-color: var(--dark-blue);
        color: var(--white);
        padding: 80px 0 30px;
    }
    
    .footer h5 {
        color: var(--white);
        margin-bottom: 1.5rem;
        font-weight: 700;
        font-size: 1.3rem;
        position: relative;
        padding-bottom: 10px;
    }
    
    .footer h5:after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 40px;
        height: 3px;
        background-color: var(--accent-blue);
    }
    
    .footer p, .footer li {
        color: rgba(255, 255, 255, 0.85);
        line-height: 1.8;
    }
    
    .footer ul {
        list-style: none;
        padding-left: 0;
    }
    
    .footer ul li {
        margin-bottom: 12px;
        display: flex;
        align-items: flex-start;
    }
    
    .footer ul li i {
        color: var(--accent-blue);
        margin-right: 12px;
        width: 20px;
        margin-top: 3px;
        flex-shrink: 0;
    }
    
    .footer-bottom {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-top: 30px;
        margin-top: 50px;
        text-align: center;
        color: rgba(255, 255, 255, 0.7);
        font-size: 0.9rem;
    }
    
    /* Back to Top Button */
    .back-to-top {
        position: fixed;
        bottom: 30px;
        right: 30px;
        width: 55px;
        height: 55px;
        background: linear-gradient(135deg, var(--accent-blue) 0%, var(--secondary-blue) 100%);
        color: white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.3rem;
        text-decoration: none;
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s;
        box-shadow: 0 4px 12px rgba(74, 155, 216, 0.3);
    }
    
    .back-to-top.show {
        opacity: 1;
        visibility: visible;
    }
    
    .back-to-top:hover {
        background: linear-gradient(135deg, var(--secondary-blue) 0%, var(--primary-blue) 100%);
        color: white;
        transform: translateY(-5px);
        box-shadow: 0 6px 18px rgba(74, 155, 216, 0.4);
    }
    
    /* Animation for filter */
    .dept-card {
        animation: fadeInUp 0.6s ease;
    }
    
    @keyframes fadeInUp {
        from { 
            opacity: 0; 
            transform: translateY(30px); 
        }
        to { 
            opacity: 1; 
            transform: translateY(0); 
        }
    }
    
    /* Responsive Styles */
    @media (max-width: 1200px) {
        .page-title {
            font-size: 2.8rem;
        }
        
        .dept-name {
            font-size: 1.4rem;
        }
    }
    
    @media (max-width: 992px) {
        .page-title {
            font-size: 2.5rem;
        }
        
        .dept-card {
            margin-bottom: 25px;
        }
        
        .dept-icon {
            width: 65px;
            height: 65px;
        }
        
        .dept-icon i {
            font-size: 1.8rem;
        }
    }
    
    @media (max-width: 768px) {
        .page-title {
            font-size: 2.2rem;
        }
        
        .page-subtitle {
            font-size: 1.1rem;
            padding: 0 20px;
        }
        
        body {
            padding-top: 70px;
        }
        
        .navbar-nav {
            text-align: center;
            padding-top: 15px;
        }
        
        .navbar-nav .nav-link {
            margin: 5px 0;
            font-size: 1rem;
        }
        
        .dept-filter {
            gap: 8px;
            padding: 0 15px;
        }
        
        .filter-btn {
            padding: 8px 18px;
            font-size: 0.9rem;
        }
        
        .dept-img {
            height: 200px;
        }
        
        .dept-body {
            padding: 20px;
        }
        
        .facility-card {
            padding: 25px 20px;
        }
        
        .facility-icon {
            width: 70px;
            height: 70px;
        }
        
        .facility-icon i {
            font-size: 2rem;
        }
    }
    
    @media (max-width: 576px) {
        .page-title {
            font-size: 2rem;
        }
        
        .page-subtitle {
            font-size: 1rem;
        }
        
        .section-title {
            font-size: 1.8rem;
        }
        
        .dept-img {
            height: 180px;
        }
        
        .dept-actions {
            flex-direction: column;
            gap: 15px;
            align-items: flex-start;
        }
        
        .btn-appointment {
            width: 100%;
            justify-content: center;
        }
        
        .dept-phone {
            align-self: flex-start;
        }
        
        .back-to-top {
            width: 50px;
            height: 50px;
            bottom: 20px;
            right: 20px;
        }
    }
    
    @media (max-width: 400px) {
        .dept-filter {
            flex-direction: column;
            align-items: center;
        }
        
        .filter-btn {
            width: 200px;
            text-align: center;
        }
    }