/*
 * Sertaç Gündoğdu - Diş Kliniği
 * Ana Stil Dosyası
 * Renk Paleti: Beyaz Temelli + Yumuşak Siyah Aksanlar
 */

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

/* ===== CSS Variables ===== */
:root {
    --primary: #2c2c30;
    --primary-light: #38383c;
    --secondary: #3a3a3e;
    --accent: #2c2c30;
    --accent-hover: #1a1a1e;
    --accent-glow: rgba(44, 44, 48, 0.08);
    --accent-soft: rgba(44, 44, 48, 0.05);
    --white: #ffffff;
    --light: #f7f7f9;
    --light-gray: #ebebed;
    --gray: #8e8e93;
    --dark-gray: #636366;
    --text-primary: #1a1a1c;
    --text-secondary: #6e6e73;
    --text-dark: #1a1a1c;
    --text-dark-secondary: #6e6e73;
    --border: rgba(0, 0, 0, 0.06);
    --border-light: rgba(0, 0, 0, 0.08);
    --glass: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(0, 0, 0, 0.06);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    --shadow-light: 0 4px 20px rgba(0, 0, 0, 0.05);
    --shadow-accent: 0 4px 16px rgba(44, 44, 48, 0.18);
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-primary: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-secondary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ===== DARK MODE ===== */
[data-theme="dark"] {
    --primary: #f0f0f2;
    --primary-light: #e0e0e4;
    --secondary: #c8c8cc;
    --accent: #e0e0e4;
    --accent-hover: #ffffff;
    --accent-glow: rgba(255, 255, 255, 0.08);
    --accent-soft: rgba(255, 255, 255, 0.04);
    --white: #18181b;
    --light: #1e1e22;
    --light-gray: #28282c;
    --gray: #8e8e93;
    --dark-gray: #a1a1a6;
    --text-primary: #f0f0f2;
    --text-secondary: #a1a1a6;
    --text-dark: #f0f0f2;
    --text-dark-secondary: #a1a1a6;
    --border: rgba(255, 255, 255, 0.08);
    --border-light: rgba(255, 255, 255, 0.06);
    --glass: rgba(30, 30, 34, 0.85);
    --glass-border: rgba(255, 255, 255, 0.06);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-light: 0 4px 20px rgba(0, 0, 0, 0.2);
    --shadow-accent: 0 4px 16px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] body {
    background: #18181b;
    color: #f0f0f2;
}

[data-theme="dark"] .navbar-main {
    background: #1e1e22 !important;
    border-bottom-color: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .navbar-brand {
    color: #f0f0f2 !important;
}

[data-theme="dark"] .navbar-brand span {
    color: #a1a1a6 !important;
}

[data-theme="dark"] .navbar-main .nav-link {
    color: #c8c8cc !important;
}

[data-theme="dark"] .navbar-main .nav-link:hover,
[data-theme="dark"] .navbar-main .nav-link.active {
    color: #ffffff !important;
}

[data-theme="dark"] .nav-appointment-btn {
    background: linear-gradient(135deg, #e0e0e4, #ffffff, #e0e0e4) !important;
    background-size: 200% 200% !important;
    color: #18181b !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 2px 12px rgba(255, 255, 255, 0.08) !important;
}

[data-theme="dark"] .nav-appointment-btn:hover {
    background: linear-gradient(135deg, #ffffff, #e0e0e4, #ffffff) !important;
    background-size: 200% 200% !important;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.15) !important;
}

[data-theme="dark"] .nav-appointment-btn .appointment-dot {
    background: #4ade80;
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.4);
}

[data-theme="dark"] .flyout-menu {
    background: rgba(30, 30, 34, 0.98);
    border-color: rgba(255, 255, 255, 0.06);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .flyout-item {
    color: #a1a1a6;
}

[data-theme="dark"] .flyout-item:hover,
[data-theme="dark"] .flyout-item-wrap.has-sub:hover>.flyout-item {
    color: #f0f0f2;
    background: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .section-dark {
    background: #1e1e22;
}

[data-theme="dark"] .section-dark-alt {
    background: #222226;
}

[data-theme="dark"] .section-light {
    background: #18181b;
}

[data-theme="dark"] .service-card {
    background: #1e1e22;
    border-color: rgba(255, 255, 255, 0.06);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15), 0 1px 3px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .service-card:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35), 0 4px 12px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .section-dark .service-card {
    background: #222226;
}

[data-theme="dark"] .service-card-icon {
    background: #28282c;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

[data-theme="dark"] .page-header {
    background: linear-gradient(135deg, #1e1e22 0%, #28282c 100%);
}

[data-theme="dark"] .stats-section {
    background: #1e1e22;
}

[data-theme="dark"] .stat-card {
    background: #222226;
    border-color: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .blog-card {
    background: #1e1e22;
    border-color: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .blog-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .cta-section {
    background: #1e1e22;
}

[data-theme="dark"] .badge-label {
    color: #a1a1a6;
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .badge-label-dark {
    color: #a1a1a6;
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .btn-accent {
    background: #e0e0e4;
    color: #18181b;
}

[data-theme="dark"] .btn-accent:hover {
    background: #ffffff;
    color: #18181b;
}

[data-theme="dark"] .btn-accent-dark {
    background: #e0e0e4;
    color: #18181b;
}

[data-theme="dark"] .btn-outline-accent {
    border-color: rgba(255, 255, 255, 0.2);
    color: #e0e0e4;
}

[data-theme="dark"] .btn-outline-accent:hover {
    background: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .footer-section {
    background: #111113;
}

[data-theme="dark"] .accordion-button {
    background: #1e1e22 !important;
    color: #f0f0f2 !important;
}

[data-theme="dark"] .accordion-item {
    border-color: rgba(255, 255, 255, 0.08) !important;
}

[data-theme="dark"] .accordion-body {
    color: #a1a1a6 !important;
}

[data-theme="dark"] .accordion-button:not(.collapsed) {
    background: #222226 !important;
}

[data-theme="dark"] .accordion-button::after {
    filter: invert(1);
}

/* Dark Mode Toggle */
.theme-toggle {
    background: none;
    border: 1.5px solid var(--border);
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-dark);
    font-size: 1rem;
    margin-left: 12px;
}

.theme-toggle:hover {
    background: var(--light);
    border-color: var(--accent);
    color: var(--accent);
}

[data-theme="dark"] .theme-toggle {
    border-color: rgba(255, 255, 255, 0.15);
    color: #e0e0e4;
}

[data-theme="dark"] .theme-toggle:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

[data-theme="dark"] .navbar-toggler {
    color: #f0f0f2 !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
}

/* Dark Mode — Mobile Menu */
[data-theme="dark"] .mobile-menu-toggle {
    border-color: rgba(255, 255, 255, 0.15);
}

[data-theme="dark"] .mobile-menu-toggle:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .hamburger-bar {
    background: #f0f0f2;
}

@media (max-width: 991.98px) {
    [data-theme="dark"] .mobile-menu-panel {
        background: rgba(24, 24, 27, 0.97);
        box-shadow: -8px 0 40px rgba(0, 0, 0, 0.4);
    }

    [data-theme="dark"] .mobile-menu-panel .nav-item {
        border-bottom-color: rgba(255, 255, 255, 0.06);
    }

    [data-theme="dark"] .mobile-menu-panel .nav-link {
        color: #e0e0e4 !important;
    }

    [data-theme="dark"] .mobile-menu-panel .nav-link:hover {
        background: rgba(255, 255, 255, 0.05);
    }

    [data-theme="dark"] .mobile-menu-panel .nav-link.active {
        background: rgba(255, 255, 255, 0.06);
        color: #ffffff !important;
    }

    [data-theme="dark"] .mobile-submenu-toggle {
        border-left-color: rgba(255, 255, 255, 0.06);
        color: #a1a1a6;
    }

    [data-theme="dark"] .mobile-submenu-toggle:hover {
        background: rgba(255, 255, 255, 0.05);
        color: #ffffff;
    }

    [data-theme="dark"] .flyout-menu {
        background: rgba(255, 255, 255, 0.03);
    }

    [data-theme="dark"] .flyout-item {
        border-left-color: rgba(255, 255, 255, 0.06);
    }

    [data-theme="dark"] .flyout-item:hover {
        border-left-color: rgba(255, 255, 255, 0.2);
    }

    [data-theme="dark"] .flyout-item-wrap + .flyout-item-wrap .flyout-item {
        border-top-color: rgba(255, 255, 255, 0.04);
    }

    [data-theme="dark"] .mobile-search-input {
        background: rgba(255, 255, 255, 0.06);
        border-color: rgba(255, 255, 255, 0.1);
        color: #f0f0f2;
    }

    [data-theme="dark"] .mobile-search-input::placeholder {
        color: #6e6e73;
    }

    [data-theme="dark"] .mobile-search-input:focus {
        background: rgba(255, 255, 255, 0.08);
        border-color: rgba(255, 255, 255, 0.25);
        box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.05);
    }

    [data-theme="dark"] .mobile-search-icon {
        color: #a1a1a6;
    }
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

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

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

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

::selection {
    background: var(--accent);
    color: var(--white);
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f0f0f2;
}

::-webkit-scrollbar-thumb {
    background: #c0c0c4;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a0a0a4;
}

/* ===== Utility Classes ===== */
.section-padding {
    padding: 100px 0;
}

.section-dark {
    background: var(--light);
    color: var(--text-dark);
}

.section-dark-alt {
    background: #f0f0f2;
    color: var(--text-dark);
}

.section-light {
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header .badge-label {
    display: inline-block;
    padding: 8px 20px;
    background: var(--accent-soft);
    color: var(--accent);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    border: 1px solid var(--border);
}

.section-dark .section-header .badge-label {
    background: rgba(44, 44, 48, 0.06);
}

.section-header h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.section-dark .section-header h2 {
    color: var(--text-dark);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-dark-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.section-dark .section-header p {
    color: var(--text-dark-secondary);
}

/* ===== Buttons ===== */
.btn-accent {
    background: var(--accent);
    color: var(--white);
    border: none;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-family: var(--font-primary);
}

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

.btn-outline-accent {
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-family: var(--font-primary);
}

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

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.35);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-family: var(--font-primary);
}

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

/* CTA Light Button — for dark CTA backgrounds */
.btn-cta-light {
    background: #ffffff;
    color: #1a1a1c;
    border: none;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-family: var(--font-primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.btn-cta-light:hover {
    background: #f0f0f2;
    color: #1a1a1c;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* CTA Section Base */
.cta-section {
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.cta-section h2 {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 28px;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* ===== NAVBAR ===== */
.navbar-main {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    padding: 14px 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.04);
    transition: var(--transition);
}

.navbar-main .navbar-brand {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.5px;
}

.navbar-main .navbar-brand span {
    color: var(--text-dark-secondary);
}

.navbar-main .nav-link {
    color: var(--text-dark-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 16px !important;
    transition: var(--transition);
    position: relative;
}

.navbar-main .nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent);
    border-radius: 1px;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform: translateX(-50%);
}

.navbar-main .nav-link:hover::after {
    width: calc(100% - 32px);
}

.navbar-main .nav-link:hover,
.navbar-main .nav-link.active {
    color: var(--text-dark);
}

.navbar-main .nav-link.active::after {
    width: calc(100% - 32px);
}

.navbar-main .navbar-toggler {
    border: none;
    color: var(--text-dark);
    font-size: 1.5rem;
    padding: 4px 8px;
}

.navbar-main .navbar-toggler:focus {
    box-shadow: none;
}

/* ===== ANIMATED HAMBURGER ICON ===== */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: none;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
    padding: 0;
    gap: 5px;
    transition: var(--transition);
    z-index: 1102;
    position: relative;
}

.mobile-menu-toggle:hover {
    border-color: var(--accent);
    background: var(--accent-soft);
}

.hamburger-bar {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all 0.35s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    transform-origin: center;
}

.mobile-menu-toggle.active .hamburger-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.active .hamburger-bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-toggle.active .hamburger-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ===== MOBILE MENU PANEL ===== */
.mobile-menu-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1098;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.mobile-menu-backdrop.active {
    display: block;
    opacity: 1;
}

/* Desktop: panel behaves like normal flex container */
.mobile-menu-panel {
    display: flex !important;
    align-items: center;
}

/* Mobile submenu toggle - hidden on desktop */
.mobile-submenu-toggle {
    display: none;
}

/* Mobile nav-parent wrapper - transparent on desktop */
.mobile-nav-parent {
    display: contents;
}

@media (max-width: 991.98px) {
    .mobile-menu-toggle {
        display: flex;
    }

    /* Hide default Bootstrap toggler */
    .navbar-main .navbar-toggler:not(.mobile-menu-toggle) {
        display: none !important;
    }

    .mobile-menu-panel {
        position: fixed;
        top: 0;
        right: -100%;
        width: 320px;
        max-width: 85vw;
        height: 100vh;
        height: 100dvh;
        background: rgba(255, 255, 255, 0.97);
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        z-index: 1100;
        flex-direction: column;
        align-items: stretch !important;
        padding: 0;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -8px 0 40px rgba(0, 0, 0, 0.15);
        overflow-y: auto;
        overflow-x: hidden;
        overscroll-behavior: contain;
    }

    .mobile-menu-panel.open {
        right: 0;
    }

    /* Mobile nav list */
    .mobile-menu-panel .navbar-nav {
        flex-direction: column;
        width: 100%;
        padding: 72px 0 24px;
        margin: 0;
        gap: 0;
    }

    /* Nav items */
    .mobile-menu-panel .nav-item {
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    }

    .mobile-menu-panel .nav-item:last-child {
        border-bottom: none;
    }

    /* Nav links - mobile */
    .mobile-menu-panel .nav-link {
        display: flex;
        align-items: center;
        padding: 16px 24px !important;
        font-size: 0.95rem;
        font-weight: 500;
        color: var(--text-dark) !important;
        min-height: 52px;
        transition: all 0.2s ease;
        border-left: 3px solid transparent;
    }

    .mobile-menu-panel .nav-link:hover {
        background: var(--accent-soft);
        border-left-color: var(--accent);
    }

    .mobile-menu-panel .nav-link.active {
        background: var(--accent-soft);
        color: var(--accent) !important;
        border-left-color: var(--accent);
        font-weight: 600;
    }

    /* Hide desktop nav-link underline effect on mobile */
    .mobile-menu-panel .nav-link::after {
        display: none !important;
    }

    /* Hide the desktop chevron-down in nav links on mobile */
    .mobile-menu-panel .nav-link .nav-chevron {
        display: none;
    }

    /* Mobile nav parent wrapper */
    .mobile-nav-parent {
        display: flex;
        align-items: center;
    }

    .mobile-nav-parent .nav-link {
        flex: 1;
    }

    /* Mobile submenu toggle button */
    .mobile-submenu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 52px;
        min-height: 52px;
        background: none;
        border: none;
        border-left: 1px solid rgba(0, 0, 0, 0.06);
        color: var(--text-dark-secondary);
        cursor: pointer;
        transition: all 0.25s ease;
        padding: 0;
        flex-shrink: 0;
    }

    .mobile-submenu-toggle i {
        font-size: 0.75rem;
        transition: transform 0.35s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    }

    .mobile-submenu-toggle:hover {
        background: var(--accent-soft);
        color: var(--accent);
    }

    .mobile-submenu-toggle.open i {
        transform: rotate(180deg);
    }

    /* Mobile appointment button */
    .mobile-menu-panel .nav-appointment-btn {
        margin: 12px 20px 0 !important;
        text-align: center;
        justify-content: center;
        width: calc(100% - 40px);
        padding: 14px 24px !important;
        border-radius: 12px;
        border-left: none !important;
        background: var(--text-dark) !important;
        color: var(--white) !important;
    }

    .mobile-menu-panel .nav-appointment-btn:hover {
        transform: none;
        filter: brightness(1.15);
    }

    .mobile-menu-panel .nav-appointment-btn .appointment-dot {
        background: #4ade80;
    }

    .mobile-menu-panel .nav-appointment-btn i {
        color: inherit;
    }

    /* Mobile toolbar: search input + theme toggle */
    .mobile-toolbar-item {
        border-bottom: none !important;
        padding: 16px 20px 8px !important;
    }

    .mobile-toolbar {
        display: flex;
        align-items: center;
        gap: 10px;
        width: 100%;
    }

    .mobile-search-form {
        flex: 1;
        position: relative;
        display: flex;
        align-items: center;
    }

    .mobile-search-icon {
        position: absolute;
        left: 14px;
        font-size: 0.9rem;
        color: var(--text-dark-secondary);
        pointer-events: none;
        z-index: 2;
    }

    .mobile-search-input {
        width: 100%;
        padding: 11px 16px 11px 40px;
        border: 1.5px solid var(--border);
        border-radius: 12px;
        background: var(--light);
        color: var(--text-dark);
        font-size: 0.88rem;
        font-family: var(--font-secondary);
        outline: none;
        transition: all 0.25s ease;
    }

    .mobile-search-input::placeholder {
        color: var(--gray);
        font-size: 0.85rem;
    }

    .mobile-search-input:focus {
        border-color: var(--accent);
        background: var(--white);
        box-shadow: 0 0 0 3px var(--accent-soft);
    }

    .mobile-toolbar .theme-toggle {
        flex-shrink: 0;
        margin-left: 0;
    }

    /* Hide desktop utility items on mobile */
    .mobile-menu-panel .nav-item.d-flex.d-none {
        display: none !important;
    }
}

/* Appointment Button — Premium Animated CTA */
@keyframes appointmentShimmer {
    0% { background-position: 200% 50%; }
    100% { background-position: -200% 50%; }
}

@keyframes appointmentPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.4); }
    50% { box-shadow: 0 0 0 5px rgba(74, 222, 128, 0); }
}

.nav-appointment-btn {
    position: relative;
    background: var(--accent);
    color: #ffffff !important;
    border-radius: var(--radius);
    padding: 10px 24px 10px 20px !important;
    font-weight: 600;
    font-size: 0.88rem;
    font-family: var(--font-primary);
    letter-spacing: 0.3px;
    margin-left: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.nav-appointment-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.08) 40%,
        rgba(255, 255, 255, 0.15) 50%,
        rgba(255, 255, 255, 0.08) 60%,
        transparent 100%
    );
    animation: appointmentShimmer 4s ease-in-out infinite;
    pointer-events: none;
}

.nav-appointment-btn .appointment-dot {
    width: 7px;
    height: 7px;
    background: #4ade80;
    border-radius: 50%;
    display: inline-block;
    animation: appointmentPulse 2s ease-in-out infinite;
    flex-shrink: 0;
}

.nav-appointment-btn i {
    color: #ffffff;
}

.nav-appointment-btn:hover {
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    filter: brightness(1.15);
}

.nav-appointment-btn:active {
    transform: translateY(0) scale(0.97);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    filter: brightness(1);
}

/* ===== CASCADING FLYOUT MENÜ ===== */
.flyout-root {
    position: relative;
}

.flyout-menu {
    position: absolute;
    min-width: 240px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1), 0 2px 10px rgba(0, 0, 0, 0.04);
    z-index: 1000;
}

/* Level 1: drops below the nav link */
.flyout-level-1 {
    top: 100%;
    left: 0;
    transform: translateY(8px);
}

/* Sub-levels: fly out to the right */
.flyout-sub {
    top: -8px;
    left: 100%;
    transform: translateX(6px);
}

/* Show on hover */
.flyout-root:hover>.flyout-level-1,
.flyout-item-wrap.has-sub:hover>.flyout-sub {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) translateX(0);
}

/* Item wrapper */
.flyout-item-wrap {
    position: relative;
}

/* Individual item */
.flyout-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    color: var(--text-dark-secondary);
    font-size: 0.88rem;
    font-weight: 500;
    border-radius: 10px;
    transition: all 0.18s ease;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
}

.flyout-item:hover {
    background: var(--light);
    color: var(--text-dark);
}

.flyout-item i:first-child {
    font-size: 0.82rem;
    color: var(--accent);
    opacity: 0.7;
    width: 18px;
    text-align: center;
}

.flyout-arrow {
    margin-left: auto;
    font-size: 0.6rem !important;
    opacity: 0.35 !important;
    width: auto !important;
    color: var(--text-dark-secondary) !important;
}

.flyout-item-wrap.has-sub:hover>.flyout-item {
    background: var(--light);
    color: var(--text-dark);
}

.flyout-item-wrap.has-sub:hover>.flyout-item .flyout-arrow {
    opacity: 0.8 !important;
    color: var(--accent) !important;
}

/* Flyout — Mobile: Accordion style */
@media (max-width: 991.98px) {
    .flyout-menu {
        position: static;
        transform: none !important;
        opacity: 1;
        visibility: hidden;
        box-shadow: none;
        border: none;
        border-radius: 0;
        padding: 0;
        background: rgba(0, 0, 0, 0.02);
        backdrop-filter: none;
        min-width: auto;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s 0.4s;
    }

    .flyout-menu.mobile-open {
        visibility: visible;
        max-height: 2000px;
        transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s 0s;
    }

    .flyout-item {
        padding: 12px 16px 12px 20px;
        font-size: 0.88rem;
        border-left: 2px solid var(--accent-soft);
        margin-left: 0;
        white-space: normal;
    }

    .flyout-item:hover {
        border-left-color: var(--accent);
    }

    .flyout-item i:first-child {
        font-size: 0.78rem;
    }

    .flyout-arrow {
        display: none;
    }

    .flyout-item-wrap + .flyout-item-wrap .flyout-item {
        border-top: 1px solid rgba(0, 0, 0, 0.04);
    }
}

/* ===== FULL-WIDTH HERO SLIDER ===== */
.hero-slider-section {
    position: relative;
    overflow: hidden;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
}

.hero-slider-section .carousel-item {
    position: relative;
    min-height: 75vh;
}

/* Slide Background — Animated Gradient */
.hero-slide-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(135deg, rgba(50, 65, 100, 0.12) 0%, transparent 50%),
        linear-gradient(225deg, rgba(110, 75, 60, 0.09) 0%, transparent 50%),
        linear-gradient(-45deg, #1a1a1e, #121216, #22222a, #18181c, #1a1a1e);
    background-size: 100% 100%, 100% 100%, 500% 500%;
    animation: heroGradientShift 14s ease infinite;
    overflow: hidden;
}

.hero-slide-bg img {
    display: none;
}

/* Floating glow orbs */
.hero-slide-bg::before {
    content: '';
    position: absolute;
    top: -25%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(80, 100, 140, 0.12) 0%, rgba(60, 80, 120, 0.05) 40%, transparent 70%);
    pointer-events: none;
    animation: heroGlowFloat 8s ease-in-out infinite alternate;
}

.hero-slide-bg::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -8%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(130, 100, 80, 0.08) 0%, rgba(110, 85, 70, 0.04) 40%, transparent 70%);
    pointer-events: none;
    animation: heroGlowFloat 10s ease-in-out infinite alternate-reverse;
}

/* Slide gradient variations */
.carousel-item:nth-child(2) .hero-slide-bg {
    background:
        linear-gradient(160deg, rgba(70, 50, 100, 0.10) 0%, transparent 50%),
        linear-gradient(200deg, rgba(80, 110, 95, 0.08) 0%, transparent 50%),
        linear-gradient(-45deg, #18181e, #101016, #202028, #16161c, #18181e);
    background-size: 100% 100%, 100% 100%, 500% 500%;
    animation: heroGradientShift 16s ease infinite;
}

.carousel-item:nth-child(3) .hero-slide-bg {
    background:
        linear-gradient(120deg, rgba(100, 65, 55, 0.09) 0%, transparent 50%),
        linear-gradient(240deg, rgba(50, 75, 110, 0.10) 0%, transparent 50%),
        linear-gradient(-45deg, #1c1c26, #121218, #24243a, #181820, #1c1c26);
    background-size: 100% 100%, 100% 100%, 500% 500%;
    animation: heroGradientShift 18s ease infinite;
}

.carousel-item:nth-child(4) .hero-slide-bg {
    background:
        linear-gradient(145deg, rgba(60, 95, 80, 0.10) 0%, transparent 50%),
        linear-gradient(210deg, rgba(100, 75, 100, 0.08) 0%, transparent 50%),
        linear-gradient(-45deg, #191920, #111118, #222230, #18181e, #191920);
    background-size: 100% 100%, 100% 100%, 500% 500%;
    animation: heroGradientShift 15s ease infinite;
}

.carousel-item:nth-child(5) .hero-slide-bg {
    background:
        linear-gradient(170deg, rgba(80, 60, 100, 0.10) 0%, transparent 50%),
        linear-gradient(190deg, rgba(110, 95, 60, 0.08) 0%, transparent 50%),
        linear-gradient(-45deg, #1b1b24, #13131a, #232328, #19191e, #1b1b24);
    background-size: 100% 100%, 100% 100%, 500% 500%;
    animation: heroGradientShift 17s ease infinite;
}

.carousel-item:nth-child(6) .hero-slide-bg {
    background:
        linear-gradient(130deg, rgba(50, 100, 90, 0.10) 0%, transparent 50%),
        linear-gradient(230deg, rgba(100, 60, 80, 0.08) 0%, transparent 50%),
        linear-gradient(-45deg, #1a1a22, #12121a, #222234, #181820, #1a1a22);
    background-size: 100% 100%, 100% 100%, 500% 500%;
    animation: heroGradientShift 13s ease infinite;
}

@keyframes heroGradientShift {
    0% { background-position: 0% 0%, 100% 100%, 0% 50%; }
    25% { background-position: 100% 0%, 0% 100%, 50% 0%; }
    50% { background-position: 100% 100%, 0% 0%, 100% 50%; }
    75% { background-position: 0% 100%, 100% 0%, 50% 100%; }
    100% { background-position: 0% 0%, 100% 100%, 0% 50%; }
}

@keyframes heroGlowFloat {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, -20px) scale(1.15); }
}

.hero-slide-placeholder {
    width: 100%;
    height: 100%;
    background: transparent;
}

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right,
            rgba(10, 10, 12, 0.15) 0%,
            rgba(10, 10, 12, 0.05) 40%,
            transparent 70%,
            transparent 100%);
    z-index: 2;
}

/* Dark mode hero slider */
[data-theme="dark"] .hero-slide-bg {
    background:
        linear-gradient(135deg, rgba(50, 70, 110, 0.10) 0%, transparent 50%),
        linear-gradient(225deg, rgba(120, 90, 70, 0.07) 0%, transparent 50%),
        linear-gradient(-45deg, #1e1e22, #131317, #24242a, #1a1a20, #1e1e22);
    background-size: 100% 100%, 100% 100%, 500% 500%;
    animation: heroGradientShift 14s ease infinite;
}

/* Slide Content */
.hero-slide-content {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    min-height: 75vh;
    padding: 60px 0 80px;
}

.hero-slide-inner {
    max-width: 620px;
}

.hero-slide-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.82rem;
    font-weight: 500;
    margin-bottom: 28px;
    backdrop-filter: blur(10px);
    letter-spacing: 0.3px;
}

.hero-slide-badge i {
    font-size: 0.85rem;
    color: var(--white);
}

.hero-slide-title {
    font-family: var(--font-primary);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1.5px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.hero-slide-desc {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 500px;
}

.hero-slide-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* Hero Buttons */
.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: var(--white);
    color: var(--text-dark);
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    font-family: var(--font-primary);
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-hero-primary:hover {
    background: var(--light-gray);
    color: var(--text-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    font-family: var(--font-primary);
    transition: var(--transition);
    cursor: pointer;
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--white);
    transform: translateY(-2px);
}

/* Slide Animation */
.hero-slider-section .carousel-item .hero-slide-badge,
.hero-slider-section .carousel-item .hero-slide-title,
.hero-slider-section .carousel-item .hero-slide-desc,
.hero-slider-section .carousel-item .hero-slide-buttons {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.hero-slider-section .carousel-item.active .hero-slide-badge {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

.hero-slider-section .carousel-item.active .hero-slide-title {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.35s;
}

.hero-slider-section .carousel-item.active .hero-slide-desc {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.5s;
}

.hero-slider-section .carousel-item.active .hero-slide-buttons {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.65s;
}

/* Indicators */
.hero-indicators {
    bottom: 80px !important;
    z-index: 10;
    margin: 0;
    justify-content: flex-start;
    padding-left: calc((100% - 1140px) / 2 + 12px);
}

.hero-indicators button {
    width: 40px !important;
    height: 3px !important;
    border: none !important;
    border-radius: 2px !important;
    background: rgba(255, 255, 255, 0.3) !important;
    opacity: 1 !important;
    margin: 0 3px !important;
    transition: all 0.4s ease !important;
}

.hero-indicators button.active {
    background: var(--white) !important;
    width: 60px !important;
}

/* Controls */
.hero-control {
    width: 52px !important;
    height: 52px !important;
    top: 50% !important;
    transform: translateY(-50%);
    bottom: auto !important;
    background: rgba(255, 255, 255, 0.15) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    border-radius: 50% !important;
    opacity: 0.7 !important;
    transition: var(--transition) !important;
    backdrop-filter: blur(10px);
    z-index: 15 !important;
    cursor: pointer;
}

.hero-slider-section:hover .hero-control {
    opacity: 1 !important;
}

.carousel-control-prev.hero-control {
    left: 28px !important;
}

.carousel-control-next.hero-control {
    right: 28px !important;
}

.hero-control:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: rgba(255, 255, 255, 0.35) !important;
}

.hero-control-icon {
    font-size: 1.1rem;
    color: var(--white);
    line-height: 1;
}

/* Stats Bar */
.hero-stats-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 10;
}

.stat-box {
    text-align: center;
    padding: 20px 16px;
}

.stat-box-bordered {
    border-left: 1px solid rgba(255, 255, 255, 0.12);
    border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.stat-box-number {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--white);
    display: block;
    line-height: 1;
    margin-bottom: 4px;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
}

.stat-box-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== RESPONSIVE SLIDER ===== */
@media (max-width: 991px) {
    .hero-slide-title {
        font-size: 2.8rem;
    }

    .hero-slide-desc {
        font-size: 1rem;
    }

    .hero-indicators {
        padding-left: 16px;
    }

    .stat-box-number {
        font-size: 1.4rem;
    }

    .hero-slide-overlay {
        background: linear-gradient(to bottom,
                rgba(10, 10, 12, 0.5) 0%,
                rgba(10, 10, 12, 0.35) 100%);
    }
}

@media (max-width: 575px) {
    .hero-slide-title {
        font-size: 2.2rem;
        letter-spacing: -0.5px;
    }

    .hero-slide-content {
        padding: 40px 0 60px;
        min-height: 60vh;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .hero-control {
        display: none !important;
    }

    .stat-box-number {
        font-size: 1.1rem;
    }

    .stat-box-label {
        font-size: 0.65rem;
        letter-spacing: 0.5px;
    }
}

/* ===== SERVICES CARDS ===== */
.service-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    height: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.10), 0 2px 6px rgba(0, 0, 0, 0.06);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 70%, #fff));
    transform: scaleX(0.3);
    transform-origin: left;
    opacity: 0.5;
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.14), 0 6px 16px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.06);
}

.service-card:hover::before {
    transform: scaleX(1);
    opacity: 1;
}

.section-dark .service-card {
    background: var(--white);
    border-color: var(--border-light);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.07);
}

.section-dark .service-card:hover {
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.16), 0 6px 16px rgba(0, 0, 0, 0.09);
}

.service-card-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.service-card-icon i {
    font-size: 1.6rem;
    color: var(--accent);
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-card:hover .service-card-icon {
    background: var(--accent);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    transform: scale(1.05);
}

.service-card:hover .service-card-icon i {
    color: var(--white);
}

.service-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.service-card:hover h4 {
    color: var(--accent);
}

.section-dark .service-card h4 {
    color: var(--text-dark);
}

.service-card p {
    font-size: 0.92rem;
    color: var(--text-dark-secondary);
    margin-bottom: 16px;
    line-height: 1.7;
}

.section-dark .service-card p {
    color: var(--text-dark-secondary);
}

.service-card-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.service-card-link:hover {
    gap: 10px;
    color: var(--accent-hover);
}

/* ===== ABOUT SECTION ===== */
.about-image-wrapper {
    position: relative;
}

.about-image-wrapper img {
    border-radius: var(--radius-xl);
    width: 100%;
    object-fit: cover;
}

.about-badge {
    position: absolute;
    bottom: -20px;
    right: 20px;
    background: var(--accent);
    color: var(--white);
    padding: 20px 28px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow-accent);
}

.about-badge .badge-number {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 800;
    display: block;
    line-height: 1;
}

.about-badge .badge-text {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 32px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
}

.about-feature:hover {
    background: var(--light);
    transform: translateX(4px);
    border-color: var(--border-light);
}

.about-feature i {
    color: var(--accent);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.about-feature span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* ===== STATS SECTION ===== */
.stats-section {
    background: var(--white);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle, rgba(44, 44, 48, 0.03) 0%, transparent 60%);
    pointer-events: none;
}

.stat-item {
    text-align: center;
    padding: 40px 20px;
    position: relative;
    z-index: 1;
}

.stat-number {
    font-family: var(--font-primary);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--accent);
    display: block;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-dark-secondary);
    font-weight: 500;
}

/* ===== HEALTH GUIDE / BLOG CARDS ===== */
.blog-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}

.blog-card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-card-img {
    transform: scale(1.05);
}

.blog-card-img-wrapper {
    overflow: hidden;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.blog-card-body {
    padding: 28px;
}

.blog-card-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
    font-size: 0.8rem;
    color: var(--gray);
}

.blog-card-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.blog-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card p {
    font-size: 0.9rem;
    color: var(--text-dark-secondary);
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 16px;
}

.blog-card-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.blog-card-link:hover {
    gap: 10px;
    color: var(--text-dark);
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: var(--light);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    display: none;
}

.cta-section h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.cta-section p {
    font-size: 1.1rem;
    color: var(--text-dark-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
    position: relative;
    z-index: 1;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--primary);
    color: rgba(255, 255, 255, 0.6);
    padding-top: 80px;
}

[data-theme="dark"] .footer {
    background: #111113;
    color: rgba(255, 255, 255, 0.55);
}

[data-theme="dark"] .footer h5 {
    color: rgba(255, 255, 255, 0.9);
}

[data-theme="dark"] .footer-brand {
    color: #f0f0f2;
}

[data-theme="dark"] .footer-top {
    border-bottom-color: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .footer-links a,
[data-theme="dark"] .footer-contact-text a {
    color: rgba(255, 255, 255, 0.5);
}

[data-theme="dark"] .footer-links a:hover,
[data-theme="dark"] .footer-contact-text a:hover {
    color: #fff;
}

[data-theme="dark"] .footer-bottom {
    color: rgba(255, 255, 255, 0.35);
}

[data-theme="dark"] .footer-policies a {
    color: rgba(255, 255, 255, 0.4);
}

[data-theme="dark"] .footer-policies a:hover {
    color: #fff;
}

[data-theme="dark"] .footer-social a {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.5);
}

[data-theme="dark"] .footer-social a:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.footer-top {
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
    display: block;
}

.footer-brand span {
    color: rgba(255, 255, 255, 0.5);
}

.footer-description {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.7;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--white);
    border-color: var(--white);
    color: #2c2c30;
    transform: translateY(-3px);
}

.footer h5 {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.92rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
    transform: translateX(4px);
}

.footer-links a i {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-contact-item {
    display: flex;
    gap: 14px;
    margin-bottom: 20px;
}

.footer-contact-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    flex-shrink: 0;
}

.footer-contact-text {
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-contact-text strong {
    color: var(--white);
    display: block;
    margin-bottom: 2px;
    font-size: 0.85rem;
}

.footer-hours {
    list-style: none;
    padding: 0;
}

.footer-hours li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.88rem;
}

.footer-hours li:last-child {
    border-bottom: none;
}

.footer-hours .day {
    color: rgba(255, 255, 255, 0.5);
}

.footer-hours .time {
    color: var(--white);
    font-weight: 600;
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
    font-size: 0.85rem;
    color: var(--dark-gray);
    margin-top: 20px;
}

.footer-policies {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
    font-size: 0.82rem;
}

.footer-policies a {
    color: var(--dark-gray);
    text-decoration: none;
    transition: color 0.2s;
}

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

.footer-policy-sep {
    color: var(--dark-gray);
    opacity: 0.4;
    margin: 0 4px;
}

/* ===== PAGE HEADER (İç Sayfalar) ===== */
.page-header {
    background: var(--primary);
    padding: 160px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -15%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(80, 100, 140, 0.12) 0%, rgba(60, 80, 120, 0.05) 40%, transparent 70%);
    pointer-events: none;
    animation: glowFloat 8s ease-in-out infinite alternate;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(130, 100, 80, 0.08) 0%, rgba(110, 85, 70, 0.04) 40%, transparent 70%);
    pointer-events: none;
    animation: glowFloat 10s ease-in-out infinite alternate-reverse;
}

@keyframes glowFloat {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, -20px) scale(1.15); }
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.page-header .breadcrumb {
    justify-content: center;
    position: relative;
    z-index: 1;
}

.page-header .breadcrumb-item {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.page-header .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.85);
}

.page-header .breadcrumb-item a:hover {
    color: #ffffff;
}

.page-header .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.5);
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.4);
}

/* ===== FORMS ===== */
.form-control-custom {
    background: var(--light);
    border: 2px solid transparent;
    border-radius: var(--radius);
    padding: 14px 18px;
    font-size: 0.95rem;
    font-family: var(--font-secondary);
    transition: var(--transition);
    color: var(--text-dark);
}

.form-control-custom:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--white);
    box-shadow: 0 0 0 4px var(--accent-soft);
}

.form-control-custom::placeholder {
    color: var(--gray);
}

.section-dark .form-control-custom {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--border);
    color: var(--white);
}

.section-dark .form-control-custom:focus {
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.08);
}

.form-label-custom {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.section-dark .form-label-custom {
    color: var(--text-primary);
}

/* ===== CONTACT INFO CARDS ===== */
.contact-info-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    transition: var(--transition);
    height: 100%;
}

.contact-info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
}

.contact-info-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: var(--accent-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    transition: var(--transition);
}

.contact-info-icon i {
    font-size: 1.5rem;
    color: var(--accent);
}

.contact-info-card:hover .contact-info-icon {
    background: var(--accent);
}

.contact-info-card:hover .contact-info-icon i {
    color: var(--white);
}

.contact-info-card h5 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.contact-info-card p {
    font-size: 0.9rem;
    color: var(--text-dark-secondary);
    margin: 0;
}

.contact-info-card a {
    color: var(--accent);
    font-weight: 600;
}

/* ===== FLOATING CONTACT WIDGET ===== */
.fcw {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1040;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

/* --- Phone Button --- */
.fcw-phone {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: #fff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    text-decoration: none !important;
    box-shadow: 0 4px 16px rgba(59,130,246,0.4);
    transition: all 0.3s cubic-bezier(0.23,1,0.32,1);
    animation: fcwSlideIn 0.5s cubic-bezier(0.34,1.56,0.64,1) 0.8s both;
}

.fcw-phone:hover {
    transform: scale(1.12);
    box-shadow: 0 6px 24px rgba(59,130,246,0.55);
    color: #fff !important;
}

.fcw-phone i {
    animation: fcwPhoneShake 4s ease-in-out infinite;
}

@keyframes fcwPhoneShake {
    0%, 100% { transform: rotate(0deg); }
    4% { transform: rotate(15deg); }
    8% { transform: rotate(-10deg); }
    12% { transform: rotate(12deg); }
    16% { transform: rotate(-5deg); }
    20% { transform: rotate(0deg); }
}

/* --- WhatsApp Wrapper (holds bubble + button) --- */
.fcw-wa-wrap {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

/* --- Chat Bubble (CSS hover only) --- */
.fcw-bubble {
    position: absolute;
    bottom: 60px;
    right: 0;
    width: 280px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12), 0 2px 6px rgba(0,0,0,0.06);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(0.95);
    transform-origin: bottom right;
    transition: all 0.35s cubic-bezier(0.23,1,0.32,1);
    pointer-events: none;
    overflow: hidden;
}

.fcw-wa-wrap:hover .fcw-bubble,
.fcw-bubble--peek {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

/* Bubble tail arrow */
.fcw-bubble-tail {
    position: absolute;
    bottom: -6px;
    right: 22px;
    width: 14px;
    height: 14px;
    background: #fff;
    transform: rotate(45deg);
    box-shadow: 3px 3px 4px rgba(0,0,0,0.04);
}

/* Bubble close button */
.fcw-bubble-x {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 22px;
    height: 22px;
    border: none;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    color: rgba(255,255,255,0.8);
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    z-index: 2;
    padding: 0;
}

.fcw-bubble-x:hover {
    background: rgba(255,255,255,0.35);
    color: #fff;
}

/* Bubble header */
.fcw-bubble-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: linear-gradient(135deg, #075e54, #128c7e);
    color: #fff;
}

.fcw-bubble-head strong {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.2;
}

.fcw-bubble-head small {
    font-size: 0.7rem;
    opacity: 0.75;
}

.fcw-bubble-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
    position: relative;
}

.fcw-online {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 9px;
    height: 9px;
    background: #25d366;
    border-radius: 50%;
    border: 2px solid #075e54;
}

/* Bubble message */
.fcw-bubble-msg {
    padding: 12px 14px;
    font-size: 0.85rem;
    line-height: 1.5;
    color: #1e293b;
    background: #f0f2f5;
    margin: 10px;
    border-radius: 0 10px 10px 10px;
}

/* --- WhatsApp Button --- */
.fcw-wa {
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #25d366;
    color: #fff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    text-decoration: none !important;
    box-shadow: 0 4px 20px rgba(37,211,102,0.45);
    transition: all 0.3s cubic-bezier(0.23,1,0.32,1);
    animation: fcwSlideIn 0.5s cubic-bezier(0.34,1.56,0.64,1) 0.5s both;
}

.fcw-wa:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(37,211,102,0.6);
    background: #20c157;
    color: #fff !important;
}

@keyframes fcwSlideIn {
    0% { opacity: 0; transform: scale(0) translateY(20px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}

/* Dual pulse rings */
.fcw-pulse {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(37,211,102,0.35);
    animation: fcwPulse 2.8s ease-out infinite;
    pointer-events: none;
}

.fcw-pulse-2 {
    animation-delay: 1.4s;
}

@keyframes fcwPulse {
    0% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.45); opacity: 0; }
    100% { transform: scale(1.45); opacity: 0; }
}

/* --- FCW Dark Mode --- */
[data-theme="dark"] .fcw-bubble { background: #1e293b; box-shadow: 0 8px 32px rgba(0,0,0,0.4); }
[data-theme="dark"] .fcw-bubble-tail { background: #1e293b; }
[data-theme="dark"] .fcw-bubble-msg { background: #0f172a; color: #cbd5e1; }

/* ===== SCROLL REVEAL ANIMATION ===== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1) rotate(0deg);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.85);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-rotate {
    opacity: 0;
    transform: translateY(30px) rotate(-3deg);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.revealed,
.reveal-right.revealed,
.reveal-scale.revealed,
.reveal-rotate.revealed {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1) rotate(0deg);
}

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

.reveal-delay-4 {
    transition-delay: 0.4s;
}

.reveal-delay-5 {
    transition-delay: 0.5s;
}

.reveal-delay-6 {
    transition-delay: 0.6s;
}

/* ===== LOADING SPINNER ===== */
.spinner-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s, visibility 0.5s;
}

.spinner-wrapper.hidden {
    opacity: 0;
    visibility: hidden;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--border);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ===== SUCCESS / ALERT MESSAGES ===== */
.alert-custom {
    padding: 16px 24px;
    border-radius: var(--radius);
    font-size: 0.92rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
}

.alert-success-custom {
    background: rgba(52, 199, 89, 0.1);
    color: #34c759;
    border: 1px solid rgba(52, 199, 89, 0.2);
}

.alert-error-custom {
    background: rgba(255, 69, 58, 0.1);
    color: #ff453a;
    border: 1px solid rgba(255, 69, 58, 0.2);
}

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

    .hero-stats {
        gap: 20px;
    }

    .hero-stat-number {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    .mega-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        padding: 10px 0;
        background: rgba(26, 26, 46, 0.9);
        box-shadow: none;
        border-top: none;
    }

    /* Mobile panel responsive handled in main mobile section above */

    .about-features {
        grid-template-columns: 1fr;
    }

    .page-header h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 767.98px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 16px;
    }

    .hero-stat {
        flex: 1;
        min-width: 120px;
    }

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

    .section-header h2 {
        font-size: 1.8rem;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .cta-section h2 {
        font-size: 2rem;
    }

    .hero-image-wrapper {
        margin-top: 40px;
    }

    .hero-float-card {
        display: none;
    }

    .footer {
        padding-top: 60px;
    }

    .page-header {
        padding: 120px 0 60px;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .hero-description {
        font-size: 1rem;
    }

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

    .hero-buttons .btn-accent,
    .hero-buttons .btn-outline-light {
        justify-content: center;
        width: 100%;
    }
}

/* ===== SERVICE DETAIL SIDEBAR ===== */
.sidebar-sticky {
    position: sticky;
    top: 90px;
}

.sidebar-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 0;
    margin-bottom: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.sidebar-card:hover {
    box-shadow: var(--shadow);
}

.sidebar-card-header {
    padding: 22px 24px 18px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-card-header i {
    font-size: 1.1rem;
    color: var(--accent);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-soft);
    border-radius: 10px;
    flex-shrink: 0;
}

.sidebar-card-header h5 {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-dark);
    margin: 0;
}

.sidebar-card-body {
    padding: 12px;
}

/* Sibling / child service links (card style) */
.sidebar-sibling-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    margin-bottom: 4px;
    border-radius: var(--radius);
    border: 1px solid transparent;
    transition: var(--transition);
    text-decoration: none;
    color: var(--text-dark);
    position: relative;
}

.sidebar-sibling-link:hover {
    background: var(--light);
    border-color: var(--border);
    transform: translateX(4px);
    color: var(--text-dark);
}

.sidebar-sibling-link .sibling-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 12px;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.sidebar-sibling-link:hover .sibling-icon {
    background: var(--accent);
}

.sidebar-sibling-link .sibling-icon i {
    font-size: 1rem;
    color: var(--accent);
    transition: var(--transition);
}

.sidebar-sibling-link:hover .sibling-icon i {
    color: var(--white);
}

.sidebar-sibling-link .sibling-title {
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1.3;
}

.sidebar-sibling-link .sibling-arrow {
    margin-left: auto;
    font-size: 0.75rem;
    color: var(--gray);
    opacity: 0;
    transform: translateX(-6px);
    transition: var(--transition);
}

.sidebar-sibling-link:hover .sibling-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* All Services list */
.sidebar-service-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius);
    transition: var(--transition);
    text-decoration: none;
    color: var(--text-dark-secondary);
    position: relative;
    border-left: 3px solid transparent;
}

.sidebar-service-link:hover {
    background: var(--light);
    color: var(--text-dark);
    padding-left: 20px;
    border-left-color: var(--accent);
}

.sidebar-service-link.active {
    background: var(--accent-soft);
    color: var(--accent);
    font-weight: 700;
    border-left-color: var(--accent);
}

.sidebar-service-link i {
    font-size: 0.9rem;
    color: var(--accent);
    width: 22px;
    text-align: center;
    opacity: 0.6;
    transition: var(--transition);
}

.sidebar-service-link:hover i,
.sidebar-service-link.active i {
    opacity: 1;
}

.sidebar-service-link span {
    font-weight: 500;
    font-size: 0.9rem;
}

.sidebar-service-link.active span {
    font-weight: 700;
}

.sidebar-view-all {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    margin: 8px 12px 12px;
    border-radius: 50px;
    border: 2px solid var(--border);
    background: transparent;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    transition: var(--transition);
    font-family: var(--font-primary);
}

.sidebar-view-all:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-accent);
}

/* CTA Card */
.sidebar-cta {
    background: linear-gradient(145deg, #2c2c30 0%, #1a1a1e 100%);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.sidebar-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.sidebar-cta-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-cta-icon i {
    font-size: 1.6rem;
    color: rgba(255, 255, 255, 0.85);
}

.sidebar-cta h5 {
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
    font-size: 1.1rem;
    position: relative;
}

.sidebar-cta p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 24px;
    line-height: 1.6;
    position: relative;
}

.sidebar-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 24px;
    border-radius: 50px;
    background: var(--white);
    color: var(--text-dark);
    font-weight: 700;
    font-size: 0.92rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    font-family: var(--font-primary);
    position: relative;
}

.sidebar-cta-btn:hover {
    background: var(--light-gray);
    color: var(--text-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

/* Dark mode sidebar */
[data-theme="dark"] .sidebar-card {
    background: #1e1e22;
    border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .sidebar-card-header {
    border-bottom-color: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .sidebar-card-header i {
    background: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .sidebar-sibling-link:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .sidebar-sibling-link .sibling-icon {
    background: #28282c;
}

[data-theme="dark"] .sidebar-service-link:hover {
    background: rgba(255, 255, 255, 0.04);
}

[data-theme="dark"] .sidebar-service-link.active {
    background: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .sidebar-view-all {
    border-color: rgba(255, 255, 255, 0.12);
    color: #e0e0e4;
}

[data-theme="dark"] .sidebar-view-all:hover {
    background: #e0e0e4;
    border-color: #e0e0e4;
    color: #18181b;
}

[data-theme="dark"] .sidebar-cta {
    background: linear-gradient(145deg, #28282c 0%, #1a1a1e 100%);
    border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .sidebar-cta h5 {
    color: #f0f0f2;
}

[data-theme="dark"] .sidebar-cta-btn {
    background: #e0e0e4;
    color: #18181b;
}

[data-theme="dark"] .sidebar-cta-btn:hover {
    background: #ffffff;
}

/* Sidebar responsive */
@media (max-width: 991.98px) {
    .sidebar-sticky {
        position: static;
    }
}

/* ============================================================
   COOL EFFECTS & ANIMATIONS
   ============================================================ */

/* ===== SCROLL PROGRESS BAR ===== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent) 0%, #6366f1 50%, var(--accent) 100%);
    background-size: 200% 100%;
    animation: progressGradient 3s ease infinite;
    z-index: 9999;
    transition: width 0.1s linear;
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.4);
}

@keyframes progressGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Page fade-in removed for faster transitions */

/* ===== SERVICE CARD — SHIMMER & GLOW ===== */
.service-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 40%,
        rgba(255, 255, 255, 0.03) 45%,
        rgba(255, 255, 255, 0.08) 50%,
        rgba(255, 255, 255, 0.03) 55%,
        transparent 60%
    );
    transform: translateX(-100%) rotate(0deg);
    transition: none;
    pointer-events: none;
    z-index: 1;
}

.service-card:hover::after {
    animation: shimmerSweep 0.8s ease forwards;
}

@keyframes shimmerSweep {
    0% { transform: translateX(-100%) rotate(0deg); }
    100% { transform: translateX(100%) rotate(0deg); }
}

.service-card:hover {
    border-color: rgba(44, 44, 48, 0.12);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(44, 44, 48, 0.05);
}

.service-card-icon {
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service-card:hover .service-card-icon {
    transform: scale(1.1) rotate(-5deg);
}

.service-card-link i {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service-card:hover .service-card-link i {
    transform: translateX(4px);
}

/* ===== BLOG CARD — ENHANCED HOVER ===== */
.blog-card {
    transform-style: preserve-3d;
    perspective: 1000px;
}

.blog-card-img-wrapper {
    position: relative;
}

.blog-card-img-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.3) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.blog-card:hover .blog-card-img-wrapper::after {
    opacity: 1;
}

.blog-card:hover {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.03);
}

.blog-card-link i {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.blog-card:hover .blog-card-link i {
    transform: translateX(6px);
    animation: arrowBounce 0.6s ease infinite alternate;
}

@keyframes arrowBounce {
    0% { transform: translateX(4px); }
    100% { transform: translateX(8px); }
}

/* ===== BUTTON SHINE SWEEP ===== */
.btn-accent,
.btn-outline-accent,
.btn-hero-primary,
.nav-appointment-btn {
    position: relative;
    overflow: hidden;
}

.btn-accent::before,
.btn-hero-primary::before,
.nav-appointment-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.15) 50%,
        transparent 100%
    );
    transition: none;
    z-index: 1;
}

.btn-accent:hover::before,
.btn-hero-primary:hover::before,
.nav-appointment-btn:hover::before {
    animation: buttonShine 0.6s ease forwards;
}

@keyframes buttonShine {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Button Ripple (triggered by JS) */
.btn-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    transform: scale(0);
    animation: rippleEffect 0.6s ease-out forwards;
    pointer-events: none;
    z-index: 2;
}

@keyframes rippleEffect {
    0% { transform: scale(0); opacity: 1; }
    100% { transform: scale(4); opacity: 0; }
}

/* ===== STATS — BOUNCE IN ===== */
.stat-item {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.stat-item:hover {
    transform: scale(1.08);
}

.stat-number {
    background: linear-gradient(135deg, var(--accent) 0%, #4a4a52 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-theme="dark"] .stat-number {
    background: linear-gradient(135deg, #e0e0e4 0%, #a0a0a8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== SECTION HEADER — DECORATIVE LINE ===== */
.section-header h2 {
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    border-radius: 2px;
    animation: decorLineGlow 2s ease-in-out infinite;
}

@keyframes decorLineGlow {
    0%, 100% { opacity: 0.5; width: 50px; }
    50% { opacity: 1; width: 70px; }
}

/* ===== BADGE LABEL — SUBTLE FLOAT ===== */
.badge-label {
    animation: badgeFloat 3s ease-in-out infinite;
}

@keyframes badgeFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

/* ===== ABOUT SECTION — ENHANCED ===== */
.about-image-wrapper img {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), filter 0.6s ease;
}

.about-image-wrapper:hover img {
    transform: scale(1.03);
    filter: brightness(1.05);
}

.about-badge {
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.about-image-wrapper:hover .about-badge {
    transform: scale(1.08) translateY(-4px);
    box-shadow: 0 12px 30px rgba(44, 44, 48, 0.3);
}

.about-feature {
    position: relative;
    overflow: hidden;
}

.about-feature::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 0;
    background: var(--accent);
    border-radius: 2px;
    transition: height 0.3s ease;
}

.about-feature:hover::before {
    height: 100%;
}

.about-feature i {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.about-feature:hover i {
    transform: scale(1.2) rotate(-10deg);
}

/* ===== CTA SECTION — FLOATING AMBIENT SHAPES ===== */
.cta-section::before {
    display: block !important;
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(44, 44, 48, 0.04) 0%, transparent 70%);
    animation: ambientFloat1 8s ease-in-out infinite;
    pointer-events: none;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(44, 44, 48, 0.03) 0%, transparent 70%);
    animation: ambientFloat2 10s ease-in-out infinite;
    pointer-events: none;
}

@keyframes ambientFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.1); }
    66% { transform: translate(-20px, 15px) scale(0.95); }
}

@keyframes ambientFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(25px, -30px) scale(1.05); }
}

[data-theme="dark"] .cta-section::before {
    background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
}

[data-theme="dark"] .cta-section::after {
    background: radial-gradient(circle, rgba(255, 255, 255, 0.02) 0%, transparent 70%);
}

/* ===== PAGE HEADER — ANIMATED GRADIENT ===== */
.page-header {
    background: 
        linear-gradient(135deg, rgba(50, 65, 100, 0.12) 0%, transparent 50%),
        linear-gradient(225deg, rgba(110, 75, 60, 0.09) 0%, transparent 50%),
        linear-gradient(-45deg, #1a1a1e, #121216, #22222a, #18181c, #1a1a1e);
    background-size: 100% 100%, 100% 100%, 500% 500%;
    animation: gradientShift 14s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 0%, 100% 100%, 0% 50%; }
    25% { background-position: 100% 0%, 0% 100%, 50% 0%; }
    50% { background-position: 100% 100%, 0% 0%, 100% 50%; }
    75% { background-position: 0% 100%, 100% 0%, 50% 100%; }
    100% { background-position: 0% 0%, 100% 100%, 0% 50%; }
}

.page-header h1 {
    background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,0.7) 50%, #fff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleShimmer 4s ease-in-out infinite;
}

@keyframes titleShimmer {
    0% { background-position: 0% center; }
    50% { background-position: 100% center; }
    100% { background-position: 0% center; }
}

[data-theme="dark"] .page-header {
    background: 
        linear-gradient(135deg, rgba(40, 55, 90, 0.08) 0%, transparent 50%),
        linear-gradient(225deg, rgba(90, 65, 50, 0.06) 0%, transparent 50%),
        linear-gradient(-45deg, #141418, #0e0e12, #1a1a22, #121218, #141418);
    background-size: 100% 100%, 100% 100%, 500% 500%;
    animation: gradientShift 14s ease infinite;
}

/* ===== FOOTER SOCIAL — ENHANCED HOVER ===== */
.footer-social a {
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.footer-social a:hover {
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.footer-social a i {
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.footer-social a:hover i {
    transform: rotate(360deg);
}

/* Footer contact icon hover */
.footer-contact-icon {
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.footer-contact-item:hover .footer-contact-icon {
    background: rgba(255, 255, 255, 0.12);
    transform: scale(1.1) rotate(-8deg);
}

/* Footer link arrow slide */
.footer-links a i {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s;
    opacity: 0;
    transform: translateX(-4px);
}

.footer-links a:hover i {
    opacity: 1;
    transform: translateX(0);
}

/* ===== CONTACT INFO CARD — ENHANCED ===== */
.contact-info-card {
    position: relative;
    overflow: hidden;
}

.contact-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), #6366f1, var(--accent));
    background-size: 200% 100%;
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.contact-info-card:hover::before {
    transform: scaleX(1);
    animation: contactGradient 2s ease infinite;
}

@keyframes contactGradient {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.contact-info-icon i {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.contact-info-card:hover .contact-info-icon i {
    transform: rotate(360deg) scale(1.1);
}

/* ===== FORM INPUT — ENHANCED FOCUS ===== */
.form-control-custom:focus {
    box-shadow: 0 0 0 4px var(--accent-soft), 0 0 20px rgba(44, 44, 48, 0.06);
    animation: focusPulse 2s ease-in-out infinite;
}

@keyframes focusPulse {
    0%, 100% { box-shadow: 0 0 0 4px var(--accent-soft), 0 0 20px rgba(44, 44, 48, 0.06); }
    50% { box-shadow: 0 0 0 6px var(--accent-soft), 0 0 30px rgba(44, 44, 48, 0.1); }
}

/* ===== 3D TILT PERSPECTIVE (JS adds inline transforms) ===== */
.tilt-card {
    transition: transform 0.15s ease-out, box-shadow 0.3s ease;
    transform-style: preserve-3d;
    will-change: transform;
}

.tilt-card:hover {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
}

.tilt-card * {
    transform: translateZ(0);
}

/* ===== MAGNETIC BUTTON (JS controlled) ===== */
.magnetic-btn {
    transition: transform 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
    will-change: transform;
}

/* ===== STAGGER CHILDREN ANIMATION ===== */
.stagger-children > * {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.stagger-children.stagger-active > *:nth-child(1) { transition-delay: 0.05s; }
.stagger-children.stagger-active > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-children.stagger-active > *:nth-child(3) { transition-delay: 0.15s; }
.stagger-children.stagger-active > *:nth-child(4) { transition-delay: 0.2s; }
.stagger-children.stagger-active > *:nth-child(5) { transition-delay: 0.25s; }
.stagger-children.stagger-active > *:nth-child(6) { transition-delay: 0.3s; }

.stagger-children.stagger-active > * {
    opacity: 1;
    transform: translateY(0);
}

/* ===== HERO SLIDE — ZOOM BG EFFECT ===== */
.hero-slide-bg img {
    transition: transform 8s ease-out;
}

.carousel-item.active .hero-slide-bg img {
    transform: scale(1.05);
}

/* ===== SIDEBAR CARD GLASS HOVER ===== */
.sidebar-card:hover {
    box-shadow: var(--shadow), 0 0 0 1px rgba(44, 44, 48, 0.03);
    backdrop-filter: blur(4px);
}

/* ===== SERVICE DETAIL CTA STRIP ===== */
.svc-cta-strip {
    margin-top: 48px;
}
.svc-cta-strip-inner {
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 36px 40px;
    display: flex;
    align-items: center;
    gap: 32px;
    box-shadow: var(--shadow-light);
    transition: box-shadow 0.3s;
}
.svc-cta-strip-inner:hover {
    box-shadow: var(--shadow);
}
.svc-cta-text {
    flex: 1;
    min-width: 0;
}
.svc-cta-text h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.svc-cta-text h4 i {
    color: var(--accent);
    font-size: 1.2rem;
}
.svc-cta-text p {
    font-size: 0.88rem;
    color: var(--text-dark-secondary);
    margin: 0;
    line-height: 1.6;
}
.svc-cta-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}
.svc-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 22px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.88rem;
    font-family: var(--font-primary);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    border: 1.5px solid transparent;
}
.svc-cta-btn i {
    font-size: 1.05rem;
}

/* WhatsApp */
.svc-cta-whatsapp {
    background: #25d366;
    color: #fff;
    border-color: #25d366;
}
.svc-cta-whatsapp:hover {
    background: #20bd5a;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
}

/* Hemen Ara */
.svc-cta-call {
    background: #3b82f6;
    color: #fff;
    border-color: #3b82f6;
}
.svc-cta-call:hover {
    background: #2563eb;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
}

/* Randevu Al */
.svc-cta-appointment {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}
.svc-cta-appointment:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-accent);
    filter: brightness(1.15);
    color: var(--white);
}

/* Dark Mode */
[data-theme="dark"] .svc-cta-strip-inner {
    background: #1e1e22;
    border-color: rgba(255,255,255,0.06);
}
[data-theme="dark"] .svc-cta-text h4 { color: #f0f0f2; }
[data-theme="dark"] .svc-cta-text h4 i { color: #e0e0e4; }
[data-theme="dark"] .svc-cta-appointment {
    background: #e0e0e4;
    color: #18181b;
    border-color: #e0e0e4;
}
[data-theme="dark"] .svc-cta-appointment:hover {
    background: #fff;
    color: #18181b;
}

/* Responsive */
@media (max-width: 991px) {
    .svc-cta-strip-inner {
        flex-direction: column;
        text-align: center;
        padding: 28px 24px;
        gap: 20px;
    }
    .svc-cta-buttons {
        width: 100%;
        justify-content: center;
    }
}
@media (max-width: 575px) {
    .svc-cta-strip-inner { padding: 24px 20px; }
    .svc-cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    .svc-cta-btn {
        justify-content: center;
        width: 100%;
    }
}

/* ===== ACCORDION ENHANCED ===== */
.accordion-button {
    transition: all 0.3s ease !important;
}

.accordion-button:not(.collapsed) {
    transform: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.accordion-button::after {
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

.accordion-collapse {
    transition: all 0.35s ease !important;
}

/* ===== IMAGE HOVER ZOOM (global) ===== */
.img-hover-zoom {
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.img-hover-zoom img {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), filter 0.5s;
}

.img-hover-zoom:hover img {
    transform: scale(1.08);
    filter: brightness(1.05);
}

/* ===== CURSOR FOLLOW GLOW (set by JS) ===== */
.cursor-glow {
    position: fixed;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(44, 44, 48, 0.03) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s;
    opacity: 0;
}

.cursor-glow.active {
    opacity: 1;
}

[data-theme="dark"] .cursor-glow {
    background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
}

/* ===== TREATMENTS PAGE — MODERN DESIGN ===== */

/* -- Intro Section -- */
.treatments-intro {
    background: var(--white);
}
.treatments-intro-inner {
    display: flex;
    align-items: center;
    gap: 48px;
    background: var(--light);
    border-radius: var(--radius-xl);
    padding: 52px 56px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-light);
}
.treatments-intro-content {
    flex: 1;
    min-width: 0;
}
.treatments-intro-content h2 {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 16px;
}
.treatments-intro-content h2 span {
    background: linear-gradient(135deg, var(--accent), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.treatments-intro-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-dark-secondary);
    max-width: 560px;
}
.treatments-intro-stats {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex-shrink: 0;
}
.treatments-stat {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 24px;
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: var(--transition);
    min-width: 220px;
}
.treatments-stat:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 16px var(--accent-glow);
    transform: translateY(-2px);
}
.treatments-stat i {
    font-size: 1.4rem;
    color: var(--accent);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--accent-soft);
    flex-shrink: 0;
}
.treatments-stat strong {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
}
.treatments-stat span {
    font-size: 0.78rem;
    color: var(--text-dark-secondary);
}

/* -- Category Header -- */
.treatments-cat-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
    padding-bottom: 28px;
    border-bottom: 2px solid var(--border);
}
.treatments-cat-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: var(--accent);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    flex-shrink: 0;
    box-shadow: var(--shadow-accent);
}
[data-theme="dark"] .treatments-cat-icon-wrap {
    background: var(--light-gray);
    color: var(--text-dark);
    box-shadow: none;
}
.treatments-cat-header h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 4px;
}
.treatments-cat-header p {
    font-size: 0.95rem;
    color: var(--text-dark-secondary);
    margin: 0;
    line-height: 1.6;
}

/* -- Treatment Cards Grid -- */
.treatments-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* -- Treatment Card -- */
.treatment-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04);
    position: relative;
}
.treatment-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.14), 0 8px 20px rgba(0, 0, 0, 0.06);
    border-color: transparent;
    color: inherit;
    text-decoration: none;
}

/* Image */
.treatment-card-img {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--light);
}
.treatment-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.treatment-card:hover .treatment-card-img img {
    transform: scale(1.08);
}
.treatment-card-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.25) 0%, transparent 50%);
    pointer-events: none;
    transition: opacity 0.4s;
}
.treatment-card:hover .treatment-card-img-overlay {
    opacity: 0.6;
}

/* Placeholder (no image) */
.treatment-card-img-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--light) 0%, var(--light-gray) 100%);
}
.treatment-card-img-placeholder i {
    font-size: 3rem;
    color: var(--gray);
    opacity: 0.5;
    transition: var(--transition);
}
.treatment-card:hover .treatment-card-img-placeholder i {
    opacity: 0.8;
    transform: scale(1.1);
}

/* Card Body */
.treatment-card-body {
    padding: 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.treatment-card-icon-mini {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--accent-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    transition: var(--transition);
}
.treatment-card-icon-mini i {
    font-size: 1.1rem;
    color: var(--accent);
    transition: var(--transition);
}
.treatment-card:hover .treatment-card-icon-mini {
    background: var(--accent);
}
.treatment-card:hover .treatment-card-icon-mini i {
    color: var(--white);
}
.treatment-card-body h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
    transition: color 0.3s;
}
.treatment-card:hover .treatment-card-body h3 {
    color: var(--accent);
}
.treatment-card-body p {
    font-size: 0.88rem;
    color: var(--text-dark-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
    flex: 1;
}
.treatment-card-link {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    transition: gap 0.3s;
}
.treatment-card:hover .treatment-card-link {
    gap: 10px;
}

/* -- Dark Mode -- */
[data-theme="dark"] .treatments-intro { background: #18181b; }
[data-theme="dark"] .treatments-intro-inner { background: #1e1e22; border-color: rgba(255,255,255,0.06); }
[data-theme="dark"] .treatments-intro-content h2 span {
    background: linear-gradient(135deg, #e0e0e4, #fff);
    -webkit-background-clip: text; background-clip: text;
}
[data-theme="dark"] .treatments-stat { background: #222226; border-color: rgba(255,255,255,0.06); }
[data-theme="dark"] .treatments-stat i { background: rgba(255,255,255,0.06); color: var(--text-dark); }
[data-theme="dark"] .treatments-cat-header { border-bottom-color: rgba(255,255,255,0.06); }
[data-theme="dark"] .treatment-card { background: #1e1e22; border-color: rgba(255,255,255,0.06); }
[data-theme="dark"] .treatment-card:hover { border-color: rgba(255,255,255,0.12); }
[data-theme="dark"] .treatment-card-img-placeholder { background: linear-gradient(135deg, #222226, #28282c); }
[data-theme="dark"] .treatment-card-icon-mini { background: rgba(255,255,255,0.06); }
[data-theme="dark"] .treatment-card:hover .treatment-card-icon-mini { background: var(--accent); }
[data-theme="dark"] .treatment-card:hover .treatment-card-icon-mini i { color: #18181b; }

/* -- Responsive -- */
@media (max-width: 991px) {
    .treatments-intro-inner {
        flex-direction: column;
        padding: 36px 28px;
        text-align: center;
    }
    .treatments-intro-content p { margin: 0 auto; }
    .treatments-intro-stats {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    .treatments-stat { min-width: 180px; }
    .treatments-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .treatments-cat-header h2 { font-size: 1.5rem; }
}
@media (max-width: 575px) {
    .treatments-intro-inner { padding: 28px 20px; }
    .treatments-intro-content h2 { font-size: 1.6rem; }
    .treatments-intro-stats { flex-direction: column; }
    .treatments-stat { min-width: auto; width: 100%; }
    .treatments-grid { grid-template-columns: 1fr; gap: 16px; }
    .treatment-card-img { height: 170px; }
    .treatments-cat-header { flex-direction: column; text-align: center; }
}

/* ===== MOBILE: DISABLE HEAVY EFFECTS ===== */
@media (max-width: 767.98px) {
    .tilt-card {
        transform: none !important;
    }
    
    .cursor-glow {
        display: none;
    }
    
    .service-card::after {
        display: none;
    }
    
    .btn-accent::before,
    .btn-hero-primary::before,
    .nav-appointment-btn::before {
        display: none;
    }
}

/* ===== PREFERS REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .reveal, .reveal-left, .reveal-right, .reveal-scale, .reveal-rotate {
        opacity: 1;
        transform: none;
    }
    
    .scroll-progress {
        display: none;
    }
}