/* ==========================================================================
   MICHAEL SPEICHLER - ADVANCED PHYSIOTHERAPY CLINIC (HARISH)
   Design System: Original Minimalist Luxury + Dark Mode Engine
   ========================================================================== */

:root {
    --primary-color: #0F2027; /* Deep elegant dark blue/black */
    --secondary-color: #203A43; /* Navy/Teal */
    --accent-color: #C5A059; /* Gold */
    --accent-hover: #D4AF37;
    --text-color: #333333;
    --text-light: #666666;
    --bg-light: #F9FAFB;
    --white: #ffffff;
    --font-heading: 'Heebo', sans-serif;
    --font-body: 'Assistant', sans-serif;
    --transition: all 0.3s ease;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --whatsapp-green: #25D366;
    --whatsapp-green-hover: #1EBE5D;
    --whatsapp-green-active: #169c4b;
}

/* ==========================================================================
   Dark Mode Engine (Oceanic Obsidian / Gold)
   ========================================================================== */
[data-theme="dark"] {
    --primary-color: #FFFFFF;
    --secondary-color: #94A3B8;
    --text-color: #CBD5E1;
    --text-light: #94A3B8;
    --bg-light: #0D181F;
    --white: #0A1217;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] body {
    background-color: var(--white);
    color: var(--text-color);
}

[data-theme="dark"] .hero {
    background: linear-gradient(135deg, #0A1217 0%, #0E1A22 60%, #12232D 100%);
}

[data-theme="dark"] .navbar {
    background: rgba(10, 18, 23, 0.95);
    box-shadow: 0 2px 15px rgba(0,0,0,0.4);
}

[data-theme="dark"] .logo img {
    filter: brightness(1) invert(0) !important;
}

[data-theme="dark"] .nav-links a {
    color: #CBD5E1;
}

[data-theme="dark"] .mobile-menu-btn {
    color: #FFFFFF;
}

[data-theme="dark"] .treatment-card,
[data-theme="dark"] .stat-item,
[data-theme="dark"] .contact-card,
[data-theme="dark"] .contact-form-card,
[data-theme="dark"] .legal-card,
[data-theme="dark"] .specialty-block {
    background: #122129;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.06);
}

[data-theme="dark"] .hero-portrait-card {
    border-color: rgba(255,255,255,0.1);
    background: #122129;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

[data-theme="dark"] .timeline-content {
    background: #122129;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.06);
}

[data-theme="dark"] .timeline-number {
    border-color: #122129;
    background-color: #1A3340;
    color: var(--accent-color);
}

[data-theme="dark"] .accordion-item {
    border-color: #1C313D;
}

[data-theme="dark"] .accordion-header {
    background: #0D181F;
    color: #FFFFFF;
}

[data-theme="dark"] .accordion-header:hover {
    background: #152630;
}

[data-theme="dark"] .accordion-item.active .accordion-header {
    background: #1A3442;
    color: var(--accent-color);
}

[data-theme="dark"] .accordion-body {
    background: #122129;
}

[data-theme="dark"] .form-control {
    background-color: #0D181F;
    border-color: #1C313D;
    color: #FFFFFF;
}

[data-theme="dark"] .form-control:focus {
    border-color: var(--accent-color);
}

[data-theme="dark"] .badge {
    background: rgba(255,255,255,0.08);
    color: #FFFFFF;
}

/* ==========================================================================
   Base Styles
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-align: start;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-color);
}

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

ul {
    list-style: none;
}

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

.section-padding {
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

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

.bg-dark {
    background-color: var(--primary-color);
    color: #ffffff;
}

.text-white {
    color: #ffffff !important;
}

.text-light {
    color: #cccccc;
}

/* Typography */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.section-title span {
    color: var(--accent-color);
}

.bg-dark .section-title {
    color: #ffffff;
}

.section-tag {
    display: inline-block;
    color: var(--accent-color);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 40px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    text-align: center;
}

.btn-primary {
    background-color: #0F2027;
    color: #ffffff;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    box-shadow: var(--shadow);
}

[data-theme="dark"] .btn-primary {
    background-color: var(--accent-color);
    color: #0A1217;
}

[data-theme="dark"] .btn-primary:hover {
    background-color: var(--accent-hover);
}

.btn-gold {
    background-color: var(--accent-color);
    color: #ffffff;
}

.btn-gold:hover {
    background-color: var(--accent-hover);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

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

.btn-outline:hover {
    background-color: var(--accent-color);
    color: #ffffff;
}

/* ==========================================================================
   WhatsApp Brand Specific Styling (#25D366)
   ========================================================================== */
.btn-whatsapp {
    background-color: var(--whatsapp-green) !important;
    border-color: var(--whatsapp-green) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.38) !important;
    font-weight: 700 !important;
    transition: var(--transition) !important;
}

.btn-whatsapp i {
    color: #ffffff !important;
}

.btn-whatsapp:hover {
    background-color: var(--whatsapp-green-hover) !important;
    border-color: var(--whatsapp-green-hover) !important;
    color: #ffffff !important;
    box-shadow: 0 6px 22px rgba(37, 211, 102, 0.52) !important;
    transform: translateY(-2px);
}

.btn-whatsapp:active {
    background-color: var(--whatsapp-green-active) !important;
    border-color: var(--whatsapp-green-active) !important;
    transform: translateY(0);
}

[data-theme="dark"] .btn-whatsapp {
    background-color: var(--whatsapp-green) !important;
    border-color: var(--whatsapp-green) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 18px rgba(37, 211, 102, 0.45) !important;
}

[data-theme="dark"] .btn-whatsapp:hover {
    background-color: var(--whatsapp-green-hover) !important;
    border-color: var(--whatsapp-green-hover) !important;
    color: #ffffff !important;
}

/* Compact Header WhatsApp Action (Elegant, non-overpowering) */
.btn-header-wa {
    padding: 7px 14px !important;
    font-size: 0.88rem !important;
    border-radius: 50px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    box-shadow: 0 2px 10px rgba(37, 211, 102, 0.28) !important;
}

.btn-header-wa i {
    font-size: 1.15rem !important;
    margin-inline-end: 0 !important;
}

.btn i {
    margin-inline-end: 8px;
}

.btn-lg {
    padding: 15px 35px;
    font-size: 1.2rem;
}

/* ==========================================================================
   Navbar
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
    padding: 15px 0;
}

.navbar.scrolled {
    padding: 10px 0;
}

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

.logo img {
    height: 50px;
    width: auto;
    filter: invert(10%) sepia(21%) saturate(2331%) hue-rotate(185deg) brightness(20%) contrast(98%);
    transition: var(--transition);
}

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

.nav-links a {
    font-weight: 600;
    font-size: 1.1rem;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    inset-inline-end: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a.active {
    color: var(--accent-color);
}

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: 1.5px solid var(--accent-color);
    width: 40px;
    height: 40px;
    border-radius: 8px;
    font-size: 1.2rem;
    color: var(--primary-color);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.mobile-menu-btn:hover {
    background: var(--accent-color);
    color: #ffffff;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Control buttons (Theme & Language) */
.lang-switch-btn,
.theme-toggle-btn {
    background: transparent;
    border: 1.5px solid var(--accent-color);
    color: var(--primary-color);
    padding: 6px 14px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle-btn {
    width: 38px;
    height: 38px;
    padding: 0;
    font-size: 1.05rem;
}

.lang-switch-btn:hover,
.theme-toggle-btn:hover {
    background-color: var(--accent-color);
    color: #ffffff;
}

/* ==========================================================================
   Mobile Menu Overlay (Full-screen Luxury Drawer)
   ========================================================================== */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(15, 32, 39, 0.98) 0%, rgba(10, 18, 23, 0.99) 100%);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    z-index: 99999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease, visibility 0.35s ease;
}

.mobile-menu-overlay.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.close-menu-btn {
    position: absolute;
    top: 25px;
    inset-inline-end: 25px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    cursor: pointer;
    transition: var(--transition);
}

.close-menu-btn:hover {
    background: var(--accent-color);
    color: #0F2027;
    transform: rotate(90deg);
}

.mobile-nav-links {
    text-align: center;
    margin-bottom: 30px;
    width: 100%;
    max-width: 320px;
}

.mobile-nav-links li {
    margin: 12px 0;
}

.mobile-nav-links a {
    color: #ffffff;
    font-size: 1.6rem;
    font-weight: 700;
    font-family: var(--font-heading);
    display: block;
    padding: 10px 16px;
    border-radius: 12px;
    transition: var(--transition);
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active {
    color: var(--accent-color);
    background: rgba(197, 160, 89, 0.15);
}

.mobile-controls {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 25px;
}

.mobile-controls .theme-toggle-btn,
.mobile-controls .lang-switch-btn {
    border-color: var(--accent-color);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   Hero Section (Luxury Two-Column with Michael's Authentic Portrait)
   ========================================================================== */
.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    padding-bottom: 40px;
    background: linear-gradient(135deg, #FFFFFF 0%, #F8FAFC 60%, #EEF2F6 100%);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 50px;
    align-items: center;
    width: 100%;
}

.hero-text-box {
    max-width: 650px;
}

.hero .subtitle {
    display: inline-block;
    background-color: var(--accent-color);
    color: #ffffff;
    padding: 6px 18px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.hero .title {
    font-size: 3.8rem;
    color: #0F2027;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero .title span {
    color: var(--accent-color);
    display: block;
}

.hero .description {
    font-size: 1.25rem;
    color: var(--text-color);
    margin-bottom: 30px;
    line-height: 1.7;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 35px;
    flex-wrap: wrap;
}

.hero-badges {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.hero-badges .badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    color: #0F2027;
    background: rgba(197, 160, 89, 0.12);
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid rgba(197, 160, 89, 0.25);
}

.hero-badges .badge i {
    color: var(--accent-color);
}

/* ==========================================================================
   Hero Insurance Highlight Card & Dynamic Marquee Ticker
   ========================================================================== */
.insurance-highlight-card {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 18px;
    padding: 12px 18px;
    background: linear-gradient(135deg, rgba(197, 160, 89, 0.15) 0%, rgba(32, 58, 67, 0.06) 100%);
    border: 1.5px solid rgba(197, 160, 89, 0.45);
    border-radius: 14px;
    max-width: 560px;
    box-shadow: 0 4px 18px rgba(197, 160, 89, 0.12);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.insurance-highlight-card::before {
    content: '';
    position: absolute;
    top: 0;
    inset-inline-start: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #C5A059, #D4AF37);
    border-radius: 4px;
}

.insurance-highlight-card:hover {
    transform: translateY(-2px);
    border-color: var(--accent-color);
    box-shadow: 0 8px 25px rgba(197, 160, 89, 0.22);
}

.insurance-card-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #C5A059 0%, #B38E46 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    box-shadow: 0 3px 10px rgba(197, 160, 89, 0.35);
}

.insurance-card-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.insurance-card-tag {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 800;
    color: #967026;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.insurance-highlight-card .insurance-note {
    font-size: 0.92rem;
    color: #1A2B32;
    line-height: 1.45;
    margin: 0;
    font-weight: 500;
}

.insurance-highlight-card .insurance-note strong {
    color: #0F2027;
    font-weight: 700;
}

/* Dark Mode for Insurance Card */
[data-theme="dark"] .insurance-highlight-card {
    background: linear-gradient(135deg, rgba(197, 160, 89, 0.16) 0%, rgba(18, 33, 41, 0.85) 100%);
    border-color: rgba(197, 160, 89, 0.45);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .insurance-card-tag {
    color: var(--accent-color);
}

[data-theme="dark"] .insurance-highlight-card .insurance-note {
    color: #E2E8F0;
}

[data-theme="dark"] .insurance-highlight-card .insurance-note strong {
    color: #FFFFFF;
}

/* ==========================================================================
   Dynamic Marquee Ticker Strip (Moves with Scroll)
   ========================================================================== */
.insurance-ticker-strip {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: linear-gradient(90deg, #0F2027 0%, #1A3442 50%, #0F2027 100%);
    border-top: 1.5px solid rgba(197, 160, 89, 0.35);
    border-bottom: 1.5px solid rgba(197, 160, 89, 0.35);
    padding: 11px 0;
    box-shadow: 0 4px 20px rgba(15, 32, 39, 0.12);
    z-index: 20;
    user-select: none;
}

[data-theme="dark"] .insurance-ticker-strip {
    background: linear-gradient(90deg, #070E12 0%, #11222B 50%, #070E12 100%);
    border-color: rgba(197, 160, 89, 0.3);
}

.insurance-ticker-wrapper {
    display: flex;
    width: 100%;
    overflow: hidden;
    direction: ltr; /* Unified layout coordinate math for smooth infinite translation */
}

.insurance-ticker-track {
    display: flex;
    width: max-content;
    white-space: nowrap;
    will-change: transform;
    animation: tickerInfiniteScroll 35s linear infinite;
}

.insurance-ticker-strip:hover .insurance-ticker-track {
    animation-play-state: paused;
}

.ticker-group {
    display: flex;
    align-items: center;
    gap: 32px;
    padding-right: 32px;
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #F8FAFC;
    font-size: 0.92rem;
    font-weight: 500;
    direction: rtl; /* Maintains natural Hebrew text flow */
}

[dir="ltr"] .ticker-item {
    direction: ltr;
}

.ticker-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #C5A059 0%, #B38E46 100%);
    color: #0F2027;
    font-weight: 800;
    font-size: 0.8rem;
    padding: 3px 12px;
    border-radius: 20px;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 8px rgba(197, 160, 89, 0.35);
    white-space: nowrap;
}

.ticker-badge i {
    font-size: 0.85rem;
}

.ticker-text {
    letter-spacing: -0.1px;
    white-space: nowrap;
}

.ticker-text strong {
    color: #FFDF87;
    font-weight: 700;
}

.ticker-star {
    color: var(--accent-color);
    font-size: 0.95rem;
    opacity: 0.75;
    margin-right: 8px;
}

@keyframes tickerInfiniteScroll {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

@media (max-width: 768px) {
    .insurance-highlight-card {
        padding: 10px 14px;
        gap: 12px;
        margin-top: 14px;
    }
    .insurance-card-icon {
        width: 34px;
        height: 34px;
        min-width: 34px;
        font-size: 1rem;
    }
    .insurance-highlight-card .insurance-note {
        font-size: 0.85rem;
    }
    .insurance-ticker-strip {
        padding: 8px 0;
    }
    .ticker-item {
        font-size: 0.84rem;
        gap: 8px;
    }
    .ticker-group {
        gap: 20px;
        padding-right: 20px;
    }
    .ticker-badge {
        font-size: 0.74rem;
        padding: 2px 8px;
    }
}

/* Hero Image Box (Michael Speichler Portrait Card) */
.hero-image-box {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-portrait-card {
    position: relative;
    width: 100%;
    max-width: 440px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(15, 32, 39, 0.12);
    border: 4px solid #ffffff;
    background: #ffffff;
    transition: var(--transition);
}

.hero-portrait-card img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    object-position: center 20%;
    display: block;
    transition: transform 0.6s ease;
}

.hero-portrait-card:hover img {
    transform: scale(1.03);
}

.hero-portrait-badge {
    position: absolute;
    bottom: 20px;
    inset-inline-start: 20px;
    background: rgba(15, 32, 39, 0.92);
    backdrop-filter: blur(10px);
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 12px;
    border-inline-start: 4px solid var(--accent-color);
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}

.hero-portrait-badge .badge-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-color);
    font-family: var(--font-heading);
    display: block;
}

.hero-portrait-badge .badge-subtitle {
    font-size: 0.9rem;
    color: #E2E8F0;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image .image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.experience-badge {
    position: absolute;
    bottom: 20px;
    inset-inline-end: 20px;
    background: #0F2027;
    color: #ffffff;
    padding: 15px 25px;
    border-radius: 10px;
    border-inline-start: 4px solid var(--accent-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.experience-badge .year {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--accent-color);
}

.about-text .name {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

[data-theme="dark"] .about-text .name {
    color: var(--accent-color);
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

/* ==========================================================================
   About Page Dedicated Layout & Typography (Haute Couture)
   ========================================================================== */
.about-page-content {
    background-color: var(--bg-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.18fr 0.82fr;
    gap: 55px;
    align-items: start;
}

@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }
}

.about-content {
    display: flex;
    flex-direction: column;
}

.about-content .section-header {
    margin-bottom: 25px;
}

.about-content .about-lead {
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 22px;
    line-height: 1.3;
    font-family: var(--font-heading);
    letter-spacing: -0.3px;
}

[data-theme="dark"] .about-content .about-lead {
    color: #ffffff;
}

.about-content p {
    font-size: 1.08rem;
    line-height: 1.85;
    color: var(--text-color);
    margin-bottom: 20px;
}

[data-theme="dark"] .about-content p {
    color: #cbd5e1;
}

/* About Specialties Callout Box */
.about-specialties-box {
    background: #ffffff;
    border-radius: 20px;
    padding: 28px 30px;
    margin: 25px 0 35px 0;
    border: 1.5px solid rgba(197, 160, 89, 0.25);
    border-inline-start: 5px solid var(--accent-color);
    box-shadow: 0 10px 30px rgba(15, 32, 39, 0.05);
}

[data-theme="dark"] .about-specialties-box {
    background: #111e24;
    border-color: rgba(197, 160, 89, 0.3);
    border-inline-start-color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.about-specialties-box h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

[data-theme="dark"] .about-specialties-box h4 {
    color: var(--accent-color);
}

.about-methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.about-method-card {
    background: rgba(197, 160, 89, 0.08);
    border: 1px solid rgba(197, 160, 89, 0.2);
    border-radius: 12px;
    padding: 10px 14px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

[data-theme="dark"] .about-method-card {
    background: rgba(197, 160, 89, 0.12);
    border-color: rgba(197, 160, 89, 0.25);
    color: #e6edf3;
}

.about-method-card:hover {
    background: rgba(197, 160, 89, 0.18);
    transform: translateY(-2px);
    border-color: var(--accent-color);
}

.about-method-card i {
    color: var(--accent-color);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.about-tail-note {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 0 !important;
}

/* Stats Container */
.stats-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 15px;
}

@media (max-width: 600px) {
    .stats-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

.stat-item {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px 20px;
    border: 1.5px solid rgba(197, 160, 89, 0.2);
    box-shadow: 0 6px 20px rgba(15, 32, 39, 0.04);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: var(--transition);
}

[data-theme="dark"] .stat-item {
    background: #111e24;
    border-color: rgba(197, 160, 89, 0.25);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.stat-item:hover {
    transform: translateY(-4px);
    border-color: var(--accent-color);
    box-shadow: 0 12px 30px rgba(197, 160, 89, 0.15);
}

.stat-item .stat-icon {
    font-size: 1.8rem;
    color: var(--accent-color);
    margin-bottom: 12px;
}

.stat-item h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 6px;
}

[data-theme="dark"] .stat-item h3 {
    color: #ffffff;
}

.stat-item p {
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 0 !important;
}

/* About Gallery */
.about-gallery {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.about-gallery .main-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: center 20%;
    border-radius: 22px;
    box-shadow: 0 15px 40px rgba(15, 32, 39, 0.1);
    border: 3px solid #ffffff;
    transition: var(--transition);
}

[data-theme="dark"] .about-gallery .main-img {
    border-color: rgba(197, 160, 89, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.about-gallery .gallery-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.about-gallery .sub-img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 10px 25px rgba(15, 32, 39, 0.08);
    border: 2.5px solid #ffffff;
    transition: var(--transition);
}

[data-theme="dark"] .about-gallery .sub-img {
    border-color: rgba(197, 160, 89, 0.25);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

.about-gallery img:hover {
    transform: scale(1.02);
}

/* ==========================================================================
   Treatments Section & Cards
   ========================================================================== */
.treatments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.treatment-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: start;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.treatment-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
    border-bottom: 3px solid var(--accent-color);
}

.treatment-card .card-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.treatment-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.treatment-card p {
    color: var(--text-color);
    font-size: 1.05rem;
    line-height: 1.65;
}

/* Detailed Specialty Showcase Cards */
.specialties-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 30px;
}

.specialty-block {
    background: #ffffff;
    padding: 45px 40px;
    border-radius: 18px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
    border-inline-start: 5px solid var(--accent-color);
    transition: var(--transition);
}

.specialty-block:hover {
    box-shadow: var(--shadow);
}

.specialty-block h3 {
    font-size: 1.85rem;
    color: var(--primary-color);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.specialty-block h3 i {
    color: var(--accent-color);
}

.specialty-block p {
    font-size: 1.12rem;
    line-height: 1.8;
    margin-bottom: 15px;
    color: var(--text-color);
}

.specialty-block ul {
    list-style-type: disc;
    padding-inline-start: 25px;
    margin: 15px 0;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
}

.specialty-block ul li {
    margin-bottom: 10px;
}

/* ==========================================================================
   Articles Reader Components (Info/Explanation Boxes)
   ========================================================================== */

.info-callout-box {
    background: rgba(197, 160, 89, 0.08);
    border-inline-start: 4px solid var(--accent-color);
    padding: 22px 26px;
    border-radius: 12px;
    margin: 25px 0;
}

[data-theme="dark"] .info-callout-box {
    background: rgba(197, 160, 89, 0.12);
}

.info-callout-box h4 {
    color: var(--primary-color);
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.caution-callout-box {
    background: rgba(239, 68, 68, 0.06);
    border-inline-start: 4px solid #ef4444;
    padding: 22px 26px;
    border-radius: 12px;
    margin: 25px 0;
}

.caution-callout-box h4 {
    color: #dc2626;
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.explanation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin: 25px 0;
}

.explanation-card {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    padding: 20px;
    border-radius: 14px;
    transition: var(--transition);
}

[data-theme="dark"] .explanation-card {
    background: #0D181F;
    border-color: #1C313D;
}

.explanation-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    border-color: var(--accent-color);
}

.explanation-card h4 {
    color: var(--primary-color);
    font-size: 1.05rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ==========================================================================
   How It Works (Timeline)
   ========================================================================== */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    inset-inline-end: 50%;
    width: 2px;
    background-color: rgba(197, 160, 89, 0.3);
    transform: translateX(50%);
}

[dir="ltr"] .timeline::before {
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    width: 50%;
    padding-inline-start: 40px;
}

.timeline-item:nth-child(even) {
    margin-inline-start: auto;
    padding-inline-start: 40px;
    padding-inline-end: 0;
    text-align: start;
}

.timeline-item:nth-child(odd) {
    margin-inline-end: auto;
    text-align: start;
    padding-inline-end: 40px;
    padding-inline-start: 0;
}

.timeline-number {
    position: absolute;
    top: 0;
    inset-inline-end: -25px;
    width: 50px;
    height: 50px;
    background-color: #0F2027;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    border: 4px solid #ffffff;
    z-index: 1;
    box-shadow: 0 0 0 4px rgba(197, 160, 89, 0.2);
}

.timeline-item:nth-child(even) .timeline-number {
    inset-inline-end: auto;
    inset-inline-start: -25px;
}

.timeline-content {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.timeline-content:hover {
    box-shadow: var(--shadow);
    transform: translateY(-5px);
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.text-link {
    color: var(--accent-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 10px;
}

.text-link:hover {
    color: var(--primary-color);
}

/* ==========================================================================
   Testimonials (Videos)
   ========================================================================== */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.video-card {
    background: #0F2027;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(15, 32, 39, 0.18);
    border: 2px solid rgba(197, 160, 89, 0.35);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.video-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(15, 32, 39, 0.28);
    border-color: var(--accent-color);
}

.video-card video {
    width: 100%;
    display: block;
    aspect-ratio: 9/16;
    object-fit: cover;
    background: #0F2027;
    cursor: pointer;
}

.video-caption {
    padding: 16px 20px;
    text-align: center;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--accent-color);
    background: #0F2027;
    border-top: 1px solid rgba(197, 160, 89, 0.2);
    margin-top: auto;
}

/* Mobile Carousel Controls (Hidden on desktop) */
.mobile-carousel-controls {
    display: none;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
}

.faq-text .lead {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.accordion-item {
    margin-bottom: 15px;
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    padding: 20px;
    background: var(--bg-light);
    border: none;
    text-align: start;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
    font-family: var(--font-heading);
}

.accordion-header:hover {
    background: #f0f0f0;
}

.accordion-header i {
    transition: transform 0.3s ease;
    color: var(--accent-color);
}

.accordion-item.active .accordion-header {
    background: #0F2027;
    color: #ffffff;
}

.accordion-item.active .accordion-header i {
    transform: rotate(180deg);
    color: #ffffff;
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    background: #ffffff;
    padding: 0;
    transition: max-height 0.3s ease;
}

.accordion-item.active .accordion-body {
    padding: 18px 20px;
}

.accordion-body-inner {
    padding: 20px 24px;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* ==========================================================================
   Contact Cards Grid & Form
   ========================================================================== */
.contact-grid,
.contact-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 50px;
    width: 100%;
}

@media (max-width: 1100px) {
    .contact-grid,
    .contact-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 640px) {
    .contact-grid,
    .contact-cards {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

.contact-card {
    background-color: #ffffff;
    padding: 35px 22px;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(15, 32, 39, 0.06);
    border: 1.5px solid rgba(197, 160, 89, 0.18);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: var(--transition);
    box-sizing: border-box;
    min-width: 0;
    overflow: hidden;
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(15, 32, 39, 0.12);
    border-color: var(--accent-color);
}

.contact-card .card-icon {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: rgba(197, 160, 89, 0.12);
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 18px;
    transition: var(--transition);
    flex-shrink: 0;
}

.contact-card:hover .card-icon {
    background: var(--accent-color);
    color: #ffffff;
    transform: scale(1.08);
}

.contact-card .card-icon .fa-whatsapp {
    color: var(--whatsapp-green);
}

.contact-card:hover .card-icon:has(.fa-whatsapp),
.contact-card:hover .card-icon i.fa-whatsapp {
    background: var(--whatsapp-green);
    color: #ffffff;
}

.contact-card h3 {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 12px;
    font-weight: 700;
}

.contact-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
}

.contact-card .contact-card-btn,
.contact-card .btn {
    width: 100%;
    max-width: 100%;
    margin-top: auto;
    padding: 12px 10px;
    font-size: 0.88rem;
    font-weight: 700;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-align: center;
    box-sizing: border-box;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    letter-spacing: -0.2px;
}

/* ==========================================================================
   Email Inquiry Form (Luxury Styled)
   ========================================================================== */
.contact-form-container {
    background: #ffffff;
    max-width: 820px;
    margin: 0 auto 65px;
    padding: 50px 45px;
    border-radius: 24px;
    box-shadow: 0 15px 45px rgba(15, 32, 39, 0.07);
    border: 1.5px solid rgba(197, 160, 89, 0.2);
    box-sizing: border-box;
}

[data-theme="dark"] .contact-form-container {
    background: #111e24;
    border-color: rgba(197, 160, 89, 0.25);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.35);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
    width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    width: 100%;
}

@media (max-width: 680px) {
    .contact-form-container {
        padding: 35px 20px;
    }
    .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    text-align: start;
}

.form-group label {
    font-weight: 700;
    font-size: 0.98rem;
    color: var(--primary-color);
    letter-spacing: 0.2px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border-radius: 12px;
    border: 1.5px solid #CBD5E1;
    background-color: #F8FAFC;
    color: var(--text-color);
    font-family: inherit;
    font-size: 1rem;
    line-height: 1.5;
    box-sizing: border-box;
    transition: var(--transition);
    outline: none;
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group select,
[data-theme="dark"] .form-group textarea {
    background-color: #0c1920;
    border-color: #243b47;
    color: #ffffff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent-color);
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(197, 160, 89, 0.18);
}

[data-theme="dark"] .form-group input:focus,
[data-theme="dark"] .form-group select:focus,
[data-theme="dark"] .form-group textarea:focus {
    background-color: #12222b;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-status {
    padding: 14px 18px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.98rem;
    text-align: center;
    margin-bottom: 10px;
}

.form-status.success {
    background: rgba(34, 197, 94, 0.12);
    color: #15803d;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.form-status.error {
    background: rgba(239, 68, 68, 0.12);
    color: #b91c1c;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* ==========================================================================
   Page Headers (Inner Pages)
   ========================================================================== */
.page-header {
    padding: 150px 0 60px;
    background: linear-gradient(135deg, #0F2027 0%, #1a3642 100%);
    color: #ffffff;
    margin-bottom: 50px;
}

.page-title {
    font-size: 3.5rem;
    margin-bottom: 15px;
    font-weight: 800;
    color: #ffffff;
}

.page-title span {
    color: var(--accent-color);
}

.page-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    color: #ffffff;
}

/* About Full Page */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-content .lead {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.stats-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 25px;
}

.stat-item {
    background-color: #ffffff;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    text-align: center;
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.about-gallery {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-img {
    width: 100%;
    border-radius: 15px;
    object-fit: cover;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.about-img:hover {
    transform: scale(1.02);
}

.main-img {
    height: 350px;
}

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

.sub-img {
    height: 250px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background: #0B161B;
    padding: 60px 0 20px;
    color: #ffffff;
}

.footer-brand {
    max-width: 400px;
}

.footer-logo {
    height: 50px;
    width: auto;
    margin-bottom: 15px;
    filter: brightness(1) invert(0);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
    text-align: start;
}

.footer h3 {
    color: #ffffff;
    font-size: 1.25rem;
    margin-bottom: 20px;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul a {
    color: #cccccc;
}

.footer-links ul a:hover {
    color: var(--accent-color);
}

.footer-contact p {
    color: #cccccc;
    margin-bottom: 10px;
}

.footer-title {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--accent-color);
}

.footer-contact-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

.credits-author-link {
    color: var(--accent-color);
    font-weight: 600;
}

.credits-author-link:hover {
    text-decoration: underline;
}

/* ==========================================================================
   Preloader
   ========================================================================== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0F2027;
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: all;
}

#preloader.fade-out {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.preloader-content {
    text-align: center;
}

.preloader-title {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 18px;
    letter-spacing: 2px;
    font-weight: 700;
    animation: pulseText 1.5s ease-in-out infinite alternate;
}

.preloader-line {
    width: 0;
    height: 2.5px;
    background-color: var(--accent-color);
    margin: 0 auto;
    border-radius: 2px;
    animation: expandLine 0.75s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes pulseText {
    0% { opacity: 0.85; transform: scale(0.97); }
    100% { opacity: 1; transform: scale(1.03); text-shadow: 0 0 25px rgba(212, 175, 55, 0.6); }
}

@keyframes expandLine {
    0% { width: 0; opacity: 0; }
    100% { width: 140px; opacity: 1; }
}

/* ==========================================================================
   Responsive Engine & Mobile Optimization
   ========================================================================== */
@media (max-width: 992px) {
    .hero-grid,
    .about-container, 
    .about-grid, 
    .faq-layout,
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-image-box {
        order: -1;
        margin-bottom: 20px;
        width: 100%;
        max-width: 100%;
        margin-inline: auto;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    [data-aos="fade-left"].hero-image-box,
    [data-aos="fade-right"].hero-image-box,
    .hero-image-box[data-aos="fade-left"],
    .hero-image-box[data-aos="fade-right"] {
        transform: translate3d(0, 20px, 0) !important;
    }

    .hero-image-box.aos-animate {
        transform: translate3d(0, 0, 0) !important;
    }

    .hero-portrait-card {
        max-width: 380px;
        width: 100%;
        margin: 0 auto;
    }

    .hero-portrait-card img {
        height: 420px;
    }

    .hero .title {
        font-size: 2.8rem;
    }
    
    .timeline::before {
        inset-inline-end: 30px;
        transform: none;
    }
    
    .timeline-item {
        width: 100%;
        padding-inline-end: 80px !important;
        padding-inline-start: 0 !important;
        text-align: start !important;
    }
    
    .timeline-number {
        inset-inline-end: 5px !important;
        inset-inline-start: auto !important;
    }

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

@media (max-width: 768px) {
    .nav-links,
    .nav-actions .btn:not(.btn-header-wa) {
        display: none;
    }

    .btn-header-wa {
        padding: 8px !important;
        width: 38px;
        height: 38px;
        min-width: 38px;
        border-radius: 50% !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-shadow: 0 2px 10px rgba(37, 211, 102, 0.3) !important;
    }

    .btn-header-wa .btn-text {
        display: none !important;
    }

    .btn-header-wa i {
        margin: 0 !important;
        font-size: 1.18rem !important;
    }
    
    .mobile-menu-btn {
        display: inline-flex;
    }
    
    .navbar {
        padding: 10px 0;
    }

    .logo img {
        height: 42px;
    }
    
    .hero {
        padding-top: 90px;
        padding-bottom: 30px;
        min-height: auto;
    }
    
    .hero .title {
        font-size: 2.2rem;
        line-height: 1.15;
    }

    .hero .description {
        font-size: 1.1rem;
        line-height: 1.6;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }
    
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
        min-height: 48px;
    }

    .hero-badges {
        gap: 8px;
    }

    .hero-badges .badge {
        font-size: 0.85rem;
        padding: 5px 10px;
    }
    
    .hero-portrait-card {
        max-width: 360px;
        width: 100%;
        margin: 0 auto;
    }

    .hero-portrait-card img {
        height: 420px;
        object-fit: cover;
        object-position: center 15%;
    }

    .hero-portrait-badge {
        bottom: 12px;
        inset-inline-start: 12px;
        padding: 8px 14px;
    }

    .hero-portrait-badge .badge-title {
        font-size: 1rem;
    }

    .hero-portrait-badge .badge-text {
        font-size: 0.8rem;
    }
    
    .section-padding {
        padding: 50px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .page-title {
        font-size: 2.2rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .contact-form-container {
        padding: 24px 16px;
        border-radius: 16px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px; /* Prevents auto-zoom on iOS */
        padding: 12px 14px;
    }

    .gallery-row,
    .stats-container,
    .treatments-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Mobile Carousel for Videos (Horizontal Scroll Snap) */
    .videos-grid.mobile-carousel {
        display: flex !important;
        flex-direction: row;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 16px;
        padding: 10px 20px 22px 20px;
        margin-inline: -15px;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .videos-grid.mobile-carousel::-webkit-scrollbar {
        display: none;
    }

    .videos-grid.mobile-carousel .video-card {
        flex: 0 0 82%;
        max-width: 82%;
        scroll-snap-align: center;
        scroll-snap-stop: always;
        margin: 0;
    }

    .mobile-carousel-controls {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 10px;
        margin-top: 15px;
    }

    .carousel-dots {
        display: flex;
        gap: 8px;
        align-items: center;
    }

    .carousel-dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: rgba(197, 160, 89, 0.35);
        border: none;
        padding: 0;
        cursor: pointer;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .carousel-dot.active {
        width: 28px;
        border-radius: 6px;
        background: var(--accent-color);
        box-shadow: 0 0 10px rgba(197, 160, 89, 0.5);
    }

    .carousel-swipe-hint {
        font-size: 0.85rem;
        color: var(--text-light);
        display: flex;
        align-items: center;
        gap: 6px;
        opacity: 0.85;
    }

    .accordion-header {
        padding: 16px 18px;
        font-size: 1rem;
    }

    .accordion-body {
        padding: 0;
        font-size: 0.95rem;
    }

    .accordion-item.active .accordion-body {
        padding: 0 18px 16px;
    }

    .faq-layout {
        gap: 30px;
    }

    .footer-content {
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero .title {
        font-size: 1.85rem;
    }

    .hero-portrait-card {
        max-width: 330px;
        width: 100%;
        margin: 0 auto;
    }

    .hero-portrait-badge {
        max-width: calc(100% - 24px);
    }

    .hero-portrait-card img {
        height: 380px;
        object-fit: cover;
        object-position: center 15%;
    }

    .lang-switch-btn,
    .theme-toggle-btn {
        padding: 4px 10px;
        font-size: 0.85rem;
    }

    .theme-toggle-btn {
        width: 34px;
        height: 34px;
    }

    .mobile-menu-btn {
        width: 36px;
        height: 36px;
        font-size: 1.05rem;
    }

    .btn-lg {
        padding: 12px 20px;
        font-size: 1.05rem;
    }

    .contact-card {
        padding: 22px 16px;
    }

    .timeline::before {
        inset-inline-end: 20px;
    }

    .timeline-item {
        padding-inline-end: 55px !important;
    }

    .timeline-number {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
        inset-inline-end: 0 !important;
    }

    .videos-grid.mobile-carousel .video-card {
        flex: 0 0 88%;
        max-width: 88%;
    }
}

/* ==========================================================================
   QUALITY ARTICLES & GUIDES SECTION - CATEGORY NAVIGATION & DEDICATED READER
   ========================================================================== */

/* Category Navigation Hero */
.articles-category-hero {
    max-width: 1000px;
    margin: 0 auto 44px auto;
    text-align: center;
    background: linear-gradient(135deg, rgba(15, 32, 39, 0.03) 0%, rgba(197, 160, 89, 0.05) 100%);
    border: 1px solid rgba(197, 160, 89, 0.18);
    border-radius: 24px;
    padding: 32px 30px 26px;
    box-shadow: 0 4px 24px rgba(15, 32, 39, 0.04);
}

[data-theme="dark"] .articles-category-hero {
    background: linear-gradient(135deg, rgba(18, 33, 41, 0.6) 0%, rgba(197, 160, 89, 0.06) 100%);
    border-color: rgba(197, 160, 89, 0.22);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

.category-nav-heading {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 22px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    opacity: 0.8;
}

[data-theme="dark"] .category-nav-heading {
    color: var(--accent-color);
    opacity: 0.9;
}

/* Category Filter Chips (Quality Tabs) */
.articles-filter-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 18px;
}

/* Article Count Indicator */
.articles-count-indicator {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    color: var(--text-light);
    font-weight: 500;
    margin-top: 4px;
    padding: 5px 12px;
    background: rgba(197, 160, 89, 0.08);
    border-radius: 20px;
    border: 1px solid rgba(197, 160, 89, 0.15);
}

[data-theme="dark"] .articles-count-indicator {
    background: rgba(197, 160, 89, 0.1);
    color: #94a3b8;
}

.articles-filter-btn {
    background: var(--white);
    border: 1.5px solid rgba(15, 32, 39, 0.14);
    color: var(--text-color);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.93rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: inherit;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    white-space: nowrap;
}

[data-theme="dark"] .articles-filter-btn {
    background: #122129;
    border-color: rgba(255, 255, 255, 0.12);
    color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.articles-filter-btn:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    transform: translateY(-2px);
}

.articles-filter-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(15, 32, 39, 0.22);
}

[data-theme="dark"] .articles-filter-btn.active {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: #0F2027;
}

/* Catalog Grid & Cards */
.articles-catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px;
    margin-bottom: 40px;
}

.article-summary-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(15, 32, 39, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    cursor: pointer;
}

[data-theme="dark"] .article-summary-card {
    background: #122129;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.article-summary-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(197, 160, 89, 0.18);
    border-color: rgba(197, 160, 89, 0.45);
}

.article-card-media {
    position: relative;
    height: 210px;
    overflow: hidden;
}

.article-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.article-summary-card:hover .article-card-media img {
    transform: scale(1.06);
}

.article-category-badge {
    position: absolute;
    top: 14px;
    inset-inline-start: 14px;
    background: rgba(15, 32, 39, 0.88);
    color: #ffffff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 700;
    backdrop-filter: blur(6px);
    border: 1px solid rgba(197, 160, 89, 0.4);
}

.article-card-content {
    padding: 24px 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.article-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

.article-card-meta i {
    color: var(--accent-color);
}

.article-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    line-height: 1.4;
    transition: var(--transition);
}

[data-theme="dark"] .article-card-title {
    color: #ffffff;
}

.article-summary-card:hover .article-card-title {
    color: var(--accent-color);
}

.article-card-excerpt {
    font-size: 0.95rem;
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
    opacity: 0.9;
}

.article-read-btn {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--accent-color);
    background: rgba(197, 160, 89, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid rgba(197, 160, 89, 0.25);
    transition: var(--transition);
}

.article-summary-card:hover .article-read-btn {
    background: var(--accent-color);
    color: #0F2027;
    border-color: var(--accent-color);
}

/* ==========================================================================
   DEDICATED SINGLE-ARTICLE READER VIEW
   ========================================================================== */

#articlesReaderView {
    display: none;
    max-width: 900px;
    margin: 0 auto;
    animation: fadeInReader 0.4s ease forwards;
}

@keyframes fadeInReader {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Sticky Reader Top Bar */
.reader-top-bar {
    position: sticky;
    top: 85px;
    z-index: 20;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(197, 160, 89, 0.3);
    border-radius: 30px;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    box-shadow: 0 6px 20px rgba(15, 32, 39, 0.08);
}

[data-theme="dark"] .reader-top-bar {
    background: rgba(18, 33, 41, 0.95);
    border-color: rgba(197, 160, 89, 0.35);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.reader-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-color);
    color: #ffffff;
    border: none;
    padding: 8px 18px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.92rem;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.reader-back-btn:hover {
    background: var(--accent-color);
    color: #0F2027;
    transform: translateX(4px);
}

[data-theme="dark"] .reader-back-btn {
    background: var(--accent-color);
    color: #0F2027;
}

.reader-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.reader-font-btn {
    background: none;
    border: 1px solid rgba(15, 32, 39, 0.15);
    color: var(--text-color);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
}

[data-theme="dark"] .reader-font-btn {
    border-color: rgba(255, 255, 255, 0.2);
    color: #e6edf3;
}

.reader-font-btn:hover,
.reader-font-btn.active {
    background: var(--accent-color);
    color: #0F2027;
    border-color: var(--accent-color);
}

/* Full Article Container inside Reader */
.article-reading-container {
    background: var(--white);
    border-radius: 24px;
    padding: 50px 55px;
    box-shadow: 0 12px 40px rgba(15, 32, 39, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
}

[data-theme="dark"] .article-reading-container {
    background: #122129;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.article-reading-header {
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding-bottom: 22px;
}

[data-theme="dark"] .article-reading-header {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.article-reading-header .eyebrow-tag {
    display: inline-block;
    color: var(--accent-color);
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.article-reading-header h2 {
    font-size: 2.15rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.35;
    margin-bottom: 14px;
}

[data-theme="dark"] .article-reading-header h2 {
    color: #ffffff;
}

.article-meta-row {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.92rem;
    color: var(--text-light);
    flex-wrap: wrap;
}

.article-meta-row i {
    color: var(--accent-color);
}

.article-reading-hero {
    margin: 25px 0 35px 0;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    max-height: 390px;
}

.article-reading-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Reading Body Typography & Readability */
.article-reading-body {
    font-size: 1.15rem;
    line-height: 1.95;
    color: #2d3748;
    font-weight: 400;
}

[data-theme="dark"] .article-reading-body {
    color: #e2e8f0;
}

.article-reading-body.font-large {
    font-size: 1.28rem;
    line-height: 2.05;
}

.article-reading-body.font-small {
    font-size: 1.05rem;
    line-height: 1.85;
}

.article-reading-body .lead {
    font-size: 1.28rem;
    line-height: 1.85;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 25px;
}

[data-theme="dark"] .article-reading-body .lead {
    color: var(--accent-color);
}

.article-reading-body h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 38px 0 16px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

[data-theme="dark"] .article-reading-body h3 {
    color: #ffffff;
}

.article-reading-body h3 i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

.article-reading-body p {
    margin-bottom: 20px;
}

.article-reading-body ul, 
.article-reading-body ol {
    margin: 15px 0 25px 0;
    padding-inline-start: 25px;
}

.article-reading-body li {
    margin-bottom: 10px;
    line-height: 1.8;
}

/* Callout Boxes */
.takeaways-box {
    background: rgba(197, 160, 89, 0.08);
    border-inline-start: 4px solid var(--accent-color);
    border-radius: 14px;
    padding: 24px 28px;
    margin: 25px 0 35px 0;
}

[data-theme="dark"] .takeaways-box {
    background: rgba(197, 160, 89, 0.14);
}

.takeaways-box h4 {
    font-size: 1.18rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

[data-theme="dark"] .takeaways-box h4 {
    color: #ffffff;
}

.takeaways-box ul {
    margin: 0;
    padding-inline-start: 20px;
}

.takeaways-box li {
    margin-bottom: 8px;
}

.info-callout-box {
    background: #f1f5f9;
    border-inline-start: 4px solid #203A43;
    border-radius: 14px;
    padding: 24px 28px;
    margin: 30px 0;
}

[data-theme="dark"] .info-callout-box {
    background: #1a2e3b;
    border-inline-start-color: var(--accent-color);
}

.info-callout-box h4 {
    font-size: 1.18rem;
    font-weight: 700;
    color: #0F2027;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

[data-theme="dark"] .info-callout-box h4 {
    color: #ffffff;
}

.caution-callout-box {
    background: rgba(220, 53, 69, 0.07);
    border-inline-start: 4px solid #dc3545;
    border-radius: 14px;
    padding: 24px 28px;
    margin: 30px 0;
}

[data-theme="dark"] .caution-callout-box {
    background: rgba(220, 53, 69, 0.15);
}

.caution-callout-box h4 {
    font-size: 1.18rem;
    font-weight: 700;
    color: #dc3545;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Explanation Grid / Symptom Cards */
.explanation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin: 25px 0;
}

.explanation-card {
    background: #ffffff;
    border: 1px solid rgba(15, 32, 39, 0.08);
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

/* Comparison Grid for Acupuncture vs Dry Needling */
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 25px 0;
}

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

.comparison-card {
    background: #ffffff;
    border: 1.5px solid rgba(197, 160, 89, 0.25);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 18px rgba(15, 32, 39, 0.04);
}

.comparison-card.highlight {
    border-color: var(--accent-color);
    background: linear-gradient(135deg, rgba(197, 160, 89, 0.08) 0%, rgba(255, 255, 255, 1) 100%);
}

.comparison-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.comparison-card ul {
    margin: 0;
    padding-inline-start: 20px;
}

.comparison-card li {
    font-size: 0.95rem;
    margin-bottom: 8px;
    line-height: 1.6;
}

[data-theme="dark"] .comparison-card {
    background: #0d181f;
    border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .comparison-card.highlight {
    background: linear-gradient(135deg, rgba(197, 160, 89, 0.15) 0%, #0d181f 100%);
    border-color: var(--accent-color);
}

[data-theme="dark"] .comparison-card h4 {
    color: #ffffff;
}

[data-theme="dark"] .explanation-card {
    background: #0d181f;
    border-color: rgba(255, 255, 255, 0.08);
}

.explanation-card .card-dot {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    background: var(--accent-color);
    color: #ffffff;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.explanation-card h4 {
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

[data-theme="dark"] .explanation-card h4 {
    color: #ffffff;
}

.explanation-card p {
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 0;
    color: var(--text-color);
}

/* Author Signature & Consultation Box */
.article-author-box {
    background: rgba(15, 32, 39, 0.03);
    border-radius: 18px;
    padding: 28px 32px;
    margin-top: 45px;
    display: flex;
    align-items: center;
    gap: 22px;
    border: 1px solid rgba(197, 160, 89, 0.25);
}

[data-theme="dark"] .article-author-box {
    background: #0d181f;
}

.article-author-avatar {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid var(--accent-color);
}

.article-author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-author-info h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 4px;
}

[data-theme="dark"] .article-author-info h4 {
    color: #ffffff;
}

.article-author-info p {
    font-size: 0.92rem;
    color: var(--text-light);
    margin-bottom: 12px;
    line-height: 1.5;
}

.article-author-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Related Articles Box at bottom of reader */
.related-guides-box {
    background: var(--white);
    border-radius: 20px;
    padding: 35px 40px;
    box-shadow: 0 8px 25px rgba(15, 32, 39, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.06);
    margin-top: 40px;
}

[data-theme="dark"] .related-guides-box {
    background: #122129;
    border-color: rgba(255, 255, 255, 0.08);
}

.related-guides-box h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

[data-theme="dark"] .related-guides-box h3 {
    color: #ffffff;
}

.related-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.related-card {
    background: var(--bg-light);
    border-radius: 14px;
    padding: 18px 20px;
    border: 1px solid rgba(197, 160, 89, 0.2);
    cursor: pointer;
    transition: var(--transition);
}

[data-theme="dark"] .related-card {
    background: #0d181f;
}

.related-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-3px);
}

.related-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 6px;
}

[data-theme="dark"] .related-card h4 {
    color: #ffffff;
}

.related-card p {
    font-size: 0.88rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 900px) {
    .articles-catalog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .articles-category-hero {
        padding: 22px 18px 18px;
        border-radius: 18px;
    }

    .articles-filter-wrap {
        gap: 8px;
    }

    .articles-filter-btn {
        padding: 9px 15px;
        font-size: 0.88rem;
    }

    .articles-catalog-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .article-card-media {
        height: 190px;
    }

    .reader-top-bar {
        flex-wrap: wrap;
        gap: 10px;
        padding: 10px 14px;
        border-radius: 18px;
    }

    .reader-actions {
        justify-content: flex-end;
    }

    .article-reading-container {
        padding: 30px 20px;
        border-radius: 18px;
    }

    .article-reading-header h2 {
        font-size: 1.6rem;
    }

    .article-reading-body {
        font-size: 1.08rem;
        line-height: 1.85;
    }

    .article-reading-body .lead {
        font-size: 1.15rem;
    }

    .article-author-box {
        flex-direction: column;
        text-align: center;
        padding: 22px 18px;
    }

    .article-author-actions {
        justify-content: center;
        flex-wrap: wrap;
    }
}



/* Clinic updates */
.insurance-ticker-strip{position:sticky;top:var(--nav-height,80px);z-index:50}
.reviews-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.review-card{margin:0;padding:25px;border-radius:16px;background:var(--white,#fff);box-shadow:0 8px 28px rgba(0,0,0,.08);line-height:1.7}
.review-card footer{font-weight:700;color:var(--accent-color);margin-top:16px}
@media(max-width:800px){.reviews-grid{grid-template-columns:1fr}.insurance-ticker-strip{top:65px}}

.shabbat-notice{font-size:.85rem;line-height:1.4;color:var(--text-light);margin:8px 0 14px}
/* Local clinic wordmark: independent of the original WordPress host. */
.logo img{display:block;width:235px;height:54px;object-fit:contain;filter:none!important}
.footer-logo{display:block;width:235px;height:54px;object-fit:contain;filter:none!important}
.logo{display:inline-flex;align-items:center;flex:0 0 auto;text-decoration:none}
.brand-lockup{display:inline-flex;align-items:center;gap:10px;white-space:nowrap;direction:rtl}
.brand-text{display:flex;flex-direction:column;gap:1px;line-height:1.15}
.brand-text>span{font-size:1.18rem;font-weight:800;color:var(--primary-color)}
.brand-text small{font-size:.78rem;font-weight:600;color:var(--accent-color)}
.brand-mark{display:grid;place-items:center;width:40px;height:40px;border:2px solid var(--accent-color);border-radius:50%;color:var(--accent-color);font-size:1.12rem}
.footer-brand-lockup{margin-bottom:15px}
.footer-brand-lockup .brand-text>span{color:#fff}
.footer-brand-lockup .brand-mark{color:#d7b56c;border-color:#d7b56c}
@media(max-width:800px){.about-image,.about-image .image-wrapper{min-width:0;max-width:100%}.about-container{grid-template-columns:minmax(0,1fr)}}
@media(max-width:800px){[data-aos="fade-left"],[data-aos="fade-right"]{transform:none!important;opacity:1!important}}
