/* ===========================
   GLOBAL
=========================== */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #f8fafc;
    color: #1e293b;
}

a {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}


/* ===========================
   NAVBAR
=========================== */

.navbar {
    width: 100%;
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);

    position: sticky;
    top: 0;

    z-index: 1000;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 18px 5%;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: #4f46e5;
    white-space: nowrap;
}

.nav-links {
    list-style: none;

    display: flex;
    align-items: center;

    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #334155;
    font-weight: 500;
}

.nav-links a:hover {
    color: #4f46e5;
}

.book-btn {
    text-decoration: none;

    background: #4f46e5;
    color: white;

    padding: 12px 26px;

    border-radius: 50px;

    font-weight: 600;

    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.25);
}

.book-btn:hover {
    background: #4338ca;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.35);
}

.menu-toggle {
    display: none;

    border: none;
    background: transparent;

    font-size: 30px;
    cursor: pointer;

    color: #4f46e5;

    padding: 5px;
}


/* ===========================
   HERO
=========================== */

.hero {
    width: 90%;
    max-width: 1200px;

    margin: 80px auto;

    display: flex;

    justify-content: space-between;
    align-items: center;

    gap: 60px;
}

.hero-content {
    flex: 1;
}

.hero-tag {
    display: inline-block;

    background: #eef2ff;
    color: #4338ca;

    padding: 10px 18px;

    border-radius: 30px;

    font-weight: 600;

    margin-bottom: 25px;
}

.hero-content h1 {
    font-size: 60px;

    line-height: 1.2;

    color: #0f172a;

    margin-bottom: 25px;
}

.hero-content p {
    font-size: 18px;

    color: #475569;

    line-height: 1.8;

    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.primary-btn {
    background: #4f46e5;
    color: white;

    text-decoration: none;

    padding: 15px 35px;

    border-radius: 50px;

    font-weight: 600;

    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.25);
}

.primary-btn:hover {
    background: #4338ca;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.35);
}

.secondary-btn {
    text-decoration: none;

    color: #4f46e5;

    border: 2px solid #4f46e5;

    padding: 15px 35px;

    border-radius: 50px;

    font-weight: 600;
}

.secondary-btn:hover {
    background: #4f46e5;
    color: white;
}

.hero-info {
    display: flex;

    gap: 45px;

    margin-top: 55px;
}

.hero-info h3 {
    color: #4f46e5;

    font-size: 34px;
}

.hero-info span {
    color: #64748b;

    font-size: 15px;
}

.hero-image {
    flex: 1;

    text-align: center;
}

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

    border-radius: 30px;

    box-shadow: 0 25px 50px rgba(15, 23, 42, 0.12);
}


/* ===========================
   SECTIONS
=========================== */

.about,
.services,
.doctors,
.testimonials,
.gallery,
.appointment,
.contact {
    width: 90%;

    max-width: 1200px;

    margin: 120px auto;
}

.section-title {
    text-align: center;

    margin-bottom: 70px;
}

.section-title span {
    color: #059669;

    font-weight: 700;

    letter-spacing: 2px;
}

.section-title h2 {
    font-size: 42px;

    color: #0f172a;

    margin: 18px 0;
}

.section-title p {
    color: #64748b;

    max-width: 700px;

    margin: auto;

    line-height: 1.8;
}


/* ===========================
   WHY US
=========================== */

.why-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 30px;
}

.why-card {
    background: white;

    padding: 40px 30px;

    border-radius: 25px;

    text-align: center;

    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);

    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.why-card:hover {
    transform: translateY(-8px);

    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.1);
}

.icon {
    font-size: 55px;

    margin-bottom: 25px;
}

.why-card h3 {
    margin-bottom: 15px;

    color: #0f172a;
}

.why-card p {
    color: #64748b;

    line-height: 1.8;
}


/* ===========================
   SERVICES
=========================== */

.services-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 30px;
}

.service-card {
    background: white;

    padding: 40px 30px;

    border-radius: 25px;

    text-align: center;

    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);

    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-8px);

    box-shadow: 0 20px 45px rgba(79, 70, 229, 0.12);
}

.service-card i {
    font-size: 55px;

    color: #4f46e5;

    margin-bottom: 25px;
}

.service-card h3 {
    margin-bottom: 15px;

    color: #0f172a;
}

.service-card p {
    color: #64748b;

    line-height: 1.8;

    margin-bottom: 25px;
}

.service-card a {
    text-decoration: none;

    color: #4f46e5;

    font-weight: 600;
}


/* ===========================
   DOCTORS
=========================== */

.doctor-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 35px;
}

.doctor-card {
    background: white;

    border-radius: 25px;

    overflow: hidden;

    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);

    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.doctor-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.1);
}

.doctor-card img {
    width: 100%;

    height: 320px;

    object-fit: cover;
}

.doctor-info {
    padding: 30px;

    text-align: center;
}

.doctor-info h3 {
    color: #0f172a;

    margin-bottom: 8px;
}

.doctor-info span {
    color: #4f46e5;

    font-weight: 600;
}

.doctor-info p {
    margin: 20px 0;

    color: #64748b;

    line-height: 1.8;
}

.doctor-social {
    display: flex;

    justify-content: center;

    gap: 18px;
}

.doctor-social a {
    width: 42px;
    height: 42px;

    border-radius: 50%;

    background: #eef2ff;

    display: flex;

    align-items: center;
    justify-content: center;

    color: #4f46e5;

    text-decoration: none;
}

.doctor-social a:hover {
    background: #4f46e5;

    color: white;
}


/* ===========================
   STATISTICS
=========================== */

.stats {
    width: 100%;

    background: linear-gradient(135deg, #4f46e5 0%, #059669 100%);

    margin: 120px 0;

    padding: 80px 0;
}

.stats-container {
    width: 90%;

    max-width: 1200px;

    margin: auto;

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 30px;

    text-align: center;
}

.stat-box {
    color: white;
}

.stat-box h2 {
    font-size: 52px;

    margin-bottom: 12px;

    font-weight: 700;
}

.stat-box p {
    font-size: 18px;
    color: #ecfdf5;
}


/* ===========================
   TESTIMONIALS
=========================== */

.testimonial-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 30px;
}

.testimonial-card {
    background: white;

    padding: 40px;

    border-radius: 25px;

    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);

    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.1);
}

.testimonial-card p {
    color: #64748b;

    line-height: 1.8;

    margin-bottom: 25px;

    font-style: italic;
}

.testimonial-card h3 {
    color: #0f172a;

    margin-bottom: 8px;
}

.testimonial-card span {
    color: #f59e0b;

    font-size: 20px;
}


/* ===========================
   GALLERY
=========================== */

.gallery-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}

.gallery-grid img {
    width: 100%;

    height: 250px;

    object-fit: cover;

    border-radius: 15px;

    cursor: pointer;

    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-grid img:hover {
    transform: scale(1.03);

    box-shadow: 0 15px 30px rgba(15, 23, 42, 0.18);
}


/* ===========================
   GALLERY LIGHTBOX
=========================== */

.lightbox {
    display: flex;

    position: fixed;
    z-index: 9999;

    inset: 0;

    width: 100%;
    height: 100%;

    padding: 30px;

    box-sizing: border-box;

    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(8px);

    align-items: center;
    justify-content: center;

    visibility: hidden;
    opacity: 0;

    pointer-events: none;

    transition:
        opacity 0.35s ease,
        visibility 0.35s ease;
}

.lightbox.active {
    visibility: visible;
    opacity: 1;

    pointer-events: auto;
}


/* ===========================
   IMAGE WRAPPER
=========================== */

.lightbox-image-wrapper {
    position: relative;

    width: min(900px, 78vw);
    height: min(80vh, 700px);

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    border-radius: 16px;
}


/* ===========================
   LIGHTBOX IMAGE
=========================== */

.lightbox img {
    max-width: 100%;
    max-height: 100%;

    width: auto;
    height: auto;

    object-fit: contain;

    border-radius: 15px;

    user-select: none;

    will-change: transform, opacity;

    transform: scale(0.92);
    opacity: 0;

    transition:
        transform 0.35s ease,
        opacity 0.35s ease;
}

.lightbox.active img {
    transform: scale(1);
    opacity: 1;
}


/* ===========================
   IMAGE SLIDE ANIMATIONS
=========================== */

.lightbox img.slide-next {
    animation: gallerySlideNext 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.lightbox img.slide-prev {
    animation: gallerySlidePrev 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}


@keyframes gallerySlideNext {

    0% {
        opacity: 0;
        transform: translateX(40px) scale(0.96);
    }

    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }

}


@keyframes gallerySlidePrev {

    0% {
        opacity: 0;
        transform: translateX(-40px) scale(0.96);
    }

    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }

}


/* ===========================
   NAVIGATION ARROWS
=========================== */

.lightbox-arrow {
    position: absolute;

    top: 50%;

    width: 55px;
    height: 55px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border: none;
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.95);

    color: #4f46e5;

    font-size: 20px;

    cursor: pointer;

    z-index: 10001;

    transform: translateY(-50%);

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}


.lightbox-arrow:hover {
    background: #4f46e5;

    color: #ffffff;

    transform: translateY(-50%) scale(1.08);

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}


.lightbox-prev {
    left: 30px;
}


.lightbox-next {
    right: 30px;
}


/* ===========================
   CLOSE BUTTON
=========================== */

.close-lightbox {
    position: absolute;

    top: 20px;
    right: 25px;

    width: 50px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border: none;
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.95);

    color: #1e293b;

    font-size: 34px;
    line-height: 1;

    cursor: pointer;

    z-index: 10002;

    transition:
        transform 0.25s ease,
        background 0.25s ease;
}


.close-lightbox:hover {
    background: #ffffff;

    transform: rotate(90deg);
}


/* ===========================
   MOBILE LIGHTBOX — FIXED
=========================== */

@media (max-width: 768px) {

    .lightbox {
        padding: 70px 12px 25px;
        box-sizing: border-box;

        align-items: center;
        justify-content: center;

        overflow: hidden;
    }

    .lightbox-image-wrapper {
        position: relative;

        width: 100%;
        max-width: 100%;

        height: 70vh;
        max-height: 70vh;

        display: flex;
        align-items: center;
        justify-content: center;

        margin: 0 auto;

        border-radius: 12px;
    }

    .lightbox img {
        display: block;

        max-width: 100%;
        max-height: 100%;

        width: auto;
        height: auto;

        object-fit: contain;
    }

    /* Arrows stay inside the phone screen */
    .lightbox-arrow {
        width: 42px;
        height: 42px;

        font-size: 15px;

        top: 50%;

        z-index: 10001;
    }

    .lightbox-prev {
        left: 8px;
    }

    .lightbox-next {
        right: 8px;
    }

    /* Close button stays at the top-right of the screen */
    .close-lightbox {
        position: fixed;

        top: 14px;
        right: 14px;

        width: 44px;
        height: 44px;

        font-size: 27px;

        z-index: 10003;
    }
}


/* ===========================
   SMALL PHONES
=========================== */

@media (max-width: 480px) {

    .lightbox {
        padding: 68px 8px 20px;
    }

    .lightbox-image-wrapper {
        width: 100%;
        height: 65vh;
        max-height: 65vh;

        margin: 0 auto;
    }

    .lightbox-arrow {
        width: 38px;
        height: 38px;

        font-size: 14px;
    }

    .lightbox-prev {
        left: 6px;
    }

    .lightbox-next {
        right: 6px;
    }

    .close-lightbox {
        top: 12px;
        right: 12px;

        width: 42px;
        height: 42px;

        font-size: 26px;
    }
}


/* ===========================
   APPOINTMENT
=========================== */

.appointment-container {
    background: white;

    padding: 50px;

    border-radius: 25px;

    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.appointment form {
    display: grid;

    gap: 20px;
}

.appointment input,
.appointment select,
.appointment textarea {
    width: 100%;

    padding: 16px;

    border: 1px solid #cbd5e1;

    border-radius: 12px;

    font-size: 16px;

    font-family: 'Poppins', sans-serif;
}

.appointment input:focus,
.appointment select:focus,
.appointment textarea:focus {
    outline: none;

    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

.appointment button {
    background: #4f46e5;

    color: white;

    border: none;

    padding: 18px;

    border-radius: 50px;

    font-size: 18px;

    font-weight: 600;

    cursor: pointer;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.25);
    transition: all 0.3s ease;
}

.appointment button:hover {
    background: #4338ca;
    transform: translateY(-2px);
}


/* ===========================
   SUCCESS MESSAGE
=========================== */

.success-message {
    display: none;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    margin-top: 25px;

    padding: 20px 22px;

    background: #f0fdf4;

    color: #15803d;

    border-radius: 12px;

    border: 1px solid #bbf7d0;
} 
.success-message.show {
    display: flex;
}

.success-message strong {
    display: block;

    font-size: 18px;

    margin-bottom: 5px;
}

.success-message p {
    margin: 0;

    font-size: 14px;
}

.success-message button {
    border: none;

    background: transparent;

    color: #15803d;

    font-size: 22px;

    cursor: pointer;
}


/* ===========================
   CONTACT
=========================== */

.contact-container {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 50px;

    align-items: center;
}

.contact-info {
    display: flex;

    flex-direction: column;

    gap: 25px;
}

.contact-card {
    display: flex;

    align-items: center;

    gap: 20px;

    background: white;

    padding: 25px;

    border-radius: 20px;

    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.contact-card i {
    width: 65px;

    height: 65px;

    flex-shrink: 0;

    background: #4f46e5;

    color: white;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    font-size: 24px;
}

.contact-card h3 {
    margin-bottom: 8px;

    color: #0f172a;
}

.contact-card p {
    color: #64748b;
}

.map iframe {
    width: 100%;

    height: 500px;

    border: none;

    border-radius: 25px;

    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}


/* ===========================
   BACK TO TOP
=========================== */

#backToTop {
    position: fixed;

    right: 25px;

    bottom: 25px;

    width: 55px;

    height: 55px;

    border: none;

    border-radius: 50%;

    background: #4f46e5;

    color: white;

    font-size: 22px;

    cursor: pointer;

    display: none;

    align-items: center;

    justify-content: center;

    box-shadow: 0 10px 25px rgba(79, 70, 229, 0.3);

    z-index: 2000;
    transition: all 0.3s ease;
}
#backToTop.show {
    display: flex;
}

#backToTop:hover {
    transform: translateY(-5px);

    background: #4338ca;
}


/* ===========================
   WHATSAPP BUTTON
=========================== */

.whatsapp-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;

    width: auto !important;
    min-width: 180px !important;
    height: 52px !important;

    margin: 40px auto 0 !important;
    padding: 0 22px !important;

    background: #10b981 !important;
    color: #ffffff !important;

    border-radius: 50px !important;
    text-decoration: none !important;

    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1 !important;

    box-sizing: border-box !important;

    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.25);

    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-button i {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 24px !important;
    height: 24px !important;

    font-size: 22px !important;
    line-height: 1 !important;

    color: #ffffff !important;
}

.whatsapp-button span {
    display: inline-block !important;

    white-space: nowrap !important;

    color: #ffffff !important;
}

.whatsapp-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(16, 185, 129, 0.35);
}

/* Mobile */
@media (max-width: 600px) {

    .whatsapp-button {
        min-width: 175px !important;
        height: 50px !important;

        margin-top: 30px !important;
        padding: 0 20px !important;

        font-size: 15px !important;
    }

    .whatsapp-button i {
        font-size: 21px !important;
    }
}

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

footer {
    background: #0f172a;

    color: white;

    margin-top: 120px;
}

.footer-container {
    width: 90%;

    max-width: 1200px;

    margin: auto;

    padding: 70px 0;

    display: grid;

    grid-template-columns: 2fr 1fr 1fr 1fr;

    gap: 40px;
}

footer h2,
footer h3 {
    margin-bottom: 20px;
}

footer p {
    color: #94a3b8;

    line-height: 1.8;
}

footer ul {
    list-style: none;
}

footer ul li {
    margin-bottom: 12px;
}

footer ul li a {
    color: #94a3b8;

    text-decoration: none;
}

footer ul li a:hover {
    color: white;
}

.social-icons {
    display: flex;

    gap: 15px;
}

.social-icons a {
    width: 45px;

    height: 45px;

    border-radius: 50%;

    background: #4f46e5;

    display: flex;

    justify-content: center;

    align-items: center;

    color: white;

    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    transform: translateY(-5px);

    background: white;

    color: #4f46e5;
}

.footer-bottom {
    text-align: center;

    border-top: 1px solid rgba(255, 255, 255, 0.1);

    padding: 25px;

    color: #94a3b8;
}


/* ===========================
   FADE-IN ANIMATION
=========================== */

.section-title,
.why-card,
.service-card,
.doctor-card,
.testimonial-card,
.stat-box,
.gallery-img,
.contact-card,
.appointment-container {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.section-title.visible,
.why-card.visible,
.service-card.visible,
.doctor-card.visible,
.testimonial-card.visible,
.stat-box.visible,
.gallery-img.visible,
.contact-card.visible,
.appointment-container.visible {
    opacity: 1;
    transform: translateY(0);
}


/* ===========================
   TABLET
=========================== */

@media (max-width: 992px) {

    .nav-links {
        gap: 15px;
    }

    .book-btn {
        padding: 10px 18px;
    }

    .hero {
        flex-direction: column;

        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-info {
        justify-content: center;

        flex-wrap: wrap;
    }

    .why-grid,
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .doctor-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}


/* ===========================
   MOBILE
=========================== */

@media (max-width: 768px) {

    .navbar {
        padding: 15px 5%;

        position: sticky;

        top: 0;
    }

    .logo {
        font-size: 23px;
    }

    .menu-toggle {
        display: block;
    }

    .book-btn {
        display: none;
    }

    .nav-links {
        position: absolute;

        top: 100%;

        left: 0;

        width: 100%;

        background: white;

        display: none;

        flex-direction: column;

        align-items: center;

        gap: 0;

        padding: 10px 0 20px;

        box-shadow: 0 12px 25px rgba(15, 23, 42, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;

        text-align: center;
    }

    .nav-links a {
        display: block;

        width: 100%;

        padding: 15px 20px;
    }

    .nav-links a:hover {
        background: #eef2ff;
    }

    .hero-content h1 {
        font-size: 42px;
    }

    .section-title h2 {
        font-size: 34px;
    }

    .why-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr;

        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }
}


/* ===========================
   SMALL MOBILE
=========================== */

@media (max-width: 576px) {

    .hero {
        margin: 50px auto;
    }

    .hero-content h1 {
        font-size: 34px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .primary-btn,
    .secondary-btn {
        width: 100%;

        text-align: center;
    }

    .hero-info {
        gap: 25px;
    }

    .appointment-container {
        padding: 30px 20px;
    }

    .stats-container {
        grid-template-columns: 1fr;
    }

    .map iframe {
        height: 350px;
    }

    #backToTop {
        right: 18px;

        bottom: 18px;

        width: 52px;

        height: 52px;
    }

    .whatsapp-button {
        right: 18px;

        bottom: 82px;

        width: 52px;

        height: 52px;
    }
} 

.whatsapp-button {
    display: flex;
}

/* ===========================
   EMERGENCY CTA
=========================== */

.emergency-cta {
    width: 100%;
    padding: 70px 20px;
    box-sizing: border-box;
}

.emergency-content {
    max-width: 1150px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    gap: 30px;

    padding: 35px 40px;

    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 20px;

    box-sizing: border-box;
}

.emergency-icon {
    flex-shrink: 0;

    width: 70px;
    height: 70px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #fee2e2;
    color: #ef4444;

    border-radius: 50%;

    font-size: 28px;
}

.emergency-text {
    flex: 1;
}

.emergency-text span {
    display: block;

    margin-bottom: 6px;

    color: #ef4444;

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 1px;
}

.emergency-text h2 {
    margin: 0 0 8px;

    color: #0f172a;

    font-size: 28px;
    font-weight: 700;

    line-height: 1.25;
}

.emergency-text p {
    margin: 0;

    max-width: 650px;

    color: #64748b;

    font-size: 15px;
    line-height: 1.7;
}

.emergency-actions {
    flex-shrink: 0;

    display: flex;
    flex-direction: column;
    gap: 10px;
}

.emergency-actions a {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 9px;

    min-width: 190px;
    min-height: 48px;

    padding: 0 20px;

    border-radius: 10px;

    text-decoration: none;

    font-size: 14px;
    font-weight: 600;

    box-sizing: border-box;

    transition: all 0.25s ease;
}

.emergency-call-btn {
    background: #ef4444;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(239, 68, 68, 0.25);
}

.emergency-call-btn:hover {
    background: #dc2626;

    transform: translateY(-2px);

    box-shadow: 0 8px 18px rgba(239, 68, 68, 0.35);
}

.emergency-book-btn {
    background: #ffffff;
    color: #ef4444;

    border: 1px solid #ef4444;
}

.emergency-book-btn:hover {
    background: #ef4444;
    color: #ffffff;

    transform: translateY(-2px);
}


/* ===========================
   EMERGENCY CTA - MOBILE
=========================== */

@media (max-width: 768px) {

    .emergency-cta {
        padding: 45px 15px;
    }

    .emergency-content {
        flex-direction: column;

        text-align: center;

        padding: 30px 22px;

        gap: 20px;
    }

    .emergency-icon {
        width: 62px;
        height: 62px;

        font-size: 24px;
    }

    .emergency-text span {
        font-size: 12px;
    }

    .emergency-text h2 {
        font-size: 24px;
    }

    .emergency-text p {
        font-size: 14px;
        line-height: 1.6;
    }

    .emergency-actions {
        width: 100%;
    }

    .emergency-actions a {
        width: 100%;

        min-height: 50px;
    }
}


/* ===========================
   SMALL PHONES
=========================== */

@media (max-width: 480px) {

    .emergency-cta {
        padding: 35px 12px;
    }

    .emergency-content {
        padding: 25px 18px;
        border-radius: 16px;
    }

    .emergency-text h2 {
        font-size: 21px;
    }

    .emergency-text p {
        font-size: 13px;
    }
}

/* ===========================
   DOCTOR IMAGE FIX
=========================== */

.doctor-card img {
    width: 100%;
    height: 320px;

    display: block;

    object-fit: cover;
    object-position: center center;
}

.doctor-card:nth-child(2) img {
    object-position: center 20%;
}

/* ===========================
   WHY CHOOSE US ICONS
=========================== */

.why-card .icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 80px;
    height: 80px;

    margin: 0 auto 25px;

    color: #4f46e5;

    font-size: 52px;
}

.why-card .icon i {
    font-size: 52px;
}

/* ===========================
   FAQ SECTION
=========================== */

.faq {
    background: #ffffff;
}

.faq-container {
    width: 100%;
    max-width: 900px;

    margin: 0 auto;
}

.faq-item {
    margin-bottom: 14px;

    background: #ffffff;

    border: 1px solid #e2e8f0;

    border-radius: 12px;

    overflow: hidden;

    box-shadow: 0 5px 18px rgba(15, 23, 42, 0.03);

    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.faq-item.active {
    border-color: #c7d2fe;

    box-shadow: 0 8px 24px rgba(79, 70, 229, 0.08);
}

.faq-question {
    width: 100%;

    min-height: 68px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 20px 24px;

    background: #ffffff;

    border: none;

    color: #0f172a;

    text-align: left;

    font-family: inherit;

    font-size: 16px;
    font-weight: 600;

    line-height: 1.4;

    cursor: pointer;

    transition:
        background 0.25s ease,
        color 0.25s ease;
}

.faq-question:hover {
    background: #f8fafc;
}

.faq-question:focus-visible {
    outline: 3px solid rgba(79, 70, 229, 0.25);

    outline-offset: -3px;
}

.faq-question i {
    flex-shrink: 0;

    width: 32px;
    height: 32px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #eef2ff;

    color: #4f46e5;

    font-size: 14px;

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        color 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);

    background: #4f46e5;

    color: #ffffff;
}

.faq-answer {
    display: grid;

    grid-template-rows: 0fr;

    transition:
        grid-template-rows 0.35s ease;
}

.faq-answer p {
    min-height: 0;

    overflow: hidden;

    margin: 0;

    padding: 0 24px;

    color: #64748b;

    font-size: 14px;

    line-height: 1.8;

    opacity: 0;

    transition:
        opacity 0.25s ease,
        padding 0.35s ease;
}

.faq-item.active .faq-answer {
    grid-template-rows: 1fr;
}

.faq-item.active .faq-answer p {
    padding: 0 24px 22px;

    opacity: 1;
}

/* ===========================
   FAQ MOBILE
=========================== */

@media (max-width: 768px) {

    .faq-container {
        max-width: 100%;
    }

    .faq-item {
        margin-bottom: 12px;

        border-radius: 10px;
    }

    .faq-question {
        min-height: 64px;

        padding: 18px 16px;

        gap: 14px;

        font-size: 15px;
    }

    .faq-question i {
        width: 30px;
        height: 30px;

        font-size: 13px;
    }

    .faq-item.active .faq-answer p {
        padding: 0 16px 20px;
    }

    .faq-answer p {
        font-size: 14px;

        line-height: 1.7;
    }
}

@media (max-width: 480px) {

    .faq-question {
        min-height: 62px;

        padding: 16px 14px;

        font-size: 14px;

        gap: 10px;
    }

    .faq-question span {
        max-width: calc(100% - 42px);
    }

    .faq-question i {
        width: 28px;
        height: 28px;

        font-size: 12px;
    }

    .faq-item.active .faq-answer p {
        padding: 0 14px 18px;
    }

    .faq-answer p {
        font-size: 13px;

        line-height: 1.65;
    }
}

/* ==========================================
   REDESIGNED APPOINTMENT SECTION STYLES
========================================== */
.appointment-section-wrapper {
    position: relative;
    padding: 0 0 80px 0;
    background: #f8fafc;
}

.appointment-hero-banner {
    position: relative;
    width: 100%;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #0f172a;
    text-align: center;
    color: #ffffff;
}

.appointment-hero-banner video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 1;
    transform: translate(-50%, -50%);
    object-fit: cover;
    opacity: 0.35;
}

.appointment-hero-overlay {
    position: relative;
    z-index: 2;
    padding: 0 20px;
    max-width: 700px;
}

.hero-tag {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 12px;
}

.appointment-hero-overlay h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
}

.appointment-hero-overlay p {
    font-size: 16px;
    opacity: 0.9;
}

.appointment-container {
    max-width: 850px;
    margin: -50px auto 0 auto;
    position: relative;
    z-index: 5;
    background: #ffffff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
}

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

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 6px;
    color: #0f172a;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    font-size: 15px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

.full-width {
    grid-column: span 2;
}

.submit-appointment-btn {
    width: 100%;
    padding: 14px;
    background: #4f46e5;
    color: #ffffff;
    font-weight: 600;
    font-size: 16px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.25);
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.submit-appointment-btn:hover {
    background: #4338ca;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.35);
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
    .full-width {
        grid-column: span 1;
    }
    .appointment-hero-banner {
        height: 260px;
    }
    .appointment-hero-overlay h2 {
        font-size: 26px;
    }
    .appointment-container {
        margin-top: -30px;
        padding: 25px;
        margin-left: 15px;
        margin-right: 15px;
    }
}
/* =========================================================
   BRIGHTSMILE PREMIUM VISUAL LAYER
   Visual-only redesign: color, typography, motion & effects.
   Existing layout/content/functionality intentionally preserved.
========================================================= */

:root {
    --bs-ivory: #f8f7f3;
    --bs-paper: #ffffff;
    --bs-navy: #102a43;
    --bs-navy-deep: #0b1f33;
    --bs-champagne: #b89b67;
    --bs-champagne-light: #d9c7a5;
    --bs-blue-gray: #dce6ea;
    --bs-text: #17202a;
    --bs-muted: #667789;
    --bs-line: rgba(16, 42, 67, 0.10);
    --bs-shadow: 0 18px 55px rgba(16, 42, 67, 0.08);
    --bs-shadow-hover: 0 24px 65px rgba(16, 42, 67, 0.13);
    --bs-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    background:
        radial-gradient(circle at 12% 10%, rgba(184, 155, 103, 0.055), transparent 28%),
        radial-gradient(circle at 88% 42%, rgba(220, 230, 234, 0.38), transparent 32%),
        var(--bs-ivory);
    color: var(--bs-text);
    overflow-x: hidden;
}

/* Very subtle luxury paper texture */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9998;
    opacity: 0.035;
    background-image:
        radial-gradient(rgba(16, 42, 67, 0.8) 0.45px, transparent 0.45px);
    background-size: 7px 7px;
}

/* -------------------------
   TYPOGRAPHY
------------------------- */

.logo,
.hero-content h1,
.section-title h2,
.emergency-text h2,
.doctor-info h3,
.testimonial-card h3,
footer h2,
footer h3 {
    font-family: "Playfair Display", Georgia, serif;
}

.hero-content h1 {
    font-weight: 600;
    letter-spacing: -1.8px;
}

.section-title h2 {
    font-weight: 600;
    letter-spacing: -0.8px;
}

.section-title span {
    color: var(--bs-champagne);
    letter-spacing: 3px;
    font-size: 12px;
}

/* -------------------------
   NAVBAR
------------------------- */

.navbar {
    background: rgba(248, 247, 243, 0.88);
    box-shadow: 0 1px 0 rgba(16, 42, 67, 0.08);
    border-bottom: 1px solid transparent;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transition:
        background 0.45s var(--bs-ease),
        box-shadow 0.45s var(--bs-ease),
        border-color 0.45s var(--bs-ease),
        padding 0.45s var(--bs-ease);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.92);
    border-bottom-color: var(--bs-line);
    box-shadow: 0 10px 35px rgba(16, 42, 67, 0.08);
}

.logo {
    color: var(--bs-navy);
    letter-spacing: -0.5px;
}

.nav-links a {
    color: #3f5264;
    position: relative;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -7px;
    height: 1.5px;
    background: var(--bs-champagne);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.35s var(--bs-ease);
}

.nav-links a:hover {
    color: var(--bs-navy);
}

.nav-links a:hover::after {
    transform: scaleX(1);
}

.book-btn,
.primary-btn {
    background: var(--bs-navy);
    color: #fff;
    border: 1px solid var(--bs-navy);
    box-shadow: 0 10px 25px rgba(16, 42, 67, 0.16);
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.book-btn::before,
.primary-btn::before,
.submit-appointment-btn::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -85%;
    width: 45%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.24),
        transparent
    );
    transform: skewX(-18deg);
    transition: left 0.7s var(--bs-ease);
    z-index: -1;
}

.book-btn:hover::before,
.primary-btn:hover::before,
.submit-appointment-btn:hover::before {
    left: 140%;
}

.book-btn:hover,
.primary-btn:hover {
    background: #183b5b;
    transform: translateY(-3px);
    box-shadow: 0 16px 35px rgba(16, 42, 67, 0.22);
}

/* -------------------------
   HERO
------------------------- */

.hero {
    position: relative;
    max-width: 1240px;
    margin: 70px auto 110px;
}

.hero::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    left: -170px;
    top: -150px;
    border-radius: 50%;
    background: rgba(184, 155, 103, 0.08);
    filter: blur(10px);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-tag {
    background: rgba(184, 155, 103, 0.10);
    color: #80663d;
    border: 1px solid rgba(184, 155, 103, 0.24);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hero-content h1 {
    color: var(--bs-navy);
}

.hero-content p {
    color: var(--bs-muted);
    max-width: 650px;
}

.secondary-btn {
    color: var(--bs-navy);
    border-color: rgba(16, 42, 67, 0.35);
    position: relative;
    overflow: hidden;
}

.secondary-btn:hover {
    background: var(--bs-navy);
    border-color: var(--bs-navy);
    color: #fff;
}

.hero-info {
    gap: 38px;
}

.hero-info > div {
    position: relative;
}

.hero-info > div:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -20px;
    top: 7px;
    width: 1px;
    height: 38px;
    background: var(--bs-line);
}

.hero-info h3 {
    color: var(--bs-champagne);
    font-family: "Playfair Display", Georgia, serif;
    font-weight: 600;
}

.hero-info span {
    color: #718092;
}

.hero-image {
    position: relative;
}

.hero-image::before {
    content: "";
    position: absolute;
    inset: 18px -18px -18px 18px;
    border: 1px solid rgba(184, 155, 103, 0.28);
    border-radius: 30px;
    z-index: -1;
    transition: transform 0.8s var(--bs-ease);
}

.hero-image:hover::before {
    transform: translate(7px, 7px);
}

.hero-image img {
    border-radius: 22px;
    box-shadow: 0 28px 70px rgba(16, 42, 67, 0.15);
    animation: bsHeroFloat 16s ease-in-out infinite;
    will-change: transform;
}

@keyframes bsHeroFloat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.025); }
}

/* -------------------------
   SECTIONS
------------------------- */

.about,
.services,
.doctors,
.testimonials,
.gallery,
.appointment,
.contact {
    position: relative;
}

.section-title {
    margin-bottom: 64px;
}

.section-title h2 {
    color: var(--bs-navy);
}

.section-title p {
    color: var(--bs-muted);
}

/* alternating visual atmosphere without changing structure */
.services,
.gallery {
    position: relative;
}

.services::before,
.gallery::before {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(220, 230, 234, 0.35);
    filter: blur(5px);
    pointer-events: none;
    z-index: -1;
}

.services::before {
    right: -150px;
    top: 50px;
}

.gallery::before {
    left: -150px;
    top: 100px;
}

/* -------------------------
   CARDS
------------------------- */

.why-card,
.service-card,
.doctor-card,
.testimonial-card,
.contact-card,
.appointment-container {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(16, 42, 67, 0.07);
    box-shadow: var(--bs-shadow);
    transition:
        transform 0.5s var(--bs-ease),
        box-shadow 0.5s var(--bs-ease),
        border-color 0.5s var(--bs-ease);
}

.why-card:hover,
.service-card:hover,
.doctor-card:hover,
.testimonial-card:hover,
.contact-card:hover {
    transform: translateY(-7px);
    border-color: rgba(184, 155, 103, 0.30);
    box-shadow: var(--bs-shadow-hover);
}

.icon,
.service-card i {
    color: var(--bs-champagne);
    transition:
        transform 0.45s var(--bs-ease),
        color 0.45s var(--bs-ease),
        filter 0.45s var(--bs-ease);
}

.why-card:hover .icon,
.service-card:hover i {
    transform: translateY(-4px) scale(1.04);
    color: #9e814f;
    filter: drop-shadow(0 8px 14px rgba(184, 155, 103, 0.20));
}

.why-card h3,
.service-card h3 {
    color: var(--bs-navy);
}

.why-card p,
.service-card p {
    color: var(--bs-muted);
}

.service-card a {
    color: var(--bs-navy);
    display: inline-block;
}

.service-card a:hover {
    color: var(--bs-champagne);
    transform: translateX(5px);
}

/* -------------------------
   DOCTORS
------------------------- */

.doctor-card {
    position: relative;
}

.doctor-card img {
    filter: saturate(0.92);
    transition:
        transform 0.8s var(--bs-ease),
        filter 0.8s var(--bs-ease);
}

.doctor-card:hover img {
    transform: scale(1.035);
    filter: saturate(1);
}

.doctor-info span {
    color: var(--bs-champagne);
}

.doctor-info p {
    color: var(--bs-muted);
}

.doctor-social a {
    background: rgba(184, 155, 103, 0.10);
    color: var(--bs-navy);
    border: 1px solid rgba(184, 155, 103, 0.16);
}

.doctor-social a:hover {
    background: var(--bs-navy);
    color: #fff;
    border-color: var(--bs-navy);
    transform: translateY(-3px);
}

/* -------------------------
   STATS
------------------------- */

.stats {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 15% 50%, rgba(184, 155, 103, 0.18), transparent 28%),
        radial-gradient(circle at 85% 20%, rgba(220, 230, 234, 0.10), transparent 30%),
        linear-gradient(135deg, var(--bs-navy-deep), var(--bs-navy));
}

.stats::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        110deg,
        transparent 0%,
        rgba(255, 255, 255, 0.045) 45%,
        transparent 52%
    );
    transform: translateX(-100%);
    animation: bsStatSheen 12s ease-in-out infinite;
    pointer-events: none;
}

@keyframes bsStatSheen {
    0%, 55% { transform: translateX(-100%); }
    75%, 100% { transform: translateX(100%); }
}

.stat-box {
    position: relative;
    z-index: 1;
}

.stat-box h2 {
    font-family: "Playfair Display", Georgia, serif;
    font-weight: 600;
    color: var(--bs-champagne-light);
}

.stat-box p {
    color: rgba(255, 255, 255, 0.72);
}

/* -------------------------
   TESTIMONIALS
------------------------- */

.testimonial-card {
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: "“";
    position: absolute;
    top: 6px;
    left: 22px;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 72px;
    line-height: 1;
    color: rgba(184, 155, 103, 0.12);
    pointer-events: none;
}

.testimonial-card p {
    color: var(--bs-muted);
}

.testimonial-card h3 {
    color: var(--bs-navy);
}

.testimonial-card span {
    color: var(--bs-champagne);
}

/* -------------------------
   GALLERY
------------------------- */

.gallery-grid img {
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(16, 42, 67, 0.08);
    transition:
        transform 0.65s var(--bs-ease),
        box-shadow 0.65s var(--bs-ease),
        filter 0.65s var(--bs-ease);
}

.gallery-grid img:hover {
    transform: scale(1.035);
    box-shadow: 0 24px 45px rgba(16, 42, 67, 0.16);
    filter: saturate(1.04);
}

/* -------------------------
   LIGHTBOX
------------------------- */

.lightbox {
    background: rgba(7, 24, 40, 0.93);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.lightbox-arrow {
    background: rgba(248, 247, 243, 0.95);
    color: var(--bs-navy);
}

.lightbox-arrow:hover {
    background: var(--bs-champagne);
    color: #fff;
}

.close-lightbox {
    background: rgba(248, 247, 243, 0.95);
    color: var(--bs-navy);
}

.close-lightbox:hover {
    background: var(--bs-champagne);
    color: #fff;
}

/* -------------------------
   APPOINTMENT
------------------------- */

.appointment-section-wrapper {
    background: var(--bs-ivory);
}

.appointment-hero-banner {
    background:
        radial-gradient(circle at 20% 40%, rgba(184, 155, 103, 0.18), transparent 30%),
        linear-gradient(135deg, #0b1f33, #102a43);
}

.appointment-hero-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(184,155,103,0.08), transparent 45%);
    pointer-events: none;
}

.appointment-container {
    border: 1px solid rgba(16, 42, 67, 0.08);
    box-shadow: 0 25px 70px rgba(16, 42, 67, 0.12);
}

.form-group input,
.form-group select,
.form-group textarea {
    border-color: rgba(16, 42, 67, 0.16);
    background: #fff;
    transition:
        border-color 0.35s ease,
        box-shadow 0.35s ease,
        transform 0.35s var(--bs-ease);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--bs-champagne);
    box-shadow: 0 0 0 4px rgba(184, 155, 103, 0.11);
    transform: translateY(-1px);
}

.submit-appointment-btn {
    position: relative;
    overflow: hidden;
    background: var(--bs-navy);
    box-shadow: 0 10px 25px rgba(16, 42, 67, 0.16);
}

.submit-appointment-btn:hover {
    background: #183b5b;
    transform: translateY(-2px);
    box-shadow: 0 16px 35px rgba(16, 42, 67, 0.22);
}

/* -------------------------
   EMERGENCY
------------------------- */

.emergency-content {
    background:
        radial-gradient(circle at 85% 15%, rgba(184, 155, 103, 0.13), transparent 30%),
        linear-gradient(135deg, #0b1f33, #102a43);
    border: 1px solid rgba(184, 155, 103, 0.24);
    box-shadow: 0 22px 55px rgba(16, 42, 67, 0.15);
    color: #fff;
}

.emergency-icon {
    background: rgba(184, 155, 103, 0.14);
    color: var(--bs-champagne-light);
    border: 1px solid rgba(184, 155, 103, 0.25);
}

.emergency-text span {
    color: var(--bs-champagne-light);
}

.emergency-text h2 {
    color: #fff;
}

.emergency-text p {
    color: rgba(255, 255, 255, 0.72);
}

.emergency-call-btn {
    background: #fff;
    color: var(--bs-navy);
    box-shadow: none;
}

.emergency-call-btn:hover {
    background: var(--bs-champagne);
    color: #fff;
    box-shadow: 0 10px 25px rgba(184, 155, 103, 0.22);
}

.emergency-book-btn {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.28);
}

.emergency-book-btn:hover {
    background: rgba(255,255,255,0.10);
    color: #fff;
    border-color: rgba(255,255,255,0.50);
}

/* -------------------------
   CONTACT
------------------------- */

.contact-card i {
    background: var(--bs-navy);
    color: #fff;
}

.contact-card:hover i {
    background: var(--bs-champagne);
}

/* -------------------------
   FAQ
------------------------- */

.faq-question {
    color: var(--bs-navy);
}

.faq-item.active .faq-question {
    color: var(--bs-navy);
    background: rgba(184, 155, 103, 0.055);
}

.faq-item {
    border-color: rgba(16, 42, 67, 0.09);
}

/* -------------------------
   WHATSAPP / BACK TO TOP
------------------------- */

.whatsapp-button {
    background: var(--bs-navy) !important;
    box-shadow: 0 12px 28px rgba(16, 42, 67, 0.18) !important;
}

.whatsapp-button:hover {
    background: #183b5b !important;
    transform: translateY(-4px);
}

#backToTop {
    background: var(--bs-navy);
    box-shadow: 0 12px 28px rgba(16, 42, 67, 0.18);
}

#backToTop:hover {
    background: var(--bs-champagne);
    transform: translateY(-4px);
}

/* -------------------------
   FOOTER
------------------------- */

footer {
    background:
        radial-gradient(circle at 75% 0%, rgba(184, 155, 103, 0.10), transparent 28%),
        var(--bs-navy-deep);
    border-top: 1px solid rgba(184, 155, 103, 0.12);
}

footer h2,
footer h3 {
    color: #fff;
}

footer a:hover {
    color: var(--bs-champagne-light);
}

/* -------------------------
   SCROLL REVEAL ENHANCEMENT
------------------------- */

.section-title,
.why-card,
.service-card,
.doctor-card,
.testimonial-card,
.stat-box,
.gallery-img,
.contact-card,
.appointment-container {
    will-change: transform, opacity;
}

.why-card,
.service-card,
.doctor-card,
.testimonial-card,
.gallery-img,
.contact-card {
    transition-delay: var(--bs-delay, 0ms);
}

/* -------------------------
   ACCESSIBILITY
------------------------- */

:focus-visible {
    outline: 2px solid var(--bs-champagne);
    outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* -------------------------
   MOBILE POLISH
------------------------- */

@media (max-width: 768px) {
    .navbar {
        background: rgba(248, 247, 243, 0.96);
    }

    .nav-links {
        background: rgba(248, 247, 243, 0.98);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
    }

    .nav-links a::after {
        display: none;
    }

    .hero-image::before {
        inset: 12px -10px -10px 10px;
    }

    .hero-info > div:not(:last-child)::after {
        display: none;
    }

    .section-title h2 {
        letter-spacing: -0.4px;
    }
}
/* =====================================================
   BRIGHTSMILE — FULL IMAGE EDITORIAL HERO
===================================================== */

.premium-hero {
    position: relative;

    width: 100%;
    max-width: none;

    height: calc(100vh - 76px);
    min-height: 650px;

    margin: 0;

    overflow: hidden;

    display: block;

    background: #f5f1e9;
}


/* =====================================================
   IMAGE — FULL HERO BACKGROUND
===================================================== */

.premium-hero .hero-image {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    z-index: 1;

    overflow: hidden;

    text-align: initial;
}


.premium-hero .hero-image img {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    max-width: none;

    object-fit: cover;

    object-position: center center;

    border-radius: 0;

    transform: scale(1.03);

    animation:
        premiumHeroImage 1.4s
        cubic-bezier(.16,1,.3,1)
        both;
}


/* =====================================================
   CREAMY WHITE → IMAGE GRADIENT
===================================================== */

.premium-hero .hero-image-overlay {
    position: absolute;

    inset: 0;

    z-index: 2;

    /*
       Strong cream on the left.
       Gradually disappears toward the right.
    */

    background:
        linear-gradient(
            90deg,

            rgba(248, 246, 239, 0.99) 0%,

            rgba(248, 246, 239, 0.96) 16%,

            rgba(248, 246, 239, 0.88) 30%,

            rgba(248, 246, 239, 0.62) 43%,

            rgba(248, 246, 239, 0.25) 55%,

            rgba(248, 246, 239, 0.05) 68%,

            rgba(248, 246, 239, 0) 78%
        );

}


/* Slight bottom fade so the hero feels cinematic */

.premium-hero .hero-image-overlay::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 30%;

    background:
        linear-gradient(
            to top,
            rgba(10, 30, 27, 0.18),
            transparent
        );
}


/* =====================================================
   CONTENT — ON TOP OF IMAGE
===================================================== */

.premium-hero .hero-content {
    position: relative;

    z-index: 5;

    width: 52%;

    height: 100%;

    max-width: 760px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    padding:
        70px
        40px
        70px
        max(5vw, 68px);

}


/* =====================================================
   EYEBROW
===================================================== */

.hero-eyebrow {
    display: flex;

    align-items: center;

    gap: 14px;

    margin-bottom: 30px;

    color: #b4874b;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 3.5px;

    animation:
        heroContentReveal .8s
        cubic-bezier(.16,1,.3,1)
        .05s both;
}


.hero-eyebrow span {
    display: block;

    width: 44px;

    height: 1px;

    background: #b4874b;
}


/* =====================================================
   MAIN HEADING
===================================================== */

.premium-hero .hero-content h1 {
    margin: 0 0 30px;

    max-width: 700px;

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size:
        clamp(52px, 6vw, 88px);

    line-height: .96;

    letter-spacing: -3px;

    font-weight: 500;

    color: #123d37;

    text-shadow:
        0 1px 0 rgba(255,255,255,.25);

    animation:
        heroContentReveal .95s
        cubic-bezier(.16,1,.3,1)
        .14s both;
}


.premium-hero .hero-content h1 span {
    display: block;

    color: #182321;
}


/* =====================================================
   DESCRIPTION
===================================================== */

.premium-hero .hero-content > p {
    max-width: 550px;

    margin: 0 0 36px;

    color: #53615f;

    font-size: 16px;

    line-height: 1.8;

    text-shadow:
        0 1px 1px rgba(255,255,255,.3);

    animation:
        heroContentReveal .9s
        cubic-bezier(.16,1,.3,1)
        .28s both;
}


/* =====================================================
   BUTTONS
===================================================== */

.premium-hero .hero-buttons {
    display: flex;

    align-items: center;

    gap: 15px;

    animation:
        heroContentReveal .9s
        cubic-bezier(.16,1,.3,1)
        .4s both;
}


.premium-hero .primary-btn,
.premium-hero .secondary-btn {

    min-height: 52px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 13px;

    padding: 0 26px;

    border-radius: 2px;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 1.4px;

    text-transform: uppercase;

    transition:
        transform .35s ease,
        background .35s ease,
        color .35s ease,
        border-color .35s ease,
        box-shadow .35s ease;

}


.premium-hero .primary-btn {

    background: #123f38;

    color: #fff;

    border: 1px solid #123f38;

    box-shadow:
        0 10px 28px rgba(18,63,56,.16);

}


.premium-hero .secondary-btn {

    background:
        rgba(255,255,255,.2);

    color: #123f38;

    border:
        1px solid
        rgba(18,63,56,.38);

    backdrop-filter:
        blur(3px);

}


.premium-hero .primary-btn span,
.premium-hero .secondary-btn span {

    font-size: 17px;

    transition:
        transform .35s ease;

}


.premium-hero .primary-btn:hover {

    background: #b4874b;

    border-color: #b4874b;

    transform:
        translateY(-3px);

    box-shadow:
        0 15px 32px
        rgba(180,135,75,.22);

}


.premium-hero .secondary-btn:hover {

    background: #123f38;

    color: white;

    border-color: #123f38;

    transform:
        translateY(-3px);

}


.premium-hero .primary-btn:hover span,
.premium-hero .secondary-btn:hover span {

    transform:
        translateX(5px);

}


/* =====================================================
   STATS
===================================================== */

.premium-hero .hero-info {

    display: flex;

    align-items: center;

    gap: 0;

    margin-top: 48px;

    animation:
        heroContentReveal .9s
        cubic-bezier(.16,1,.3,1)
        .52s both;
}


.premium-hero .hero-info > div {

    min-width: 115px;

    padding-right: 25px;

    margin-right: 25px;

    border-right:
        1px solid
        rgba(18,63,56,.17);

}


.premium-hero .hero-info > div:last-child {

    border-right: none;

    padding-right: 0;

    margin-right: 0;

}


.premium-hero .hero-info h3 {

    margin: 0 0 5px;

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size: 30px;

    line-height: 1;

    font-weight: 500;

    color: #b4874b;

}


.premium-hero .hero-info span {

    color: #64716e;

    font-size: 10px;

    letter-spacing: .5px;

}


/* =====================================================
   HERO ANIMATION
===================================================== */

@keyframes premiumHeroImage {

    from {

        opacity: 0;

        transform:
            scale(1.10);

    }

    to {

        opacity: 1;

        transform:
            scale(1.03);

    }

}


@keyframes heroContentReveal {

    from {

        opacity: 0;

        transform:
            translateY(30px);

    }

    to {

        opacity: 1;

        transform:
            translateY(0);

    }

}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 992px) {

    .premium-hero {

        height:
            calc(100vh - 70px);

        min-height: 620px;

    }


    .premium-hero .hero-content {

        width: 62%;

        padding-left: 5%;

    }


    .premium-hero .hero-content h1 {

        font-size:
            clamp(48px, 6vw, 72px);

    }


    .premium-hero .hero-image-overlay {

        background:
            linear-gradient(
                90deg,

                rgba(248,246,239,.99) 0%,

                rgba(248,246,239,.93) 25%,

                rgba(248,246,239,.72) 42%,

                rgba(248,246,239,.28) 60%,

                rgba(248,246,239,0) 78%
            );

    }

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 768px) {

    .premium-hero {

        height: auto;

        min-height: 0;

        display: flex;

        flex-direction: column;

    }


    .premium-hero .hero-image {

        position: relative;

        inset: auto;

        width: 100%;

        height: 54vh;

        min-height: 360px;

        order: -1;

    }


    .premium-hero .hero-image-overlay {

        background:
            linear-gradient(
                180deg,

                rgba(248,246,239,0) 40%,

                rgba(248,246,239,.45) 72%,

                rgba(248,246,239,.98) 100%
            );

    }


    .premium-hero .hero-content {

        width: 100%;

        height: auto;

        padding:
            45px 24px 60px;

        background: #f8f6ef;

    }


    .premium-hero .hero-content h1 {

        font-size:
            clamp(45px, 12vw, 62px);

        letter-spacing: -2px;

    }


    .premium-hero .hero-content > p {

        font-size: 15px;

    }


    .premium-hero .hero-buttons {

        flex-direction: column;

        align-items: stretch;

    }


    .premium-hero .primary-btn,
    .premium-hero .secondary-btn {

        width: 100%;

    }


    .premium-hero .hero-info {

        justify-content:
            space-between;

        margin-top: 40px;

    }


    .premium-hero .hero-info > div {

        min-width: 0;

        flex: 1;

        padding-right: 10px;

        margin-right: 10px;

    }


    .premium-hero .hero-info h3 {

        font-size: 24px;

    }


    .premium-hero .hero-info span {

        font-size: 9px;

    }

}


/* =====================================================
   SMALL MOBILE
===================================================== */

@media (max-width: 480px) {

    .premium-hero .hero-image {

        height: 48vh;

        min-height: 320px;

    }


    .premium-hero .hero-content {

        padding:
            40px 20px 50px;

    }


    .premium-hero .hero-info > div {

        padding-right: 7px;

        margin-right: 7px;

    }

}


/* =====================================================
   REDUCED MOTION
===================================================== */

@media (prefers-reduced-motion: reduce) {

    .premium-hero *,
    .premium-hero .hero-image img {

        animation: none !important;

        transition: none !important;

    }

}
/* =========================================
   PREMIUM SYMBOL LOGO
========================================= */

.navbar .logo {
    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #b4874b;

    font-size: 27px;

    border: 1px solid rgba(180, 135, 75, 0.35);

    border-radius: 50%;

    background: rgba(255,255,255,.45);

    transition:
        transform .3s ease,
        background .3s ease,
        color .3s ease;
}

.navbar .logo:hover {
    transform: translateY(-2px);

    color: #ffffff;

    background: #123f38;
}
/* =========================================
   BRIGHTSMILE — FINAL PREMIUM BRAND
========================================= */

.navbar {
    padding-left: 68px;
    padding-right: 55px;
}


/* Brand */

.navbar .brand-logo {
    display: inline-flex;

    align-items: center;

    gap: 12px;

    width: auto;
    height: auto;

    margin: 0;

    padding: 0;

    border: none;

    border-radius: 0;

    background: transparent;

    text-decoration: none;

    color: #123f38;

    box-shadow: none;

    transform: none;

    transition: opacity .3s ease;
}


.navbar .brand-logo:hover {
    opacity: .88;

    transform: none;
}


/* ONE circle only */

.navbar .brand-symbol {
    width: 46px;
    height: 46px;

    min-width: 46px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin: 0;
    padding: 0;

    border: 1px solid rgba(180, 135, 75, .38);

    border-radius: 50%;

    background: rgba(255,255,255,.55);

    color: #b4874b;

    font-size: 23px;

    box-shadow: none;

    transition:
        background .3s ease,
        color .3s ease,
        border-color .3s ease,
        transform .3s ease;
}


.navbar .brand-logo:hover .brand-symbol {
    background: #123f38;

    color: #fff;

    border-color: #123f38;

    transform: translateY(-1px);
}


/* BrightSmile name */

.navbar .brand-name {
    display: block;

    margin: 0;
    padding: 0;

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size: 25px;

    line-height: 1;

    font-weight: 600;

    letter-spacing: -0.6px;

    color: #123f38;

    white-space: nowrap;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 768px) {

    .navbar {
        padding-left: 24px;
        padding-right: 20px;
    }

    .navbar .brand-symbol {
        width: 42px;
        height: 42px;

        min-width: 42px;

        font-size: 21px;
    }

    .navbar .brand-name {
        font-size: 22px;
    }

}


@media (max-width: 480px) {

    .navbar {
        padding-left: 18px;
    }

    .navbar .brand-logo {
        gap: 9px;
    }

    .navbar .brand-name {
        font-size: 20px;
    }

} 
/* =========================================
   APPOINTMENT FORM — WHITE CARD ONLY
========================================= */

.appointment-container {
    position: relative;
    z-index: 5;

    background: #ffffff !important;

    border-radius: 24px 24px 0 0;

    box-shadow:
        0 -10px 40px rgba(0, 0, 0, 0.08);
}


/* Keep the video hero untouched */

.appointment-hero-banner {
    position: relative;
    overflow: hidden;
}


/* Keep the form itself white */

#appointmentForm {
    background: #ffffff !important;
}
/* =========================================================
   WHY CHOOSE US — MATCH SERVICES ICON STYLE
   ========================================================= */

.why-card .icon {
    width: auto;
    height: auto;
    margin: 0 0 22px;

    display: flex;
    align-items: center;
    justify-content: flex-start;

    background: transparent;
    border: none;
    border-radius: 0;

    color: #b4874b;
    font-size: 32px;

    box-shadow: none;

    transition: transform 0.35s ease, color 0.35s ease;
}

.why-card .icon i {
    line-height: 1;
    transition: transform 0.35s ease;
}

/* Same premium upward hover */
.why-card:hover .icon {
    background: transparent;
    border: none;
    box-shadow: none;
    color: #b4874b;
    transform: translateY(-5px);
}

.why-card:hover .icon i {
    transform: scale(1.08);
}
/* =========================================================
   WHY CHOOSE US — GOLD ACCENT LINE
   ========================================================= */

.why-card .icon {
    position: relative;
    display: inline-flex;
    width: auto;
    height: auto;
    margin: 0 0 30px;

    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;

    color: #b4874b;
    font-size: 32px;
}

/* Golden line under icon */
.why-card .icon::after {
    content: "";
    position: absolute;

    left: 50%;
    bottom: -14px;

    width: 34px;
    height: 2px;

    background: #b4874b;
    border-radius: 999px;

    transform: translateX(-50%);

    transition:
        width 0.35s ease,
        opacity 0.35s ease;
}

/* Elegant hover */
.why-card:hover .icon {
    color: #b4874b;
    transform: translateY(-4px);
}

.why-card:hover .icon::after {
    width: 52px;
    opacity: 0.9;
} 
/* =========================================================
   FINAL MOBILE GALLERY LIGHTBOX FIX
   ========================================================= */

@media (max-width: 768px) {

    .lightbox {
        position: fixed !important;

        top: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        left: 0 !important;

        width: 100vw !important;
        height: 100dvh !important;

        max-width: 100vw !important;
        max-height: 100dvh !important;

        margin: 0 !important;
        padding: 0 !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        overflow: hidden !important;

        box-sizing: border-box !important;

        transform: none !important;
    }

    /* Keep the image perfectly centered */
    .lightbox-image-wrapper {
        position: relative !important;

        width: calc(100vw - 90px) !important;
        max-width: calc(100vw - 90px) !important;

        height: 70dvh !important;
        max-height: 70dvh !important;

        margin: 0 auto !important;
        padding: 0 !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        left: auto !important;
        right: auto !important;
        top: auto !important;
        bottom: auto !important;

        transform: none !important;

        overflow: hidden !important;
        box-sizing: border-box !important;
    }

    .lightbox img {
        position: relative !important;

        display: block !important;

        width: auto !important;
        height: auto !important;

        max-width: 100% !important;
        max-height: 100% !important;

        margin: 0 auto !important;

        left: auto !important;
        right: auto !important;

        object-fit: contain !important;
    }

    /* =========================
       CLOSE BUTTON
       ========================= */

    .close-lightbox {
        position: fixed !important;

        top: max(12px, env(safe-area-inset-top)) !important;
        right: max(12px, env(safe-area-inset-right)) !important;

        left: auto !important;
        bottom: auto !important;

        width: 44px !important;
        height: 44px !important;

        margin: 0 !important;
        padding: 0 !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        box-sizing: border-box !important;

        transform: none !important;

        z-index: 100000 !important;
    }

    /* =========================
       ARROWS
       ========================= */

    .lightbox-arrow {
        position: fixed !important;

        top: 50% !important;

        width: 40px !important;
        height: 40px !important;

        margin: 0 !important;
        padding: 0 !important;

        box-sizing: border-box !important;

        transform: translateY(-50%) !important;

        z-index: 100001 !important;
    }

    .lightbox-prev {
        left: 8px !important;
        right: auto !important;
    }

    .lightbox-next {
        right: 8px !important;
        left: auto !important;
    }
}


/* =========================
   VERY SMALL PHONES
   ========================= */

@media (max-width: 480px) {

    .lightbox-image-wrapper {
        width: calc(100vw - 82px) !important;
        max-width: calc(100vw - 82px) !important;

        height: 65dvh !important;
        max-height: 65dvh !important;
    }

    .close-lightbox {
        top: max(10px, env(safe-area-inset-top)) !important;
        right: max(10px, env(safe-area-inset-right)) !important;

        width: 40px !important;
        height: 40px !important;
    }

    .lightbox-arrow {
        width: 36px !important;
        height: 36px !important;
    }

    .lightbox-prev {
        left: 6px !important;
    }

    .lightbox-next {
        right: 6px !important;
    }
}
/* =========================================================
   MOBILE — PREVENT HORIZONTAL PAGE MOVEMENT
   ========================================================= */

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

@media (max-width: 768px) {

    html,
    body {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100vw !important;
    }

    * {
        max-width: 100%;
    }

    img,
    video,
    iframe {
        max-width: 100%;
    }
}
/* =========================================================
   PREMIUM DOCTOR HORIZONTAL SCROLL
   ========================================================= */

.doctor-grid {
    display: flex;
    gap: 28px;

    overflow-x: auto;
    overflow-y: hidden;

    padding: 8px 4px 25px;

    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;

    -webkit-overflow-scrolling: touch;

    scrollbar-width: thin;
    scrollbar-color: #b4874b transparent;
}

/* Keep every card the same size */
.doctor-card {
    flex: 0 0 350px;

    scroll-snap-align: start;
}

/* Premium scrollbar */
.doctor-grid::-webkit-scrollbar {
    height: 5px;
}

.doctor-grid::-webkit-scrollbar-track {
    background: transparent;
}

.doctor-grid::-webkit-scrollbar-thumb {
    background: #b4874b;
    border-radius: 999px;
}

.doctor-grid::-webkit-scrollbar-thumb:hover {
    background: #123f38;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 992px) {

    .doctor-grid {
        display: flex;

        overflow-x: auto;
        overflow-y: hidden;

        gap: 22px;

        scroll-snap-type: x mandatory;
    }

    .doctor-card {
        flex: 0 0 330px;

        scroll-snap-align: start;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .doctor-grid {
        gap: 16px;

        padding-left: 4px;
        padding-right: 20px;

        scroll-snap-type: x mandatory;

        scrollbar-width: none;
    }

    .doctor-grid::-webkit-scrollbar {
        display: none;
    }

    .doctor-card {
        flex: 0 0 82vw;

        max-width: 340px;

        scroll-snap-align: center;
    }

    .doctor-card img {
        height: 290px;
    }

    .doctor-info {
        padding: 24px 20px 26px;
    }
}


/* =========================================================
   SMALL PHONES
   ========================================================= */

@media (max-width: 400px) {

    .doctor-card {
        flex: 0 0 86vw;
    }

    .doctor-card img {
        height: 270px;
    }
}
/* =========================================================
   DOCTOR CAROUSEL ARROWS
   ========================================================= */

.doctor-carousel {
    position: relative;
    width: 100%;
}

.doctor-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    width: 48px;
    height: 48px;

    border: 1px solid #b4874b;
    border-radius: 50%;

    background: #f7f5ef;
    color: #b4874b;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;
    z-index: 10;

    font-size: 16px;

    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);

    transition: all 0.3s ease;
}

.doctor-arrow:hover {
    background: #123f38;
    color: white;
    border-color: #123f38;
}

.doctor-prev {
    left: -24px;
}

.doctor-next {
    right: -24px;
}

/* Keep arrows visible on tablets */
@media (max-width: 992px) {
    .doctor-prev {
        left: -10px;
    }

    .doctor-next {
        right: -10px;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .doctor-arrow {
        width: 42px;
        height: 42px;
        font-size: 14px;
        background: rgba(247, 245, 239, 0.95);
    }

    .doctor-prev {
        left: 4px;
    }

    .doctor-next {
        right: 4px;
    }
}
@media (max-width: 768px) {
    .hero {
        background-position: center;
    }

    .hero::before {
        background: linear-gradient(
            90deg,
            rgba(247, 245, 239, 1) 0%,
            rgba(247, 245, 239, 0.9) 25%,
            rgba(247, 245, 239, 0.55) 50%,
            rgba(247, 245, 239, 0.15) 75%,
            rgba(247, 245, 239, 0) 100%
        );
    }
} 
/* ===========================
   MOBILE HERO - KEEP HORIZONTAL
=========================== */

@media (max-width: 768px) {

    .hero {
        width: 100%;
        max-width: none;

        margin: 0;

        min-height: 620px;

        display: flex;
        flex-direction: row;
        align-items: stretch;

        gap: 0;

        overflow: hidden;
        position: relative;
    }

    .hero-content {
        flex: 0 0 58%;
        width: 58%;

        padding: 45px 20px;

        position: relative;
        z-index: 2;

        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .hero-image {
        flex: 0 0 42%;
        width: 42%;

        height: auto;

        position: relative;

        display: block;
        overflow: hidden;
    }

    .hero-image img {
        width: 100%;
        height: 100%;

        max-width: none;

        object-fit: cover;

        border-radius: 0;

        box-shadow: none;
    }

}
/* =========================================================
   BRIGHTSMILE — FINAL MOBILE HERO OVERRIDE
   Paste this at the VERY BOTTOM of style.css
   ========================================================= */

@media (max-width: 768px) {

    /* -----------------------------------------
       HERO — FORCE FULL BACKGROUND IMAGE
    ----------------------------------------- */

    .premium-hero {
        position: relative !important;
        width: 100% !important;
        height: 680px !important;
        min-height: 680px !important;
        max-height: none !important;

        display: block !important;
        flex-direction: initial !important;

        margin: 0 !important;
        padding: 0 !important;

        overflow: hidden !important;

        background: #f8f6ef !important;
    }


    /* -----------------------------------------
       IMAGE — FULL HERO
    ----------------------------------------- */

    .premium-hero .hero-image {
        position: absolute !important;

        top: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        left: 0 !important;

        inset: 0 !important;

        width: 100% !important;
        height: 100% !important;
        min-height: 0 !important;

        display: block !important;

        z-index: 1 !important;

        order: initial !important;

        overflow: hidden !important;
    }


    /* -----------------------------------------
       IMAGE ITSELF
    ----------------------------------------- */

    .premium-hero .hero-image img {
        position: absolute !important;

        top: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        left: 0 !important;

        inset: 0 !important;

        width: 100% !important;
        height: 100% !important;

        max-width: none !important;
        max-height: none !important;

        object-fit: cover !important;
        object-position: center center !important;

        border-radius: 0 !important;

        transform: scale(1.03) !important;
    }


    /* -----------------------------------------
       WHITE → IMAGE
       LEFT TO RIGHT
    ----------------------------------------- */

    .premium-hero .hero-image-overlay {
        position: absolute !important;

        top: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        left: 0 !important;

        inset: 0 !important;

        width: 100% !important;
        height: 100% !important;

        z-index: 2 !important;

        background:
            linear-gradient(
                90deg,
                rgba(248,246,239,0.99) 0%,
                rgba(248,246,239,0.97) 15%,
                rgba(248,246,239,0.90) 28%,
                rgba(248,246,239,0.72) 40%,
                rgba(248,246,239,0.48) 52%,
                rgba(248,246,239,0.25) 64%,
                rgba(248,246,239,0.08) 78%,
                rgba(248,246,239,0) 92%
            ) !important;
    }


    /* -----------------------------------------
       REMOVE OLD SOLID WHITE CONTENT BLOCK
    ----------------------------------------- */

    .premium-hero .hero-content {
        position: relative !important;

        z-index: 5 !important;

        width: 68% !important;
        max-width: 650px !important;

        height: 100% !important;
        min-height: 0 !important;

        display: flex !important;

        flex-direction: column !important;
        justify-content: center !important;

        margin: 0 !important;

        padding: 45px 24px 60px !important;

        background: transparent !important;
    }


    /* -----------------------------------------
       HEADING
    ----------------------------------------- */

    .premium-hero .hero-content h1 {
        font-size: clamp(43px, 11vw, 58px) !important;

        line-height: 0.98 !important;

        letter-spacing: -2px !important;

        margin-bottom: 24px !important;
    }


    /* -----------------------------------------
       DESCRIPTION
    ----------------------------------------- */

    .premium-hero .hero-content > p {
        max-width: 430px !important;

        font-size: 13px !important;

        line-height: 1.65 !important;

        margin-bottom: 28px !important;
    }


    /* -----------------------------------------
       BUTTON
    ----------------------------------------- */

    .premium-hero .hero-buttons {
        display: flex !important;

        flex-direction: column !important;

        align-items: flex-start !important;

        gap: 12px !important;
    }

    .premium-hero .primary-btn {
        width: auto !important;
    }

    .premium-hero .secondary-btn {
        display: none !important;
    }


    /* -----------------------------------------
       HERO INFO
    ----------------------------------------- */

    .premium-hero .hero-info {
        display: none !important;
    }
}


/* =========================================================
   SMALL PHONES
   ========================================================= */

@media (max-width: 480px) {

    .premium-hero {
        height: 650px !important;
        min-height: 650px !important;
    }

    .premium-hero .hero-content {
        width: 72% !important;
        padding: 40px 18px 50px !important;
    }

    .premium-hero .hero-content h1 {
        font-size: clamp(40px, 11vw, 52px) !important;
    }

    .premium-hero .hero-content > p {
        font-size: 12px !important;
        line-height: 1.6 !important;
    }
}
/* =========================================================
   BRIGHTSMILE — TESTIMONIAL HORIZONTAL CAROUSEL
   ========================================================= */

.testimonial-carousel {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}


/* SCROLL AREA */

.testimonial-grid {
    display: flex !important;

    grid-template-columns: none !important;

    gap: 28px;

    overflow-x: auto !important;
    overflow-y: hidden;

    padding: 10px 5px 30px;

    scroll-behavior: smooth;

    scroll-snap-type: x mandatory;

    -webkit-overflow-scrolling: touch;

    scrollbar-width: none;
}

.testimonial-grid::-webkit-scrollbar {
    display: none;
}


/* REVIEW CARDS */

.testimonial-carousel .testimonial-card {
    flex: 0 0 360px;

    min-width: 360px;

    scroll-snap-align: start;

    box-sizing: border-box;

    min-height: 250px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}


/* ARROWS */

.testimonial-arrow {
    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    width: 48px;
    height: 48px;

    border: 1px solid #b4874b;

    border-radius: 50%;

    background: #f7f5ef;

    color: #b4874b;

    display: flex;

    align-items: center;
    justify-content: center;

    cursor: pointer;

    z-index: 10;

    font-size: 15px;

    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.10);

    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}

.testimonial-arrow:hover {
    background: #123f38;

    color: #ffffff;

    transform: translateY(-50%) scale(1.05);
}

.testimonial-prev {
    left: -24px;
}

.testimonial-next {
    right: -24px;
}


/* TABLET */

@media (max-width: 992px) {

    .testimonial-carousel .testimonial-card {
        flex: 0 0 330px;
        min-width: 330px;
    }

    .testimonial-prev {
        left: -10px;
    }

    .testimonial-next {
        right: -10px;
    }
}


/* MOBILE */

@media (max-width: 600px) {

    .testimonial-grid {
        gap: 16px;

        padding-left: 4px;
        padding-right: 25px;

        scroll-snap-type: x mandatory;
    }

    .testimonial-carousel .testimonial-card {
        flex: 0 0 82vw;

        min-width: 82vw;

        max-width: 340px;

        scroll-snap-align: center;

        padding: 28px 24px;
    }

    .testimonial-arrow {
        width: 42px;
        height: 42px;

        font-size: 13px;

        background: rgba(247, 245, 239, 0.96);
    }

    .testimonial-prev {
        left: 3px;
    }

    .testimonial-next {
        right: 3px;
    }
}
/* =========================================================
   BRIGHTSMILE — FINAL GALLERY HORIZONTAL SLIDER
   This overrides/bypasses the old gallery grid
   ========================================================= */

.gallery-slider {
    position: relative;

    width: 100%;
    max-width: 1400px;

    margin: 0 auto;

    padding: 0 55px;
}


.gallery-track {
    display: flex !important;

    flex-direction: row !important;

    flex-wrap: nowrap !important;

    gap: 20px;

    width: 100%;

    overflow-x: auto !important;
    overflow-y: hidden;

    scroll-behavior: smooth;

    scroll-snap-type: x mandatory;

    -webkit-overflow-scrolling: touch;

    scrollbar-width: none;

    padding: 10px 5px 30px;

    box-sizing: border-box;
}


.gallery-track::-webkit-scrollbar {
    display: none;
}


/* EACH IMAGE */

.gallery-track .gallery-img {
    display: block !important;

    flex: 0 0 380px !important;

    width: 380px !important;

    min-width: 380px !important;

    max-width: 380px !important;

    height: 280px !important;

    min-height: 280px !important;

    object-fit: cover;

    border-radius: 16px;

    scroll-snap-align: start;

    cursor: pointer;

    box-sizing: border-box;
}


/* ARROWS */

.gallery-slider-btn {
    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    z-index: 20;

    width: 48px;
    height: 48px;

    border: 1px solid #b4874b;

    border-radius: 50%;

    background: #f7f5ef;

    color: #123f38;

    display: flex;

    align-items: center;

    justify-content: center;

    cursor: pointer;

    font-size: 15px;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.12);

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        color 0.25s ease;
}


.gallery-slider-btn:hover {
    background: #123f38;

    color: #ffffff;

    transform: translateY(-50%) scale(1.08);
}


.gallery-slider-prev {
    left: 0;
}


.gallery-slider-next {
    right: 0;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 992px) {

    .gallery-slider {
        padding: 0 48px;
    }

    .gallery-track .gallery-img {
        flex: 0 0 330px !important;

        width: 330px !important;

        min-width: 330px !important;

        max-width: 330px !important;

        height: 260px !important;

        min-height: 260px !important;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .gallery-slider {
        padding: 0 38px;
    }

    .gallery-track {
        gap: 15px;

        padding:
            8px 3px 25px;

        scroll-snap-type: x mandatory;
    }


    .gallery-track .gallery-img {
        flex: 0 0 78vw !important;

        width: 78vw !important;

        min-width: 78vw !important;

        max-width: 78vw !important;

        height: 240px !important;

        min-height: 240px !important;

        border-radius: 14px;

        scroll-snap-align: center;
    }


    .gallery-slider-btn {
        width: 40px;
        height: 40px;

        font-size: 12px;
    }


    .gallery-slider-prev {
        left: 0;
    }

    .gallery-slider-next {
        right: 0;
    }

}
/* =========================================================
   GALLERY — SHOW FULL IMAGE, NO CROPPING
   ========================================================= */

.gallery-track .gallery-img {
    object-fit: contain !important;
    object-position: center center !important;

    background: #f7f5ef;

    width: 380px !important;
    min-width: 380px !important;
    max-width: 380px !important;

    height: 280px !important;
}


/* MOBILE — FULL IMAGE */

@media (max-width: 600px) {

    .gallery-track .gallery-img {
        width: 78vw !important;
        min-width: 78vw !important;
        max-width: 78vw !important;

        height: 240px !important;
        min-height: 240px !important;

        object-fit: contain !important;
        object-position: center center !important;

        background: #f7f5ef;
    }
}
/* =========================================================
   GALLERY — ORIGINAL PROPORTION
   NO CROP + NO DISTORTION
   ========================================================= */

.gallery-track .gallery-img {
    flex: 0 0 380px !important;

    width: 380px !important;
    min-width: 380px !important;
    max-width: 380px !important;

    height: auto !important;
    min-height: 0 !important;

    aspect-ratio: auto !important;

    object-fit: initial !important;

    display: block !important;

    border-radius: 16px;
}


/* MOBILE */

@media (max-width: 600px) {

    .gallery-track .gallery-img {
        flex: 0 0 78vw !important;

        width: 78vw !important;
        min-width: 78vw !important;
        max-width: 78vw !important;

        height: auto !important;
        min-height: 0 !important;

        aspect-ratio: auto !important;
    }
}
