/* 
========================================================================
   STYLE.CSS - DR. ANKIT KHANDELWAL - SKIN & HAIR SOLUTION CENTER
========================================================================
*/

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* CSS VARIABLES - Premium Medical Theme */
:root {
    --primary: #0B6B54;         /* Premium Medical Teal */
    --primary-hover: #084E3D;
    --primary-light: #F4F8F7;   /* Soft Clean Light Teal */
    --accent: #0B6B54;          /* Unified Theme Accent (Deep Teal) */
    --accent-hover: #084E3D;
    --accent-light: #F4F8F7;
    --tag-bg: #FFF0EA;          /* Light warm peach tag background */
    --tag-text: #C25E3A;        /* Tag text accent */
    --text-main: #1E293B;       /* Charcoal Slate */
    --text-muted: #64748B;     /* Slate Gray */
    --bg-base: #FFFFFF;         /* White */
    --bg-surface: #F8FAFC;      /* Off-white */
    --bg-surface-alt: #F1F5F9;  /* Light gray boundary */
    --border-color: #E2E8F0;    /* Card borders */
    --success: #25D366;         /* WhatsApp Green */
    --success-hover: #128C7E;
    
    /* Typography & Radius */
    --font-sans: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    
    /* Transitions & Shadows */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 2px 8px rgba(15, 110, 86, 0.04);
    --shadow-md: 0 8px 24px rgba(15, 110, 86, 0.08);
    --shadow-lg: 0 16px 36px rgba(15, 110, 86, 0.12);
    
    /* Max Widths */
    --max-width: 1200px;
    --header-height: 80px;
}

/* RESET */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-base);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* CUSTOM SCROLLBAR */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-surface);
}
::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* SELECTION COLOR */
::selection {
    background: var(--primary);
    color: var(--bg-base);
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--primary);
}

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

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

/* LAYOUT CONTAINER */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 80px 0;
}

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

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: var(--radius-full);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    gap: 8px;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--bg-base);
}
.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15, 110, 86, 0.2);
}

.btn-secondary {
    background-color: var(--accent);
    color: var(--bg-base);
}
.btn-secondary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(11, 107, 84, 0.25);
}

.btn-outline-gray {
    background-color: var(--bg-base);
    border: 1px solid var(--border-color);
    color: var(--text-main);
}
.btn-outline-gray:hover {
    background-color: var(--bg-surface);
    border-color: var(--text-muted);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--primary);
    color: var(--primary);
}
.btn-outline:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
}

.btn-white {
    background-color: var(--bg-base);
    color: var(--primary);
}
.btn-white:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-whatsapp {
    background-color: var(--success);
    color: var(--bg-base);
}
.btn-whatsapp:hover {
    background-color: var(--success-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

/* SECTION HEADER */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
}
.section-header h2 {
    font-size: 2.2rem;
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
}
.section-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent);
    margin: 10px auto 0 auto;
    border-radius: var(--radius-full);
}
.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* STICKY GLASSMORPHIC HEADER */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(15, 110, 86, 0.08);
    z-index: 1000;
    transition: var(--transition);
}

.header-scrolled {
    height: 70px;
    box-shadow: var(--shadow-sm);
    background: rgba(255, 255, 255, 0.95);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

/* LOGO */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}
.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-base);
    font-size: 1.4rem;
    box-shadow: 0 4px 10px rgba(15, 110, 86, 0.15);
}
.logo-text {
    display: flex;
    flex-direction: column;
}
.logo-title {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary);
    line-height: 1.1;
}
.logo-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    font-weight: 500;
}

/* NAVIGATION MENU */
.nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 28px;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-main);
    position: relative;
    padding: 6px 0;
}
.nav-link:hover, .nav-link.active {
    color: var(--primary);
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}
.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* CONTROLS (Lang & CTA) */
.nav-controls {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* LANG TOGGLE BUTTON */
.btn-lang {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    font-size: 0.85rem;
    font-weight: 600;
    background: var(--primary-light);
    color: var(--primary);
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition);
}
.btn-lang:hover {
    background: var(--primary);
    color: var(--bg-base);
}

/* HAMBURGER MENU */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1010;
}
.hamburger span {
    width: 100%;
    height: 2.5px;
    background: var(--primary);
    border-radius: 4px;
    transition: var(--transition);
}

/* FLOATING WHATSAPP BUTTON */
.whatsapp-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 12px;
    pointer-events: none;
}
.whatsapp-btn {
    pointer-events: auto;
    width: 60px;
    height: 60px;
    background-color: var(--success);
    color: var(--bg-base);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    position: relative;
    cursor: pointer;
    animation: wa-pulse 2s infinite;
}
.whatsapp-btn:hover {
    background-color: var(--success-hover);
    transform: scale(1.08);
}
.whatsapp-btn::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-full);
    border: 2px solid var(--success);
    top: 0;
    left: 0;
    animation: wa-ripple 2s infinite;
    opacity: 0;
    pointer-events: none;
}
.whatsapp-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background-color: var(--accent);
    color: var(--bg-base);
    font-size: 0.75rem;
    font-weight: 600;
    width: 20px;
    height: 20px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.whatsapp-tooltip {
    background: var(--bg-base);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    padding: 10px 16px;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0;
    transform: translateX(20px);
    transition: var(--transition);
    pointer-events: none;
    white-space: nowrap;
}
.whatsapp-widget.active .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

/* FOOTER */
.footer {
    background-color: var(--primary);
    color: var(--bg-base);
    padding: 60px 0 30px 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-col h3 {
    color: var(--bg-base);
    font-size: 1.15rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
}
.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background: var(--accent);
    border-radius: var(--radius-full);
}
.footer-about p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: 20px;
}
.footer-socials {
    display: flex;
    gap: 12px;
}
.footer-social-icon {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-base);
    transition: var(--transition);
}
.footer-social-icon:hover {
    background: #ffffff;
    color: var(--primary);
    transform: translateY(-3px);
}
.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 0.9rem;
}
.footer-links a {
    color: rgba(255, 255, 255, 0.8);
}
.footer-links a:hover {
    color: #FFFFFF; /* High contrast bright white on dark teal background */
    padding-left: 5px;
}
.footer-info {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}
.footer-info li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.footer-info i {
    color: #A7F3D0; /* Readable bright mint icons inside footer */
    font-size: 1.1rem;
    margin-top: 3px;
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ========================================================================
   PAGE 1 - HOME
   ======================================================================== */

/* HERO SECTION */
.hero {
    padding-top: calc(var(--header-height) + 40px);
    padding-bottom: 80px;
    background: radial-gradient(circle at 80% 20%, var(--primary-light) 0%, var(--bg-base) 100%);
    overflow: hidden;
    position: relative;
}
.hero::before {
    content: '';
    position: absolute;
    top: 10%;
    left: -5%;
    width: 300px;
    height: 300px;
    border-radius: var(--radius-full);
    background: radial-gradient(circle, rgba(15, 110, 86, 0.05) 0%, transparent 70%);
    z-index: 1;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
}
.hero-content {
    z-index: 2;
}
.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--tag-bg);
    color: var(--tag-text);
    padding: 8px 18px;
    border-radius: var(--radius-full);
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(194, 94, 58, 0.12);
}
.hero-tag i {
    color: var(--tag-text);
}
.hero h1 {
    font-size: 3.2rem;
    line-height: 1.15;
    margin-bottom: 16px;
    color: #0f172a; /* Dark charcoal header */
}
.hero h1 span {
    color: var(--primary);
}
.hero-subhead {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 20px;
}
.hero-highlights {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    list-style: none;
}
.hero-highlight-item {
    display: flex;
    align-items: center;
    gap: 10px;
}
.hero-highlight-item::before {
    content: "";
    width: 6px;
    height: 6px;
    background-color: var(--primary);
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}
.hero-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 36px;
    max-width: 580px;
}
.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}
.hero-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 32px;
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
}
.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-muted);
}
.hero-trust-item i {
    color: var(--primary);
    font-size: 1rem;
}
.hero-photo-card-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
}
.hero-photo-card-bg {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 100%;
    height: 100%;
    background-color: var(--primary-light);
    border: 1.5px solid rgba(11, 107, 84, 0.15);
    border-radius: 24px;
    z-index: 1;
}
.hero-photo-card {
    position: relative;
    width: 100%;
    border-radius: 24px;
    border: 4px solid var(--bg-base);
    background-color: var(--bg-surface-alt);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    z-index: 2;
    aspect-ratio: 0.95 / 1;
}
.hero-photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px 20px 20px 20px;
    background: linear-gradient(to top, rgba(11, 107, 84, 0.95) 0%, rgba(11, 107, 84, 0.5) 60%, rgba(0, 0, 0, 0) 100%);
    color: var(--bg-base);
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.hero-photo-name {
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.25);
}
.hero-photo-title {
    font-size: 0.85rem;
    opacity: 0.95;
    font-weight: 400;
}

/* STATS BAR */
.stats-bar {
    background: var(--primary);
    color: var(--bg-base);
    padding: 30px 0;
    box-shadow: var(--shadow-md);
    z-index: 5;
    position: relative;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}
.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}
.stat-item:last-child {
    border-right: none;
}
.stat-num {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--bg-base);
    line-height: 1.1;
    margin-bottom: 6px;
    color: var(--accent);
}
.stat-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    max-width: 180px;
}

/* GRID OF SERVICES (PREVIEW) & FULL SERVICES GRID */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.service-card {
    background: var(--bg-base);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 28px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}
.service-card:hover::before {
    transform: scaleX(1);
}
.service-icon-wrapper {
    width: 60px;
    height: 60px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 20px;
    transition: var(--transition);
}
.service-card:hover .service-icon-wrapper {
    background: var(--primary);
    color: var(--bg-base);
}
.service-card h3 {
    font-size: 1.15rem;
    color: var(--primary);
    margin-bottom: 12px;
}
.service-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    flex-grow: 1;
}
.service-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.service-link:hover {
    color: var(--accent-hover);
}
.services-more-cta {
    text-align: center;
    margin-top: 50px;
}

/* WHY CHOOSE US */
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.why-card {
    background: var(--bg-base);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    padding: 30px;
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
}
.why-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}
.why-card-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-full);
    background: var(--accent-light);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 20px;
    transition: var(--transition);
}
.why-card:hover .why-card-icon {
    background: var(--accent);
    color: var(--bg-base);
}
.why-card h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
}
.why-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* TESTIMONIALS SECTION */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.testimonial-card {
    background: var(--bg-base);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}
.testimonial-stars {
    display: flex;
    gap: 4px;
    color: #F8C12C;
    margin-bottom: 16px;
    font-size: 0.95rem;
}
.testimonial-text {
    font-size: 0.92rem;
    font-style: italic;
    color: var(--text-main);
    margin-bottom: 24px;
    flex-grow: 1;
}
.testimonial-user {
    display: flex;
    align-items: center;
    gap: 12px;
}
.testimonial-avatar {
    width: 44px;
    height: 44px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.95rem;
}
.testimonial-user-info h4 {
    font-size: 0.95rem;
    color: var(--primary);
    margin-bottom: 2px;
}
.testimonial-user-info p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ========================================================================
   PAGE 2 - ABOUT DOCTOR
   ======================================================================== */

/* GENERAL HERO / BANNER */
.page-banner {
    padding: 120px 0 60px 0;
    background: radial-gradient(circle at 10% 20%, var(--primary-light) 0%, var(--bg-base) 100%);
    border-bottom: 1px solid var(--border-color);
    text-align: center;
}
.page-banner h1 {
    font-size: 2.6rem;
    margin-bottom: 8px;
}
.page-breadcrumbs {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
}
.page-breadcrumbs li::after {
    content: '/';
    margin-left: 8px;
}
.page-breadcrumbs li:last-child {
    color: var(--primary);
}
.page-breadcrumbs li:last-child::after {
    display: none;
}

/* DOCTOR BIOGRAPHY */
.doc-bio-grid {
    display: grid;
    grid-template-columns: 1fr 1.8fr;
    gap: 50px;
    align-items: flex-start;
}
.doc-profile-card {
    background: var(--bg-base);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-lg);
    padding: 30px;
    text-align: center;
}
.doc-avatar-container {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 24px auto;
}
.doc-avatar-circle {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-full);
    background: radial-gradient(circle, var(--primary-light) 0%, var(--primary) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 4px solid var(--bg-base);
    box-shadow: var(--shadow-sm);
    color: var(--bg-base);
}
.doc-avatar-circle i {
    font-size: 4.5rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 4px;
}
.doc-avatar-circle p {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.doc-badge-verified {
    position: absolute;
    bottom: 5px;
    right: 15px;
    width: 36px;
    height: 36px;
    background: var(--accent);
    color: var(--bg-base);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    border: 3px solid var(--bg-base);
    box-shadow: var(--shadow-sm);
}
.doc-profile-card h2 {
    font-size: 1.5rem;
    margin-bottom: 6px;
}
.doc-profile-card h3 {
    font-size: 0.9rem;
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 20px;
}
.doc-reg-details {
    background: var(--bg-surface);
    padding: 16px;
    border-radius: var(--radius-md);
    border: 1px dashed var(--border-color);
    font-size: 0.85rem;
    color: var(--text-muted);
}
.doc-reg-details strong {
    color: var(--primary);
}

.doc-bio-content h2 {
    font-size: 2rem;
    margin-bottom: 16px;
}
.doc-bio-tagline {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 20px;
}
.doc-bio-text {
    font-size: 0.98rem;
    color: var(--text-main);
    margin-bottom: 24px;
}
.doc-specializations-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.doc-spec-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 500;
}
.doc-spec-item i {
    color: var(--accent);
}

/* TIMELINE AND CREDENTIALS */
.timeline-section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.timeline-title {
    font-size: 1.6rem;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.timeline-title i {
    color: var(--accent);
}
.timeline-box {
    position: relative;
    border-left: 3px solid var(--primary-light);
    padding-left: 30px;
    margin-left: 10px;
}
.timeline-item {
    position: relative;
    margin-bottom: 30px;
}
.timeline-item:last-child {
    margin-bottom: 0;
}
.timeline-dot {
    position: absolute;
    left: -41.5px;
    top: 5px;
    width: 20px;
    height: 20px;
    border-radius: var(--radius-full);
    background: var(--bg-base);
    border: 4px solid var(--primary);
    z-index: 10;
}
.timeline-item:hover .timeline-dot {
    background: var(--accent);
    border-color: var(--accent);
}
.timeline-date {
    display: inline-block;
    padding: 4px 12px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 8px;
}
.timeline-item h4 {
    font-size: 1.05rem;
    color: var(--primary);
    margin-bottom: 6px;
}
.timeline-item p {
    font-size: 0.88rem;
    color: var(--text-muted);
}

/* TRUST BADGES ROW */
.trust-badges-bg {
    background-color: var(--primary-light);
    padding: 40px 0;
    border-top: 1px solid rgba(15, 110, 86, 0.05);
    border-bottom: 1px solid rgba(15, 110, 86, 0.05);
}
.trust-badges-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}
.trust-badge-card {
    background: var(--bg-base);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: var(--transition);
}
.trust-badge-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.trust-badge-card i {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 14px;
}
.trust-badge-card h4 {
    font-size: 0.95rem;
    color: var(--primary);
    margin-bottom: 4px;
}
.trust-badge-card p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ========================================================================
   PAGE 3 - SERVICES
   ======================================================================== */

/* SEARCH FILTER TAGS */
.filter-container {
    margin-bottom: 40px;
    text-align: center;
}
.filter-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.filter-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}
.filter-tag {
    background: var(--bg-surface-alt);
    color: var(--text-main);
    border: 1px solid var(--border-color);
    padding: 8px 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition);
}
.filter-tag:hover, .filter-tag.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--bg-base);
    box-shadow: 0 4px 10px rgba(15, 110, 86, 0.15);
}

/* LARGE SERVICES GRID */
.services-full-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.services-full-grid .service-card {
    padding: 32px;
}
.services-full-grid .service-card .btn {
    margin-top: auto;
}

/* ========================================================================
   PAGE 4 - APPOINTMENT BOOKING
   ======================================================================== */
.booking-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr;
    gap: 40px;
    align-items: flex-start;
}

/* FORM STYLING */
.booking-card {
    background: var(--bg-base);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-lg);
    padding: 40px;
}
.booking-card h2 {
    font-size: 1.8rem;
    margin-bottom: 8px;
}
.booking-card p.subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 30px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.form-group-full {
    grid-column: span 2;
}
.form-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary);
}
.form-group label span.required {
    color: var(--accent);
}
.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--bg-surface);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--text-main);
    transition: var(--transition);
}
.form-control:focus {
    outline: none;
    background: var(--bg-base);
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(15, 110, 86, 0.08);
}
.form-control::placeholder {
    color: #a0aec0;
}
textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.form-actions {
    margin-top: 30px;
}
.form-actions .btn {
    width: 100%;
    padding: 14px;
    font-size: 1.05rem;
}

/* DIRECT DETAILS SIDEBAR */
.sidebar-panel {
    background: var(--primary-light);
    border: 1px solid rgba(15, 110, 86, 0.08);
    border-radius: var(--radius-lg);
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}
.sidebar-panel h3 {
    font-size: 1.3rem;
    color: var(--primary);
    position: relative;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(15, 110, 86, 0.1);
}
.sidebar-info-block {
    display: flex;
    gap: 16px;
}
.sidebar-info-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--bg-base);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}
.sidebar-info-text h4 {
    font-size: 0.95rem;
    margin-bottom: 4px;
}
.sidebar-info-text p {
    font-size: 0.88rem;
    color: var(--text-muted);
}
.sidebar-info-text strong {
    color: var(--accent);
}
.sidebar-panel .btn {
    font-size: 0.9rem;
    padding: 10px;
}

/* APPOINTMENT GLASSMORPHISM SUCCESS MODAL */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 110, 86, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}
.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}
.success-modal {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 500px;
    padding: 40px;
    text-align: center;
    transform: translateY(30px);
    transition: var(--transition);
}
.modal-overlay.active .success-modal {
    transform: translateY(0);
}
.modal-icon {
    width: 72px;
    height: 72px;
    background: var(--success);
    color: var(--bg-base);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    margin: 0 auto 24px auto;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}
.success-modal h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}
.success-modal p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 28px;
}

/* ========================================================================
   PAGE 5 - CONTACT & GALLERY
   ======================================================================== */

/* MAP & INFO ROW */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 60px;
}
.contact-info-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.contact-tile {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    flex-direction: column;
}
.contact-tile-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 16px;
}
.contact-tile h4 {
    font-size: 1rem;
    margin-bottom: 8px;
}
.contact-tile p {
    font-size: 0.85rem;
    color: var(--text-muted);
}
.map-wrapper {
    width: 100%;
    height: 100%;
    min-height: 380px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
}
.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* GALLERY */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.gallery-card {
    background: var(--bg-surface-alt);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
.gallery-card-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 12px;
    transition: var(--transition);
}
.gallery-card h4 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 4px;
    z-index: 2;
}
.gallery-card p {
    font-size: 0.8rem;
    color: var(--text-muted);
    z-index: 2;
}
.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 110, 86, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}
.gallery-overlay i {
    font-size: 2.2rem;
    color: var(--bg-base);
}
.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}
.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

/* EMERGENCY / WALK-IN */
.emergency-banner {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    border-radius: var(--radius-lg);
    padding: 40px;
    color: var(--bg-base);
    display: flex;
    align-items: center;
    gap: 30px;
    box-shadow: var(--shadow-lg);
}
.emergency-icon {
    width: 70px;
    height: 70px;
    background: rgba(255,255,255,0.18);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    flex-shrink: 0;
}
.emergency-content h3 {
    color: var(--bg-base);
    font-size: 1.45rem;
    margin-bottom: 6px;
}
.emergency-content p {
    font-size: 0.98rem;
    color: rgba(255,255,255,0.9);
}

/* ========================================================================
   ANIMATION KEYFRAMES & UTILITY CLASSES
   ======================================================================== */
@keyframes wave-blob {
    0% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
    50% { border-radius: 60% 40% 50% 70% / 50% 60% 40% 60%; }
    100% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
}

@keyframes wa-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes wa-ripple {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.4); opacity: 0; }
}

/* FADE IN SCROLL ANIMATIONS */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* BILINGUAL HINDI SUPPORT UTILITY */
/* By default, body has English lang. We handle toggling dynamic inner texts. */
[data-hi] {
    transition: opacity 0.15s ease-in-out;
}

/* ========================================================================
   RESPONSIVE DESIGN (MOBILE-FIRST)
   ======================================================================== */

@media (max-width: 1024px) {
    .hero h1 { font-size: 2.6rem; }
    .hero-blob { width: 340px; height: 340px; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .services-full-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .doc-bio-grid { grid-template-columns: 1fr; gap: 30px; }
    .doc-avatar-container { margin: 0 auto 16px auto; }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
    
    .section { padding: 50px 0; }
    .section-header h2 { font-size: 1.8rem; }
    .section-header { margin-bottom: 30px; }
    
    /* Sticky Header Responsive */
    .hamburger { display: flex; }
    
    .nav {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background: var(--bg-base);
        flex-direction: column;
        align-items: flex-start;
        padding: 40px;
        gap: 40px;
        transition: var(--transition);
        box-shadow: 0 10px 15px rgba(0,0,0,0.05);
        z-index: 999;
        overflow-y: auto;
    }
    
    .nav.active {
        left: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 24px;
        width: 100%;
    }
    
    .nav-link {
        font-size: 1.2rem;
        display: block;
        width: 100%;
    }
    
    .nav-controls {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 20px;
    }
    
    .nav-controls .btn {
        width: 100%;
    }
    
    /* Hamburger Active Animation */
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    /* Hero Section Responsive */
    .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 30px; }
    .hero h1 { font-size: 2.2rem; }
    .hero-desc { margin-left: auto; margin-right: auto; }
    .hero-ctas { justify-content: center; }
    .hero-blob { margin: 0 auto; width: 280px; height: 280px; }
    .hero-badge { bottom: 10px; left: 50%; transform: translateX(-50%); width: 220px; }
    
    /* Stats grid */
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .stat-item { border-right: none; }
    .stat-item:nth-child(odd) { border-right: 1px solid rgba(255, 255, 255, 0.15); }
    .stat-num { font-size: 1.8rem; }
    
    /* Timelines */
    .timeline-section-grid { grid-template-columns: 1fr; gap: 30px; }
    
    /* Booking Grid */
    .booking-grid { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .form-group-full { grid-column: span 1; }
    
    /* Contact grid */
    .contact-grid { grid-template-columns: 1fr; }
    .contact-info-cards { grid-template-columns: 1fr; }
    
    /* Emergency Banner */
    .emergency-banner { flex-direction: column; text-align: center; gap: 16px; }
    
    /* Trust badges */
    .trust-badges-row { grid-template-columns: repeat(2, 1fr); }
    
    .whatsapp-widget { bottom: 20px; right: 20px; }
    .whatsapp-btn { width: 52px; height: 52px; font-size: 1.5rem; }
}

@media (max-width: 580px) {
    .services-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .services-full-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .trust-badges-row { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr; gap: 20px; }
    .stat-item { border-right: none !important; }
}

/* TREATMENT DETAILS MODAL SPECIFIC STYLING */
.treatment-modal {
    background: rgba(255, 255, 255, 0.98);
    border: 1.5px solid rgba(11, 107, 84, 0.15);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.15);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 650px;
    padding: 36px;
    max-height: 90vh;
    overflow-y: auto;
    text-align: left;
    transform: translateY(30px);
    transition: var(--transition);
}
.modal-overlay.active .treatment-modal {
    transform: translateY(0);
}
.treatment-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1.5px solid var(--border-color);
    padding-bottom: 16px;
    margin-bottom: 20px;
}
.treatment-modal-title {
    font-size: 1.6rem;
    color: var(--primary);
    font-weight: 600;
}
.btn-close-treatment {
    background: transparent;
    border: none;
    font-size: 1.4rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}
.btn-close-treatment:hover {
    color: var(--primary);
}
.treatment-modal-tag {
    display: inline-block;
    padding: 4px 12px;
    background-color: var(--primary-light);
    color: var(--primary);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 16px;
}
.treatment-modal-info {
    font-size: 0.95rem;
    color: var(--text-main);
    margin-bottom: 24px;
    line-height: 1.65;
}
.treatment-modal-specs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    padding: 16px;
    border-radius: var(--radius-md);
    margin-bottom: 30px;
}
.treatment-spec-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.treatment-spec-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 0.5px;
}
.treatment-spec-value {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--primary);
}
.treatment-modal-actions {
    display: flex;
    gap: 16px;
}
.treatment-modal-actions .btn {
    flex: 1;
}
.treatment-modal-note {
    background-color: var(--primary-light);
    border-left: 4px solid var(--primary);
    padding: 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 30px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 0.9rem;
    color: var(--text-main);
}
.treatment-modal-note .note-icon {
    color: var(--primary);
    font-size: 1.2rem;
    margin-top: 2px;
}
.treatment-modal-note .note-text {
    line-height: 1.5;
}

@media (max-width: 768px) {
    .treatment-modal-specs {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .treatment-modal-actions {
        flex-direction: column;
        gap: 12px;
    }
}

/* GOOGLE MY BUSINESS BADGE */
.gmb-rating-badge {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    box-shadow: var(--shadow-sm);
}
.gmb-badge-left {
    display: flex;
    align-items: center;
    gap: 20px;
}
.gmb-logo {
    font-size: 3rem;
    color: #4285F4; /* Google Blue */
}
.gmb-stats h3 {
    font-size: 1.15rem;
    color: var(--primary);
    margin-bottom: 6px;
    font-weight: 600;
}
.gmb-stars-row {
    display: flex;
    align-items: center;
    gap: 10px;
}
.gmb-stars-row .rating-number {
    font-size: 1.2rem;
    font-weight: 700;
    color: #F9AB00; /* Google Gold */
}
.gmb-stars-row .stars {
    color: #F9AB00;
    font-size: 0.95rem;
}
.gmb-stars-row .reviews-count {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}
.btn-gmb-write {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #FFFFFF !important;
    border-color: #DADCE0 !important;
    color: #3C4043 !important;
}
.btn-gmb-write:hover {
    background: #F8F9FA !important;
    border-color: #BDC1C6 !important;
}

@media (max-width: 768px) {
    .gmb-rating-badge {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .btn-gmb-write {
        width: 100%;
        justify-content: center;
    }
}

/* PREMIUM LIGHTBOX POPUP & SLIDER MODAL */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(11, 107, 84, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 24px;
}
.lightbox-overlay.active {
    opacity: 1;
}
.lightbox-content {
    background: var(--bg-base);
    border: 1px solid rgba(11, 107, 84, 0.2);
    border-radius: var(--radius-lg);
    box-shadow: 0 24px 60px rgba(11, 107, 84, 0.2);
    max-width: 850px;
    width: 100%;
    overflow: hidden;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}
.lightbox-overlay.active .lightbox-content {
    transform: scale(1) translateY(0);
}
.lightbox-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--border-color);
    width: 42px;
    height: 42px;
    border-radius: var(--radius-full);
    font-size: 1.6rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10005;
    padding-bottom: 4px;
    box-shadow: var(--shadow-sm);
}
.lightbox-close:hover {
    background: var(--primary);
    color: #FFFFFF;
    transform: rotate(90deg);
}

/* Lightbox Image Container and Nav Arrows */
.lightbox-img-container {
    width: 100%;
    height: 100%;
    max-height: 65vh;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}
.lightbox-img {
    max-width: 100%;
    max-height: 65vh;
    object-fit: contain;
    display: block;
    transition: opacity 0.15s ease-in-out;
}

/* Navigation Arrow Pills */
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--border-color);
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    color: var(--primary);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10002;
    box-shadow: var(--shadow-md);
}
.lightbox-nav:hover {
    background: var(--primary);
    color: #FFFFFF;
}
.lightbox-prev {
    left: 20px;
}
.lightbox-next {
    right: 20px;
}
.lightbox-nav:hover {
    transform: translateY(-50%) scale(1.08);
}

/* Bottom Caption Bar */
.lightbox-caption {
    padding: 20px 28px;
    background: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}
.lightbox-caption-main {
    flex: 1;
}
.lightbox-title {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 6px;
    font-weight: 600;
}
.lightbox-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
}
.lightbox-counter {
    background: var(--primary-light);
    color: var(--primary);
    padding: 4px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: var(--radius-full);
}

@media (max-width: 768px) {
    .lightbox-overlay {
        padding: 12px;
    }
    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    .lightbox-prev {
        left: 10px;
    }
    .lightbox-next {
        right: 10px;
    }
    .lightbox-caption {
        padding: 16px;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .lightbox-title {
        font-size: 1.1rem;
    }
    .lightbox-desc {
        font-size: 0.8rem;
    }
    .lightbox-counter {
        align-self: flex-end;
    }
}


