/**
 * Sri Venkateswara Cancer Care - Dr. Shilpa Kandipalle
 * Design System & Component Styles
 * Color Palette extracted from Official Logo:
 *   Primary Emerald Green: #0B5D34 (Healing & Life)
 *   Deep Forest Green: #052916 (Authority & Depth)
 *   Sacred Diya Gold: #F5A623 (Flame of Hope & Warmth)
 *   Radiant Gold Light: #FFC453
 *   Deep Sacred Indigo: #1E1656 (Caring Hands)
 *   Terracotta Maroon: #8C1D27 (Diya Lotus Base)
 *   Soft Mint Tint: #EAF5EE (Clean Healthcare Surface)
 *   Warm White: #FAFBF9
 *   Body Slate: #3B4D43
 */

:root {
    /* Core Logo Colors */
    --color-emerald: #0B5D34;
    --color-emerald-dark: #052916;
    --color-emerald-deep: #031B0E;
    --color-emerald-light: #128C4F;
    --color-emerald-soft: #EAF5EE;
    --color-emerald-tint: #F2F9F5;

    /* Sacred Diya Gold Flame */
    --color-gold: #F5A623;
    --color-gold-light: #FFC453;
    --color-gold-dark: #C97E0C;
    --color-terracotta: #8C1D27;

    /* Logo Caring Hands Indigo */
    --color-indigo: #1E1656;

    /* Unified Semantic Mappings */
    --color-navy: #0B5D34;
    --color-navy-dark: #052916;
    --color-navy-light: #0E7340;
    --color-teal: #0B5D34;
    --color-teal-hover: #074727;
    --color-teal-soft: #EAF5EE;
    --color-teal-light: #128C4F;
    --color-warm-white: #FAFBF9;
    --color-body: #3B4D43;
    --color-heading: #0B5D34;
    --color-border: #DDEBE2;
    --color-card-bg: #FFFFFF;

    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Lato', sans-serif;

    --shadow-subtle: 0 4px 20px rgba(11, 93, 52, 0.06);
    --shadow-card: 0 10px 30px rgba(11, 93, 52, 0.09);
    --shadow-elevated: 0 20px 45px rgba(11, 93, 52, 0.16);
    --shadow-glow-teal: 0 8px 24px rgba(11, 93, 52, 0.3);
    --shadow-glow-gold: 0 8px 24px rgba(245, 166, 35, 0.35);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Global Reset & Typography */
html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--color-body);
    background-color: var(--color-warm-white);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6,
.font-serif {
    font-family: var(--font-heading);
    color: var(--color-heading);
    font-weight: 600;
    line-height: 1.25;
}

.font-sans {
    font-family: var(--font-body);
}

p {
    margin-bottom: 1.25rem;
}

a {
    color: var(--color-teal);
    transition: var(--transition-smooth);
}

a:hover {
    color: var(--color-teal-hover);
}

/* Utilities */
.text-navy {
    color: var(--color-navy) !important;
}

.text-teal {
    color: var(--color-teal) !important;
}

.text-teal-light {
    color: var(--color-teal-light) !important;
}

.text-gold {
    color: var(--color-gold) !important;
}

.text-gold-accent {
    color: var(--color-gold-light) !important;
}

.bg-warm-white {
    background-color: var(--color-warm-white) !important;
}

.bg-soft-teal {
    background-color: var(--color-teal-soft) !important;
}

.bg-navy {
    background-color: var(--color-navy) !important;
}

.bg-navy-dark {
    background-color: var(--color-navy-dark) !important;
}

.border-gold {
    border-color: var(--color-gold) !important;
}

.border-teal {
    border-color: var(--color-teal) !important;
}

.letter-spacing-1 {
    letter-spacing: 0.08em;
}

.letter-spacing-2 {
    letter-spacing: 0.15em;
}

.max-w-600 {
    max-width: 600px;
}

.max-w-700 {
    max-width: 700px;
}

.max-w-800 {
    max-width: 800px;
}

.max-w-sm {
    max-width: 320px;
}

/* Skip Link */
.skip-to-content {
    position: absolute;
    top: -40px;
    left: 20px;
    background: var(--color-teal);
    color: #fff;
    padding: 8px 16px;
    z-index: 9999;
    border-radius: 4px;
    transition: top 0.2s ease;
}

.skip-to-content:focus {
    top: 20px;
}

/* Top Information Bar */
.top-bar {
    background-color: #042012;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-link {
    transition: var(--transition-smooth);
}

.top-bar-link:hover {
    opacity: 0.85;
}

/* Site Header & Navbar */
.site-header {
    background: #fff;
    /* background: rgba(7, 45, 25, 0.96); */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(245, 166, 35, 0.2);
    transition: var(--transition-smooth);
    z-index: 1030;
}

.site-header.scrolled {
    /* box-shadow: 0 10px 30px rgba(2, 18, 9, 0.178); */
    background: rgba(255, 255, 255, 0.98);
    width: 100% !important;
    position: fixed !important;
}

.brand-logo-img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    background: #FFFFFF;
    border-radius: 50%;
    border: 2px solid var(--color-gold);
    box-shadow: var(--shadow-glow-gold);
}

.brand-logo-sm {
    width: 44px;
    height: 44px;
    object-fit: contain;
    background: #FFFFFF;
    border-radius: 50%;
    border: 2px solid var(--color-gold);
}

.brand-clinic-name {
    font-family: var(--font-body);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    color: var(--color-gold-light);
}

.brand-crest {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 2px solid var(--color-gold);
    box-shadow: var(--shadow-glow-gold);
}

.brand-crest-letter {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-emerald);
}

.brand-crest-sm {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 1.5px solid var(--color-gold);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: bold;
    color: var(--color-emerald);
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    letter-spacing: -0.01em;
    color: #FFFFFF;
    line-height: 1.2;
}

.brand-creds {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: 0.02em;
}

.brand-sub {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}

/* Nav Links */
.navbar-nav .nav-link {
    color: rgb(0, 0, 0) !important;
    font-size: 0.93rem;
    font-weight: 500;
    padding: 0.5rem 0.9rem !important;
    border-radius: var(--radius-sm);
    transition: var(--transition-smooth);
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    color: #0B5D34 !important;
    background: rgba(255, 255, 255, 0.06);
}

.navbar-nav .nav-link.active {
    color: var(--color-gold-light) !important;
    font-weight: 600;
    background: rgba(245, 166, 35, 0.15);
}

.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 18px;
    height: 2px;
    background-color: var(--color-gold);
    border-radius: 2px;
}

/* Offcanvas Menu */
.mobile-nav-offcanvas {
    background: #052916 !important;
}

.mobile-nav-offcanvas .mobile-link {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    border-left: 3px solid transparent;
}

.mobile-nav-offcanvas .mobile-link.active,
.mobile-nav-offcanvas .mobile-link:hover {
    color: #FFFFFF;
    background: rgba(11, 93, 52, 0.25);
    border-left-color: var(--color-gold);
}

/* Buttons */
.btn-luxury-appointment {
    background: linear-gradient(135deg, var(--color-emerald), #054023);
    color: #FFFFFF !important;
    border: 1px solid rgba(245, 166, 35, 0.35);
    font-weight: 600;
    font-size: 0.92rem;
    padding: 0.65rem 1.4rem;
    border-radius: 50px;
    box-shadow: 0 6px 20px rgba(11, 93, 52, 0.35);
    transition: var(--transition-smooth);
}

.btn-luxury-appointment:hover {
    background: linear-gradient(135deg, #128C4F, var(--color-emerald));
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(245, 166, 35, 0.3);
    color: #FFFFFF !important;
}

.btn-luxury-gold {
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
    color: #052916 !important;
    border: none;
    font-weight: 700;
    border-radius: 50px;
    padding: 0.7rem 1.6rem;
    box-shadow: var(--shadow-glow-gold);
    transition: var(--transition-smooth);
    font-size: 14px;
}

.btn-luxury-gold:hover {
    background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold));
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(245, 166, 35, 0.5);
    color: #052916 !important;
}

.btn-outline-teal {
    border: 1.5px solid var(--color-gold);
    color: #000 !important;
    background: transparent;
    border-radius: 50px;
    font-weight: 600;
    padding: 0.65rem 1.4rem;
    transition: var(--transition-smooth);
}

.btn-outline-teal:hover {
    background: var(--color-gold);
    border-color: var(--color-gold);
    color: #052916 !important;
    transform: translateY(-2px);
}

.btn-outline-navy {
    border: 1.5px solid var(--color-navy);
    color: var(--color-navy);
    background: transparent;
    border-radius: 50px;
    font-weight: 600;
    padding: 0.65rem 1.4rem;
    transition: var(--transition-smooth);
}

.btn-outline-navy:hover {
    background: var(--color-navy);
    color: #FFFFFF;
    transform: translateY(-2px);
}

.btn-light-glass {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    color: #FFFFFF;
    border-radius: 50px;
    padding: 0.65rem 1.4rem;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.btn-light-glass:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
}

.btn-dark-teal {
    background: var(--color-emerald-dark);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    font-weight: 600;
}

/* Badges */
.badge-gold-subtle {
    background: rgba(245, 166, 35, 0.15);
    color: #B36B00;
    border: 1px solid rgba(245, 166, 35, 0.4);
}

.badge-teal-subtle {
    background: var(--color-teal-soft);
    color: var(--color-emerald);
    border: 1px solid rgba(11, 93, 52, 0.25);
    font-weight: 600;
}

.badge-navy-subtle {
    background: rgba(11, 93, 52, 0.08);
    color: var(--color-emerald);
    font-weight: 600;
}

/* Hero Section (Modern Panoramic Layout inspired by reference) */
.hero-section {
    background: #03150D;
    position: relative;
    padding: 5.5rem 0 6.5rem;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 65% 70% at 85% 25%, rgba(18, 140, 79, 0.28) 0%, transparent 65%),
        radial-gradient(ellipse 55% 55% at 15% 80%, rgba(11, 93, 52, 0.35) 0%, transparent 60%),
        linear-gradient(90deg, #03150D 0%, #052416 35%, rgba(5, 36, 22, 0.94) 55%, rgba(5, 36, 22, 0.72) 80%, rgba(5, 36, 22, 0.5) 100%);
    pointer-events: none;
    z-index: 1;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
    text-transform: uppercase;
}

.hero-headline {
    font-family: var(--font-heading);
    font-size: clamp(2.3rem, 4.4vw, 3.6rem);
    font-weight: 700;
    line-height: 1.15;
    color: #FFFFFF;
    letter-spacing: -0.015em;
    margin-bottom: 1.35rem;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.82);
    max-width: 580px;
}

/* Action Buttons (AgentMart Pill Style) */
.hero-btn-primary {
    background: linear-gradient(135deg, #0B8A44 0%, #00A859 100%);
    color: #FFFFFF !important;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    box-shadow: 0 6px 22px rgba(0, 168, 89, 0.35);
    transition: var(--transition-smooth);
    text-decoration: none;
}

.hero-btn-primary:hover {
    background: linear-gradient(135deg, #097439 0%, #00924e 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 26px rgba(0, 168, 89, 0.5);
    color: #FFFFFF !important;
}

.hero-btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #FFFFFF !important;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    backdrop-filter: blur(8px);
    transition: var(--transition-smooth);
    text-decoration: none;
}

.hero-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    color: #FFFFFF !important;
}

/* Right-Column Visual Composition */
.hero-visual-composition {
    position: relative;
    max-width: 440px;
    margin: 0 auto;
}

/* AgentMart-style Brand Header Card */
.hero-brand-card {
    background: #FFFFFF;
    border-radius: 14px;
    padding: 0.8rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.9rem;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
    margin-bottom: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.9);
}

.hero-brand-card-logo {
    width: 46px;
    height: 46px;
    object-fit: contain;
    flex-shrink: 0;
}

.hero-brand-card-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-emerald);
    line-height: 1.2;
}

.hero-brand-card-subtitle {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: #4A5D54;
    margin-top: 2px;
}

/* Doctor Portrait Showcase Frame */
.hero-showcase-frame {
    position: relative;
}

.doctor-portrait-frame {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: linear-gradient(145deg, #0B5D34, #052916);
    border: 2px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
}

.hero-doctor-photo {
    width: 100%;
    height: 470px;
    object-fit: cover;
    object-position: top center;
    display: block;
}

/* Floating Feature Badges (inspired by property tags in reference) */
.hero-tag-pill {
    position: absolute;
    background: rgba(3, 21, 13, 0.92);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
    padding: 0.55rem 1rem;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    font-family: var(--font-heading);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
    z-index: 3;
    white-space: nowrap;
    transition: var(--transition-smooth);
}

.hero-tag-pill:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.4);
}

.tag-pill-top-left {
    top: -15px;
    left: -18px;
    border-color: rgba(245, 166, 35, 0.5);
}

.tag-pill-bottom-left {
    bottom: -15px;
    left: -15px;
    border-color: rgba(0, 168, 89, 0.5);
}

.tag-pill-mid-right {
    top: 50%;
    right: -25px;
    transform: translateY(-50%);
    border-color: rgba(245, 166, 35, 0.5);
}

.hero-badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(245, 166, 35, 0.45);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--color-gold-light);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}

.hero-title {
    font-size: clamp(2.3rem, 5vw, 3.8rem);
    color: #FFFFFF;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.hero-doctor-badge {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-left: 4px solid var(--color-gold);
    padding: 1.25rem 1.5rem;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin-bottom: 2rem;
}

.hero-doctor-name {
    font-size: 1.5rem;
    color: #FAFBF9;
    font-family: var(--font-heading);
    margin-bottom: 0.25rem;
}

.hero-doctor-qual {
    font-size: 0.95rem;
    color: var(--color-gold-light);
    font-weight: 500;
}

.hero-doctor-post {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}

.doctor-portrait-wrapper {
    position: relative;
    max-width: 440px;
    margin: 0 auto;
}

.doctor-stat-badge {
    position: absolute;
    background: rgba(5, 41, 22, 0.95);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(245, 166, 35, 0.55);
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    z-index: 2;
}

.doctor-stat-badge.badge-top-right {
    top: -15px;
    right: -15px;
}

.doctor-stat-badge.badge-bottom-left {
    bottom: -15px;
    left: -15px;
}

/* Editorial & Milestone Photo Cards */
.editorial-photo-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
    border: 1px solid var(--color-border);
    background: #FFFFFF;
}

.editorial-photo-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-elevated);
}

.editorial-photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.editorial-photo-card:hover img {
    transform: scale(1.03);
}

.editorial-photo-caption {
    padding: 1rem 1.25rem;
    background: #FFFFFF;
    border-top: 1px solid var(--color-border);
}

.hero-doctor-photo {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    object-position: top center;
    border-radius: var(--radius-xl);
}


/* Stats Counter Bar */
.stats-counter-strip {
    background: #FFFFFF;
    margin-top: -3.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-elevated);
    border: 1px solid var(--color-border);
    position: relative;
    z-index: 10;
}

.stat-item {
    padding: 1.5rem 1rem;
    text-align: center;
    border-right: 1px solid var(--color-border);
}

.stat-item:last-child {
    border-right: none;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--color-navy);
    line-height: 1;
    margin-bottom: 0.35rem;
}

.stat-label {
    font-size: 0.82rem;
    color: var(--color-body);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0;
}

/* Section Header Styles */
.section-header {
    margin-bottom: 3.5rem;
}

.section-pretitle {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
    color: var(--color-teal);
    display: block;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    color: var(--color-navy);
    margin-bottom: 1rem;
    position: relative;
}

.section-title.title-white {
    color: #FFFFFF;
}

.section-title-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-teal), var(--color-gold));
    border-radius: 2px;
    margin: 1rem 0;
}

.section-title-line.center {
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-body);
    max-width: 650px;
}

/* Feature & Service Cards */
.feature-card {
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    padding: 2.2rem 1.8rem;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-subtle);
    transition: var(--transition-smooth);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-teal), var(--color-gold));
    opacity: 0;
    transition: var(--transition-smooth);
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card);
    border-color: rgba(8, 127, 140, 0.3);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon-box {
    width: 58px;
    height: 58px;
    border-radius: var(--radius-md);
    background: var(--color-teal-soft);
    color: var(--color-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    transition: var(--transition-smooth);
}

.feature-card:hover .feature-icon-box {
    background: var(--color-teal);
    color: #FFFFFF;
    transform: scale(1.05);
}

.feature-title {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--color-navy);
}

/* Breadcrumb Styling */
.site-breadcrumb-nav {
    background: #FFFFFF;
    border-color: #E2E8F0 !important;
}

.site-breadcrumb-nav .breadcrumb-item a {
    color: var(--color-teal);
    font-size: 0.88rem;
    font-weight: 500;
}

.site-breadcrumb-nav .breadcrumb-item.active {
    font-size: 0.88rem;
}

/* Inner Page Hero / Header Banner */
.page-banner {
    background: linear-gradient(135deg, #042012 0%, #0B5D34 60%, #063A20 100%);
    padding: 3.5rem 0 3.8rem;
    position: relative;
    overflow: hidden;
}

.page-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 90% 10%, rgba(245, 166, 35, 0.2), transparent 40%);
    pointer-events: none;
}

.page-banner-title {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    color: #FFFFFF;
    margin-bottom: 0.75rem;
}

.page-banner-lead {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.82);
    max-width: 720px;
}

/* Timeline Components */
.timeline-track {
    position: relative;
    padding: 1.5rem 0;
}

.timeline-track::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 24px;
    width: 2px;
    background: linear-gradient(180deg, var(--color-teal), var(--color-gold), #CBD5E1);
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 2.5rem;
}

.timeline-dot {
    position: absolute;
    left: 14px;
    top: 4px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 4px solid var(--color-teal);
    box-shadow: 0 0 0 4px var(--color-teal-soft);
    z-index: 2;
}

.timeline-dot.gold {
    border-color: var(--color-gold);
    box-shadow: 0 0 0 4px rgba(197, 164, 109, 0.2);
}

.timeline-content-card {
    background: #FFFFFF;
    padding: 1.8rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-subtle);
    transition: var(--transition-smooth);
}

.timeline-content-card:hover {
    border-color: rgba(8, 127, 140, 0.3);
    box-shadow: var(--shadow-card);
}

/* Award & Achievement Showcase */
.award-card {
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    padding: 2.2rem;
    position: relative;
    transition: var(--transition-smooth);
    height: 100%;
}

.award-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-elevated);
    border-color: var(--color-gold);
}

.award-badge-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(197, 164, 109, 0.15), rgba(197, 164, 109, 0.05));
    border: 1.5px solid var(--color-gold);
    color: var(--color-gold-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.25rem;
}

/* Publication Card */
.publication-card {
    background: #FFFFFF;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    padding: 1.8rem;
    transition: var(--transition-smooth);
    margin-bottom: 1.25rem;
}

.publication-card:hover {
    border-color: var(--color-teal);
    box-shadow: var(--shadow-card);
}

.publication-tag {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.25rem 0.65rem;
    border-radius: 4px;
}

/* CTA Card */
.cta-card {
    background: linear-gradient(135deg, #042012 0%, #0B5D34 55%, #052916 100%);
    border: 1px solid rgba(245, 166, 35, 0.45);
    position: relative;
}

.cta-background-pattern {
    background-image: radial-gradient(rgba(255, 255, 255, 0.15) 1px, transparent 1px);
    background-size: 20px 20px;
}

/* Appointment Form & Cards */
.form-card {
    background: #FFFFFF;
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-border);
    padding: 2.5rem;
    box-shadow: var(--shadow-elevated);
}

.form-control,
.form-select {
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid #CBD5E1;
    font-size: 0.95rem;
    color: var(--color-navy);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--color-teal);
    box-shadow: 0 0 0 3px rgba(8, 127, 140, 0.18);
}

.form-label {
    font-weight: 600;
    color: var(--color-navy);
    font-size: 0.88rem;
    margin-bottom: 0.4rem;
}

/* Accordion Customization */
.custom-accordion .accordion-item {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md) !important;
    margin-bottom: 1rem;
    overflow: hidden;
    background: #FFFFFF;
}

.custom-accordion .accordion-button {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--color-navy);
    background: #FFFFFF;
    padding: 1.25rem 1.5rem;
    box-shadow: none;
}

.custom-accordion .accordion-button:not(.collapsed) {
    color: var(--color-teal);
    background-color: var(--color-teal-soft);
}

.custom-accordion .accordion-body {
    padding: 1.25rem 1.5rem;
    color: var(--color-body);
    font-size: 0.98rem;
    line-height: 1.7;
}

/* Site Footer */
.site-footer {
    background-color: rgb(16 24 43);
    position: relative;
    border-top: 1px solid rgba(245, 166, 35, 0.2);
}

.footer-heading {
    letter-spacing: 0.08em;
    font-size: 0.9rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: #FFFFFF;
    padding-left: 4px;
}

.footer-contact-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-badge {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.social-badge:hover {
    background: var(--color-teal);
    border-color: var(--color-teal);
    transform: translateY(-2px);
}

.emergency-bar {
    background: rgba(220, 53, 69, 0.12);
    border: 1px solid rgba(220, 53, 69, 0.3);
}

.border-white-10 {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.hover-white:hover {
    color: #FFFFFF !important;
}

/* Floating Mobile Action Bar */
.floating-mobile-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(4, 32, 18, 0.98);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(245, 166, 35, 0.3);
    z-index: 1025;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.25);
}

/* Back to Top Button */
.btn-back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-teal);
    color: #FFFFFF;
    border: none;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    z-index: 1020;
    transition: var(--transition-smooth);
}

.btn-back-to-top:hover {
    background: var(--color-teal-hover);
    color: #FFFFFF;
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow-teal);
}

/* Media Queries & Mobile Polish */
@media (max-width: 991.98px) {
    body {
        padding-bottom: 60px;
        /* Space for floating mobile bar */
    }

    .hero-section {
        padding: 3.5rem 0 4.5rem;
        text-align: left;
    }

    .hero-visual-composition {
        max-width: 380px;
        margin: 1.5rem auto 0;
    }

    .hero-doctor-photo {
        height: 380px;
    }

    .stats-counter-strip {
        margin-top: -2rem;
    }

    .stat-item {
        border-right: none;
        border-bottom: 1px solid var(--color-border);
    }

    .stat-item:last-child {
        border-bottom: none;
    }

    .btn-back-to-top {
        bottom: 75px;
        right: 18px;
        width: 42px;
        height: 42px;
    }

    .floating-contact-stack {
        display: none !important;
    }
}

@media print {

    .site-header,
    .top-bar,
    .site-footer,
    .floating-mobile-cta,
    .btn-back-to-top,
    .section-cta {
        display: none !important;
    }

    body {
        background: #FFFFFF !important;
        color: #000000 !important;
        font-size: 12pt;
    }
}

.top-bar span {
    color: #fff;
}

/* ==========================================================================
   WOW.js & Animate.css Premium Motion Tuning
   ========================================================================== */
:root {
    --animate-duration: 0.95s;
    --animate-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

.animate__animated {
    animation-duration: var(--animate-duration) !important;
    animation-timing-function: var(--animate-ease) !important;
    animation-fill-mode: both !important;
    backface-visibility: hidden;
    will-change: transform, opacity;
}

/* Ensure no accidental horizontal scroll from slide/fade animations */
html,
body {
    overflow-x: hidden;
}

/* Graceful fallbacks for reduced motion */
@media (prefers-reduced-motion: reduce) {

    .wow,
    .animate__animated {
        animation: none !important;
        transition: none !important;
        visibility: visible !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ==========================================================================
   WOW.js & Animate.css Premium Motion Tuning
   ========================================================================== */
:root {
    --animate-duration: 0.95s;
    --animate-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

.animate__animated {
    animation-duration: var(--animate-duration) !important;
    animation-timing-function: var(--animate-ease) !important;
    animation-fill-mode: both !important;
    backface-visibility: hidden;
    will-change: transform, opacity;
}

/* Ensure no accidental horizontal scroll from slide/fade animations */
html,
body {
    overflow-x: hidden;
}

/* Graceful fallbacks for reduced motion */
@media (prefers-reduced-motion: reduce) {

    .wow,
    .animate__animated {
        animation: none !important;
        transition: none !important;
        visibility: visible !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

.floating-mobile-cta .btn-outline-teal,
.floating-mobile-cta .btn-dark-teal {
    border: 1.5px solid #f5a623;
    color: #000 !important;
    background: #f5a623;
    border-radius: 50px;
    font-weight: 600;
    padding: 0.65rem 1.4rem;
    transition: var(--transition-smooth);
}

.navbar-toggler {
    background-color: #014a25 !important;
}

/* ==========================================================================
   Floating Circular Contact Stack (WhatsApp & Phone Advisory)
   ========================================================================== */
.floating-contact-stack {
    position: fixed;
    bottom: 90px;
    right: 25px;
    z-index: 1040;
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: flex-end;
}

.floating-btn {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF !important;
    font-size: 24px;
    text-decoration: none;
    position: relative;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, background-color 0.3s ease;
}

.floating-wa {
    background: #25D366;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.38);
    animation: floatingWaPulse 3s infinite;
}

.floating-wa:hover {
    background: #20ba5a;
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.55);
}

.floating-call {
    background: linear-gradient(135deg, #0B5D34 0%, #128C4F 100%);
    box-shadow: 0 8px 24px rgba(11, 93, 52, 0.38);
}

.floating-call:hover {
    background: linear-gradient(135deg, #063A20 0%, #0B5D34 100%);
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 12px 28px rgba(11, 93, 52, 0.55);
}

/* Elegant Hover Tooltips */
.floating-tooltip {
    position: absolute;
    right: calc(100% + 14px);
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    background: #052916;
    color: #FFFFFF;
    padding: 7px 15px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    font-family: var(--font-heading);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(245, 166, 35, 0.35);
    transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s ease;
}

.floating-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -6px;
    transform: translateY(-50%);
    border-width: 6px 0 6px 6px;
    border-style: solid;
    border-color: transparent transparent transparent #052916;
}

.floating-btn:hover .floating-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

@keyframes floatingWaPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55);
    }

    70% {
        box-shadow: 0 0 0 14px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@media (max-width: 991.98px) {
    .floating-contact-stack {
        bottom: 85px;
        right: 18px;
        gap: 10px;
    }

    .floating-btn {
        width: 48px;
        height: 48px;
        font-size: 21px;
    }

    .floating-tooltip {
        display: none;
    }
}

@media (max-width: 991.98px) {
    .stat-number {
        font-size: 1.2rem;
    }
}


.cta-card .badge-gold-subtle {
    display: inline-block;
    white-space: normal;
    line-height: 17px;
}

/* ==========================================================================
   Photo Gallery Section & Interactive Image Popup (Lightbox)
   ========================================================================== */

.gallery-section {
    position: relative;
    background: linear-gradient(180deg, #F9FBFA 0%, #F1F6F4 100%);
}

.gallery-filter-btn {
    border: 1px solid var(--color-border);
    background: #FFFFFF;
    color: var(--color-navy);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.gallery-filter-btn:hover {
    border-color: #00A859;
    color: #00A859;
    background: #FFFFFF;
    transform: translateY(-1px);
}

.gallery-filter-btn.active {
    background: #032516;
    color: #FFFFFF;
    border-color: #032516;
    box-shadow: 0 4px 14px rgba(3, 37, 22, 0.25);
}

.gallery-card {
    border-radius: 14px;
    overflow: hidden;
    background: #FFFFFF;
    border: 1px solid rgba(11, 37, 69, 0.08);
    box-shadow: 0 6px 20px rgba(11, 37, 69, 0.06);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.gallery-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(11, 37, 69, 0.12);
}

.gallery-thumb-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 11;
    background-color: #061F13;
    cursor: pointer;
}

.gallery-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* object-position: center top; */
    display: block;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-thumb-wrapper:hover .gallery-thumb-img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(3, 21, 13, 0.15) 0%, rgba(3, 21, 13, 0.8) 100%);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.35s ease;
    z-index: 2;
}

.gallery-thumb-wrapper:hover .gallery-overlay {
    opacity: 1;
}

.gallery-zoom-badge {
    background: rgba(255, 255, 255, 0.95);
    color: var(--color-navy);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.82rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
    transform: translateY(10px);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.gallery-thumb-wrapper:hover .gallery-zoom-badge {
    transform: translateY(0);
}

.gallery-category-pill {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(3, 21, 13, 0.88);
    backdrop-filter: blur(6px);
    color: #D4AF37;
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
    z-index: 3;
    border: 1px solid rgba(212, 175, 55, 0.4);
    pointer-events: none;
}

.gallery-card-body {
    padding: 1.25rem 1.25rem 1.4rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.gallery-card-title {
    font-size: 1.08rem;
    line-height: 1.35;
}

.gallery-card-desc {
    line-height: 1.5;
}

/* Lightbox Modal Popup Styles */
.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 1rem;
}

.gallery-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.gallery-lightbox-overlay {
    position: absolute;
    inset: 0;
    background: rgba(2, 14, 9, 0.94);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    cursor: pointer;
}

.gallery-lightbox-dialog {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1000px;
    max-height: 94vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: auto;
}

.gallery-lightbox-topbar {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0.5rem 0.8rem;
    color: #FFFFFF;
}

.gallery-lightbox-counter {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
    background: rgba(255, 255, 255, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
}

.gallery-lightbox-close {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    cursor: pointer;
    transition: all 0.25s ease;
}

.gallery-lightbox-close:hover {
    background: #E63946;
    border-color: #E63946;
    color: #FFFFFF;
    transform: rotate(90deg);
}

.gallery-lightbox-body {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 240px;
}

.gallery-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #FFFFFF;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 5;
    backdrop-filter: blur(6px);
}

.gallery-lightbox-prev {
    left: 8px;
}

.gallery-lightbox-next {
    right: 8px;
}

.gallery-lightbox-nav:hover {
    background: #00A859;
    border-color: #00A859;
    color: #FFFFFF;
    transform: translateY(-50%) scale(1.12);
}

.gallery-lightbox-media {
    max-width: 860px;
    max-height: 68vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    background: #000000;
}

.gallery-lightbox-img {
    max-width: 100%;
    max-height: 68vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.7);
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-lightbox-spinner {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
    transition: opacity 0.2s ease;
}

.gallery-lightbox-caption {
    width: 100%;
    max-width: 860px;
    text-align: center;
    padding: 0.85rem 1rem 0;
}

.gallery-caption-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
}

.gallery-caption-desc {
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.45;
}

@media (max-width: 767.98px) {
    .gallery-lightbox-dialog {
        max-height: 96vh;
    }

    .gallery-lightbox-media {
        max-height: 55vh;
    }

    .gallery-lightbox-img {
        max-height: 55vh;
    }

    .gallery-lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .gallery-lightbox-prev {
        left: -4px;
    }

    .gallery-lightbox-next {
        right: -4px;
    }

    .gallery-caption-title {
        font-size: 1rem;
    }

    .gallery-caption-desc {
        font-size: 0.8rem;
    }
}

/* ==========================================================================
   Photo Gallery Section & Interactive Image Popup (Lightbox)
   ========================================================================== */

.gallery-section {
    position: relative;
    background: linear-gradient(180deg, #F9FBFA 0%, #F1F6F4 100%);
}

.gallery-filter-btn {
    border: 1px solid var(--color-border);
    background: #FFFFFF;
    color: var(--color-navy);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.gallery-filter-btn:hover {
    border-color: #00A859;
    color: #00A859;
    background: #FFFFFF;
    transform: translateY(-1px);
}

.gallery-filter-btn.active {
    background: #032516;
    color: #FFFFFF;
    border-color: #032516;
    box-shadow: 0 4px 14px rgba(3, 37, 22, 0.25);
}

.gallery-card {
    border-radius: 14px;
    overflow: hidden;
    background: #FFFFFF;
    border: 1px solid rgba(11, 37, 69, 0.08);
    box-shadow: 0 6px 20px rgba(11, 37, 69, 0.06);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.gallery-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(11, 37, 69, 0.12);
}

.gallery-thumb-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 11;
    background-color: #061F13;
    cursor: pointer;
}

.gallery-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* object-position: center top; */
    display: block;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-thumb-wrapper:hover .gallery-thumb-img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(3, 21, 13, 0.15) 0%, rgba(3, 21, 13, 0.8) 100%);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.35s ease;
    z-index: 2;
}

.gallery-thumb-wrapper:hover .gallery-overlay {
    opacity: 1;
}

.gallery-zoom-badge {
    background: rgba(255, 255, 255, 0.95);
    color: var(--color-navy);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.82rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
    transform: translateY(10px);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.gallery-thumb-wrapper:hover .gallery-zoom-badge {
    transform: translateY(0);
}

.gallery-category-pill {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(3, 21, 13, 0.88);
    backdrop-filter: blur(6px);
    color: #D4AF37;
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
    z-index: 3;
    border: 1px solid rgba(212, 175, 55, 0.4);
    pointer-events: none;
}

.gallery-card-body {
    padding: 1.25rem 1.25rem 1.4rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.gallery-card-title {
    font-size: 1.08rem;
    line-height: 1.35;
}

.gallery-card-desc {
    line-height: 1.5;
}

/* Lightbox Modal Popup Styles */
.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 1rem;
}

.gallery-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.gallery-lightbox-overlay {
    position: absolute;
    inset: 0;
    background: rgba(2, 14, 9, 0.94);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    cursor: pointer;
}

.gallery-lightbox-dialog {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1000px;
    max-height: 94vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: auto;
}

.gallery-lightbox-topbar {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0.5rem 0.8rem;
    color: #FFFFFF;
}

.gallery-lightbox-counter {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
    background: rgba(255, 255, 255, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
}

.gallery-lightbox-close {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    cursor: pointer;
    transition: all 0.25s ease;
}

.gallery-lightbox-close:hover {
    background: #E63946;
    border-color: #E63946;
    color: #FFFFFF;
    transform: rotate(90deg);
}

.gallery-lightbox-body {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 240px;
}

.gallery-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #FFFFFF;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 5;
    backdrop-filter: blur(6px);
}

.gallery-lightbox-prev {
    left: 8px;
}

.gallery-lightbox-next {
    right: 8px;
}

.gallery-lightbox-nav:hover {
    background: #00A859;
    border-color: #00A859;
    color: #FFFFFF;
    transform: translateY(-50%) scale(1.12);
}

.gallery-lightbox-media {
    max-width: 860px;
    max-height: 68vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    background: #000000;
}

.gallery-lightbox-img {
    max-width: 100%;
    max-height: 68vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.7);
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-lightbox-spinner {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
    transition: opacity 0.2s ease;
}

.gallery-lightbox-caption {
    width: 100%;
    max-width: 860px;
    text-align: center;
    padding: 0.85rem 1rem 0;
}

.gallery-caption-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
}

.gallery-caption-desc {
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.45;
}

@media (max-width: 767.98px) {
    .gallery-lightbox-dialog {
        max-height: 96vh;
    }

    .gallery-lightbox-media {
        max-height: 55vh;
    }

    .gallery-lightbox-img {
        max-height: 55vh;
    }

    .gallery-lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .gallery-lightbox-prev {
        left: -4px;
    }

    .gallery-lightbox-next {
        right: -4px;
    }

    .gallery-caption-title {
        font-size: 1rem;
    }

    .gallery-caption-desc {
        font-size: 0.8rem;
    }
}
