* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    color: #1F2937;
    background: #F8FAFC;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Poppins', sans-serif;
}
span .main-logo{
    width: 120px;
    height: 120px;
}
.container {
    width: 90%;
    max-width: 90vw;
    margin: auto;
    padding-left: 16px;
    padding-right: 16px;
}

.narrow {
    max-width: 700px;
}

.section {
    padding: 80px 0;
}

.light-bg {
    background: #E2E8F0;
}

.center {
    text-align: center;
}
.why{
    display: flex;
    justify-content: center;
}

.section-title {   
    
    margin-bottom: 40px;
        font-size: 28px;   
         font-weight: 600;
    color: #1E3A8A;
}


/* Header */

.header {
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 0px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ================= NAVIGATION ================= */
.nav-links {
    display: flex;
    gap: 28px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #1F2937;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: #1E3A8A;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
}


.hero {
    padding: 120px 0;
    background: linear-gradient(135deg, #1E3A8A 0%, #2563EB 100%);
    color: #ffffff;
}
.hero h2 {
    font-size: 55px;
    font-weight: 600;
    margin-bottom: 15px;
}

.hero h3 {
    font-size: 22px;
    font-weight: 500;
}

.hero .qualification {
    font-size: 15px;
    opacity: 0.9;
}

.hero .tagline {
    margin-top: 10px;
    margin-bottom: 25px;
    font-size: 16px;
    opacity: 0.95;
}

.hero-location {
    margin-top: 15px;
    font-size: 14px;
    opacity: 0.85;
}


.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
}

.hero-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}


.qualification {
    font-weight: 600;
    margin: 10px 0;
}

.tagline {
    margin-bottom: 20px;
}

/* Buttons */

/* ================= MODERN BUTTON SYSTEM ================= */

.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s ease;
    border: none;
}

/* Primary Button (Hero + Important Actions) */
.btn-primary {
    background: #ffffff;
    color: #1E3A8A;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
}

/* Call Button */
.btn-call {
    background: #0EA5A4;
    color: #ffffff;
}

.btn-call:hover {
    background: #0F766E;
    transform: translateY(-2px);
}

/* Emergency Button */
.btn-emergency {
    background: #DC2626;
    color: #ffffff;
}

.btn-emergency:hover {
    background: #991B1B;
    transform: translateY(-2px);
}

/* Cards */

.card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* Lists */

.check-list {
    list-style: none;
    text-align: left;
}

.check-list li {
    margin-bottom: 10px;
}

/* Forms */

form input,
form select,
form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 6px;
    border: 1px solid #ddd;
}

/* Emergency */

.emergency {
    background: #fdecea;
    padding: 60px 0;
}

/* Modal */

.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    justify-content: center;
    align-items: center;
}

.modal-box {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    position: relative;
}

#closeModal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 22px;
    cursor: pointer;
}

/* Responsive */

@media(max-width: 900px) {
    .hero-grid,
    .grid-3,
    .grid-2 {
        grid-template-columns: 1fr;
    }
}
/* ================= MODAL BLUR EFFECT ================= */

body.modal-open {
    overflow: hidden;
}

body.modal-open .blur-content {
    filter: blur(6px);
    transition: 0.3s ease;
}

/* ================= MODAL ================= */

.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

.modal-box {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: slideUp 0.3s ease;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 22px;
    cursor: pointer;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
/* ================= STAR RATING ================= */

.star-rating {
    display: flex;
    justify-content: center;
    gap: 8px;
    font-size: 28px;
    margin-bottom: 20px;
    cursor: pointer;
}

.star {
    color: #ccc;
    transition: color 0.2s ease, transform 0.2s ease;
}



.star.active {
    color: #f1c40f;
}
/* ================= FEEDBACK MODAL ALIGNMENT FIX ================= */

.modal-title {
    text-align: center;
    margin-bottom: 25px;
}

.form-center {
    text-align: center;
    margin-top: 10px;
}
/* ================= MOVING TESTIMONIALS ================= */

.testimonial-wrapper {
    overflow: hidden;
    position: relative;
    margin-top: 40px;
}

.testimonial-track {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: scrollLeft 19s linear infinite;
}

.testimonial-wrapper:hover .testimonial-track {
    animation-play-state: paused;
}

.testimonial-card {
    min-width: 320px;
    max-width: 380px;
    width: 100%;
    background: #fff;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.07);
    text-align: left;
}


.testimonial-card .stars {
    font-size: 18px;
    margin-bottom: 10px;
}

.testimonial-card p {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 10px;
    white-space: normal;        /* Allow wrapping */
    word-break: break-word;     /* Prevent overflow */
}


.testimonial-card span {
    font-weight: 600;
    color: #2c3e50;
}

/* Animation */

@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ================= SERVICE IMAGES ================= */

.service-card {
    text-align: center;
    overflow: hidden;
}

.service-card img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.service-card img:hover {
    transform: scale(1.05);
}
/* ================= WHY CHOOSE US REFINED ================= */

.why-grid {
    max-width: 900px;
    margin: 40px auto 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.why-item {
    background: #ffffff;
    padding: 18px 22px;   /* reduced from 25-30 */
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    gap: 16px;
    transition: 0.3s ease;
}


.why-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(0,0,0,0.1);
}

/* Circular modern icon */
.why-icon {
    min-width: 45px;
    height: 45px;
    background: #1E3A8A;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.why-icon svg {
    width: 22px;
    height: 22px;
}

/* Title */
.why-item h4 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #1E3A8A;
}

/* Description */
.why-item p {
    font-size: 14px;
    color: #4B5563;
    line-height: 1.6;
}


/* Decorative minimal icon block */


@media (max-width: 800px) {
    .why-grid {
        grid-template-columns: 1fr;
    }
}
/* mobile optimisation */
@media (max-width: 768px) {
    .hero-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .hero-image {
        margin-top: 30px;
    }

    .hero-image img {
        max-width: 100%;
    }
}

/* ================= ABOUT SECTION ================= */

.about-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.about-image img {
    width: 100%;
    max-width: 380px;   /* increased from 300px */
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.about-content {
    flex: 1;
    min-width: 280px;
}

.about-content p {
    line-height: 1.7;
    color: #4B5563;
}


@media (max-width: 768px) {
    .about-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .about-image img {
        max-width: 280px;
    }
}

/* ================= HERO TITLE HIERARCHY ================= */

.hero-title {
    font-size: 46px;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 8px;
}

.hero-title span {
    display: block;
    font-size: 46px;
    font-weight: 700;
    opacity: 1;
    margin-top: 0;
}

.hero-doctor {
    font-size: 22px;
    font-weight: 700;
    margin-top: 20px;
    margin-bottom: 6px;
    border-left: 3px solid rgba(255,255,255,0.5);
    padding-left: 12px;
}

.hero-doctor em {
    font-style: normal;
    font-weight: 400;
    font-size: 15px;
    opacity: 0.75;
    margin-left: 6px;
    background: rgba(255,255,255,0.15);
    padding: 2px 8px;
    border-radius: 20px;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 30px;
    }

    .hero-title span {
        font-size: 30px;
    }
}



@media (max-width: 768px) {
    .testimonial-card {
        min-width: 280px;
        max-width: 320px;
    }
}


/* ================= MODAL EMERGENCY BLOCK ================= */

.modal-emergency {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
    text-align: center;
}

.modal-emergency p {
    font-size: 14px;
    margin-bottom: 10px;
    color: #374151;
}

/* ================= CLINIC TIMINGS ================= */
.timing-card {
    max-width: 500px;
    margin: 0 auto;
    padding: 40px;
    background: linear-gradient(135deg, #1E3A8A 0%, #2563EB 100%);
    color: #fff;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(30, 58, 138, 0.3);
}

.timing-card p {
    font-size: 14px;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.timing-card h3 {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
}

.timing-note {
    margin-top: 12px;
    font-size: 13px;
    opacity: 0.7;
    font-style: italic;
}


.form-submit {
    text-align: center;
    margin-top: 10px;
}

/* ================= GRID 2 CENTERED ================= */

.grid-2-centered {
    max-width: 760px;
    margin: 20px auto 0;
}

/* ================= GOOGLE MAPS BUTTON ================= */

.btn-maps {
    background: #1E3A8A;
    color: #ffffff;
    margin-top: 15px;
    display: inline-block;
}

.btn-maps:hover {
    background: #1e4fc4;
    transform: translateY(-2px);
}

/* ================= HERO EYEBROW & DOCTOR ================= */

.hero-eyebrow {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.75;
    margin-bottom: 10px;
}

.hero-doctor {
    font-size: 24px;
    font-weight: 700;
    margin-top: 6px;
}

.hero-doctor em {
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    opacity: 0.8;
    margin-left: 6px;
}

/* ================= CREDENTIALS SECTION ================= */

.credentials-subtitle {
    font-size: 15px;
    color: #6B7280;
    margin-top: -25px;
    margin-bottom: 40px;
}

.credentials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 30px;
}

.credential-card {
    background: #fff;
    border-radius: 16px;
    padding: 30px 24px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.07);
    text-align: center;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid #1E3A8A;
}

.credential-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(0,0,0,0.12);
}

.credential-card.credential-highlight {
    border-top: 4px solid #16a34a;
    background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 100%);
}

.credential-icon {
    font-size: 36px;
    margin-bottom: 12px;
}

.credential-badge {
    display: inline-block;
    background: #EFF6FF;
    color: #1E3A8A;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 14px;
}

.badge-green {
    background: #DCFCE7;
    color: #16a34a;
}

.badge-gold {
    background: #FEF9C3;
    color: #92400E;
}

.credential-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 10px;
    line-height: 1.4;
}

.credential-org {
    font-size: 13px;
    color: #1E3A8A;
    font-weight: 600;
    margin-bottom: 8px;
}

.credential-detail {
    font-size: 13px;
    color: #6B7280;
    margin-bottom: 4px;
}

.credential-verify {
    margin-top: 10px;
    font-size: 12px;
    color: #16a34a;
    font-weight: 500;
}

/* Registration strip */
.reg-strip {
    background: linear-gradient(135deg, #1E3A8A, #2563EB);
    color: #fff;
    border-radius: 12px;
    padding: 16px 28px;
    font-size: 14px;
    display: inline-block;
    margin-top: 10px;
    box-shadow: 0 8px 24px rgba(30,58,138,0.25);
}

.reg-strip strong {
    font-weight: 700;
    letter-spacing: 0.5px;
}

@media (max-width: 900px) {
    .credentials-grid {
        grid-template-columns: 1fr;
    }
}

/* ================= FOOTER ================= */

.footer {
    background: #0f2060;
    color: #cbd5e1;
    padding: 50px 0 0;
}

.footer-inner {

    display: flex;
    gap: 60px;
    flex-wrap: wrap;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand {
    flex: 1;
    min-width: 200px;
}

.footer-logo img{
    width: 80px;
    height: 80px;
    border-radius: 12px;
    margin-bottom: 12px;
    display: block;
}

.footer-brand p {
    font-size: 14px;
    opacity: 0.7;
}

.footer-links {
    flex: 2;
    min-width: 260px;
}

.footer-links p {
    font-size: 14px;
    margin-bottom: 10px;
    line-height: 1.6;
}

.footer-links a {
    color: #93c5fd;
    text-decoration: none;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-bottom {
    text-align: center;
    padding: 18px;
    font-size: 13px;
    opacity: 0.6;
}

.footer-credit {
    margin-top: 6px;
    font-size: 12px;
    opacity: 0.85;
}

.footer-credit a {
    color: #93c5fd;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.footer-credit a:hover {
    color: #fff;
}

/* ================= COMPREHENSIVE MOBILE FIXES ================= */

@media (max-width: 768px) {

    /* Hero */
    .hero {
        padding: 50px 0 60px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .hero-title {
        font-size: 30px;
    }

    .hero-title span {
        font-size: 30px;
    }

    .hero-doctor {
        font-size: 18px;
        border-left: none;
        padding-left: 0;
    }

    .hero-buttons {
        display: flex;
        justify-content: center;
        margin-top: 20px;
        margin-bottom: 16px;
    }

    /* Services grid */
    .grid-3,
    .grid-2 {
        grid-template-columns: 1fr;
    }

    .service-card img {
        height: 220px;
    }

    /* Why grid */
    .why-grid {
        grid-template-columns: 1fr;
    }

    /* Credentials */
    .credentials-grid {
        grid-template-columns: 1fr;
    }

    /* About */
    .about-wrapper {
        gap: 30px;
        text-align: center;
    }

    .about-image img {
        max-width: 260px;
    }

    /* Footer */
    .footer-inner {
        flex-direction: column;
        gap: 30px;
    }

    .footer {
        padding-bottom: env(safe-area-inset-bottom, 16px);
    }

    .footer-bottom {
        padding: 18px 16px calc(18px + env(safe-area-inset-bottom, 0px));
    }

    /* Modal */
    .modal-box {
        padding: 24px 16px 32px;
        width: 95%;
        max-height: 90vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* Timing card */
    .timing-card {
        padding: 28px 20px;
    }

    .timing-card h3 {
        font-size: 24px;
    }

    /* Section spacing */
    .section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 22px;
    }

    /* Buttons */
    .btn {
        padding: 12px 22px;
        font-size: 14px;
    }

    /* Reg strip */
    .reg-strip {
        font-size: 12px;
        padding: 14px 16px;
        text-align: center;
    }

    /* Emergency section */
    .emergency h2 {
        font-size: 20px;
        margin-bottom: 16px;
    }

    /* Testimonials */
    .testimonial-card {
        min-width: 270px;
        max-width: 300px;
    }

    /* Credentials subtitle */
    .credentials-subtitle {
        font-size: 13px;
        margin-bottom: 24px;
    }

    /* Location card padding */
    .card {
        padding: 20px 16px;
    }

    /* Announcement bar wraps properly on small screens */
    .announcement-bar {
        flex-wrap: wrap;
        gap: 6px;
        padding: 10px 12px;
        font-size: 13px;
        line-height: 1.5;
    }

    /* Services grid extra bottom spacing */
    #services .grid-2,
    #services .grid-3 {
        margin-bottom: 8px;
    }

    /* Footer inner top padding on mobile */
    .footer-inner {
        padding-top: 8px;
        padding-bottom: 32px;
    }

    /* Prevent nav Call Now button from shrinking weirdly */
    .nav-right .btn-call {
        font-size: 13px;
        padding: 10px 14px;
        white-space: nowrap;
    }

    /* reg strip full width on mobile */
    .reg-strip {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }

    /* Why grid items - ensure full width */
    .why-item {
        width: 100%;
    }

    /* Credential cards full width */
    .credential-card {
        padding: 24px 16px;
    }

    /* Testimonial section bottom breathing room */
    #testimonials {
        padding-bottom: 60px;
    }
}

/* ================= ANCHOR SCROLL OFFSET FIX ================= */

#about,
#credentials,
#services,
#timings,
#location,
#testimonials {
    scroll-margin-top: 130px;
}



.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 200;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #1E3A8A;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Animate to X when open */
.hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav drawer */
.mobile-nav {
    display: none;
    background: #fff;
    border-top: 1px solid #e5e7eb;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.3s ease;
}

.mobile-nav.open {
    max-height: 400px;
    padding: 12px 0 16px;
}

.mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav ul li a {
    display: block;
    padding: 13px 24px;
    font-size: 15px;
    font-weight: 500;
    color: #1F2937;
    text-decoration: none;
    border-bottom: 1px solid #f3f4f6;
    transition: background 0.2s, color 0.2s;
}

.mobile-nav ul li:last-child a {
    border-bottom: none;
}

.mobile-nav ul li a:hover {
    background: #EFF6FF;
    color: #1E3A8A;
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    .mobile-nav {
        display: block;
    }
}

/* ================= LOCATION SECTION MIN HEIGHT ================= */
#location {
    min-height: 40vh;
    display: flex;
    align-items: center;
}

#location .container {
    width: 100%;
}

@media (max-width: 768px) {
    #about,
    #credentials,
    #services,
    #timings,
    #location,
    #testimonials {
        scroll-margin-top: 130px;
    }
}

/* ================= BACK TO TOP BUTTON ================= */
#backToTop {
  position: fixed;
  bottom: 28px;
  right: 22px;
  bottom: calc(28px + env(safe-area-inset-bottom, 0px));
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #1E3A8A;
  color: #fff;
  font-size: 24px;
  line-height: 1;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(30,58,138,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  z-index: 9999;
}

#backToTop.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#backToTop:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
}


/* ================================================================ */
/* ================= SMART ANNOUNCEMENT BAR ======================= */
/* The bar at the very top of the page                             */
/* Shows timing when open, emergency call when closed              */
/* ================================================================ */

.announcement-bar {
  width: 100%;
  text-align: center;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.5s ease;
  z-index: 200;
}

/* Green bar when clinic is OPEN */
/* To change open color: edit background below */
.bar-open {
  background: #16a34a;
  color: #ffffff;
}

/* Red bar when clinic is CLOSED */
/* To change closed color: edit background below */
.bar-closed {
  background: #DC2626;
  color: #ffffff;
}

/* Pulsing green dot shown when clinic is open */
.bar-open-dot {
  width: 9px;
  height: 9px;
  background: #ffffff;
  border-radius: 50%;
  display: inline-block;
  animation: pulse-dot 1.5s infinite;
  flex-shrink: 0;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(1.4); }
}

/* Emergency button inside closed bar */
.bar-emergency-btn {
  background: #ffffff;
  color: #DC2626;
  padding: 4px 14px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  transition: background 0.2s;
}

.bar-emergency-btn:hover {
  background: #fff0f0;
}


/* ================================================================ */
/* ================= PULSING CALL NOW BUTTON ====================== */
/* Makes the Call Now button in navbar draw attention               */
/* To change pulse color: edit the box-shadow color below          */
/* ================================================================ */

.btn-call {
  background: #ff1616;
  color: #ffffff;
  /* Pulsing glow animation */
  animation: pulse-call 2s infinite;
}

@keyframes pulse-call {
  0%   { box-shadow: 0 0 0 0 rgba(255, 17, 17, 0.596); }
  70%  { box-shadow: 0 0 0 10px rgba(165, 14, 14, 0); }
  100% { box-shadow: 0 0 0 0 rgba(165, 14, 14, 0); }
}

.btn-call:hover {
  background: #ff1616;
  transform: translateY(-2px);
  animation: none; /* stop pulse on hover so it feels responsive */
}


/* ================================================================ */
/* ================= STATS STRIP ================================= */
/* The 4-stat row inside "Trusted by Families" section             */
/* To change numbers: edit index.html .stat-number text            */
/* ================================================================ */

.stats-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: linear-gradient(135deg, #1E3A8A 0%, #2563EB 100%);
  border-radius: 16px;
  padding: 30px 20px;
  margin: 0 auto 50px;
  max-width: 860px;
  box-shadow: 0 12px 35px rgba(30, 58, 138, 0.25);
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 30px;
  gap: 6px;
}

.stat-number {
  font-size: 30px;
  font-weight: 700;
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
}

.stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  font-weight: 500;
}

/* Thin vertical divider between stats */
.stat-divider {
  width: 1px;
  height: 50px;
  background: rgba(255, 255, 255, 0.25);
  flex-shrink: 0;
}

/* Mobile: stack stats in 2x2 grid */
@media (max-width: 600px) {
  .stats-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 24px 16px;
  }

  .stat-divider {
    display: none;
  }

  .stat-item {
    padding: 0;
  }

  .stat-number {
    font-size: 24px;
  }
}

/* ================= GOOGLE MAPS EMBED ================= */
.map-embed-wrapper {
  margin-top: 24px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  width: 100%;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.map-embed-wrapper iframe {
  width: 100%;
  height: 400px;
  display: block;
  border: 0;
}

@media (max-width: 600px) {
  .map-embed-wrapper iframe {
    height: 260px;
  }
}
