   :root {
            --primary-color: #000066;
            --secondary-color: #000066;
            --accent-color: #ff6b6b;
            --light-color: #f8f9fa;
            --dark-color: #333;
            --header-height: 80px;
            --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
            --transition: all 0.3s ease;
        }

        body {
            padding-top: var(--header-height);
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            color: #333;
            overflow-x: hidden;
        }

        /* Navbar Styling - SIMPLIFIED */
        .navbar {
            background: linear-gradient(135deg, #000066 50%, #ff3333 100%) !important;
            box-shadow: 0 4px 18px rgba(26, 109, 158, 0.1);
            padding: 12px 0;
            transition: all 0.3s ease;
            z-index: 1050;
        }

        .navbar-brand {
            font-weight: 700;
            font-size: 1.5rem;
            letter-spacing: 0.5px;
            color: white !important;
            display: flex;
            align-items: center;
        }

        .logo-circle {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            overflow: hidden;
            border: 3px solid white;
            margin-right: 12px;
            box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
            transition: transform 0.3s ease;
        }

        .logo-circle:hover {
            transform: scale(1.05);
        }

        .logo-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        /* Mobile menu button styling */
        .navbar-toggler {
            border: 1px solid rgba(255, 255, 255, 0.3);
            padding: 0.5rem 0.75rem;
        }

        .navbar-toggler:focus {
            box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.25);
        }

        /* Nav link styling */
        .nav-link {
            font-weight: 500;
            padding: 0.5rem 1rem !important;
            margin: 0 0.25rem;
            border-radius: 6px;
            transition: all 0.3s ease;
            color: rgba(255, 255, 255, 0.9) !important;
        }

        .nav-link:hover, .nav-link:focus {
            background: rgba(255, 255, 255, 0.15);
        }

        .nav-link.active {
            background: rgba(255, 255, 255, 0.25);
            color: white !important;
            font-weight: 600;
        }

        /* Emergency button styling */
        .emergency-btn {
            background-color: white;
            color: #000066 !important;
            font-weight: 600;
            padding: 0.5rem 1rem !important;
            border-radius: 50px;
            transition: all 0.3s ease;
            margin-left: 0.5rem;
        }

        .emergency-btn:hover {
            background-color: #f8f9fa;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        }

        /* Mobile adjustments */
        @media (max-width: 991.98px) {
            body {
                padding-top: 85px;
            }
            
            .navbar {
                min-height: 85px;
            }
            
            .navbar-brand {
                font-size: 1.2rem;
            }
            
            .logo-circle {
                width: 50px;
                height: 50px;
            }
            
            /* Mobile menu */
            .navbar-collapse {
                background: linear-gradient(135deg, #000066 30%, #ff3333 100%);
                padding: 1rem;
                border-radius: 12px;
                margin-top: 10px;
                animation: fadeInDown 0.25s ease;
                box-shadow: 0 10px 25px rgba(0,0,0,0.2);
            }
            
            /* Center emergency button on mobile */
            .emergency-btn {
                margin: 1rem auto 0 auto;
                display: inline-block;
                width: fit-content;
            }
        }

        @media (max-width: 575.98px) {
            .navbar-brand {
                font-size: 1.1rem;
            }
            
            .logo-circle {
                width: 45px;
                height: 45px;
            }
        }

        @media (max-width: 400px) {
            .navbar-brand {
                font-size: 1rem;
            }
            
            .logo-circle {
                width: 40px;
                height: 40px;
            }
        }

        /* Hero Section */
        .hero-section {
            position: relative;
            min-height: 85vh;
            display: flex;
            align-items: center;
            color: white;
            background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
                        url('images/service1.jpg') no-repeat center center;;
            background-size: cover;
            background-position-y: 0%, 33%;
        }

        @media (max-width: 991.98px) {
            .hero-section {
                min-height: 70vh;
            }
        }

        
        .btn-primary {
            background-color: #000A4D;
            border-color: #1a279e;
            color: white;
        }

        .btn-primary:hover, .btn-primary:focus {
            background-color: #132787;
            border-color: #0D35A6;
        }

        .btn-outline-primary {
            border-color: #0B7334;
            color: #0B7334;
        }

        .btn-outline-primary:hover, .btn-outline-primary:focus {
            background-color: #0B7334;
            color: white;
        }

        .hero-content {
            position: relative;
            z-index: 1;
        }

        .gradient-text {
            background: linear-gradient(90deg, #1a6d9e 0%, #28a745 100%);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            font-weight: 700;
        }

        .section-header {
            text-align: center;
            margin-bottom: 3rem;
        }

        .section-title {
            font-weight: 700;
            margin-bottom: 1rem;
        }

        .section-title span {
            color: var(--primary-color);
        }

        .section-subtitle {
            display: block;
            color: var(--primary-color);
            font-weight: 600;
            margin-bottom: 10px;
            text-transform: uppercase;
            letter-spacing: 1px;
            font-size: 0.9rem;
        }

        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
        }

        .service-card {
            background: white;
            border-radius: 10px;
            padding: 2rem;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
            text-align: center;
            border-top: 4px solid var(--primary-color);
        }

        .service-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0,0,0,0.15);
        }

        .service-icon {
            font-size: 2.5rem;
            color: var(--primary-color);
            margin-bottom: 1rem;
        }

        /* Services Section - Side by Side Layout */
        .services-image-container {
            position: relative;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
            height: 500px;
        }

        .service-main-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .services-image-container:hover .service-main-image {
            transform: scale(1.02);
        }

        /* Services Section - Side by Side Layout */
        .services-image-container {
            position: relative;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
            height: 500px;
        }

        .service-main-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .services-image-container:hover .service-main-image {
            transform: scale(1.02);
        }

        .service-image-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
            padding: 2rem;
            color: white;
        }

        .overlay-title {
            font-size: 1.8rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
            text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
        }

        .overlay-text {
            font-size: 1rem;
            opacity: 0.9;
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
        }

        /* Side Services List - COMPACT VERSION */
        .services-list-side {
            padding-left: 20px;
            display: flex;
            flex-direction: column;
            height: 500px; /* Same height as the image */
            justify-content: space-between;
        }

        .service-item-side {
            display: flex;
            align-items: flex-start;
            padding: 1rem 1.2rem;
            border-radius: 12px;
            background: white;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
            transition: all 0.3s ease;
            border-left: 3px solid transparent;
            flex: 1;
            margin-bottom: 0.8rem;
            min-height: 0; /* Allow items to shrink */
        }

        .service-item-side:last-child {
            margin-bottom: 0;
        }

        .service-item-side:hover {
            transform: translateX(5px);
            box-shadow: 0 6px 20px rgba(0, 0, 102, 0.1);
            border-left-color: var(--primary-color);
        }

        .service-number-side {
            display: flex;
            align-items: center;
            margin-right: 1.2rem;
            position: relative;
            flex-shrink: 0;
        }

        .service-number-side .number {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--primary-color);
            margin-right: 8px;
            min-width: 45px;
            line-height: 1;
        }

        .service-number-side .dot {
            width: 8px;
            height: 8px;
            background: var(--secondary-color);
            border-radius: 50%;
            position: relative;
            flex-shrink: 0;
        }

        .service-number-side .dot::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 16px;
            height: 16px;
            border-radius: 50%;
            background: rgba(255, 51, 51, 0.2);
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0% {
                transform: translate(-50%, -50%) scale(1);
                opacity: 0.5;
            }
            50% {
                transform: translate(-50%, -50%) scale(1.5);
                opacity: 0.2;
            }
            100% {
                transform: translate(-50%, -50%) scale(1);
                opacity: 0.5;
            }
        }

        .service-content-side {
            flex: 1;
            min-width: 0; /* Allow text to wrap properly */
        }

        .service-content-side h4 {
            color: var(--primary-color);
            font-size: 1.2rem;
            font-weight: 600;
            margin-bottom: 0.3rem;
            line-height: 1.3;
        }

        .service-content-side p {
            color: #666;
            font-size: 0.9rem;
            line-height: 1.4;
            margin-bottom: 0;
            display: -webkit-box;
            -webkit-line-clamp: 2; /* Limit to 2 lines */
            -webkit-box-orient: vertical;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        /* View All Services Button */
        .services .btn-primary {
            background: linear-gradient(135deg, var(--primary-color) 30%, var(--secondary-color) 100%);
            border: none;
            padding: 14px 40px;
            border-radius: 30px;
            font-weight: 600;
            font-size: 1.1rem;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            margin-top: 2rem;

        }

        .services .btn-primary:hover {
            transform: translateY(-3px);
            box-shadow: 0 15px 30px rgba(0, 0, 102, 0.2);
        }

        .services .btn-primary::after {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transition: 0.5s;
        }

        .services .btn-primary:hover::after {
            left: 100%;
        }

        .services .text-muted {
            font-size: 0.9rem;
            max-width: 400px;
            margin: 0.8rem auto 0;
            line-height: 1.4;
        }

        /* Responsive Design */
        @media (max-width: 992px) {
            .services-image-container {
                height: 400px;
                margin-bottom: 2rem;
            }
            
            .services-list-side {
                height: auto; /* Remove fixed height on tablet */
                padding-left: 0;
            }
            
            .service-item-side {
                padding: 1rem;
                margin-bottom: 1rem;
            }
            
            .service-number-side .number {
                font-size: 1.3rem;
                min-width: 40px;
            }
            
            .overlay-title {
                font-size: 1.5rem;
            }
            
            .services .btn-primary {
                margin-top: 1.5rem;
            }
        }

        @media (max-width: 768px) {
            .services-image-container {
                height: 350px;
            }
            
            .service-item-side {
                flex-direction: row;
                padding: 1rem;
            }
            
            .service-number-side {
                margin-right: 1rem;
                margin-bottom: 0;
            }
            
            .service-number-side .number {
                font-size: 1.2rem;
            }
            
            .service-content-side h4 {
                font-size: 1.1rem;
            }
            
            .service-content-side p {
                font-size: 0.85rem;
            }
            
            .overlay-title {
                font-size: 1.3rem;
            }
            
            .overlay-text {
                font-size: 0.9rem;
            }
            
            .services .btn-primary {
                padding: 12px 30px;
                font-size: 1rem;
            }
        }

        @media (max-width: 576px) {
            .services-image-container {
                height: 300px;
            }
            
            .service-item-side {
                padding: 0.8rem;
                margin-bottom: 0.8rem;
            }
            
            .service-number-side .number {
                font-size: 1.1rem;
                min-width: 35px;
                margin-right: 6px;
            }
            
            .service-number-side .dot {
                width: 6px;
                height: 6px;
            }
            
            .service-number-side .dot::before {
                width: 14px;
                height: 14px;
            }
            
            .service-content-side h4 {
                font-size: 1rem;
            }
            
            .service-content-side p {
                font-size: 0.8rem;
            }
            
            .overlay-title {
                font-size: 1.2rem;
                padding: 0 1rem;
            }
            
            .overlay-text {
                font-size: 0.85rem;
                padding: 0 1rem;
            }
            
            .service-image-overlay {
                padding: 1.5rem 0;
            }
            
            .services .btn-primary {
                padding: 10px 25px;
                font-size: 0.95rem;
                margin-top: 1.2rem;
            }
            
            .services .text-muted {
                font-size: 0.8rem;
                padding: 0 1rem;
            }
        }

        /* Side Services List */
        .services-list-side {
            padding-left: 20px;
        }

        .service-item-side {
            display: flex;
            align-items: flex-start;
            margin-bottom: 2rem;
            padding: 1.5rem;
            border-radius: 12px;
            background: white;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            transition: all 0.3s ease;
            border-left: 3px solid transparent;
        }

        .service-item-side:hover {
            transform: translateX(10px);
            box-shadow: 0 8px 25px rgba(0, 0, 102, 0.1);
            border-left-color: var(--primary-color);
        }

        .service-number-side {
            display: flex;
            align-items: center;
            margin-right: 1.5rem;
            position: relative;
        }

        .service-number-side .number {
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--primary-color);
            margin-right: 10px;
            min-width: 50px;
        }

        .service-number-side .dot {
            width: 8px;
            height: 8px;
            background: var(--secondary-color);
            border-radius: 50%;
            position: relative;
        }

        .service-number-side .dot::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 16px;
            height: 16px;
            border-radius: 50%;
            background: rgba(255, 51, 51, 0.2);
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0% {
                transform: translate(-50%, -50%) scale(1);
                opacity: 0.5;
            }
            50% {
                transform: translate(-50%, -50%) scale(1.5);
                opacity: 0.2;
            }
            100% {
                transform: translate(-50%, -50%) scale(1);
                opacity: 0.5;
            }
        }

        .service-content-side {
            flex: 1;
        }

        .service-content-side h4 {
            color: var(--primary-color);
            font-size: 1.3rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
        }

        .service-content-side p {
            color: #666;
            font-size: 0.95rem;
            line-height: 1.6;
            margin-bottom: 0;
        }

        /* View All Services Button */
        .services .btn-primary {
          background: linear-gradient(135deg, #000066 50%, #ff3333 100%) !important;
            border: none;
            padding: 14px 40px;
            border-radius: 30px;
            font-weight: 600;
            font-size: 1.1rem;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .services .btn-primary:hover {
            transform: translateY(-3px);
            box-shadow: 0 15px 30px rgba(0, 0, 102, 0.2);
        }

        .services .btn-primary::after {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transition: 0.5s;
        }

        .services .btn-primary:hover::after {
            left: 100%;
        }

        .services .text-muted {
            font-size: 0.9rem;
            max-width: 400px;
            margin: 1rem auto 0;
        }

        /* Responsive Design */
        @media (max-width: 992px) {
            .services-image-container {
                height: 400px;
                margin-bottom: 3rem;
            }
            
            .service-item-side {
                padding: 1.2rem;
                margin-bottom: 1.5rem;
            }
            
            .service-number-side .number {
                font-size: 1.5rem;
                min-width: 45px;
            }
            
            .overlay-title {
                font-size: 1.5rem;
            }
        }

        @media (max-width: 768px) {
            .services-image-container {
                height: 350px;
            }
            
            .service-item-side {
                flex-direction: column;
                padding: 1.5rem;
            }
            
            .service-number-side {
                margin-right: 0;
                margin-bottom: 1rem;
            }
            
            .service-number-side .number {
                font-size: 1.3rem;
            }
            
            .overlay-title {
                font-size: 1.3rem;
            }
            
            .overlay-text {
                font-size: 0.9rem;
            }
            
            .services .btn-primary {
                padding: 12px 30px;
                font-size: 1rem;
            }
        }

        @media (max-width: 576px) {
            .services-image-container {
                height: 300px;
            }
            
            .service-item-side {
                padding: 1rem;
            }
            
            .service-content-side h4 {
                font-size: 1.2rem;
            }
            
            .service-content-side p {
                font-size: 0.9rem;
            }
            
            .overlay-title {
                font-size: 1.2rem;
            }
            
            .overlay-text {
                font-size: 0.85rem;
            }
        }




        .doctors-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 3rem;
        }

        .doctor-card {
            background: white;
            border-radius: 15px;
            padding: 2rem;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
            text-align: center;
            cursor: pointer;
            border: 1px solid #f0f0f0;
        }

        .doctor-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 40px rgba(0,0,0,0.15);
        }

        .doctor-image-container {
            position: relative;
            width: 180px;
            height: 180px;
            margin: 0 auto 1.5rem;
        }

        .doctor-image-circle {
            width: 100%;
            height: 100%;
            border-radius: 50%;
            object-fit: cover;
            border: 1px solid var(--primary-color);
            box-shadow: 0 8px 25px rgba(0, 0, 102, 0.2);
            transition: all 0.3s ease;
        }

        .doctor-card:hover .doctor-image-circle {
            transform: scale(1.05);
            border-color: #3333ff;
        }

        .doctor-specialty-badge {
            position: absolute;
            bottom: 10px;
            right: 10px;
            background: linear-gradient(135deg, #000066 60%, #ff3333 100%);
            color: white;
            padding: 8px 15px;
            border-radius: 50px;
            font-size: 0.8rem;
            font-weight: 600;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        }

        .doctor-info {
            padding: 1rem 0;
        }

        .doctor-specialty {
            color: var(--primary-color);
            font-weight: 600;
            margin-bottom: 0.5rem;
            font-size: 1rem;
        }

        .doctor-name {
            font-size: 1.4rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
            color: #333;
        }

        .doctor-description {
            color: #666;
            line-height: 1.6;
            margin-bottom: 1.5rem;
            font-size: 0.95rem;
        }

      

    

        .carousel-control-prev-icon,
        .carousel-control-next-icon {
            filter: invert(1);
        }

        .testimonials-slider {
            position: relative;
            overflow: hidden;
            margin: 2.5rem 0;
        }

        .testimonial {
              max-width: 700px;
             background: #ffff;
            border-radius: 14px;
            padding: 2.2rem 2rem;
            text-align: center;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
            height: 100%;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .testimonial:hover {
            transform: translateY(-6px);
            box-shadow: 0 16px 35px rgba(0, 0, 0, 0.12);
        }

        .testimonial-rating {
            color: #ffc107;
            margin-bottom: 1.2rem;
            font-size: 1.1rem;
        }

        .testimonial-text {
            font-size: 1.1rem;
            font-style: italic;
            color: #444;
                }

        .testimonial-author {
            margin-top: 1.6rem;
        }

        .testimonial-img {
            width: 80px;
            height: 80px;
            object-fit: cover;
            border-radius: 50%;
            border: 3px solid #000099;
            margin-bottom: 0.5rem;
        }

        .testimonial-author h5 {
            margin-bottom: 0.2rem;
            font-weight: 600;
            color: #000066;
        }

        .testimonial-author span {
            font-size: 0.85rem;
            color: #777;
        }

        .cta-section {
            background: linear-gradient(135deg, #000066 60%, #ff3333 100%) !important;
            color: white;
        }

        .footer {
            background: linear-gradient(135deg, #000033 0%, #000066 100%);
            color: white;
        }


        
        .social-links a {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 45px;
            height: 45px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            margin-right: 10px;
            transition: var(--transition);
            text-decoration: none;
        }

        .social-links a:hover {
            background: white;
            color: var(--primary-color) !important;
            transform: translateY(-3px);
        }


        
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        @media (max-width: 767.98px) {
            .services-grid, .doctors-grid {
                grid-template-columns: 1fr;
            }
        }