/* ====================================================================
   MUSKAN HOSPITAL - MAIN CSS FILE
   Note: Har section properly divided hai. Kisi bhi section ko 
   replace karne ke liye bas uske Start aur End block ko badlein.
====================================================================
*/

/* ==========================================
   SECTION 1: GENERAL STYLES & FONTS
========================================== */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700&display=swap');

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px; /* Isse section header ke peeche nahi chhupega */
}

body {
    font-family: 'Outfit', sans-serif;
}
/* --- END SECTION 1 --- */


/* ==========================================
   MASTER STICKY HEADER WRAPPER (NEW ADDITION)
========================================== */
.main-header-wrapper {
    position: sticky;
    top: 0;
    z-index: 1050; /* Sabse upar rakhne ke liye */
    width: 100%;
    background-color: #ffffff; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.08); /* Shadow ab poore dabbe par aayegi */
}


/* ==========================================
   SECTION 2: TOP BAR (24x7 Emergency)
========================================== */
.muskan-topbar {
    background-color: #A661AB; /* Logo ka Purple Color */
    color: #ffffff;
    padding: 6px 0;
    font-size: 14px;
}

.flash-emergency {
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 0.5px;
    animation: pulse-flash 1.5s infinite; /* Flashing Animation */
}

@keyframes pulse-flash {
    0% { opacity: 1; text-shadow: 0 0 0px rgba(255,255,255,0); }
    50% { opacity: 0.4; text-shadow: 0 0 10px rgba(255,255,255,0.8); }
    100% { opacity: 1; text-shadow: 0 0 0px rgba(255,255,255,0); }
}

@media (max-width: 768px) {
    .muskan-topbar {
        font-size: 12px; /* Mobile par top bar text thoda chota */
        padding: 8px 0;
    }
}
/* --- END SECTION 2 --- */


/* ==========================================
   SECTION 3: PREMIUM HEADER WIDGET (UPDATED)
========================================== */
.muskan-header {
    background-color: #ffffff;
    padding: 0; /* Padding navbar handle karega taaki height tight rahe */
    border-bottom: 3px solid #F0719B; /* Logo ka Pink color */
    /* Note: Box-shadow yahan se hata kar main-header-wrapper me daal di hai */
}

/* Navbar Tight Padding */
.muskan-header .navbar {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
}

/* Logo Sizing - UPDATED FOR PREMIUM SCALING */
.header-logo {
    height: 45px; /* Base container height fixed */
    width: auto;
    object-fit: contain;
    /* SCALE TRICK: Bina header bada kiye logo ko bada dikhane ke liye */
    transform: scale(1.5); 
    transform-origin: left center;
    transition: transform 0.3s ease;
}

@media (max-width: 768px) {
    .header-logo {
        height: 40px;
        transform: scale(1.6); /* Mobile par clear visibility ke liye */
        margin-left: 15px; /* Left edge se halka gap */
    }
}

/* Menu Links Styling */
.muskan-header .nav-link {
    color: #333333 !important;
    font-size: 16px;
    font-weight: 500;
    padding: 10px 18px !important;
    margin: 0 4px;
    transition: all 0.3s ease;
    border-radius: 6px;
}

.muskan-header .nav-link:hover, 
.muskan-header .nav-link.active {
    color: #A661AB !important;
    background-color: rgba(166, 97, 171, 0.06);
}

/* Hamburger Menu Icon Color fix */
.navbar-toggler {
    border-color: rgba(166, 97, 171, 0.5) !important;
}
.navbar-toggler:focus {
    box-shadow: 0 0 0 0.1rem rgba(166, 97, 171, 0.25);
}
/* --- END SECTION 3 --- */


/* ==========================================
   SECTION 4: BUTTON STYLES
========================================== */
/* Custom Premium Button */
.btn-header-custom {
    background-color: #A661AB;
    color: #ffffff !important;
    font-size: 16px;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 50px;
    border: 2px solid #A661AB;
    transition: all 0.3s ease;
}

.btn-header-custom:hover {
    background-color: #F0719B;
    border-color: #F0719B;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(240, 113, 155, 0.35);
}
/* --- END SECTION 4 --- */

/* ==========================================
   SECTION 5: PREMIUM HERO SLIDER (WITH GLASS CARD)
========================================== */
.hero-slider {
    position: relative;
    overflow: hidden;
    background-color: #2D1A2E; 
}

.carousel-item {
    height: 550px;
    overflow: hidden;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.45; 
    transition: transform 6s ease;
}

.carousel-item.active img {
    transform: scale(1.05); 
}

.carousel-caption {
    position: absolute;
    top: 50% !important; 
    transform: translateY(-50%) !important; 
    bottom: auto !important; 
    left: 8% !important; 
    right: 8% !important;
    text-align: left !important;
    z-index: 2;
    padding: 0;
}

/* ================= RIGHT SIDE GLASS CARD (PC ONLY) ================= */
.hero-floating-card {
    position: absolute;
    right: 8%; /* Right side me fit karega */
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.08); /* Transparent Glass Look */
    backdrop-filter: blur(12px); /* Kanch jaisa dhundla effect */
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 35px;
    width: 350px;
    color: #ffffff;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.floating-icon-box {
    background: #F0719B; /* Logo Pink */
    width: 50px; height: 50px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(240, 113, 155, 0.4);
}

.hero-floating-card h4 { font-weight: 700; font-size: 1.4rem; margin-bottom: 5px; }
.hero-floating-card p { color: #e0e0e0; font-size: 0.95rem; margin-bottom: 0;}
.hero-floating-card .helpline-text { color: #F0719B; font-weight: 800; font-size: 1.6rem; margin: 15px 0; letter-spacing: 1px; }
.hero-floating-card hr { border-color: rgba(255,255,255,0.2); margin: 20px 0; }

/* ================= TEXT & BUTTON STYLES ================= */
.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 30px !important; 
}

.carousel-caption .hero-title {
    color: #ffffff; font-size: 3.2rem; font-weight: 700;
    line-height: 1.3 !important; margin-bottom: 25px !important; 
}
.carousel-caption .hero-title span { color: #F0719B; }

.carousel-caption .hero-desc {
    color: #f8f9fa; font-size: 1.1rem;
    max-width: 550px; /* Space control kiya taaki card se na takraye */
    line-height: 1.6 !important; margin-bottom: 40px !important; 
}

.hero-buttons { display: flex; gap: 15px; flex-wrap: wrap; justify-content: flex-start; }
.carousel-indicators, .carousel-control-prev, .carousel-control-next { display: none !important; }

/* Slide Animations */
.carousel-item.active .hero-badge, .carousel-item.active .hero-title,
.carousel-item.active .hero-desc, .carousel-item.active .hero-buttons {
    animation: fadeInUp 0.8s ease forwards; opacity: 0;
}
.carousel-item.active .hero-title { animation-delay: 0.2s; }
.carousel-item.active .hero-desc { animation-delay: 0.4s; }
.carousel-item.active .hero-buttons { animation-delay: 0.6s; }

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.btn-slider-outline {
    color: #ffffff; background-color: transparent; border: 2px solid #ffffff;
    font-size: 16px; font-weight: 600; padding: 10px 24px; border-radius: 50px; transition: all 0.3s ease;
}
.btn-slider-outline:hover { background-color: #ffffff; color: #A661AB; transform: translateY(-2px); }

/* Mobile View Adjustments */
@media (max-width: 991px) {
    .carousel-caption .hero-desc { max-width: 100%; }
}
@media (max-width: 768px) {
    .carousel-item { height: 480px; }
    .carousel-caption { left: 5% !important; right: 5% !important; text-align: center !important; }
    .carousel-caption .hero-title { font-size: 2.3rem; }
    .carousel-caption .hero-desc { font-size: 1rem; margin: 0 auto 30px auto !important; }
    .hero-buttons { justify-content: center; gap: 12px; }
    .btn-slider-outline, .btn-header-custom { width: 100%; max-width: 250px; margin: 0 auto; text-align: center; }
}
/* --- END SECTION 5 --- */

/* ==========================================
   SECTION 6: TRUST BANNER (Overlapping Stats)
========================================== */
.trust-section {
    position: relative;
    z-index: 10;
    margin-top: -60px; /* Slider ke upar overlap karne ke liye */
    padding-bottom: 50px;
}

.trust-box {
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 30px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: transform 0.3s ease;
    border-bottom: 3px solid transparent;
}

.trust-box:hover {
    transform: translateY(-5px);
    border-bottom: 3px solid #F0719B; /* Logo Pink line on hover */
}

.trust-icon {
    width: 60px; height: 60px;
    background: rgba(166, 97, 171, 0.1); /* Soft Purple */
    color: #A661AB; /* Logo Purple */
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
}

.trust-content h5 { font-weight: 700; font-size: 1.1rem; color: #333; margin-bottom: 5px; }
.trust-content p { color: #666; font-size: 0.9rem; margin: 0; }

@media (max-width: 991px) {
    .trust-section { margin-top: 30px; } /* Mobile par overlap hata diya taaki clean rahe */
}

/* ==========================================
   SECTION 7: OUR SERVICES (From WhatsApp List)
========================================== */
.services-section {
    background-color: #FCFAFD; /* Very light purple tint */
    padding: 80px 0;
}

.section-header { text-align: center; margin-bottom: 50px; }
.section-subtitle { color: #F0719B; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; font-size: 14px; margin-bottom: 10px; }
.section-title { color: #2D1A2E; font-size: 2.5rem; font-weight: 700; margin-bottom: 15px; }

/* Service Cards */
.service-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 35px 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
    height: 100%;
    transition: all 0.4s ease;
    border: 1px solid rgba(0,0,0,0.02);
    position: relative;
    overflow: hidden;
}

/* Card Hover Effect */
.service-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
    background: linear-gradient(90deg, #A661AB, #F0719B);
    transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease;
}

.service-card:hover { transform: translateY(-10px); box-shadow: 0 15px 35px rgba(166, 97, 171, 0.1); }
.service-card:hover::before { transform: scaleX(1); }

.service-icon-wrapper {
    width: 70px; height: 70px;
    background: #ffffff;
    border: 2px solid rgba(166, 97, 171, 0.2);
    color: #A661AB;
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 32px; margin-bottom: 25px; transition: all 0.3s ease;
}

.service-card:hover .service-icon-wrapper {
    background: #A661AB; color: #ffffff; border-color: #A661AB;
}

.service-card h4 { font-weight: 700; font-size: 1.25rem; color: #2D1A2E; margin-bottom: 15px; }
.service-card p { color: #666; font-size: 0.95rem; line-height: 1.6; margin-bottom: 20px; }

.service-link { color: #F0719B; font-weight: 600; text-decoration: none; font-size: 0.95rem; display: inline-flex; align-items: center; }
.service-link i { transition: transform 0.3s ease; margin-left: 5px; }
.service-card:hover .service-link i { transform: translateX(5px); }

/* --- END SECTION 6 & 7 --- */

/* ==========================================
   SECTION 8: WHY CHOOSE US (About Features)
========================================== */
.why-choose-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.about-image-wrapper {
    position: relative;
    padding-right: 30px;
    padding-bottom: 30px;
}

.about-image-wrapper img {
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    position: relative;
    z-index: 2;
}

/* Background decorative square */
.about-image-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0; right: 0;
    width: 70%; height: 70%;
    background-color: rgba(240, 113, 155, 0.15); /* Soft Pink Box */
    border-radius: 20px;
    z-index: 1;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.feature-icon {
    width: 50px; height: 50px;
    background: rgba(166, 97, 171, 0.1);
    color: #A661AB; /* Logo Purple */
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px;
    margin-right: 20px;
    flex-shrink: 0;
}

.feature-text h5 {
    font-weight: 700;
    font-size: 1.1rem;
    color: #2D1A2E;
    margin-bottom: 5px;
}

.feature-text p {
    color: #666;
    font-size: 0.95rem;
    margin: 0;
}

/* ==========================================
   SECTION 9: TESTIMONIALS (Patient Reviews)
========================================== */
.testimonials-section {
    padding: 80px 0;
    background-color: #FCFAFD; /* Soft Background */
}

.review-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.03);
    height: 100%;
    position: relative;
    transition: all 0.3s ease;
}

.review-card:hover {
    box-shadow: 0 15px 40px rgba(166, 97, 171, 0.08);
    transform: translateY(-5px);
}

.quote-icon {
    position: absolute;
    top: 25px; right: 30px;
    font-size: 40px;
    color: rgba(240, 113, 155, 0.15); /* Faint Pink Quote */
}

.review-stars {
    color: #FFC107; /* Golden Stars */
    margin-bottom: 15px;
    font-size: 18px;
}

.review-text {
    font-size: 1rem;
    color: #555;
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 25px;
}

.patient-info {
    display: flex;
    align-items: center;
}

.patient-avatar {
    width: 50px; height: 50px;
    background: #A661AB;
    color: #ffffff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 20px;
    margin-right: 15px;
}

.patient-details h6 { margin: 0; font-weight: 700; color: #2D1A2E; }
.patient-details span { font-size: 0.85rem; color: #888; }
/* --- END SECTION 8 & 9 --- */

/* ==========================================
   SECTION 10: APPOINTMENT FORM (Call to Action)
========================================== */
.appointment-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(166, 97, 171, 0.05) 0%, rgba(240, 113, 155, 0.05) 100%);
}

.appointment-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(166, 97, 171, 0.1);
}

.form-control, .form-select {
    padding: 12px 20px;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: #A661AB;
    box-shadow: 0 0 0 0.2rem rgba(166, 97, 171, 0.15);
}

.btn-submit-appointment {
    background: linear-gradient(45deg, #A661AB, #F0719B);
    color: #ffffff;
    font-weight: 700;
    padding: 14px;
    border-radius: 10px;
    border: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(166, 97, 171, 0.3);
}

.btn-submit-appointment:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(240, 113, 155, 0.4);
    color: #ffffff;
}

.contact-info-box {
    padding: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.info-icon {
    width: 45px; height: 45px;
    background: #A661AB;
    color: #ffffff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
    margin-right: 15px;
    flex-shrink: 0;
}

.info-text h6 { font-weight: 700; color: #2D1A2E; margin-bottom: 5px; }
.info-text p { color: #666; margin: 0; font-size: 0.95rem; }

/* ==========================================
   SECTION 11: ULTRA-PREMIUM FOOTER (4-COLUMN BALANCED)
========================================== */
.muskan-footer {
    background: linear-gradient(180deg, #1f1122 0%, #110813 100%);
    color: #ffffff;
    padding: 0; 
    border-top: 1px solid rgba(240, 113, 155, 0.2);
    position: relative;
    font-family: 'Outfit', sans-serif;
}

/* PC par 4 columns ke beech balanced gap dene ke liye */
.muskan-footer .row.g-4 {
    --bs-gutter-x: 3rem; /* Spacing thodi badha di hai */
}

/* --- LOGO PC & MOBILE LOCK --- */
.footer-logo-wrapper {
    display: flex !important; 
    align-items: center;
    justify-content: flex-start;
    text-decoration: none;
    margin-left: -5px; 
    margin-bottom: 20px;
}

.footer-logo-img {
    height: 60px !important;
    width: 220px !important;
    max-width: 100% !important;
    object-fit: contain !important;
    object-position: left center !important;
    transition: transform 0.3s ease;
    filter: none !important; 
    opacity: 1 !important;
}

.footer-logo-wrapper:hover .footer-logo-img {
    transform: scale(1.03);
}

/* --- CERTIFICATION BAR --- */
.footer-cert-bar {
    background: linear-gradient(90deg, rgba(166, 97, 171, 0.1), rgba(240, 113, 155, 0.1));
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 25px 0;
    margin-bottom: 60px;
}
.cert-item { display: flex; align-items: center; justify-content: center; gap: 12px; color: #e8d5e8; font-weight: 600; letter-spacing: 1px; font-size: 0.95rem; text-transform: uppercase; }
.cert-icon { font-size: 28px; background: -webkit-linear-gradient(45deg, #F0719B, #ffc107); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

/* --- HEADINGS & TEXT --- */
.footer-heading { 
    font-size: 1.15rem; 
    font-weight: 700; 
    margin-bottom: 30px; 
    letter-spacing: 0.5px; 
    color: #ffffff; 
    text-transform: uppercase;
    position: relative;
}

/* Heading ke niche choti pink line premium look ke liye */
.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 35px;
    height: 2px;
    background: #F0719B;
}

.footer-text { color: #a89fa9; font-size: 0.95rem; line-height: 1.8; text-align: left; }

/* --- FOOTER LISTS --- */
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li { margin-bottom: 15px; }
.footer-list a { color: #a89fa9; text-decoration: none; transition: all 0.3s ease; display: flex; align-items: center; font-size: 0.95rem; }
.footer-list a:hover { color: #ffffff; transform: translateX(5px); }
.footer-list a i { font-size: 10px; margin-right: 12px; color: #F0719B; }

/* --- SOCIAL ICONS --- */
.footer-social { display: flex; gap: 12px; margin-top: 30px; }
.social-icon { width: 38px; height: 38px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.15); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #a89fa9; transition: all 0.3s ease; text-decoration: none; }
.social-icon:hover { background: #F0719B; color: #ffffff; border-color: #F0719B; transform: translateY(-3px); box-shadow: 0 5px 15px rgba(240, 113, 155, 0.3); }

/* --- CONTACT ITEMS --- */
.footer-contact-item { display: flex; align-items: flex-start; margin-bottom: 25px; text-align: left; }
.footer-contact-icon { width: 35px; height: 35px; color: #F0719B; font-size: 20px; margin-right: 15px; flex-shrink: 0; margin-top: 3px; }
.footer-contact-text h6 { font-size: 0.9rem; font-weight: 600; margin-bottom: 5px; color: #ffffff; text-transform: uppercase; }
.footer-contact-text p, .footer-contact-text a { font-size: 0.9rem; color: #a89fa9; text-decoration: none; line-height: 1.5; }
.footer-contact-text a:hover { color: #F0719B; }

/* --- BOTTOM BAR --- */
.footer-bottom-bar { background-color: rgba(0,0,0,0.4); padding: 20px 0; margin-top: 50px; border-top: 1px solid rgba(255,255,255,0.03); }
.credit-text { font-size: 0.9rem; color: #777; }
.credit-text a { color: #F0719B; text-decoration: none; font-weight: 700; transition: 0.3s; }
.credit-text a:hover { color: #ffffff; }

/* ================= MOBILE ADAPTATION ================= */
@media (max-width: 991px) {
    .footer-cert-bar { margin-bottom: 30px; padding: 15px 0; }
    .muskan-footer { text-align: center; }
    .footer-heading::after { left: 50%; transform: translateX(-50%); }
    .footer-text { text-align: center; }
    .footer-logo-wrapper { justify-content: center !important; margin-left: 0; }
    .footer-social { justify-content: center; }
    .footer-list a { justify-content: center; }
    .footer-contact-item { justify-content: center; flex-direction: column; align-items: center; text-align: center; }
    .footer-contact-icon { margin-right: 0; margin-bottom: 8px; }
}
/* --- END SECTION 11 --- */


/* ==========================================
   SECTION: HEADER LOGO VISIBILITY FIX
========================================== */
.header-logo {
    height: 55px; /* Optimal height for desktop */
    width: auto; /* Maintains aspect ratio */
    object-fit: contain; /* Ensures the whole logo is visible without distortion */
    transition: all 0.3s ease;
}

/* Mobile Adjustments for a Perfect Fit */
@media (max-width: 768px) {
    .header-logo {
        height: 48px; /* Slightly smaller for mobile screens */
    }
}
/* --- END HEADER LOGO VISIBILITY FIX --- */

/* ==========================================
   SECTION 12: HOSPITAL HISTORY (TIMELINE)
========================================== */
.history-section {
    padding: 80px 0;
    background-color: #ffffff;
    position: relative;
}

/* Vertical Line in center for Desktop */
.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background-color: rgba(166, 97, 171, 0.2);
    top: 0; bottom: 0;
    left: 50%;
    margin-left: -1px;
}

/* Container around content */
.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

/* The circles on the timeline */
.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px; height: 20px;
    right: -10px;
    background-color: #ffffff;
    border: 4px solid #F0719B;
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

/* Place the container to the left / right */
.left { left: 0; text-align: right; }
.right { left: 50%; text-align: left; }

.right::after { left: -10px; }

/* Content inside timeline */
.timeline-content {
    padding: 20px 30px;
    background-color: #FCFAFD;
    position: relative;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid rgba(166, 97, 171, 0.1);
}

.timeline-content h3 {
    color: #A661AB;
    font-weight: 700;
    margin-bottom: 10px;
}

.timeline-content h4 {
    font-size: 1.1rem;
    color: #2D1A2E;
    margin-bottom: 8px;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .timeline::after { left: 31px; }
    .timeline-item { width: 100%; padding-left: 70px; padding-right: 25px; text-align: left; }
    .timeline-item::after { left: 21px; }
    .right { left: 0%; }
}
/* --- END SECTION 12 --- */

/* ==========================================
   SECTION 13: DOCTOR PROFILE (Premium Layout)
========================================== */
.doctor-profile-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #ffffff 0%, #fcfafd 100%);
    overflow: hidden;
}

.dr-card-wrapper {
    position: relative;
    z-index: 1;
}

/* Image Background Decoration */
.dr-img-bg {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(166, 97, 171, 0.1) 0%, transparent 70%);
    z-index: -1;
    border-radius: 50%;
}

.dr-image {
    max-width: 100%;
    border-radius: 30px;
    /* Soft shadow for depth */
    filter: drop-shadow(0 20px 30px rgba(45, 26, 46, 0.15));
    transition: transform 0.4s ease;
}

.dr-image:hover {
    transform: scale(1.02);
}

/* Content Styling */
.dr-content-box {
    padding-left: 40px;
}

.dr-name {
    font-size: 3rem;
    font-weight: 800;
    color: #A661AB; /* Your Logo Purple */
    margin-bottom: 5px;
}

.dr-specialty {
    font-size: 1.25rem;
    font-weight: 600;
    color: #F0719B; /* Your Logo Pink */
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.dr-bio {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 30px;
}

/* Qualification Badges */
.qualification-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 35px;
}

.q-badge {
    background: #ffffff;
    border: 1px solid rgba(166, 97, 171, 0.2);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    color: #333;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}

/* Experience Highlight */
.exp-box {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(166, 97, 171, 0.05);
    padding: 20px;
    border-radius: 20px;
    border-left: 5px solid #A661AB;
}

.exp-icon {
    font-size: 2rem;
    color: #A661AB;
}

.exp-text h6 {
    margin: 0;
    font-weight: 700;
    color: #2D1A2E;
}

/* Mobile Fixes */
@media (max-width: 991px) {
    .doctor-profile-section { padding: 60px 0; text-align: center; }
    .dr-content-box { padding-left: 0; margin-top: 50px; }
    .qualification-wrap { justify-content: center; }
    .dr-name { font-size: 2.5rem; }
    .exp-box { justify-content: center; text-align: left; }
}
/* --- END SECTION 13 --- */

/* ==========================================
   SECTION 14: MEDICAL SERVICES CHAIN
========================================== */
.services-chain-section {
    padding: 100px 0;
    background-color: #ffffff;
    position: relative;
}

/* Connecting Line (Desktop Only) */
.chain-container {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-top: 50px;
}

@media (min-width: 992px) {
    .chain-container::before {
        content: '';
        position: absolute;
        top: 45px;
        left: 5%;
        right: 5%;
        height: 2px;
        background: repeating-linear-gradient(to right, #A661AB 0, #A661AB 10px, transparent 10px, transparent 20px);
        z-index: 1;
    }
}

.chain-item {
    flex: 1;
    min-width: 200px;
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 0 15px;
    margin-bottom: 40px;
}

/* Chain Circles */
.chain-icon-box {
    width: 90px;
    height: 90px;
    background: #ffffff;
    border: 2px solid #A661AB;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px auto;
    font-size: 32px;
    color: #A661AB;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 20px rgba(166, 97, 171, 0.1);
}

.chain-item:hover .chain-icon-box {
    background: #A661AB;
    color: #ffffff;
    transform: scale(1.15) rotate(10deg);
    box-shadow: 0 15px 30px rgba(166, 97, 171, 0.3);
}

.chain-content h5 {
    font-weight: 700;
    font-size: 1.1rem;
    color: #2D1A2E;
    margin-bottom: 10px;
}

.chain-content p {
    font-size: 0.85rem;
    color: #777;
    line-height: 1.5;
}

/* Numbering decoration */
.chain-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #F0719B;
    color: #fff;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Adjustments */
@media (max-width: 991px) {
    .chain-container { flex-direction: column; align-items: center; }
    .chain-item { width: 100%; max-width: 300px; }
}
/* --- END SECTION 14 --- */

/* ==========================================
   AYUSHMAN CARD HIGHLIGHT SECTION
========================================== */
.ayushman-banner {
    background: linear-gradient(90deg, #1e5631 0%, #2d8a4e 100%); /* Premium Medical Green */
    padding: 20px 0;
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(30, 86, 49, 0.2);
    border-bottom: 3px solid #ffc107; /* Golden border for importance */
}

.ayushman-flex {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.ayushman-logo-wrap {
    background: #fff;
    padding: 8px 15px;
    border-radius: 10px;
    display: flex;
    align-items: center;
}

.ayushman-text h4 {
    font-size: 1.4rem;
    font-weight: 800;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ayushman-text p {
    margin: 0;
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 500;
}

.badge-jind {
    background: #ffc107;
    color: #000;
    padding: 5px 15px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
}

/* Mobile Fix */
@media (max-width: 768px) {
    .ayushman-flex { text-align: center; flex-direction: column; gap: 15px; }
    .ayushman-text h4 { font-size: 1.1rem; }
}



/* ==========================================
   ULTRA-PREMIUM MOBILE STICKY ACTIONS (FIXED)
========================================== */
.mobile-sticky-actions {
    display: none; /* Hide on Desktop */
}

@media (max-width: 768px) {
    .mobile-sticky-actions {
        display: flex;
        position: fixed;
        bottom: 15px; /* Floats slightly above the bottom */
        left: 20px;
        right: 20px;
        /* Glassmorphism Effect */
        background: rgba(255, 255, 255, 0.8);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        z-index: 9999;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        padding: 10px;
        justify-content: space-between;
        border-radius: 50px; /* Highly rounded corners */
        border: 1px solid rgba(255, 255, 255, 0.3);
        height: 65px; /* Compact sleek height */
    }

    .sticky-action-item {
        flex: 1;
        text-align: center;
        text-decoration: none !important;
        color: #333;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        font-size: 13px;
        font-weight: 700;
        border-radius: 50px;
        transition: all 0.3s ease;
        position: relative;
    }

    .sticky-action-item i {
        font-size: 18px;
        width: 38px; height: 38px;
        display: flex; align-items: center; justify-content: center;
        border-radius: 50%;
        position: absolute;
        top: -20px; /* Icons float above the bar */
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        border: 3px solid #ffffff; /* Inner white border */
    }

    /* Icon & Button Colors */
    .sticky-call { color: #A661AB !important; }
    .sticky-call i { background: #A661AB; color: #ffffff; }

    .sticky-wa { color: #25D366 !important; }
    .sticky-wa i { background: #25D366; color: #ffffff; }

    /* --- ANIMATED BOOK NOW BUTTON --- */
    .sticky-book {
        background: linear-gradient(45deg, #F0719B, #ffc107); /* Pink-Gold gradient */
        color: #ffffff !important;
        box-shadow: 0 5px 15px rgba(240, 113, 155, 0.3);
        padding-left: 20px; /* Make space for floating icon */
    }
    .sticky-book i {
        background: #ffffff; color: #F0719B;
        border: none;
        top: -20px; left: 10px;
        transform: translateX(0); /* Override standard centering */
    }

    /* Pulsing Animation for Book Now */
    .sticky-book {
        animation: pulse-button 2s infinite;
    }

    @keyframes pulse-button {
        0% { box-shadow: 0 0 0 0 rgba(240, 113, 155, 0.6); }
        70% { box-shadow: 0 0 0 15px rgba(240, 113, 155, 0); }
        100% { box-shadow: 0 0 0 0 rgba(240, 113, 155, 0); }
    }

    /* Space for body so content doesn't hide behind bar */
    body {
        padding-bottom: 90px !important;
    }
}
/* --- END MOBILE STICKY ACTIONS --- */

/* ==========================================
   SECTION 15: TIGHT STATS RIBBON (FIXED GAPS)
========================================== */
.stats-section {
    background: linear-gradient(45deg, #A661AB, #F0719B);
    color: #ffffff;
    padding: 30px 0; /* Height thodi kam ki hai premium dikhne ke liye */
    width: 100%;
    overflow: hidden;
}

/* Row aur column ke default gaps hatane ke liye */
.tight-row {
    --bs-gutter-x: 0; 
    margin-right: 0;
    margin-left: 0;
}

.stat-box {
    text-align: center;
    padding: 10px 5px;
    border-right: 1px solid rgba(255, 255, 255, 0.2); /* Bars ke beech halki line */
}

/* Last box ki line hatane ke liye */
.stat-box.border-none {
    border-right: none;
}

.stat-number {
    font-size: 2.2rem; /* Desktop size */
    font-weight: 800;
    display: block;
    line-height: 1;
    margin-bottom: 5px;
}

.stat-text {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

/* Mobile specific tight layout */
@media (max-width: 768px) {
    .stat-number { font-size: 1.5rem; }
    .stat-text { font-size: 0.7rem; letter-spacing: 0.5px; }
    .stat-box { padding: 5px; }
}

/* ==========================================
   SECTION 16: TIGHT GOOGLE MAP (EDGE-TO-EDGE)
========================================== */
.map-section {
    width: 100%;
    height: 300px; /* Height tight rakhi hai taaki zyada area na le */
    overflow: hidden;
    line-height: 0; /* Gaps hatane ke liye */
    border-top: 4px solid #A661AB; /* Top par ek stylish purple line */
}

.map-section iframe {
    width: 100% !important;
    height: 100% !important;
    filter: grayscale(0.2) contrast(1.1); /* Halka professional touch */
    border: none;
}

@media (max-width: 768px) {
    .map-section {
        height: 250px; /* Mobile par aur bhi compact */
    }
}

/* ==========================================
   SECTION 17: ULTRA-PREMIUM ANIMATED FAQs
========================================== */
.faq-section {
    padding: 100px 0; /* Jyada space taaki map se na chipke */
    background: #ffffff;
    position: relative;
}

/* Stylish Card Design */
.faq-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid rgba(166, 97, 171, 0.1);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    padding: 20px;
    margin-bottom: 25px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.faq-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(166, 97, 171, 0.12);
    border-color: #A661AB;
}

/* Accordion Button Styling */
.faq-card .accordion-button {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2D1A2E;
    background: transparent !important;
    padding: 15px 10px;
    box-shadow: none !important;
}

.faq-card .accordion-button:not(.collapsed) {
    color: #A661AB;
}

/* Custom Icon Animation */
.faq-card .accordion-button::after {
    background-color: rgba(166, 97, 171, 0.1);
    background-size: 12px;
    padding: 18px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.faq-card .accordion-button:not(.collapsed)::after {
    background-color: #A661AB;
    filter: brightness(0) invert(1);
    transform: rotate(180deg);
}

/* Answer Text Animation */
.faq-card .accordion-collapse {
    transition: all 0.5s ease-in-out;
}

.faq-card .accordion-body {
    padding: 10px 10px 20px 10px;
    color: #666;
    line-height: 1.8;
    font-size: 1rem;
    border-top: 1px dashed #eee;
    margin-top: 10px;
}

/* Container Width Control */
.faq-container-custom {
    max-width: 900px; /* Na zyada tight, na zyada loose */
    margin: 0 auto;
}

@media (max-width: 768px) {
    .faq-section { padding: 60px 20px; }
    .faq-card .accordion-button { font-size: 1rem; }
}

/* ==========================================
   SECTION 16: UNIQUE EXPANDING GALLERY
========================================== */
.gallery-section {
    padding: 80px 0;
    background-color: #ffffff;
    overflow: hidden;
}

.gallery-flex-container {
    display: flex;
    width: 100%;
    height: 450px; /* Standard premium height */
    gap: 15px;
    padding: 0 15px;
}

.gallery-panel {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100%;
    border-radius: 25px;
    color: #fff;
    cursor: pointer;
    flex: 0.5; /* Default narrow size */
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Smooth spring effect */
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

/* Dark overlay for text readability */
.gallery-panel::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, rgba(45, 26, 46, 0.9) 0%, rgba(45, 26, 46, 0) 50%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

/* Expansion Effect */
.gallery-panel:hover, .gallery-panel.active {
    flex: 4; /* Expands 8 times its original narrow size */
    box-shadow: 0 15px 35px rgba(166, 97, 171, 0.2);
}

.gallery-panel:hover::before, .gallery-panel.active::before {
    opacity: 1; /* Shows gradient only when expanded */
}

/* Gallery Content (Text inside images) */
.gallery-content {
    position: absolute;
    bottom: 25px;
    left: 30px;
    right: 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease 0.2s; /* Delayed fade-in */
    white-space: nowrap; /* Prevents text from breaking while animating */
}

.gallery-panel:hover .gallery-content, .gallery-panel.active .gallery-content {
    opacity: 1;
    transform: translateY(0);
}

.gallery-content h4 {
    font-weight: 800;
    font-size: 1.5rem;
    margin-bottom: 5px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

.gallery-content p {
    font-size: 0.95rem;
    margin: 0;
    color: #f8f9fa;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}

/* Mobile View Adjustments */
@media (max-width: 991px) {
    .gallery-flex-container {
        flex-direction: column; /* Stacks vertically on mobile */
        height: 600px; /* Taller height for stacked view */
    }
    .gallery-panel {
        flex: 1; /* Equal height initially */
    }
    .gallery-panel:hover, .gallery-panel.active {
        flex: 3; /* Expands vertically on mobile */
    }
    .gallery-content { left: 20px; bottom: 15px; }
}
/* --- END SECTION 16 --- */

/* ==========================================
   SECTION 18: PREMIUM VIDEO SHOWCASE (HERO + MATRIX)
========================================== */
.premium-video-section {
    padding: 90px 0;
    background: linear-gradient(180deg, #ffffff 0%, #FCFAFD 100%);
}

.video-grid-container {
    display: grid;
    grid-template-columns: 1.3fr 1fr; /* Left side thoda bada */
    gap: 20px;
    margin-top: 40px;
}

.video-matrix {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 20px;
}

/* Lazy Video Card Base */
.yt-luxury-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    background-size: cover;
    background-position: center;
    background-color: #1a0f1b; /* Dark base before image loads */
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.yt-luxury-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(166, 97, 171, 0.2);
}

.card-hero { height: 460px; } /* Big left video */
.card-mini { height: 220px; } /* Small right videos */

/* Gradient Overlay for Text readability */
.yt-luxury-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, rgba(26, 15, 27, 0.9) 0%, rgba(26, 15, 27, 0.1) 60%);
    pointer-events: none;
    z-index: 1;
}

/* Video Title Overlay */
.yt-title {
    position: absolute; bottom: 20px; left: 20px; right: 20px;
    color: #ffffff; z-index: 2; pointer-events: none;
}
.card-hero .yt-title h4 { font-weight: 800; font-size: 1.5rem; text-shadow: 0 2px 10px rgba(0,0,0,0.5); margin-bottom: 5px; }
.card-mini .yt-title h4 { font-weight: 700; font-size: 0.95rem; text-shadow: 0 2px 5px rgba(0,0,0,0.5); margin: 0; line-height: 1.4; }

/* Ultra Premium Glassmorphism Play Button */
.glass-play-btn {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 65px; height: 65px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    z-index: 2; transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.card-mini .glass-play-btn { width: 45px; height: 45px; } /* Smaller btn for mini cards */

.glass-play-btn i { color: #ffffff; font-size: 28px; margin-left: 4px; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3)); }
.card-mini .glass-play-btn i { font-size: 20px; margin-left: 3px; }

.yt-luxury-card:hover .glass-play-btn {
    background: #F0719B; /* Turns hospital pink on hover */
    border-color: #F0719B;
    transform: translate(-50%, -50%) scale(1.15);
    box-shadow: 0 10px 25px rgba(240, 113, 155, 0.4);
}

/* Actual Iframe styling once loaded */
.yt-luxury-card iframe {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    border: none; border-radius: 20px; z-index: 10;
}

/* Balanced Mobile View */
@media (max-width: 991px) {
    .video-grid-container { grid-template-columns: 1fr; }
    .card-hero { height: 300px; }
    /* Mini videos become a horizontal swipe list on mobile to save height */
    .video-matrix { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 15px; scrollbar-width: none; }
    .video-matrix::-webkit-scrollbar { display: none; }
    .card-mini { flex: 0 0 240px; height: 160px; scroll-snap-align: start; }
}
/* --- END SECTION 18 --- */

/* ==========================================
   EMERGENCY ALERT TICKER (PREMIUM)
========================================== */
.emergency-ticker {
    background: linear-gradient(90deg, #d32f2f 0%, #e53935 100%); /* Deep Medical Red */
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    padding: 8px 15px;
    position: relative;
    z-index: 1050; /* Ensures it stays on top */
    letter-spacing: 0.5px;
}

.emergency-ticker a {
    color: #ffeb3b; /* Golden Yellow for the number */
    text-decoration: none;
    font-weight: 800;
    margin-left: 5px;
    transition: opacity 0.3s;
}

.emergency-ticker a:hover {
    opacity: 0.8;
}

/* The Live Blinking Dot */
.pulse-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #ffffff;
    border-radius: 50%;
    margin-right: 8px;
    margin-bottom: 1px;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
    animation: live-blink 1.5s infinite ease-in-out;
}

@keyframes live-blink {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.8); }
    100% { opacity: 1; transform: scale(1); }
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .emergency-ticker { font-size: 0.8rem; padding: 8px 10px; }
}

/* Navbar ki padding thodi badha dein taaki logo ko saans lene ki jagah mile */
.muskan-header .navbar {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

.header-logo {
    /* Scale property hata kar direct achi height dedein */
    height: 50px; 
    width: auto;
    object-fit: contain;
    /* transform: scale(1.5); <-- ISKO DELETE KAR DEIN */
}

@media (max-width: 768px) {
    .header-logo {
        height: 45px; /* Mobile par thoda chota */
    }
}



