/* DESIGN SYSTEM */
:root {
    --primary: #0ea5e9;
    --primary-dark: #0284c7;
    --accent: #f0f9ff;
    --white: #ffffff;
    --dark-text: #0f172a;
    --grey-text: #64748b;
    --bg-light: #f8fafc;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --transition: all 0.3s ease;
}

/* RESET & BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    max-width: 100%;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark-text);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    position: relative;
}

.container {
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
    margin: 0 auto;
}

section {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.bg-accent {
    background-color: var(--accent);
}

h1,
h2,
h3,
h4 {
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    font-size: 0.95rem;
    gap: 10px;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 14px 0 rgba(14, 165, 233, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
}

.btn-white {
    background-color: var(--white);
    color: var(--primary);
}

/* NAVBAR */
.navbar {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 20px 0;
    background-color: var(--white);
    margin: 0;
}

main {
    padding: 0;
    margin: 0;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 10px 0;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
}

.navbar-logo {
    height: 45px;
    filter: brightness(0) saturate(100%) invert(48%) sepia(95%) saturate(3028%) hue-rotate(174deg) brightness(96%) contrast(91%);
}

.footer-logo {
    height: 55px;
    margin-bottom: 20px;
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
}

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

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
}

/* HERO */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 100px 0;
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.85);
    z-index: -1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: end; /* Align items to bottom for the cutout effect */
}

.badge-pill {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(14, 165, 233, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 24px;
    color: var(--dark-text);
}

.hero p {
    font-size: 1.2rem;
    color: var(--grey-text);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 0.02em;
}

.hero-description {
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 35px;
    color: var(--grey-text);
}

.hero-btns {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
}

/* Consolidated Hero Content */
.hero-content {
    max-width: 650px;
}

/* Duplicate removed to prevent conflicts */

.hero-content {
    max-width: 650px;
}

.hero-image-wrapper {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
    z-index: 2;
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    outline: none !important;
}

.hero-doctor-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    display: block;
    margin-top: auto;
    background: transparent !important;
    background-color: transparent !important;
}

.stats-bar {
    display: flex;
    background: var(--white);
    padding: 30px 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    gap: 40px;
    position: relative;
    z-index: 10;
}

.stat-item {
    text-align: left;
}

.stat-num {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-text {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--grey-text);
}

/* SECTION TITLES */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* SERVICES */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.service-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
    background: var(--white);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 24px;
}

.service-card h3 {
    font-size: 1.35rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--grey-text);
    font-size: 0.95rem;
}

/* TEAM */
.team-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.doctor-card {
    background: var(--white);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    display: flex;
    max-width: 900px;
    border: 1px solid var(--border);
}

.doctor-photo {
    flex: 1;
    min-height: 450px;
}

.doctor-info {
    flex: 1.2;
    padding: 50px;
}

.doctor-info h3 {
    font-size: 2rem;
    margin-bottom: 5px;
}

.doctor-title {
    color: var(--primary);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 15px;
    display: block;
}

.specialty-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.tag {
    padding: 4px 14px;
    background: var(--accent);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

.doctor-creds {
    color: var(--grey-text);
    margin-bottom: 30px;
}

/* WHY CHOOSE US */
.why-us-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
}

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

.feature-box {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.feature-box i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 15px;
    display: block;
}

.feature-box h4 {
    margin-bottom: 10px;
}

.feature-box p {
    font-size: 0.9rem;
    color: var(--grey-text);
}

.why-us-image img {
    border-radius: 30px;
    box-shadow: var(--shadow-lg);
}

/* BEFORE/AFTER SLIDER & CAROUSEL */
.sliders-container {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 900px;
    margin: 0 auto;
}

.whitening-results-container {
    position: relative;
    padding: 0 40px;
}

.whitening-carousel {
    overflow: hidden;
    width: 100%;
}

.whitening-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.whitening-slide {
    min-width: 100%;
    padding: 10px;
}

.comparison-slider {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    cursor: ew-resize;
    touch-action: pan-y; /* Prevent page scroll when swiping slider horizontally */
}

.compare-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    user-select: none;
}

.compare-before {
    z-index: 2;
    width: 50%;
    border-right: 3px solid var(--white);
}

.slider-handle {
    position: absolute;
    top: 0;
    left: 50%;
    bottom: 0;
    width: 40px;
    margin-left: -20px;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none; /* Let the slider container handle events */
}

.handle-circle {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border: 4px solid var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: var(--shadow-md);
}

/* Carousel Navigation */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    cursor: pointer;
    z-index: 10;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.carousel-btn:hover {
    background: var(--primary);
    color: var(--white);
}

.carousel-prev { left: -10px; }
.carousel-next { right: -10px; }

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border);
    cursor: pointer;
    transition: var(--transition);
}

.indicator.active {
    background: var(--primary);
    width: 25px;
    border-radius: 10px;
}

/* TESTIMONIALS CAROUSEL */
.testimonials-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testimonial-card {
    min-width: 100%;
    padding: 40px;
    background: var(--white);
    border-radius: 25px;
    border: 1px solid var(--border);
    text-align: center;
}

.stars {
    color: #fbbf24;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.review-text {
    font-size: 1.3rem;
    font-style: italic;
    color: var(--dark-text);
    margin-bottom: 30px;
}

.patient-name {
    font-weight: 700;
    font-size: 1.1rem;
    display: block;
}

.dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--primary);
    width: 30px;
    border-radius: 10px;
}

/* PRICING */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.pricing-card {
    background: var(--white);
    padding: 50px 40px;
    border-radius: 25px;
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.price-title {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--grey-text);
}

.price-val {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 30px;
}

.price-val span {
    font-size: 1rem;
    color: var(--grey-text);
}

.pricing-more {
    text-align: center;
    margin-top: 40px;
    color: var(--grey-text);
    font-weight: 500;
}

/* EMERGENCY BANNER */
.emergency-banner {
    background: var(--primary);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.emergency-banner h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.emergency-banner p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.emergency-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* FAQ ACCORDION */
.faq-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: 15px;
    margin-bottom: 15px;
    overflow: hidden;
    background: var(--white);
}

.faq-header {
    padding: 22px 30px;
    background: var(--white);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    transition: var(--transition);
}

.faq-header:hover {
    background: var(--accent);
}

.faq-content {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    color: var(--grey-text);
}

.faq-item.active .faq-content {
    padding-bottom: 25px;
    max-height: 200px;
}

.faq-item.active .faq-header {
    color: var(--primary);
}

.faq-item.active i {
    transform: rotate(180deg);
}

/* CONTACT */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
}

.contact-form {
    background: var(--white);
    padding: 50px;
    border-radius: 25px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

input,
select,
textarea {
    width: 100%;
    padding: 14px 20px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--bg-light);
    font-family: inherit;
    transition: var(--transition);
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
}

.info-list li {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.info-list i {
    width: 50px;
    height: 50px;
    background: var(--accent);
    color: var(--primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.info-detail h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.info-detail p {
    color: var(--grey-text);
    font-size: 0.95rem;
}

/* FOOTER */
.footer {
    background: var(--dark-text);
    color: var(--white);
    padding: 80px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 20px;
}

.footer-brand p {
    color: #94a3b8;
    margin-bottom: 25px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.social-icons a:hover {
    background: var(--primary);
}

/* FLOATING ELEMENTS */
.wa-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 999;
}

.scroll-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    visibility: hidden;
    opacity: 0;
    transition: var(--transition);
    z-index: 999;
}

.scroll-top.visible {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.gradient-bg {
    background: radial-gradient(circle at top right, var(--accent), transparent),
        radial-gradient(circle at bottom left, var(--accent), transparent);
}

/* Specific body-internal overrides */
.section-header h2::after {
    margin: 15px 0 0;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 2.8rem;
    }

    .hero-grid,
    .why-us-grid,
    .contact-grid {
        gap: 40px;
    }

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

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

@media (max-width: 768px) {
    html, body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
    }
    .container {
        padding: 0 15px;
        width: 100%;
    }
    .navbar {
        padding: 15px 0;
        background: var(--white);
    }
    .nav-links,
    .nav-cta {
        display: none;
    }
    .mobile-toggle {
        display: block;
    }
    .hero {
        min-height: auto;
        padding: 80px 0 60px 0;
    }
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    .hero h1 { font-size: 2rem; }
    .hero-description { 
        font-size: 0.95rem; 
        text-align: left; 
    }
    .hero-btns {
        flex-direction: column;
        width: 100%;
        align-items: center;
    }
    .hero-btns .btn { width: 100%; }
    .stats-bar {
        flex-wrap: wrap;
        padding: 20px;
        gap: 15px;
    }
    .stat-item { width: 45%; }
    .doctor-card {
        flex-direction: column;
        max-width: 100%;
    }
    .doctor-photo {
        height: auto;
        min-height: auto;
        flex: none;
        width: 100%;
        text-align: center;
    }
    .doctor-photo img {
        margin: 0 auto;
    }
    .doctor-info {
        padding: 25px;
    }
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    .service-card { padding: 20px; }
    .why-us-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .feature-grid { grid-template-columns: 1fr; }
    .why-us-image { display: none; }
    .sliders-container { grid-template-columns: 1fr; }
    .comparison-slider { height: 280px; }
    .whitening-results-container { padding: 0; }
    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    .carousel-prev { left: 5px; }
    .carousel-next { right: 5px; }
    .pricing-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .contact-form { padding: 25px; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .emergency-btns {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    section { padding: 50px 0; }
    .container { padding: 0 12px; }
    .hero h1 { font-size: 1.8rem; }
    .services-grid { 
        grid-template-columns: repeat(2, 1fr); 
        gap: 10px; 
    }
    .service-card { 
        padding: 15px 10px; 
    }
    .service-icon {
        font-size: 1.8rem;
        margin-bottom: 12px;
    }
    .service-card h3 {
        font-size: 1.05rem;
    }
    .stats-bar { flex-direction: column; }
    .stat-item { width: 100%; }
    .pricing-grid { grid-template-columns: 1fr; }
    .hero-btns {
        flex-direction: column;
        width: 100%;
    }
    .hero-btns .btn { width: 100%; }
}


/* GALLERY & LIGHTBOX STYLES */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.gallery-item.featured {
    grid-column: span 2;
}

/* Full Width Rounded Class for Clinic Overview */
.full-width-rounded {
    width: 100%;
    border-radius: 30px;
    box-shadow: var(--shadow-lg);
    margin-top: 20px;
}

/* Lightbox Overlay */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 20px;
    backdrop-filter: blur(10px);
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 12px;
    box-shadow: 0 0 40px rgba(0,0,0,0.5);
}

.lightbox-caption {
    color: var(--white);
    text-align: center;
    margin-top: 15px;
    font-size: 1.1rem;
    font-weight: 500;
    background: rgba(0, 0, 0, 0.7);
    padding: 12px 25px;
    border-radius: 50px;
    display: inline-block;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.lightbox-close:hover {
    color: var(--primary);
    transform: rotate(90deg);
}

/* Responsive Fixes for Gallery & Hero */
@media (max-width: 991px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .gallery-item.featured {
        grid-column: span 1;
    }
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    .hero-content {
        margin: 0 auto;
    }
    .hero-doctor-img {
        max-width: 350px;
    }
}

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