:root {
            --primary-blue: #0a3d91;
            --primary-red: #d32f2f;
            --dark-blue: #072a6d;
            --dark-red: #b71c1c;
            --light-blue: #4d6fb8;
            --light-red: #ff6659;
            --light-gray: #f5f5f5;
            --medium-gray: #e0e0e0;
            --dark-gray: #424242;
        }
        
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            color: #333;
            line-height: 1.6;
            padding-bottom: 80px; /* Space for WhatsApp button */
        }
        
        .bg-primary-blue {
            background-color: var(--primary-blue) !important;
        }
        
        .bg-primary-red {
            background-color: var(--primary-red) !important;
        }
        
        .text-primary-blue {
            color: var(--primary-blue) !important;
        }
        
        .text-primary-red {
            color: var(--primary-red) !important;
        }
        
        .btn-primary-blue {
            background-color: var(--primary-blue);
            border-color: var(--primary-blue);
            color: white;
        }
        
        .btn-primary-blue:hover {
            background-color: var(--dark-blue);
            border-color: var(--dark-blue);
        }
        
        .btn-primary-red {
            background-color: var(--primary-red);
            border-color: var(--primary-red);
            color: white;
        }
        
        .btn-primary-red:hover {
            background-color: var(--dark-red);
            border-color: var(--dark-red);
        }
        
        .btn-outline-primary-blue {
            border-color: var(--primary-blue);
            color: var(--primary-blue);
        }
        
        .btn-outline-primary-blue:hover {
            background-color: var(--primary-blue);
            color: white;
        }
        
        .btn-outline-primary-red {
            border-color: var(--primary-red);
            color: var(--primary-red);
        }
        
        .btn-outline-primary-red:hover {
            background-color: var(--primary-red);
            color: white;
        }
        
        .navbar-brand {
            font-weight: 700;
            font-size: 1.8rem;
        }
        
        .navbar-nav .nav-link {
            font-weight: 500;
            padding: 0.5rem 1rem;
        }
        
        .navbar-nav .nav-link:hover {
            color: var(--primary-red);
        }

         .logo-container {
            display: flex;
            align-items: center;
        }

        .logo {
            display: flex;
            align-items: center;
            text-decoration: none;
            color: #2c3e50;
        }

        .logo-img {
            height: 60px;
            width: auto;
            margin-right: 12px;
        }

         
        .hero-section {
            
            color: white;
            padding: 120px 0 80px;
            margin-top: 76px;
        }
        
        .section-title {
            position: relative;
            margin-bottom: 3rem;
        }
        
        .section-title:after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 0;
            width: 60px;
            height: 4px;
            background-color: var(--primary-red);
        }
        
        .section-title.text-center:after {
            left: 50%;
            transform: translateX(-50%);
        }
        
        .department-card, .doctor-card, .news-card {
            transition: transform 0.3s ease;
            border: none;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
            height: 100%;
        }
        
        .department-card:hover, .doctor-card:hover, .news-card:hover {
            transform: translateY(-10px);
        }
        
        .department-icon {
            font-size: 3rem;
            color: var(--primary-blue);
            margin-bottom: 1rem;
        }
        
        .doctor-img {
            height: 250px;
            object-fit: cover;
        }
        
        .news-img {
            height: 200px;
            object-fit: cover;
        }
        
        .contact-info-box {
            background-color: var(--light-gray);
            padding: 2rem;
            border-radius: 8px;
            height: 100%;
        }
        
        .contact-icon {
            font-size: 1.5rem;
            color: var(--primary-blue);
            margin-right: 10px;
        }
        
        footer {
            background-color: #2c3e50;
            color: white;
        }
        
        .footer-links a {
            color: #ddd;
            text-decoration: none;
            display: block;
            margin-bottom: 0.5rem;
        }
        
        .footer-links a:hover {
            color: white;
        }
        
        /* Page Header */
        .page-header {
           
            color: white;
            padding: 100px 0 60px;
            margin-top: 76px;
        }
        
        .breadcrumb {
            background-color: transparent;
            padding: 0;
        }
        
        .breadcrumb-item.active {
            color: var(--primary-red);
        }
        
        /* Sidebar Widgets */
        .sidebar-widget {
            background-color: var(--light-gray);
            padding: 20px;
            border-radius: 8px;
            margin-bottom: 30px;
        }
        
        .sidebar-widget h4 {
            color: var(--primary-blue);
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 2px solid var(--primary-red);
        }
        
        /* Blog/News Styles */
        .blog-post {
            margin-bottom: 50px;
        }
        
        .blog-post img {
            border-radius: 8px;
            margin-bottom: 20px;
        }
        
        .blog-meta {
            color: #666;
            font-size: 0.9rem;
            margin-bottom: 15px;
        }
        
        .blog-meta i {
            margin-right: 5px;
            color: var(--primary-blue);
        }
        
        .blog-tags {
            margin-top: 20px;
        }
        
        .blog-tags a {
            display: inline-block;
            background: var(--light-gray);
            padding: 5px 10px;
            border-radius: 4px;
            margin-right: 5px;
            margin-bottom: 5px;
            font-size: 0.9rem;
            text-decoration: none;
            color: var(--dark-gray);
        }
        
        .blog-tags a:hover {
            background: var(--primary-blue);
            color: white;
        }
        
        /* Department Page Styles */
        .department-detail {
            margin-bottom: 40px;
        }
        
        .department-services {
            background: var(--light-gray);
            padding: 30px;
            border-radius: 8px;
        }
        
        .department-services ul {
            list-style-type: none;
            padding-left: 0;
        }
        
        .department-services li {
            padding: 8px 0;
            border-bottom: 1px solid #ddd;
        }
        
        .department-services li:before {
            content: "✓";
            color: var(--primary-red);
            font-weight: bold;
            margin-right: 10px;
        }
        
        /* Doctor Profile Styles */
        .doctor-profile {
            margin-bottom: 40px;
        }
        
        .doctor-details {
            background: var(--light-gray);
            padding: 30px;
            border-radius: 8px;
        }
        
        /* Appointment Form Styles */
        .appointment-form {
            background: var(--light-gray);
            padding: 30px;
            border-radius: 8px;
        }
        
        /* WhatsApp Chat Widget */
        .whatsapp-widget {
            position: fixed;
            bottom: 20px;
            right: 20px;
            z-index: 1000;
        }
        
        .whatsapp-button {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background-color: #25D366;
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 30px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
            cursor: pointer;
            transition: all 0.3s ease;
            animation: pulse 2s infinite;
        }
        
        .whatsapp-button:hover {
            transform: scale(1.1);
            box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
        }
        
        .whatsapp-chat {
            position: absolute;
            bottom: 70px;
            right: 0;
            width: 300px;
            background: white;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
            display: none;
            overflow: hidden;
        }
        
        .whatsapp-header {
            background-color: #075E54;
            color: white;
            padding: 15px;
            display: flex;
            align-items: center;
        }
        
        .whatsapp-header img {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            margin-right: 10px;
        }
        
        .whatsapp-body {
            padding: 15px;
            max-height: 300px;
            overflow-y: auto;
        }
        
        .whatsapp-message {
            background: #f1f1f1;
            padding: 10px;
            border-radius: 10px;
            margin-bottom: 10px;
            font-size: 14px;
        }
        
        .whatsapp-input {
            display: flex;
            padding: 10px;
            border-top: 1px solid #eee;
        }
        
        .whatsapp-input input {
            flex: 1;
            border: 1px solid #ddd;
            border-radius: 20px;
            padding: 8px 15px;
            outline: none;
        }
        
        .whatsapp-input button {
            background: #25D366;
            border: none;
            color: white;
            border-radius: 50%;
            width: 40px;
            height: 40px;
            margin-left: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        @keyframes pulse {
            0% {
                box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
            }
            70% {
                box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
            }
            100% {
                box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
            }
        }
        
        /* Responsive adjustments */
        @media (max-width: 768px) {
            .hero-section, .page-header {
                padding: 100px 0 60px;
                margin-top: 76px;
            }
            
            .hero-section h1, .page-header h1 {
                font-size: 2rem;
            }
            
            .whatsapp-chat {
                width: 280px;
                right: -10px;
            }
        }
        
        @media (max-width: 576px) {
            .whatsapp-chat {
                width: 260px;
                right: -20px;
            }
            
            .whatsapp-button {
                width: 50px;
                height: 50px;
                font-size: 24px;
            }
        }


        /*##about us##*/
        .mission-vision-card {
            transition: transform 0.3s ease;
            border: none;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
            height: 100%;
            padding: 30px;
            text-align: center;
        }
        
        .mission-vision-card:hover {
            transform: translateY(-10px);
        }
        
        .mission-vision-icon {
            font-size: 3rem;
            color: var(--primary-blue);
            margin-bottom: 1rem;
        }
        
        .values-section {
            background-color: var(--light-gray);
        }
        
        .value-item {
            text-align: center;
            padding: 20px;
        }
        
        .value-icon {
            font-size: 2.5rem;
            color: var(--primary-red);
            margin-bottom: 15px;
        }
        
        .timeline {
            position: relative;
            padding: 20px 0;
        }
        
        .timeline::before {
            content: '';
            position: absolute;
            left: 50%;
            top: 0;
            bottom: 0;
            width: 4px;
            background: var(--primary-blue);
            transform: translateX(-50%);
        }
        
        .timeline-item {
            position: relative;
            margin-bottom: 40px;
        }
        
        .timeline-content {
            position: relative;
            width: 45%;
            padding: 20px;
            background: white;
            border-radius: 8px;
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
        }
        
        .timeline-item:nth-child(odd) .timeline-content {
            left: 0;
        }
        
        .timeline-item:nth-child(even) .timeline-content {
            left: 55%;
        }
        
        .timeline-content::after {
            content: '';
            position: absolute;
            top: 20px;
            width: 20px;
            height: 20px;
            background: var(--primary-red);
            border-radius: 50%;
        }
        
        .timeline-item:nth-child(odd) .timeline-content::after {
            right: -10px;
        }
        
        .timeline-item:nth-child(even) .timeline-content::after {
            left: -10px;
        }
        
        .stats-section {
            background: linear-gradient(rgba(10, 61, 145, 0.9), rgba(10, 61, 145, 0.9)), 
                        url('https://images.unsplash.com/photo-1576091160399-112ba8d25d1f?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
            background-size: cover;
            background-position: center;
            color: white;
            padding: 80px 0;
        }
        
        .stat-item {
            text-align: center;
            padding: 20px;
        }
        
        .stat-number {
            font-size: 3rem;
            font-weight: 700;
            margin-bottom: 10px;
        }
        
        .stat-label {
            font-size: 1.2rem;
        }
        
        .team-card {
            transition: transform 0.3s ease;
            border: none;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
            height: 100%;
        }
        
        .team-card:hover {
            transform: translateY(-10px);
        }
        
        .team-img {
            height: 250px;
            object-fit: cover;
        }
        


        /***#####Department######**/
                
        .department-card {
            transition: transform 0.3s ease;
            border: none;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
            height: 100%;
            margin-bottom: 30px;
        }
        
        .department-card:hover {
            transform: translateY(-10px);
        }
        
        .department-icon {
            font-size: 3rem;
            color: var(--primary-blue);
            margin-bottom: 1rem;
        }
        
        .department-img {
            height: 200px;
            object-fit: cover;
        }
        
        .services-section {
            background-color: var(--light-gray);
        }
        
        .service-item {
            text-align: center;
            padding: 20px;
        }
        
        .service-icon {
            font-size: 2.5rem;
            color: var(--primary-red);
            margin-bottom: 15px;
        }
        
        .emergency-section {
            background: linear-gradient(rgba(211, 47, 47, 0.9), rgba(211, 47, 47, 0.9)), 
                        url('https://images.unsplash.com/photo-1579684385127-1ef15d508118?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
            background-size: cover;
            background-position: center;
            color: white;
            padding: 80px 0;
        }
        
        .specialists-section {
            background-color: var(--light-gray);
        }
        
        .specialist-card {
            transition: transform 0.3s ease;
            border: none;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
            height: 100%;
        }
        
        .specialist-card:hover {
            transform: translateY(-5px);
        }
        
        .specialist-img {
            height: 200px;
            object-fit: cover;
        }
        
        .facilities-section {
            background: linear-gradient(rgba(10, 61, 145, 0.9), rgba(10, 61, 145, 0.9)), 
                        url('https://images.unsplash.com/photo-1519494026892-80bbd2d6fd0d?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
            background-size: cover;
            background-position: center;
            color: white;
            padding: 80px 0;
        }
        
        .facility-item {
            text-align: center;
            padding: 20px;
        }
        
        .facility-icon {
            font-size: 2.5rem;
            margin-bottom: 15px;
        }
        
        .contact-info-box {
            background-color: var(--light-gray);
            padding: 2rem;
            border-radius: 8px;
            height: 100%;
        }
        
        .contact-icon {
            font-size: 1.5rem;
            color: var(--primary-blue);
            margin-right: 10px;
        }
        



        /******###blog/ news####*****/
        .blog-card {
            border: none;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
            margin-bottom: 30px;
            transition: transform 0.3s ease;
            height: 100%;
        }
        
        .blog-card:hover {
            transform: translateY(-5px);
        }
        
        .blog-img {
            height: 200px;
            object-fit: cover;
            width: 100%;
        }
        
        .blog-meta {
            color: #666;
            font-size: 0.9rem;
            margin-bottom: 10px;
        }
        
        .blog-meta i {
            margin-right: 5px;
            color: var(--primary-blue);
        }
        
        .blog-category {
            display: inline-block;
            background-color: var(--primary-red);
            color: white;
            padding: 3px 10px;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 600;
            margin-bottom: 10px;
        }
        
        .featured-blog {
            background: linear-gradient(rgba(10, 61, 145, 0.05), rgba(10, 61, 145, 0.05));
            border-radius: 10px;
            padding: 30px;
            margin-bottom: 40px;
        }
        
        .featured-img {
            height: 350px;
            object-fit: cover;
            border-radius: 10px;
            width: 100%;
        }
        
        .sidebar-widget {
            background-color: var(--light-gray);
            padding: 25px;
            border-radius: 10px;
            margin-bottom: 30px;
        }
        
        .sidebar-widget h4 {
            color: var(--primary-blue);
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 2px solid var(--primary-red);
        }
        
        .category-list {
            list-style-type: none;
            padding-left: 0;
        }
        
        .category-list li {
            padding: 8px 0;
            border-bottom: 1px solid #eee;
        }
        
        .category-list li:last-child {
            border-bottom: none;
        }
        
        .category-list a {
            text-decoration: none;
            color: #333;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .category-list a:hover {
            color: var(--primary-blue);
        }
        
        .category-count {
            background-color: var(--primary-blue);
            color: white;
            border-radius: 20px;
            padding: 2px 8px;
            font-size: 0.8rem;
        }
        
        .tag-cloud {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }
        
        .tag-cloud a {
            background-color: white;
            padding: 5px 12px;
            border-radius: 20px;
            text-decoration: none;
            color: #333;
            font-size: 0.9rem;
            border: 1px solid #ddd;
            transition: all 0.3s ease;
        }
        
        .tag-cloud a:hover {
            background-color: var(--primary-blue);
            color: white;
            border-color: var(--primary-blue);
        }
        
        .search-box {
            position: relative;
        }
        
        .search-box input {
            padding-right: 40px;
        }
        
        .search-box button {
            position: absolute;
            right: 5px;
            top: 5px;
            background: none;
            border: none;
            color: var(--primary-blue);
        }
        
        .author-card {
            display: flex;
            align-items: center;
            padding: 20px;
            background-color: white;
            border-radius: 10px;
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
            margin-bottom: 20px;
        }
        
        .author-img {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            object-fit: cover;
            margin-right: 20px;
            border: 3px solid var(--primary-blue);
        }
        
        .newsletter-widget {
            background: linear-gradient(rgba(10, 61, 145, 0.9), rgba(10, 61, 145, 0.9));
            color: white;
            padding: 25px;
            border-radius: 10px;
            text-align: center;
        }
        
        .popular-posts .post-item {
            display: flex;
            margin-bottom: 15px;
            padding-bottom: 15px;
            border-bottom: 1px solid #eee;
        }
        
        .popular-posts .post-item:last-child {
            border-bottom: none;
            margin-bottom: 0;
            padding-bottom: 0;
        }
        
        .popular-posts .post-img {
            width: 80px;
            height: 60px;
            object-fit: cover;
            border-radius: 5px;
            margin-right: 15px;
        }
        
        .popular-posts .post-title {
            font-size: 0.9rem;
            margin-bottom: 5px;
        }
        
        .popular-posts .post-date {
            font-size: 0.8rem;
            color: #666;
        }
        
        .breadcrumb {
            background-color: transparent;
            padding: 0;
        }
        
        .breadcrumb-item.active {
            color: var(--primary-red);
        }
        


        /**##contact#**/
        
        .contact-info-card {
            background-color: white;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
            padding: 30px;
            height: 100%;
            transition: transform 0.3s ease;
        }
        
        .contact-info-card:hover {
            transform: translateY(-5px);
        }
        
        .contact-icon {
            font-size: 2.5rem;
            color: var(--primary-blue);
            margin-bottom: 1rem;
        }
        
        .contact-form {
            background-color: var(--light-gray);
            padding: 40px;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
        }
        
        .department-contact {
            background-color: white;
            border-left: 4px solid var(--primary-red);
            padding: 20px;
            margin-bottom: 20px;
            border-radius: 5px;
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
        }
        
        .emergency-banner {
            background: linear-gradient(rgba(211, 47, 47, 0.9), rgba(211, 47, 47, 0.9)), 
                        url('https://images.unsplash.com/photo-1579684385127-1ef15d508118?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
            background-size: cover;
            background-position: center;
            color: white;
            padding: 40px;
            border-radius: 10px;
            text-align: center;
            margin: 40px 0;
        }
        
        .faq-item {
            margin-bottom: 20px;
            border-bottom: 1px solid #eee;
            padding-bottom: 20px;
        }
        
        .faq-question {
            font-weight: 600;
            color: var(--primary-blue);
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .faq-answer {
            margin-top: 10px;
            display: none;
        }
        
        .faq-question.active + .faq-answer {
            display: block;
        }
        
        .map-container {
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
            height: 680px;
            background-color: var(--light-gray);
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
        }
        
        .visit-info {
            background-color: var(--light-gray);
            padding: 30px;
            border-radius: 10px;
        }
        