        :root {
            --topbar-bg: #005cff; 
            --brand-gray: #555555;
            --brand-red: #ff4a4a; 
            --bg-light: #f4f7f6;
            --bg-white: #ffffff;
            --text-dark: #2d3436;
            --text-muted: #636e72;
            --nav-bg: rgba(255, 255, 255, 0.98);
            --border-color: #dfe6e9;
            
            --grad-primary: linear-gradient(135deg, #005cff 0%, #00d2ff 100%);
            --grad-accent: linear-gradient(135deg, #ff4a4a 0%, #ff9a9e 100%);
        }

        html {
            scroll-behavior: smooth;
            scroll-padding-top: 130px; /* Accounts for header height so titles aren't hidden */
        }

        body {
            font-family: 'Poppins', sans-serif;
            color: var(--text-dark);
            background-color: var(--bg-white);
            overflow-x: hidden;
        }

        h1, h2, h3, h4, h5, h6 { font-weight: 700; }

        /* --- SMART HEADER CONTAINER --- */
        #header-wrap {
            position: fixed;
            top: 0;
            width: 100%;
            z-index: 1030;
            transition: transform 0.3s ease-in-out;
            box-shadow: 0 4px 20px rgba(0,0,0,0.08);
        }
        /* Class applied by JS to hide navbar on scroll down */
        .nav-up { transform: translateY(-100%); }
        /* --- NAVBAR & SCROLLSPY --- */
        .navbar {
            background-color: var(--nav-bg);
            backdrop-filter: blur(10px);
            padding: 15px 0;
        }
        .navbar-brand {
            font-weight: 700;
            font-size: 1.6rem;
            color: var(--brand-gray) !important;
            letter-spacing: 0.5px;
        }
        .brand-highlight { color: var(--brand-red); }
        .nav-link {
            color: var(--brand-gray) !important;
            font-weight: 600;
            font-size: 0.9rem;
            text-transform: uppercase;
            margin: 0 12px;
            position: relative;
            transition: 0.3s;
        }
		/* Force the text and underline to turn red on hover */
        #navbar .navbar-nav .nav-link:hover, 
        #navbar .navbar-nav .nav-link.active { 
            color: var(--brand-red) !important; 
        }

        /* Keep the underline effect working */
        #navbar .navbar-nav .nav-link:hover::after, 
        #navbar .navbar-nav .nav-link.active::after {
            width: 100%;
        }
		
        /* The animated underline for active links */
        .nav-link::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: -5px;
            left: 50%;
            background: var(--brand-red);
            transition: all 0.3s ease;
            transform: translateX(-50%);
        }
        .nav-link.active::after, .nav-link:hover::after {
            width: 100%;
        }
        .nav-link.active {
            color: var(--brand-red) !important;
        }

        /* --- BUTTONS --- */
        .btn-grad {
            background: var(--grad-primary);
            color: white;
            padding: 12px 30px;
            border-radius: 50px;
            font-weight: 600;
            border: none;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(0, 92, 255, 0.3);
        }
        .btn-grad:hover {
            transform: translateY(-3px);
            color: white;
            box-shadow: 0 8px 25px rgba(0, 92, 255, 0.4);
        }

        /* --- SECTIONS --- */
        section { padding: 100px 0; }
        .section-bg-white { background-color: var(--bg-white); }
        .section-bg-light { background-color: var(--bg-light); }
        .section-title { text-align: center; margin-bottom: 60px; }
        .section-title h2 {
            font-size: 2.5rem;
            position: relative;
            display: inline-block;
            padding-bottom: 15px;
            color: var(--brand-gray);
        }
        .section-title h2::after {
            content: '';
            position: absolute;
            width: 80px;
            height: 4px;
            background: var(--grad-primary);
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            border-radius: 2px;
        }

        /* --- HERO SECTION --- */
        .hero {
            background: linear-gradient(135deg, rgba(244, 247, 246, 0.9) 0%, rgba(255, 235, 235, 0.8) 100%), url('https://images.unsplash.com/photo-1559839734-2b71ea197ec2?q=80&w=1920&auto=format&fit=crop') center/cover;
            padding: 180px 0 120px 0; 
        }
        
        .feature-icon {
            width: 60px; height: 60px;
            display: flex; align-items: center; justify-content: center;
            border-radius: 15px; font-size: 1.5rem; color: white; margin-bottom: 20px;
        }

        /* --- PREMIUM DOCTORS CARDS --- */
        .doctor-card-premium {
            background: var(--bg-white);
            border-radius: 20px;
            overflow: hidden;
            border: 1px solid var(--border-color);
            box-shadow: 0 10px 30px rgba(0,0,0,0.05);
            transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            position: relative;
            height: 100%;
        }
        .doctor-card-premium:hover {
            transform: translateY(-15px);
            box-shadow: 0 25px 50px rgba(0, 92, 255, 0.15);
            border-color: var(--topbar-bg);
        }
        .doctor-img-wrapper {
            position: relative;
            overflow: hidden;
        }
        .doctor-img-wrapper img {
            height: 380px;
            width: 100%;
            object-fit: cover;
            transition: transform 0.6s ease;
        }
        .doctor-card-premium:hover .doctor-img-wrapper img {
            transform: scale(1.08); 
        }
        .doctor-social {
            position: absolute;
            bottom: -60px;
            left: 0;
            width: 100%;
            background: rgba(0, 92, 255, 0.95);
            backdrop-filter: blur(5px);
            display: flex;
            justify-content: center;
            gap: 15px;
            padding: 15px 0;
            transition: bottom 0.4s ease;
        }
        .doctor-card-premium:hover .doctor-social { bottom: 0; }
        .doctor-social a {
            color: white;
            background: rgba(255, 255, 255, 0.2);
            width: 40px; height: 40px;
            display: flex; align-items: center; justify-content: center;
            border-radius: 50%; transition: 0.3s; text-decoration: none;
        }
        .doctor-social a:hover {
            background: var(--brand-red);
            transform: translateY(-3px) scale(1.1);
        }

        /* --- POP-OUT GALLERY --- */
        .gallery-pop-container {
            position: relative;
            z-index: 1;
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
            border-radius: 16px;
            background: var(--bg-white);
        }
        .gallery-pop-container:hover {
            transform: scale(1.4); 
            z-index: 100; 
            box-shadow: 0 30px 60px rgba(0,0,0,0.4) !important;
        }
        #clinicGalleryCarousel .carousel-inner {
            overflow: visible !important; 
        }

        /* --- ENHANCED CONTACT SECTION --- */
        .contact-section-wrapper {
            background: linear-gradient(135deg, #f8f9fa 0%, #e0eaf5 100%);
            position: relative;
        }
        .contact-box {
            background: var(--bg-white);
            padding: 50px 40px;
            border-radius: 24px;
            box-shadow: 0 20px 50px rgba(0,0,0,0.1);
            border: none;
        }
        /* Floating labels for a modern form feel */
        .form-floating > .form-control,
        .form-floating > .form-select {
            border: 1px solid var(--border-color);
            border-radius: 10px;
            background-color: var(--bg-white);
        }
        .form-floating > .form-control:focus,
        .form-floating > .form-select:focus {
            border-color: var(--topbar-bg);
            box-shadow: 0 0 0 4px rgba(0, 92, 255, 0.1);
        }
        .form-floating label {
            color: var(--text-muted);
            font-weight: 500;
        }
        
        .branch-card {
            background: rgba(255, 255, 255, 0.8);
            backdrop-filter: blur(10px);
            border-radius: 16px;
            padding: 25px;
            margin-bottom: 20px;
            box-shadow: 0 10px 25px rgba(0,0,0,0.05);
            border: none;
            border-left: 6px solid;
            transition: all 0.3s ease;
        }
        .branch-card:hover { 
            transform: translateX(10px); 
            background: white;
            box-shadow: 0 15px 35px rgba(0,0,0,0.1);
        }
        .branch-1 { border-left-color: var(--topbar-bg); }
        .branch-2 { border-left-color: var(--brand-red); }
        .branch-3 { border-left-color: #00d2ff; }

        /* FAQ Overrides */
        .accordion-item { border-color: var(--border-color); }
		/* --- GOOGLE REVIEWS SECTION --- */
        .review-card {
            background: var(--bg-white);
            border-radius: 20px;
            padding: 30px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.05);
            border: 1px solid var(--border-color);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            height: 100%;
            position: relative;
        }
        .review-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 40px rgba(0, 92, 255, 0.1);
        }
        .review-quote {
            color: var(--topbar-bg);
            font-size: 3rem;
            opacity: 0.1;
            position: absolute;
            top: 20px;
            right: 30px;
        }
        .review-stars {
            color: #FFD700; /* Google Gold */
            margin-bottom: 15px;
            font-size: 1.1rem;
        }
        .reviewer-avatar {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.3rem;
            font-weight: bold;
            margin-right: 15px;
        }
		/* --- SLOW-MO CONTINUOUS SLIDER --- */
        .reviews-slider-container {
            overflow: hidden;
            width: 100%;
            position: relative;
            padding: 20px 0;
            /* Optional: Adds a fading edge effect */
            mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
            -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
        }
        
        .reviews-slider-track {
            display: flex;
            gap: 24px;
            width: max-content;
            /* 40s determines the speed. Increase to make it slower */
            animation: slowmo-scroll 40s linear infinite; 
        }
        
        /* Pauses the sliding when the user hovers to read a review */
        .reviews-slider-track:hover {
            animation-play-state: paused;
        }

        .review-card {
            width: 400px; /* Fixed width for sliding cards */
            white-space: normal; /* Restores normal text wrapping */
            flex-shrink: 0;
        }

        @keyframes slowmo-scroll {
            0% { transform: translateX(0); }
            /* Slides exactly half the width so the duplicated cards create a seamless loop */
            100% { transform: translateX(-50%); } 
        }
		/* --- HIGH-CONTRAST SECTION BACKGROUNDS --- */
        .section-bg-white { 
            background-color: #ffffff; 
        }
        .section-bg-slate { 
            background-color: #f1f5f9; /* Crisp, clean slate-gray */
            border-top: 1px solid #e2e8f0;
            border-bottom: 1px solid #e2e8f0;
        }
        .section-bg-teal { 
            background-color: #f0fdfa; /* Soft, calming mint-teal */
            border-top: 1px solid #ccfbf1;
            border-bottom: 1px solid #ccfbf1;
        }
		/* --- FLOATING WHATSAPP BUTTON --- */
        .whatsapp-float {
            position: fixed;
            bottom: 30px;
            right: 30px;
            background-color: #25d366;
            color: white;
            width: 60px;
            height: 60px;
            border-radius: 50%;
            text-align: center;
            font-size: 30px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.2);
            z-index: 1000;
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            transition: all 0.3s ease;
        }
        .whatsapp-float:hover {
            transform: scale(1.1) rotate(10deg);
            color: white;
            box-sizing: border-box;
            box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
        }

        /* --- INTERACTIVE MAP TABS --- */
        .map-tabs-container {
            background: var(--bg-white);
            border-radius: 16px;
            padding: 10px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.05);
            border: 1px solid var(--border-color);
        }
        .map-nav-link {
            border: none !important;
            color: var(--text-muted) !important;
            font-weight: 600;
            border-radius: 10px !important;
            padding: 12px 20px !important;
            transition: 0.3s;
        }
        .map-nav-link.active {
            background: var(--grad-primary) !important;
            color: white !important;
            box-shadow: 0 4px 15px rgba(0, 92, 255, 0.2);
        }
        .map-iframe-wrapper {
            border-radius: 12px;
            overflow: hidden;
            position: relative;
            height: 350px;
            box-shadow: inset 0 0 10px rgba(0,0,0,0.05);
        }
        .map-iframe-wrapper iframe {
            width: 100%;
            height: 100%;
            border: 0;
        }
		/* --- FOOTER SOCIAL LINKS --- */
        .footer-social-links {
            display: flex;
            gap: 15px;
        }
        .social-icon-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.08);
            color: rgba(255, 255, 255, 0.6);
            font-size: 1.1rem;
            text-decoration: none;
            transition: all 0.3s ease;
            border: 1px solid rgba(255, 255, 255, 0.1);
        }
        .social-icon-btn:hover {
            color: #ffffff;
            background: var(--grad-primary);
            transform: translateY(-4px);
            box-shadow: 0 5px 15px rgba(0, 92, 255, 0.3);
            border-color: transparent;
        }
		/* --- FOOTER TEXT LINKS HOVER --- */
        footer ul li a {
            transition: all 0.3s ease !important;
        }

        /* When you hover over Quick Links or Legal links */
        footer ul li a:hover {
            color: #ffffff !important; /* Turns them crisp, bright white */
            padding-left: 5px; /* Optional: adds a subtle modern shifting effect */
            text-decoration: underline !important; /* Optional: underlines on hover */
        }
		footer ul li a:hover {
            color: var(--brand-red) !important; /* Turns them red on hover */
            padding-left: 5px;
        }
		/* --- FEATURES GRID STYLING --- */
		.feature-icon-box {
			width: 54px;
			height: 54px;
			border-radius: 14px;
			display: flex;
			align-items: center;
			justify-content: center;
			font-size: 1.4rem;
			flex-shrink: 0;
			box-shadow: 0 8px 20px rgba(0,0,0,0.04);
		}

		/* Color Matching Gradients from Image */
		.bg-primary-grad {
			background: linear-gradient(135deg, #007bff 0%, #00c6ff 100%);
		}
		.bg-danger-grad {
			background: linear-gradient(135deg, #ff6b6b 0%, #ff8e8e 100%);
		}
		.bg-success-grad {
			background: linear-gradient(135deg, #10b981 0%, #059669 100%); /* Calming Homeopathy Green */
		}
		.bg-info-grad {
			background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); /* Radiant Warm Amber */
		}
		/* --- CUSTOM COMPACT ACCORDION STYLES --- */
		#homeopathyFaq .accordion-item {
			background-color: var(--bg-white);
			border-color: var(--border-color);
		}

		#homeopathyFaq .accordion-button {
			background-color: var(--bg-white);
			box-shadow: none !important;
			font-size: 1.05rem;
			transition: all 0.2s ease;
		}

		#homeopathyFaq .accordion-button:not(.collapsed) {
			color: var(--topbar-bg) !important; /* Turns the heading text blue when opened */
			background-color: #fafbfc;
		}

		#homeopathyFaq .accordion-button::after {
			transition: transform 0.2s ease-in-out;
		}
		/* --- ISOLATED UTILITY INJECTION FOR ADDRESS ALIGNMENT --- */
		#contact .col-md-4 .rounded-3 {
			transition: all 0.25s ease-in-out !important;
		}
		#contact .col-md-4 .rounded-3:hover {
			transform: translateY(-4px) !important;
			box-shadow: 0 8px 20px rgba(0,0,0,0.08) !important;
		}