/* =====================================================
   MEDICAL TOURISM WEBSITE - MAIN STYLES
   Modern, Professional Design
   ===================================================== */

/* CSS Variables */
:root {
    --primary: #7bc9a6;
    --primary-dark: #5bb88f;
    --primary-light: #cbe8d5;
    --secondary: #b7e7dc;
    --secondary-dark: #9dd9cb;
    --accent: #5bb88f;
    --success: #7bc9a6;
    --warning: #cbe8d5;
    --danger: #e7b7c2;
    --pink-accent: #e7b7c2;
    --pink-light: #f5e1e6;
    --dark: #2d3748;
    --dark-light: #4a5568;
    --gray: #718096;
    --gray-light: #a0aec0;
    --light: #f8fdfb;
    --white: #ffffff;
    --border: #cbe8d5;
    --gradient-primary: linear-gradient(135deg, #7bc9a6 0%, #b7e7dc 100%);
    --gradient-hero: linear-gradient(135deg, #e8f5f0 0%, #cbe8d5 50%, #7bc9a6 100%);
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    --radius: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.3s ease;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Poppins', var(--font-sans);
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--dark);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* RTL Support */
[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

[dir="rtl"] .me-auto { margin-right: 0 !important; margin-left: auto !important; }
[dir="rtl"] .ms-auto { margin-left: 0 !important; margin-right: auto !important; }

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p { margin-bottom: 1rem; color: var(--dark); }
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }

img { max-width: 100%; height: auto; }

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Privacy Page Styles */
.privacy-hero {
    background: var(--gradient-hero);
    color: var(--dark);
    padding: 120px 0 80px;
    text-align: center;
}

.privacy-hero h1 {
    color: var(--dark);
    font-size: 3rem;
    margin-bottom: 20px;
}

.privacy-hero p {
    color: var(--gray);
    font-size: 1.2rem;
}

.privacy-content {
    padding: 80px 0;
    background: var(--light);
}

.privacy-section {
    background: white;
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.privacy-section h2 {
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 25px;
}

.privacy-list {
    color: var(--text);
    line-height: 1.8;
}

.privacy-list p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--dark);
}

.privacy-list ul {
    margin: 20px 0;
    padding-left: 25px;
}

.privacy-list li {
    margin-bottom: 12px;
    font-size: 1.05rem;
    color: var(--gray);
}

.data-category {
    margin: 30px 0;
    padding: 25px;
    background: var(--light);
    border-radius: 10px;
    border-left: 4px solid var(--primary);
}

.data-category h3 {
    color: var(--primary);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--light);
    border-radius: 10px;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary);
}

.privacy-page {
    padding: 5rem 0;
}

.privacy-page h2 {
    margin-bottom: 1rem;
}

.privacy-page p {
    margin-bottom: 2rem;
}

.privacy-page ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.privacy-page li {
    margin-bottom: 1rem;
}

.privacy-page a {
    color: var(--primary);
    text-decoration: none;
}

.privacy-page a:hover {
    color: var(--primary-dark);
}

/* =============================================
   BUTTONS — Modern & Pro
   ============================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.9rem;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.2px;
    border: 2px solid transparent;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.22s cubic-bezier(0.4,0,0.2,1),
                box-shadow 0.22s cubic-bezier(0.4,0,0.2,1),
                background 0.22s ease,
                color 0.22s ease,
                border-color 0.22s ease;
    text-decoration: none;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn i {
    font-size: 0.9em;
    flex-shrink: 0;
}

/* Shimmer sweep on hover for filled buttons */
.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.18) 50%, transparent 60%);
    transform: translateX(-100%);
    transition: transform 0.45s ease;
    pointer-events: none;
}
.btn:hover::after {
    transform: translateX(100%);
}

/* --- Primary --- */
.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #00c896 100%);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 18px rgba(0,180,130,0.30);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(0,180,130,0.40);
    color: #fff;
}
.btn-primary:active { transform: translateY(-1px); }

/* --- Secondary (ghost primary) --- */
.btn-secondary {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
    box-shadow: none;
}
.btn-secondary:hover {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 6px 20px rgba(0,120,200,0.20);
    transform: translateY(-3px);
}
.btn-secondary::after { display: none; }

/* --- White (on dark/CTA backgrounds) --- */
.btn-white {
    background: #fff;
    color: var(--primary);
    border-color: transparent;
    box-shadow: 0 4px 18px rgba(0,0,0,0.10);
}
.btn-white:hover {
    background: #f0f9f5;
    color: var(--primary);
    box-shadow: 0 8px 28px rgba(0,0,0,0.13);
    transform: translateY(-3px);
}

/* --- Outline --- */
.btn-outline {
    background: transparent;
    border-color: var(--primary);
    color: var(--primary);
}
.btn-outline:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,120,200,0.20);
}
.btn-outline::after { display: none; }

/* --- Outline white (on colored sections) --- */
.btn-outline-white {
    background: transparent;
    border-color: rgba(255,255,255,0.7);
    color: #fff;
}
.btn-outline-white:hover {
    background: #fff;
    border-color: #fff;
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}
.btn-outline-white::after { display: none; }

/* --- WhatsApp --- */
.btn-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #1aab52 100%);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 18px rgba(37,211,102,0.30);
}
.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(37,211,102,0.42);
    color: #fff;
}

/* --- Accent --- */
.btn-accent {
    background: linear-gradient(135deg, var(--accent) 0%, #3da87a 100%);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 16px rgba(74,168,125,0.28);
}
.btn-accent:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(74,168,125,0.38);
    color: #fff;
}

/* --- Pink --- */
.btn-pink {
    background: linear-gradient(135deg, var(--pink-accent) 0%, #e05c7a 100%);
    color: #fff;
    border-color: transparent;
}
.btn-pink:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(224,92,122,0.35);
    color: #fff;
}

/* --- Sizes --- */
.btn-lg {
    padding: 1rem 2.6rem;
    font-size: 1.05rem;
    letter-spacing: 0.3px;
}
.btn-sm {
    padding: 0.45rem 1.1rem;
    font-size: 0.82rem;
    border-radius: 50px;
}

.btn-icon {
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: 50%;
}

/* Section Styles */
.section {
    padding: 5rem 0;
}

.section-sm {
    padding: 3rem 0;
}

.section-lg {
    padding: 7rem 0;
}

.section-gray {
    background: var(--light);
}

.section-dark {
    background: var(--dark);
    color: var(--white);
}

.section-dark h2, .section-dark h3 {
    color: var(--white);
}

.section-dark p {
    color: var(--gray-light);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(123, 201, 166, 0.1);
    color: #e7b7c2;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 50px;
}

.section-header .badge {
    margin-bottom: 1rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
}

/* =====================================================
   HEADER / NAVBAR
   ===================================================== */
.top-bar {
    background: var(--dark);
    color: var(--white);
    padding: 0.5rem 0;
    font-size: 0.875rem;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.top-bar-left a {
    color: var(--gray-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.top-bar-left a:hover {
    color: var(--white);
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* ---- Treatment Autocomplete ---- */
.treatment-autocomplete-wrap {
    position: relative;
}

.treatment-autocomplete-wrap input[type="text"] {
    width: 100%;
    padding-right: 2.5rem;
}

.treatment-autocomplete-wrap .ac-clear {
    position: absolute;
    right: 0.75rem;
    bottom: 0;
    height: 50px;
    display: none;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    color: #aaa;
    font-size: 0.85rem;
    padding: 0;
    line-height: 1;
}

.treatment-autocomplete-wrap .ac-clear[style*="inline-block"] {
    display: flex !important;
}

.treatment-autocomplete-wrap .ac-clear:hover { color: #555; }

.ac-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    max-height: 240px;
    overflow-y: auto;
    z-index: 9999;
    display: none;
}

.ac-dropdown.open { display: block; }

.ac-group-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--primary, #0066cc);
    padding: 0.5rem 0.85rem 0.25rem;
    background: #f8f9fa;
    border-bottom: 1px solid #f0f0f0;
    position: sticky;
    top: 0;
}

.ac-option {
    padding: 0.55rem 0.85rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: #333;
    border-bottom: 1px solid #f7f7f7;
    transition: background 0.15s;
}

.ac-option:last-child { border-bottom: none; }

.ac-option:hover,
.ac-option.focused { background: rgba(0,102,204,0.07); color: var(--primary, #0066cc); }

.ac-option mark { background: rgba(0,102,204,0.15); color: inherit; border-radius: 2px; font-style: normal; }

.ac-empty {
    padding: 0.75rem;
    text-align: center;
    color: #aaa;
    font-size: 0.88rem;
}

/* label offset when inside a wrap (request page) */
.treatment-autocomplete-wrap label {
    display: block;
    margin-bottom: 0.4rem;
}

/* ---- Currency Selector ---- */
.currency-selector {
    position: relative;
}

.currency-toggle {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--white);
    padding: 0.28rem 0.65rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}

.currency-toggle:hover {
    background: rgba(255,255,255,0.22);
}

.currency-toggle .fa-coins {
    font-size: 0.7rem;
    opacity: 0.85;
}

.currency-chevron {
    font-size: 0.6rem;
    opacity: 0.7;
    transition: transform 0.2s;
}

.currency-dropdown.open .currency-chevron {
    transform: rotate(180deg);
}

.currency-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.16);
    min-width: 180px;
    z-index: 9999;
    padding: 0.5rem;
    border: 1px solid rgba(0,0,0,0.07);
}

.currency-dropdown.open {
    display: block;
}

.currency-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.25rem;
}

.currency-option {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.6rem;
    border: none;
    background: transparent;
    border-radius: 0.5rem;
    cursor: pointer;
    font-size: 0.8rem;
    color: var(--dark);
    transition: background 0.15s;
    white-space: nowrap;
}

.currency-option:hover {
    background: var(--light);
}

.currency-option.active {
    background: rgba(0,123,255,0.1);
    color: var(--primary);
    font-weight: 700;
}

.currency-symbol {
    font-weight: 700;
    min-width: 22px;
    text-align: right;
    color: var(--primary);
}

.currency-code {
    font-size: 0.75rem;
    color: var(--gray);
}

.currency-option.active .currency-code {
    color: var(--primary);
}

.lang-switcher {
    display: flex;
    gap: 0.5rem;
}

.lang-switcher a {
    color: var(--gray-light);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.75rem;
}

.lang-switcher a.active,
.lang-switcher a:hover {
    background: var(--primary);
    color: var(--white);
}

.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-lg);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    gap: 2rem;
}

.header-content nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
}

.logo-text span {
    color: var(--primary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-menu a {
    color: var(--dark);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark);
    cursor: pointer;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

/* Mobile Menu */
@media (max-width: 1024px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 5rem 2rem 2rem;
        gap: 0.5rem;
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.2);
        transition: right 0.3s ease;
        z-index: 999;
        overflow-y: auto;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu li {
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu a {
        padding: 1rem 0;
        font-size: 1.125rem;
        display: block;
        width: 100%;
        color: var(--dark);
        font-weight: 500;
        transition: all 0.3s ease;
    }

    .nav-menu a:hover,
    .nav-menu a.active {
        color: var(--primary);
        padding-left: 0.5rem;
    }

    .mobile-toggle {
        display: block;
        z-index: 1001;
        position: relative;
        transition: all 0.3s ease;
    }

    .mobile-toggle:hover {
        color: var(--primary);
        transform: scale(1.1);
    }

    .header-actions .btn {
        display: none;
    }

    .nav-menu .btn {
        display: flex;
        width: 100%;
        margin-top: 1rem;
        justify-content: center;
    }

    /* RTL Support for mobile menu */
    [dir="rtl"] .nav-menu {
        right: auto;
        left: -100%;
    }

    [dir="rtl"] .nav-menu.active {
        left: 0;
        right: auto;
    }

    [dir="rtl"] .nav-menu a:hover,
    [dir="rtl"] .nav-menu a.active {
        padding-left: 0;
        padding-right: 0.5rem;
    }
}

@media (max-width: 768px) {
    .top-bar-left {
        display: none;
    }

    .top-bar {
        padding: 0.5rem 0;
    }

    .top-bar-right {
        gap: 1rem;
    }

    .lang-switcher {
        gap: 0.5rem;
    }

    .lang-switcher a {
        padding: 0.25rem 0.5rem;
        font-size: 0.875rem;
    }

    .top-bar-social a {
        width: 30px;
        height: 30px;
        font-size: 0.875rem;
    }

    .header {
        padding: 0.75rem 0;
    }

    .logo-text {
        font-size: 1.25rem;
    }

    .mobile-toggle {
        font-size: 1.75rem;
        padding: 0.5rem;
    }
}

/* =====================================================
   HERO SECTION
   ===================================================== */
.hero {
    background: url('/assets/images/hero-bg.png') center center / cover no-repeat;
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: visible;
    padding: 4rem 0;
    padding-bottom: 5rem;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(240, 252, 255, 0.72);
    z-index: 0;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="0.5"/></svg>');
    background-size: 100px 100px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    color: var(--dark);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(123, 201, 166, 0.15);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(123, 201, 166, 0.3);
    color: var(--dark);
}

.hero-badge i {
    color: #e7b7c2;
}

.hero-text h1 {
    color: var(--dark);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-text h1 span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text .brand-statement {
    color: var(--dark);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 2rem 0 2.5rem 0;
    max-width: 700px;
    position: relative;
    padding-left: 20px;
    border-left: 4px solid var(--primary);
    text-shadow: none;
    animation: fadeInUp 0.8s ease-out;
}

.hero-text .brand-statement .brand-main {
    display: block;
    font-size: 1em;
    font-weight: 700;
    color: var(--dark);
}

.hero-text .brand-statement .brand-sub {
    display: block;
    font-size: 0.7em;
    font-weight: 400;
    color: var(--gray);
    margin-top: 0.5rem;
    line-height: 1.4;
}

.hero-text .brand-statement::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -20px;
    right: -20px;
    bottom: -10px;
    background: linear-gradient(135deg, rgba(123, 201, 166, 0.08) 0%, rgba(123, 201, 166, 0.03) 100%);
    border-radius: var(--radius-lg);
    z-index: -1;
    backdrop-filter: blur(10px);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-text p {
    color: var(--gray);
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(123, 201, 166, 0.3);
}

.hero-stat {
    text-align: center;
}

.hero-stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.hero-stat-label {
    font-size: 0.875rem;
    color: var(--gray);
}

.hero-visual {
    position: relative;
}

.hero-image {
    width: 115%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-image img {
    width: 100%;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.hero-float-card {
    position: absolute;
    background: var(--white);
    padding: 0.5rem 0.85rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    animation: float 3s ease-in-out infinite;
    z-index: 10;
    font-size: 0.8rem;
}

.hero-float-card.card-1 {
    top: 10%;
    left: -10%;
    animation-delay: 0s;
}

.hero-float-card.card-2 {
    bottom: 5%;
    right: 5%;
    animation-delay: 1.5s;
}

.hero-float-card.card-3 {
    top: 75%;
    left: -15%;
    animation-delay: 3s;
}

.hero-float-card i {
    width: 32px;
    height: 32px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 0.85rem;
    flex-shrink: 0;
}

.hero-float-card .text strong {
    display: block;
    color: var(--dark);
}

.hero-float-card .text span {
    font-size: 0.72rem;
    color: var(--gray);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Search Box */
.search-box {
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.9) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 60px;
    padding: 0.75rem;
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.8),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    margin-top: -3rem;
    position: relative;
    z-index: 100;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

/* Search Box Mobile Fixes */
@media (max-width: 768px) {
    .search-box {
        margin-top: 1rem;
        padding: 0.5rem;
        border-radius: 50px;
        max-width: calc(100% - 2rem);
        margin-left: 1rem;
        margin-right: 1rem;
    }
    
    .hero {
        min-height: 60vh;
        padding: 2rem 0;
        padding-bottom: 1rem;
    }
    
    .unified-search .search-input {
        padding: 0.875rem 1rem;
        padding-right: 50px;
        font-size: 0.875rem;
    }
    
    .unified-search .search-btn {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    .unified-search .search-input::placeholder {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .search-box {
        margin-top: 1.5rem;
        padding: 0.4rem;
        border-radius: 40px;
        max-width: calc(100% - 1.5rem);
        margin-left: 0.75rem;
        margin-right: 0.75rem;
    }
    
    .hero {
        min-height: 50vh;
        padding: 1.5rem 0;
        padding-bottom: 0.5rem;
    }
    
    .unified-search .search-input {
        padding: 0.75rem 0.875rem;
        padding-right: 46px;
        font-size: 0.8rem;
    }
    
    .unified-search .search-btn {
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
        right: 3px;
    }
    
    .unified-search .search-input::placeholder {
        font-size: 0.75rem;
    }
    
    .unified-search .search-results {
        font-size: 0.85rem;
        max-height: 250px;
    }
}

.search-form {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    align-items: end;
}

.search-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.search-field label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.search-field label i {
    color: var(--primary);
}

.search-field select,
.search-field input {
    padding: 0.875rem 1rem;
    border: 2px solid var(--light);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: var(--font-sans);
    transition: var(--transition);
    background: var(--white);
    color: var(--dark);
}

.search-field select:focus,
.search-field input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(123, 201, 166, 0.1);
}

.search-field .btn {
    width: 100%;
    height: 100%;
}

/* Unified Search Bar */
.unified-search {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.unified-search .search-input {
    flex: 1;
    padding: 1rem 1.25rem;
    padding-right: 56px;
    border: none;
    border-radius: 50px;
    font-size: 0.95rem;
    font-family: var(--font-sans);
    transition: var(--transition);
    background: transparent;
    color: var(--dark);
    width: 100%;
}

.unified-search .search-input:focus {
    outline: none;
}

.unified-search .search-input::placeholder {
    color: var(--gray);
    font-weight: 400;
}

.unified-search .search-btn {
    position: absolute;
    right: 4px;
    width: 44px;
    height: 44px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(123, 201, 166, 0.4);
}

.unified-search .search-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(123, 201, 166, 0.5);
}

.unified-search .search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    margin-top: 0.5rem;
    max-height: 400px;
    overflow-y: auto;
    z-index: 100;
    display: none;
}

.unified-search .search-results.active {
    display: block;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    border-bottom: 1px solid var(--light);
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: var(--light);
}

.search-result-item .result-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.search-result-item .result-icon.doctor {
    background: rgba(183, 231, 220, 0.1);
    color: var(--secondary);
}

.search-result-item .result-icon.treatment {
    background: rgba(123, 201, 166, 0.1);
    color: var(--primary);
}

.search-result-item .result-icon.hospital {
    background: rgba(123, 201, 166, 0.1);
    color: var(--success);
}

.search-result-item .result-info {
    flex: 1;
}

.search-result-item .result-name {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.search-result-item .result-subtitle {
    font-size: 0.875rem;
    color: var(--gray);
}

.search-result-item .result-type {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: 500;
    text-transform: uppercase;
}

.search-result-item .result-type.doctor {
    background: rgba(183, 231, 220, 0.1);
    color: var(--secondary);
}

.search-result-item .result-type.treatment {
    background: rgba(123, 201, 166, 0.1);
    color: var(--primary);
}

.search-result-item .result-type.hospital {
    background: rgba(123, 201, 166, 0.1);
    color: var(--success);
}

.search-no-results {
    padding: 2rem;
    text-align: center;
    color: var(--gray);
}

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-text .brand-statement {
        font-size: 2rem;
        margin-left: auto;
        margin-right: auto;
        padding-left: 0;
        border-left: none;
        border-bottom: 3px solid var(--accent);
        padding-bottom: 15px;
    }

    @media (max-width: 600px) {
        .hero-text .brand-statement {
            font-size: 1.5rem;
            line-height: 1.3;
            margin: 1.5rem 0 2rem 0;
        }
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        display: none;
    }

    .search-form {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .search-form {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
}

/* =====================================================
   ABOUT SECTION
   ===================================================== */

.compliance-item-content {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.compliance-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    flex-shrink: 0;
    color: var(--primary);
}

.compliance-item-text {
    flex: 1;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-grid-reverse {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-grid-reverse .about-content {
    grid-column: 2;
    grid-row: 1;
}

.about-grid-reverse .about-image {
    grid-column: 1;
    grid-row: 1;
}

.about-image {
    position: relative;
}

/* Section Connector Animation */
.section-connector {
    position: relative;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, var(--white) 0%, var(--light) 50%, var(--light) 100%);
    overflow: hidden;
}

.connector-line {
    position: relative;
    width: 200px;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--primary) 20%, 
        var(--primary) 80%, 
        transparent 100%
    );
}

.connector-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: 0 0 10px rgba(123, 201, 166, 0.5);
}

.connector-dot-1 {
    left: 20%;
    animation: pulse 2s infinite 0s;
}

.connector-dot-2 {
    left: 50%;
    animation: pulse 2s infinite 0.3s;
}

.connector-dot-3 {
    left: 80%;
    animation: pulse 2s infinite 0.6s;
}

.connector-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: var(--white);
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(123, 201, 166, 0.2);
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: translateY(-50%) scale(1);
        opacity: 1;
    }
    50% {
        transform: translateY(-50%) scale(1.5);
        opacity: 0.7;
    }
}

@keyframes heartbeat {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
    }
    25% {
        transform: translate(-50%, -50%) scale(1.1);
    }
    45% {
        transform: translate(-50%, -50%) scale(0.95);
    }
    65% {
        transform: translate(-50%, -50%) scale(1.05);
    }
}

/* Mission Info Dots */
.mission-dots {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.vision-dots {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.info-dot {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, var(--light) 0%, var(--white) 100%);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(123, 201, 166, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.info-dot::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.info-dot:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(123, 201, 166, 0.15);
    border-color: rgba(123, 201, 166, 0.3);
}

.info-dot:hover::before {
    transform: scaleX(1);
}

.dot-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(123, 201, 166, 0.3);
    position: relative;
}

.dot-icon::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-primary);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.3;
    animation: pulse 2s infinite;
}

.dot-content {
    flex: 1;
}

.dot-content h4 {
    color: var(--dark);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    line-height: 1.3;
}

.dot-content p {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.about-image img {
    width: 100%;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.about-image-badge {
    position: absolute;
    bottom: -2rem;
    right: -2rem;
    background: linear-gradient(135deg, #e7b7c2 0%, #d4a5b9 100%);
    color: var(--white);
    padding: 1.5rem 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-xl);
}

.about-image-badge .number {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
}

.about-image-badge .text {
    font-size: 0.875rem;
}

.about-content h2 {
    margin-bottom: 1.5rem;
}

.about-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 2rem 0;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.about-feature i {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: rgba(123, 201, 166, 0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.25rem;
}

.about-feature h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.about-feature p {
    font-size: 0.875rem;
    margin: 0;
}

@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-grid-reverse {
        grid-template-columns: 1fr;
    }

    .about-grid-reverse .about-content {
        grid-column: 1;
        grid-row: auto;
    }

    .about-grid-reverse .about-image {
        grid-column: 1;
        grid-row: auto;
    }

    .section-connector {
        height: 60px;
    }

    .connector-line {
        width: 150px;
    }

    .connector-icon {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .mission-dots {
        gap: 1rem;
    }

    .vision-dots {
        gap: 1rem;
    }

    .info-dot {
        padding: 1rem 1.25rem;
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .dot-icon {
        width: 44px;
        height: 44px;
        font-size: 1rem;
        margin: 0 auto;
    }

    .dot-content h4 {
        font-size: 0.95rem;
        margin-bottom: 0.3rem;
    }

    .dot-content p {
        font-size: 0.85rem;
    }

    .about-image-badge {
        right: 1rem;
        bottom: -1rem;
    }
}

/* =====================================================
   SPECIALTY / TREATMENTS SECTION
   ===================================================== */
.specialty-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.specialty-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--light);
    position: relative;
    overflow: hidden;
}

.specialty-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.specialty-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.specialty-card:hover::before {
    transform: scaleX(1);
}

.specialty-icon {
    width: 80px;
    height: 80px;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--primary);
    transition: var(--transition);
}

.specialty-card:hover .specialty-icon {
    background: var(--gradient-primary);
    color: var(--white);
}

.specialty-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.specialty-card p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.specialty-card .price {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.1rem;
}

/* Modern Treatment Cards Grid (Home - 2 rows) */
.treatments-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.treatment-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
    position: relative;
    border: 1px solid transparent;
}

.treatment-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.treatment-card-image {
    height: 160px;
    background: var(--gradient-primary);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.treatment-card-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
    z-index: 1;
}

.treatment-card:hover .treatment-card-image img {
    transform: scale(1.07);
}

.treatment-card-icon {
    width: 64px;
    height: 64px;
    background: rgba(231, 183, 194, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--white);
    transition: var(--transition);
    z-index: 2;
}

.treatment-card:hover .treatment-card-icon {
    transform: scale(1.1);
    background: rgba(255,255,255,0.3);
}

.treatment-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.08) 0%, rgba(0,0,0,0.35) 100%);
    z-index: 2;
}

.treatment-card-content {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.treatment-card-content h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark);
    line-height: 1.3;
}

.treatment-card-content p {
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 0.75rem;
    flex: 1;
}

.treatment-card-price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-top: auto;
}

.treatment-card-price .price-label {
    font-size: 0.75rem;
    color: var(--gray-light);
}

.treatment-card-price .price-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
}

.treatment-card-count {
    margin-top: auto;
}

.treatment-card-count span {
    font-size: 0.85rem;
    color: var(--gray);
    font-weight: 500;
}

.treatment-card-arrow {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    width: 32px;
    height: 32px;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 0.875rem;
    transition: var(--transition);
    opacity: 0;
    transform: translateX(-10px);
}

.treatment-card:hover .treatment-card-arrow {
    opacity: 1;
    transform: translateX(0);
}

[dir="rtl"] .treatment-card-arrow {
    right: auto;
    left: 1rem;
    transform: translateX(10px) scaleX(-1);
}

[dir="rtl"] .treatment-card:hover .treatment-card-arrow {
    transform: translateX(0) scaleX(-1);
}

@media (max-width: 1200px) {
    .treatments-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .treatments-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 540px) {
    .treatments-grid {
        grid-template-columns: 1fr;
    }
}

/* =====================================================
   PARTNERS / HOSPITALS SECTION
   ===================================================== */
.partners-slider {
    overflow: hidden;
    position: relative;
}

.partners-track {
    display: flex;
    gap: 2rem;
    animation: scroll 30s linear infinite;
}

.partner-card {
    min-width: 300px;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.partner-card:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-xl);
}

.partner-image {
    height: 200px;
    overflow: hidden;
}

.partner-verified-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    color: #fff;
    background: linear-gradient(135deg, #16a34a, #15803d);
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(22, 163, 74, 0.4);
    pointer-events: none;
}

.partner-verified-badge i {
    font-size: 0.75rem;
}

.partner-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1rem;
    background: #f8f9fa;
    transition: var(--transition);
}

.partner-card:hover .partner-image img {
    transform: scale(1.1);
}

.partner-info {
    padding: 1.5rem;
}

.partner-info h4 {
    margin-bottom: 0.5rem;
}

.partner-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.partner-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.partner-rating i {
    color: var(--accent);
}

.partner-rating span {
    font-weight: 600;
    color: var(--dark);
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* =====================================================
   REVIEWS / TESTIMONIALS SECTION
   ===================================================== */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.review-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
    position: relative;
}

.review-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    right: 2rem;
    font-size: 5rem;
    color: var(--light);
    font-family: serif;
    line-height: 1;
}

.review-stars {
    color: var(--accent);
    margin-bottom: 1rem;
}

.review-text {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--dark);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.review-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
}

.review-author-info h5 {
    margin-bottom: 0.25rem;
}

.review-author-info span {
    color: var(--gray);
    font-size: 0.875rem;
}

/* =====================================================
   FEATURED TREATMENTS SLIDER SECTION
   ===================================================== */
.featured-treatments-section {
    padding: 4rem 0;
    background: var(--light);
}

/* Modern Treatments Carousel */
.treatments-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 1rem 0 2rem;
    margin: 0 auto;
}

.treatments-carousel-track {
    display: flex;
    gap: 1.5rem;
    padding: 40px;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    user-select: none;
}

@media (max-width: 1240px) {
    .treatments-carousel-track {
        padding: 0.5rem 1.5rem;
    }
}

.treatment-slide {
    flex: 0 0 320px;
    text-decoration: none;
    color: inherit;
}

.treatment-slide-inner {
    position: relative;
    background: white;
    border-radius: 20px;
    padding: 1.75rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
}

.treatment-slide-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), #2dd4bf);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.treatment-slide:hover .treatment-slide-inner {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.treatment-slide:hover .treatment-slide-inner::before {
    transform: scaleX(1);
}

.treatment-slide-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(49, 183, 142, 0.12), rgba(49, 183, 142, 0.04));
    border-radius: 16px;
    margin-bottom: 1.25rem;
    transition: all 0.4s ease;
}

.treatment-slide-icon i {
    font-size: 2rem;
    color: var(--primary);
    transition: all 0.4s ease;
}

.treatment-slide:hover .treatment-slide-icon {
    background: var(--primary);
    transform: scale(1.05);
}

.treatment-slide:hover .treatment-slide-icon i {
    color: white;
}

.treatment-slide-content {
    flex: 1;
}

.treatment-slide-category {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.treatment-slide-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark);
    margin: 0 0 0.75rem 0;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.treatment-slide-price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.treatment-slide-price .price-label {
    font-size: 0.75rem;
    color: var(--gray);
}

.treatment-slide-price .price-value {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary);
}

.treatment-slide-cta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    transition: gap 0.3s ease;
}

.treatment-slide-cta i {
    transition: transform 0.3s ease;
}

.treatment-slide:hover .treatment-slide-cta {
    gap: 0.75rem;
}

.treatment-slide:hover .treatment-slide-cta i {
    transform: translateX(4px);
}

/* Carousel Controls */
.treatments-carousel-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 1.5rem;
}

.carousel-progress {
    flex: 1;
    height: 4px;
    background: rgba(0, 0, 0, 0.08);
    border-radius: 4px;
    overflow: hidden;
}

.carousel-progress-bar {
    height: 100%;
    width: 5%;
    background: linear-gradient(90deg, var(--primary), #2dd4bf);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.carousel-nav-buttons {
    display: flex;
    gap: 0.75rem;
}

.carousel-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid rgba(0, 0, 0, 0.1);
    background: white;
    color: var(--dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: scale(1.05);
}

.carousel-btn i {
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
    .treatment-slide {
        flex: 0 0 280px;
    }
    
    .treatment-slide-inner {
        padding: 1.25rem;
    }
    
    .treatment-slide-icon {
        width: 60px;
        height: 60px;
    }
    
    .treatment-slide-icon i {
        font-size: 1.5rem;
    }
    
    .treatment-slide-content h3 {
        font-size: 1rem;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .treatment-slide {
        flex: 0 0 260px;
    }
    
    .treatments-carousel-controls {
        flex-direction: column-reverse;
        gap: 1rem;
    }
    
    .carousel-progress {
        width: 100%;
    }
}

/* RTL Support */
[dir="rtl"] .treatments-carousel-track {
    direction: ltr;
}

[dir="rtl"] .treatment-slide {
    direction: rtl;
}

[dir="rtl"] .treatment-slide-cta {
    flex-direction: row-reverse;
}

[dir="rtl"] .treatment-slide-cta i {
    transform: rotate(180deg);
}

[dir="rtl"] .treatment-slide:hover .treatment-slide-cta i {
    transform: rotate(180deg) translateX(4px);
}

[dir="rtl"] .carousel-prev i {
    transform: rotate(180deg);
}

[dir="rtl"] .carousel-next i {
    transform: rotate(180deg);
}

/* =====================================================
   SALES AGENTS SECTION
   ===================================================== */
/* =========================
   SALES AGENTS GRID (4/row)
   ========================= */

.agent-grid{
  --gap: 18px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gap);
  align-items: stretch;
  margin: 0;
  padding: 0;
}

/* Responsive breakpoints */
@media (max-width: 1200px){
  .agent-grid{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px){
  .agent-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px){
  .agent-grid{ grid-template-columns: 1fr; }
}

/* =========================
   Agent card style
   ========================= */

.agent-card{
  height: 260px;               /* 🔒 FIXED HEIGHT */
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  background: #ffffff;
  border: 1px solid rgba(16, 24, 40, 0.08);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(16, 24, 40, 0.06);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  min-height: 100%;
}

.agent-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(16, 24, 40, 0.12);
  border-color: rgba(16, 24, 40, 0.14);
}

/* Header with avatar */
.agent-card__top{
  min-height: 110px; 
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 14px 10px;
}

.agent-avatar{
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(0,0,0,.06);
  background: #f2f4f7;
}

.agent-title{
  min-width: 0;
}
.agent-name{
  margin: 0;
  font-size: 12px;
  font-weight: 400;
  color: #101828;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.agent-role{
  margin: 4px 0 0;
  font-size: 13px;
  color: #667085;
}

.agent-languages {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  margin-top: 5px;
}

.lang-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #f2f4f7;
  cursor: default;
  transition: transform 0.15s;
}

.lang-flag:hover {
  transform: scale(1.2);
}

/* Body info rows */
.agent-card__body{
  padding: 0 14px 14px;
}

/* Footer actions */
.agent-card__actions{
  display: flex;
  gap: 10px;
  padding: 12px 14px 14px;
  border-top: 1px solid rgba(16, 24, 40, 0.06);
}
.agent-card__actions{
  display: flex;
  gap: 10px;
  padding: 12px 14px 14px;
  border-top: 1px solid rgba(0,0,0,.06);
}

/* Base button */
.agent-btn{
  flex: 1;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 16px;
  color: #fff;
  background: var(--primary);
  border: 1px solid var(--primary);
  cursor: pointer;
  transition: all .18s ease;
  text-decoration: none;
}

/* Hover */
.agent-btn:hover{
  background: var(--danger);
  border-color: var(--danger);
  transform: translateY(-1px);
}

/* Icons */
.agent-btn i{
  font-size: 17px;
}

/* Focus / active */
.agent-btn:active{
  transform: scale(0.96);
}

.agent-btn--primary:hover{
  filter: brightness(0.95);
}

.agent-btn-phone{
      background: linear-gradient(
    135deg,
    white,
    var(--primary)
  );
}

.agent-btn-email{
 background: var(--primary);
}

.agent-btn-whatsapp{
  background: #25d366; /* WhatsApp brand */
  border-color: #25d366;
}
.agent-btn-whatsapp:hover{
  background: var(--danger);
}

/* =========================
   treatment card style
   ========================= */

.treatment-card-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.treatment-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.treatment-category {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.35rem 0.75rem;
    border-radius: 2rem;
}

.treatment-card-content {
    padding: 1.25rem;
}

.treatment-card-content h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.5rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.treatment-price {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    margin-bottom: 0.75rem;
    padding: 0.5rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.treatment-price .price-label {
    font-size: 0.7rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.treatment-price .price-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
}

.treatment-duration {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: var(--gray);
    margin-bottom: 0.75rem;
}

.treatment-duration i {
    color: var(--primary);
}

.treatment-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    transition: gap 0.3s ease;
}

.featured-treatment-card:hover .treatment-link {
    gap: 0.6rem;
}

/* Slider Navigation */
.slider-nav {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: white;
    border: 2px solid var(--border);
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.slider-nav:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

/* Slider Dots */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: var(--primary);
    width: 24px;
    border-radius: 5px;
}

/* Featured Treatments Responsive */
@media (max-width: 992px) {
    .featured-treatment-card {
        flex: 0 0 calc(33.333% - 1rem);
        min-width: calc(33.333% - 1rem);
    }
}

@media (max-width: 768px) {
    .featured-treatment-card {
        flex: 0 0 calc(50% - 0.75rem);
        min-width: calc(50% - 0.75rem);
    }
    
    .slider-nav {
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 576px) {
    .featured-treatment-card {
        flex: 0 0 100%;
        min-width: 100%;
    }
    
    .featured-treatments-wrapper {
        flex-direction: column;
    }
    
    .slider-nav {
        display: none;
    }
}

/* =====================================================
   HOW IT WORKS SECTION - MODERN DESIGN
   ===================================================== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    position: relative;
    padding: 2rem 0;
}

/* Animated connection line */
.steps-grid::before {
    content: '';
    position: absolute;
    top: 60px;
    left: 5%;
    right: 5%;
    height: 3px;
    background: linear-gradient(90deg, 
        var(--primary) 0%, 
        var(--secondary) 50%, 
        var(--primary) 100%);
    border-radius: 2px;
    z-index: 1;
    opacity: 0.3;
}

.step-card {
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 2rem 1.5rem;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    overflow: hidden;
}

/* Gradient background on hover */
.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
    border-radius: 18px;
}

.step-card:hover::before {
    opacity: 0.05;
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--primary);
}

.step-number {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin: 0 auto 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 3;
    box-shadow: 0 8px 20px rgba(123, 201, 166, 0.3);
}

/* Pulse animation for step number */
.step-number::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 2s infinite;
    opacity: 0.3;
    z-index: -1;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }
}

.step-card:hover .step-number {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 12px 30px rgba(123, 201, 166, 0.4);
}

.step-card h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
    position: relative;
    z-index: 3;
    transition: color 0.3s ease;
}

.step-card:hover h4 {
    color: var(--primary);
}

.step-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--gray);
    position: relative;
    z-index: 3;
    margin: 0;
}

/* Icon addition for each step */
.step-card::after {
    content: '✓';
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 24px;
    height: 24px;
    background: var(--success);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
    z-index: 4;
}

.step-card:hover::after {
    opacity: 1;
    transform: scale(1);
}

/* Responsive Design for Step Cards */
@media (max-width: 1400px) {
    .steps-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1200px) {
    .steps-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    
    .step-card {
        padding: 1.5rem 1rem;
    }
    
    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.25rem;
    }
}

@media (max-width: 900px) {
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .steps-grid::before {
        display: none;
    }
    
    .step-card:hover {
        transform: translateY(-5px);
    }
}

@media (max-width: 640px) {
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .step-card {
        padding: 1.5rem;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .step-card h4 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .step-card p {
        font-size: 0.9rem;
    }
}

/* RTL Support */
[dir="rtl"] .step-card::after {
    left: 1rem;
    right: auto;
}

[dir="rtl"] .step-card:hover .step-number {
    transform: scale(1.15) rotate(-5deg);
}

/* =====================================================
   DOCTORS SECTION
   ===================================================== */
.doctors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.doctor-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0,0,0,.07);
    border: 1px solid var(--border);
    transition: transform .3s ease, box-shadow .3s ease;
    display: flex;
    flex-direction: column;
}

.doctor-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0,0,0,.12);
}

.doctor-image {
    height: 240px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

.doctor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform .4s ease;
}

.doctor-card:hover .doctor-image img {
    transform: scale(1.06);
}

.doctor-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 8px rgba(16,185,129,.35);
}

.doctor-image-rating {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,.55);
    backdrop-filter: blur(6px);
    color: #fff;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 5px;
}

.doctor-image-rating i { color: #fbbf24; font-size: 0.7rem; }

.doctor-info {
    padding: 1.1rem 1.25rem 0.75rem;
    flex: 1;
}

.doctor-info h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.doctor-specialty {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.82rem;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.doctor-specialty i { font-size: 0.75rem; opacity: .8; }

.doctor-hospital {
    font-size: 0.78rem;
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 8px;
}

.doctor-hospital i { color: var(--primary); font-size: 0.72rem; }

.doctor-stars {
    display: flex;
    align-items: center;
    gap: 2px;
    font-size: 0.78rem;
}

.doctor-stars span {
    color: var(--gray);
    font-size: 0.72rem;
    margin-left: 4px;
}

.doctor-card-actions {
    display: flex;
    gap: 8px;
    padding: 0.75rem 1.25rem 1.1rem;
    border-top: 1px solid var(--border);
}

.doctor-card-actions .btn {
    flex: 1;
    justify-content: center;
    font-size: 0.78rem;
    padding: 7px 10px;
    border-radius: 10px;
}

/* =====================================================
   CTA SECTION
   ===================================================== */
.cta-section {
    background: var(--gradient-primary);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-content p {
    color: rgba(255,255,255,0.9);
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* =====================================================
   APPOINTMENT CTA SECTION
   ===================================================== */
.appointment-cta-section {
    padding: 3rem 0;
    background: var(--light);
}

.appointment-cta-card {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: white;
    border-radius: 1.5rem;
    padding: 2rem 3rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid var(--primary);
    position: relative;
    overflow: hidden;
}

.appointment-cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: var(--gradient-primary);
}

.appointment-cta-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.appointment-cta-icon i {
    font-size: 1.75rem;
    color: white;
}

.appointment-cta-content {
    flex: 1;
}

.appointment-cta-content h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.35rem;
}

.appointment-cta-content p {
    color: var(--gray);
    font-size: 1rem;
    margin: 0;
}

.appointment-cta-card .btn {
    flex-shrink: 0;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .appointment-cta-card {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
        gap: 1.5rem;
    }
    
    .appointment-cta-card::before {
        width: 100%;
        height: 6px;
    }
}

/* =====================================================
   FAQ SECTION
   ===================================================== */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius);
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    border: 1px solid var(--light);
}

.faq-question {
    width: 100%;
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    text-align: left;
    font-family: var(--font-sans);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
    cursor: pointer;
    transition: var(--transition);
}

[dir="rtl"] .faq-question {
    text-align: right;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question i {
    transition: var(--transition);
    color: var(--primary);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-content {
    padding: 0 1.5rem 1.5rem;
    color: var(--gray);
    line-height: 1.7;
}

/* =====================================================
   WHY CHOOSE US / SERVICES
   ===================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid transparent;
}

.service-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--white);
}

.service-card h4 {
    margin-bottom: 1rem;
}

.service-card p {
    font-size: 0.95rem;
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
    background: var(--dark);
    color: var(--gray-light);
    padding-top: 5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand {
    max-width: 350px;
}

.footer-brand .logo {
    margin-bottom: 1.5rem;
}

.footer-brand .logo-text {
    color: var(--white);
}

.footer-brand p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-column h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--gray-light);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

[dir="rtl"] .footer-links a:hover {
    padding-left: 0;
    padding-right: 5px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-contact i {
    color: var(--primary);
    margin-top: 4px;
}

.footer-newsletter p {
    margin-bottom: 1rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.875rem 1rem;
    border: none;
    border-radius: var(--radius);
    background: rgba(255,255,255,0.1);
    color: var(--white);
    font-family: var(--font-sans);
}

.newsletter-form input::placeholder {
    color: var(--gray-light);
}

.newsletter-form button {
    padding: 0.875rem 1.5rem;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: var(--primary-dark);
}

.footer-bottom {
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.875rem;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a {
    color: var(--gray-light);
    font-size: 0.875rem;
}

.footer-bottom-links a:hover {
    color: var(--white);
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* =====================================================
   POPUP / MODAL
   ===================================================== */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    padding: 1rem;
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup {
    background: var(--white);
    border-radius: var(--radius-xl);
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9) translateY(20px);
    transition: var(--transition);
    position: relative;
}

.popup-overlay.active .popup {
    transform: scale(1) translateY(0);
}

.popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: var(--light);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.25rem;
    color: var(--gray);
    z-index: 1;
}

[dir="rtl"] .popup-close {
    right: auto;
    left: 1rem;
}

.popup-close:hover {
    background: var(--danger);
    color: var(--white);
}

.popup-header {
    background: var(--gradient-primary);
    padding: 2rem;
    text-align: center;
    color: var(--white);
}

.popup-header i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #f5e1e6;
}

.popup-header h3 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.popup-header p {
    color: rgba(255,255,255,0.9);
    margin: 0;
}

.popup-body {
    padding: 2rem;
}

.popup-form .form-group {
    margin-bottom: 1.25rem;
}

.popup-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--dark);
}

.popup-form input,
.popup-form select,
.popup-form textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--light);
    border-radius: var(--radius);
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: var(--transition);
}

.popup-form input:focus,
.popup-form select:focus,
.popup-form textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.popup-form textarea {
    resize: vertical;
    min-height: 100px;
}

.popup-form .btn {
    width: 100%;
    margin-top: 0.5rem;
}

/* Floating CTA Button */
.floating-cta {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-end;
}

[dir="rtl"] .floating-cta {
    right: auto;
    left: 2rem;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    box-shadow: var(--shadow-xl);
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.floating-btn:hover {
    transform: scale(1.1);
}

.floating-btn.whatsapp {
    background: #25d366;
}

.floating-btn.phone {
    background: var(--primary);
    display:   none;
}

.floating-btn.quote {
    background: #e7b7c2;
}

.floating-btn.quote:hover {
    background: #d4a5b9;
}

/* =====================================================
   PAGE HEADER (Inner Pages)
   ===================================================== */
.page-header {
    background: var(--gradient-hero);
    padding: 6rem 0 4rem;
    position: relative;
    overflow: hidden;
    color: var(--dark);
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="0.5"/></svg>');
    background-size: 80px 80px;
}

.page-header-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.breadcrumb a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--accent);
}

.breadcrumb i {
    font-size: 0.7rem;
    opacity: 0.6;
}

.page-header h1 {
    color: var(--dark);
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* =====================================================
   CATEGORY FILTER TABS
   ===================================================== */
.category-filter {
    background: var(--white);
    border-bottom: 1px solid var(--light);
    position: sticky;
    top: 80px;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.category-tabs {
    display: flex;
    gap: 0.5rem;
    padding: 1rem 0;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.category-tabs::-webkit-scrollbar {
    display: none;
}

.category-tab {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: var(--light);
    border-radius: 50px;
    text-decoration: none;
    color: var(--dark);
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    transition: var(--transition);
    border: 2px solid transparent;
}

.category-tab:hover {
    background: var(--white);
    border-color: var(--primary);
    color: var(--primary);
}

.category-tab.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.category-tab i {
    font-size: 1rem;
}

/* =====================================================
   TREATMENTS PAGE - PROFESSIONAL LAYOUT
   ===================================================== */
.treatments-page-content {
    padding: 2rem 0 4rem;
    background: var(--bg);
}

.treatments-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
    align-items: start;
}

/* Sidebar */
.treatments-sidebar {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--light);
    position: sticky;
    top: 100px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

.sidebar-header {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--light);
}

.sidebar-header h3 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}

.sidebar-header h3 i {
    color: var(--primary);
}

.sidebar-nav {
    padding: 0.5rem;
}

.sidebar-nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 1rem;
    border-radius: var(--radius);
    color: var(--gray-dark);
    text-decoration: none;
    font-size: 0.875rem;
    transition: var(--transition);
    margin-bottom: 2px;
}

.sidebar-nav-item:hover {
    background: var(--bg);
    color: var(--dark);
}

.sidebar-nav-item.active {
    background: color-mix(in srgb, var(--cat-color, var(--primary)) 10%, transparent);
    color: var(--cat-color, var(--primary));
    font-weight: 500;
}

.sidebar-nav-item i {
    width: 20px;
    text-align: center;
    font-size: 0.8rem;
    opacity: 0.7;
}

.sidebar-nav-item.active i {
    opacity: 1;
}

.sidebar-nav-item span:first-of-type {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-count {
    font-size: 0.75rem;
    background: var(--light);
    padding: 0.15rem 0.5rem;
    border-radius: var(--radius-full);
    color: var(--gray);
}

.sidebar-nav-item.active .sidebar-count {
    background: var(--cat-color, var(--primary));
    color: var(--white);
}

/* Main Content */
.treatments-main {
    min-height: 400px;
}

.treatments-empty {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 4rem 2rem;
    text-align: center;
    border: 1px solid var(--light);
}

.treatments-empty i {
    font-size: 3rem;
    color: var(--light);
    margin-bottom: 1rem;
}

.treatments-empty h3 {
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.treatments-empty p {
    color: var(--gray);
    font-size: 0.9rem;
}

/* Section */
.treatments-section {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--light);
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.treatments-section:last-child {
    margin-bottom: 0;
}

.treatments-section-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--light);
    background: var(--bg);
}

.treatments-section-title {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.section-icon {
    width: 44px;
    height: 44px;
    background: color-mix(in srgb, var(--cat-color, var(--primary)) 12%, transparent);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cat-color, var(--primary));
    font-size: 1.1rem;
}

.treatments-section-title h2 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
    margin: 0;
}

.section-meta {
    font-size: 0.8rem;
    color: var(--gray);
}

/* Table */
.treatments-table {
    width: 100%;
}

.treatments-table-header {
    display: grid;
    grid-template-columns: 1fr 120px 120px 90px;
    gap: 1rem;
    padding: 0.75rem 1.5rem;
    background: var(--bg);
    border-bottom: 1px solid var(--light);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.treatments-table-row {
    display: grid;
    grid-template-columns: 1fr 120px 120px 90px;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--light);
    align-items: center;
    transition: var(--transition);
}

.treatments-table-row:last-child {
    border-bottom: none;
}

.treatments-table-row:hover {
    background: var(--bg);
}

.col-treatment .treatment-link {
    text-decoration: none;
    color: var(--dark);
    display: block;
}

.col-treatment .treatment-link:hover strong {
    color: var(--primary);
}

.col-treatment strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
    transition: var(--transition);
}

.treatment-tag {
    display: inline-block;
    font-size: 0.7rem;
    color: var(--gray);
    background: var(--light);
    padding: 0.15rem 0.5rem;
    border-radius: var(--radius-sm);
}

.col-duration {
    font-size: 0.85rem;
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.col-duration i {
    font-size: 0.75rem;
    color: var(--primary);
}

.col-price .price-amount {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
}

.col-price .price-request {
    font-size: 0.8rem;
    color: var(--gray);
}

.col-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
}

.btn-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius);
    border: 1px solid var(--light);
    background: var(--white);
    color: var(--gray);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.btn-icon:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-icon-primary {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.btn-icon-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
}

/* Responsive */
@media (max-width: 992px) {
    .treatments-layout {
        grid-template-columns: 1fr;
    }
    
    .treatments-sidebar {
        position: static;
        max-height: none;
    }
    
    .sidebar-nav {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
        padding: 1rem;
    }
    
    .sidebar-nav-item {
        padding: 0.5rem 0.75rem;
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    .treatments-table-header {
        display: none;
    }
    
    .treatments-table-row {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        padding: 1rem;
    }
    
    .col-duration,
    .col-price {
        font-size: 0.85rem;
    }
    
    .col-actions {
        justify-content: flex-start;
    }
}

/* Legacy styles - keep for backward compatibility */
.treatment-category {
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--light);
}

.treatment-category:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.treatment-category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.treatment-category-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
}

.treatment-category-info h2 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.treatment-count {
    font-size: 0.875rem;
    color: var(--gray);
}

/* Treatment List */
.treatment-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

a.treatment-item {
    text-decoration: none;
    color: inherit;
}

.treatment-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.25rem 1.5rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid transparent;
    cursor: pointer;
}

.treatment-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateX(5px);
}

[dir="rtl"] .treatment-item:hover {
    transform: translateX(-5px);
}

.treatment-item-info {
    flex: 1;
}

.treatment-item-info h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: var(--dark);
}

.treatment-item-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.treatment-duration {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--gray);
}

.treatment-duration i {
    color: var(--primary);
}

.treatment-subcategory {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--gray);
    background: var(--light);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
}

.treatment-subcategory i {
    color: var(--secondary);
    font-size: 0.75rem;
}

.treatment-item-price {
    text-align: right;
    min-width: 120px;
}

[dir="rtl"] .treatment-item-price {
    text-align: left;
}

.treatment-item-price .price-label {
    display: block;
    font-size: 0.75rem;
    color: var(--gray-light);
    margin-bottom: 0.25rem;
}

.treatment-item-price .price-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

.treatment-quote-btn {
    margin-right: 0.5rem;
}

[dir="rtl"] .treatment-quote-btn {
    margin-right: 0;
    margin-left: 0.5rem;
}

@media (max-width: 768px) {
    .treatment-item {
        flex-wrap: wrap;
    }

    .treatment-item-info {
        width: 100%;
    }

    .treatment-item-price {
        text-align: left;
    }

    [dir="rtl"] .treatment-item-price {
        text-align: right;
    }
}

/* =====================================================
   CTA BANNER
   ===================================================== */
.cta-banner {
    background: var(--gradient-primary);
    padding: 1.5rem 0;
}

.cta-banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cta-banner-text {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--white);
}

.cta-banner-text i {
    font-size: 1.5rem;
    color: var(--accent);
}

.cta-banner-text p {
    font-size: 1.1rem;
    margin: 0;
}

@media (max-width: 768px) {
    .cta-banner-content {
        flex-direction: column;
        text-align: center;
    }

    .cta-banner-text {
        flex-direction: column;
    }
}

/* =====================================================
   ANIMATIONS
   ===================================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* =====================================================
   UTILITIES
   ===================================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-primary { color: var(--primary); }
.text-white { color: var(--white); }
.text-gray { color: var(--gray); }

.bg-primary { background: var(--primary); }
.bg-light { background: var(--light); }
.bg-dark { background: var(--dark); }
.bg-gradient { background: var(--gradient-primary); }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }

.hidden { display: none !important; }
.visible { display: block !important; }

/* Form utilities */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 480px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.btn-block {
    width: 100%;
    display: block;
}

.popup-header-images {
    margin-bottom: 1rem;
}

.popup-doctor-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--white);
    box-shadow: var(--shadow);
}

.cta-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    color: var(--white);
}

/* 5-step grid adjustment */
.steps-grid {
    grid-template-columns: repeat(5, 1fr);
}

@media (max-width: 1200px) {
    .steps-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .steps-grid {
        grid-template-columns: 1fr;
    }
}

/* Treatment Detail Page */
.page-header-treatment {
    background: var(--gradient-hero);
    padding: 4rem 0 3rem;
}

.page-header-treatment .page-header-content {
    color: var(--dark);
}

.page-header-treatment .breadcrumb a,
.page-header-treatment .breadcrumb span,
.page-header-treatment .breadcrumb i {
    color: var(--gray);
}

.page-header-treatment .breadcrumb a:hover {
    color: var(--dark);
}

.treatment-header-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.treatment-header-price {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.treatment-header-price .price-label {
    font-size: 1rem;
    opacity: 0.9;
}

.treatment-header-price .price-value {
    font-size: 2rem;
    font-weight: 700;
}

/* Treatment Info Section */
.treatment-info-section {
    padding: 4rem 0;
}

.treatment-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.section-header-left {
    text-align: left;
    margin-bottom: 1.5rem;
}

.section-header-left .badge {
    margin-bottom: 0.75rem;
}

.section-header-left h2 {
    font-size: 2rem;
    margin-bottom: 0;
}

.treatment-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray);
    margin-bottom: 2rem;
}

.treatment-meta-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.treatment-meta-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--light);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.treatment-meta-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-lg);
}

.treatment-meta-card .meta-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.treatment-meta-card .meta-info {
    display: flex;
    flex-direction: column;
}

.treatment-meta-card .meta-label {
    font-size: 0.8rem;
    color: var(--gray);
    margin-bottom: 0.25rem;
}

.treatment-meta-card .meta-value {
    font-weight: 600;
    color: var(--dark);
}

.treatment-cta-inline {
    margin-top: 1.5rem;
}

.treatment-info-image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.treatment-info-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.treatment-image-badge {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    background: var(--white);
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--success);
    box-shadow: var(--shadow-lg);
}

.treatment-image-badge i {
    color: var(--success);
}

/* Section Gray Background */
.section-gray {
    background: var(--light);
}

/* Hospitals Grid */
.hospitals-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.hospital-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.hospital-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.hospital-card-image {
    position: relative;
    height: 160px;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.hospital-card-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.hospital-rating {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--white);
    padding: 0.35rem 0.75rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 600;
    font-size: 0.875rem;
    box-shadow: var(--shadow);
}

.hospital-rating i {
    color: #e7b7c2;
}

.hospital-card-content {
    padding: 1.25rem;
}

.hospital-card-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.hospital-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--gray);
    margin-bottom: 0.75rem;
}

.hospital-location i {
    color: var(--primary);
}

.hospital-price {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.hospital-price .price-label {
    font-size: 0.8rem;
    color: var(--gray);
}

.hospital-price .price-value {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.1rem;
}

.hospital-stay {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--gray);
}

.hospital-stay i {
    color: var(--secondary);
}

.hospital-card-footer {
    padding: 1rem 1.25rem;
    border-top: 1px solid var(--light);
}

.hospital-card-footer .btn {
    width: 100%;
}

/* Advantages Section */
.advantages-section {
    background: linear-gradient(135deg, var(--dark) 0%, #3d4f5f 100%);
    color: var(--white);
}

.advantages-section .section-header h2,
.advantages-section .section-header p {
    color: var(--white);
}

.advantages-section .badge {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.advantage-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
}

.advantage-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.advantage-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.75rem;
    color: var(--white);
}

.advantage-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    color: var(--white);
}

.advantage-card p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    background: var(--gradient-primary);
    padding: 4rem 0;
}

.cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cta-text h2 {
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.cta-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.btn-outline-light {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--primary);
}

/* Doctor Location */
.doctor-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--gray);
    margin-top: 0.25rem;
}

.doctor-location i {
    color: var(--primary);
    font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .treatment-info-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .treatment-info-image {
        order: -1;
    }
    
    .hospitals-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .treatment-meta-cards {
        grid-template-columns: 1fr;
    }
    
    .hospitals-grid {
        grid-template-columns: 1fr;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light);
}

::-webkit-scrollbar-thumb {
    background: var(--gray-light);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gray);
}

/* Main Content */
.main-content {
    min-height: calc(100vh - 200px);
}

/* =====================================================
   REQUEST PAGE STYLES
   ===================================================== */

/* Request Hero */
.request-hero {
    background: var(--gradient-hero);
    padding: 5rem 0 2.5rem;
    color: var(--dark);
    text-align: center;
    margin-top: -1px;
}

.request-hero-content .badge {
    background: rgba(123, 201, 166, 0.2);
    color: var(--dark);
    margin-bottom: 1rem;
}

.request-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.request-hero p {
    font-size: 1.125rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Request Section */
.request-section {
    padding: 4rem 0;
    background: var(--light);
}

.request-wrapper {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 2rem;
    align-items: start;
}

/* Form Container */
.request-form-container {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Step Indicators */
.form-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--gray-light);
    position: relative;
}

.form-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 60px;
    right: 60px;
    height: 2px;
    background: var(--gray-light);
    z-index: 0;
}

.form-steps .step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    z-index: 1;
}

.form-steps .step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gray-light);
    color: var(--gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    transition: all 0.3s ease;
}

.form-steps .step-label {
    font-size: 0.875rem;
    color: var(--gray);
    font-weight: 500;
    transition: color 0.3s ease;
}

.form-steps .step.active .step-number {
    background: var(--primary);
    color: white;
}

.form-steps .step.active .step-label {
    color: var(--primary);
}

.form-steps .step.completed .step-number {
    background: var(--success);
    color: white;
}

.form-steps .step.completed .step-label {
    color: var(--success);
}

/* Form Steps Content */
.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.form-step h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.form-step h3 i {
    color: var(--primary);
}

/* Form Elements */
.request-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.request-form .form-group {
    margin-bottom: 1.25rem;
}

.request-form label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--dark);
    font-size: 0.9rem;
}

.request-form label .required {
    color: var(--danger);
}

.request-form input,
.request-form select,
.request-form textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--gray-light);
    border-radius: 0.5rem;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: white;
    color: var(--dark);
    box-sizing: border-box;
}

.request-form select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.request-form input:focus,
.request-form select:focus,
.request-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.request-form input.error,
.request-form select.error,
.request-form textarea.error {
    border-color: var(--danger);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.request-form textarea {
    resize: vertical;
    min-height: 80px;
}

/* Radio Group */
.radio-group {
    display: flex;
    gap: 1.5rem;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: 400;
}

.radio-label input[type="radio"] {
    width: auto;
    accent-color: var(--primary);
}

/* Checkbox Group */
.checkbox-group {
    margin-top: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-weight: 400;
    font-size: 0.9rem;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-top: 0.25rem;
    accent-color: var(--primary);
}

/* Form Actions */
.form-actions {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-light);
}

.form-actions .btn-next {
    margin-left: auto;
}

/* Success Message */
.form-success {
    text-align: center;
    padding: 3rem 2rem;
}

.form-success .success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--success) 0%, #5bb88f 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.form-success .success-icon i {
    font-size: 2.5rem;
    color: white;
}

.form-success h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.75rem;
}

.form-success p {
    color: var(--gray);
    margin-bottom: 2rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.success-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.success-buttons .btn {
    min-width: 200px;
}

/* Email Notice */
.email-notice {
    background: #f8fdfb;
    border: 1px solid #cbe8d5;
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #718096;
    font-size: 0.95rem;
}

.email-notice i {
    color: #7bc9a6;
    font-size: 1.2rem;
}

/* Request Sidebar */
.request-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: sticky;
    top: 100px;
}

.sidebar-card {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.sidebar-card .sidebar-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.sidebar-card .sidebar-icon i {
    font-size: 1.25rem;
    color: white;
}

.sidebar-card h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.sidebar-card p {
    font-size: 0.875rem;
    color: var(--gray);
    line-height: 1.5;
}

.sidebar-contact {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.sidebar-contact h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark);
    text-align: center;
}

.sidebar-contact .btn {
    margin-bottom: 0.75rem;
}

.sidebar-contact .btn:last-child {
    margin-bottom: 0;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* Responsive Request Page */
@media (max-width: 992px) {
    .request-wrapper {
        grid-template-columns: 1fr;
    }
    
    .request-sidebar {
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .sidebar-card,
    .sidebar-contact {
        flex: 1;
        min-width: 200px;
    }
}

@media (max-width: 768px) {
    .request-hero {
        padding: 4rem 0 2rem;
    }
    
    .request-hero h1 {
        font-size: 1.75rem;
    }
    
    .request-form-container {
        padding: 1.5rem;
    }
    
    .form-steps {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .form-steps::before {
        display: none;
    }
    
    .form-steps .step {
        flex-direction: row;
        gap: 1rem;
    }
    
    .request-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions .btn-next {
        margin-left: 0;
        order: -1;
    }
    
    .request-sidebar {
        flex-direction: column;
    }
    
    .sidebar-card,
    .sidebar-contact {
        min-width: 100%;
    }
}

/* Field Error Message */
.field-error {
    display: none;
    color: var(--danger);
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

.field-error.visible {
    display: block;
}

/* File Upload Area */
.file-upload-area {
    position: relative;
    border: 2px dashed var(--gray-light);
    border-radius: 0.75rem;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--light);
}

.file-upload-area:hover,
.file-upload-area.dragover {
    border-color: var(--primary);
    background: rgba(37, 99, 235, 0.05);
}

.file-upload-area .file-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-upload-content i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.file-upload-content p {
    font-weight: 500;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.file-upload-content span {
    font-size: 0.8rem;
    color: var(--gray);
}

/* Image Preview */
.image-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.preview-item {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preview-item .remove-image {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--danger);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    transition: transform 0.2s ease;
}

.preview-item .remove-image:hover {
    transform: scale(1.1);
}

/* =====================================================
   CONTACT PAGE STYLES
   ===================================================== */

/* Contact Hero */
.contact-hero {
    background: var(--gradient-hero);
    padding: 8rem 0 4rem;
    color: var(--dark);
    text-align: center;
    margin-top: -1px;
}

.contact-hero-content .badge {
    background: rgba(123, 201, 166, 0.2);
    color: var(--dark);
    margin-bottom: 1rem;
}

.contact-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.contact-hero p {
    font-size: 1.125rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Contact Section */
.contact-section {
    padding: 4rem 0;
    background: var(--light);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

/* Contact Info */
.contact-info h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--dark);
}

.contact-info > p {
    color: var(--gray);
    margin-bottom: 2rem;
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.contact-card-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-card-icon i {
    font-size: 1.25rem;
    color: white;
}

.contact-card-content h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--dark);
}

.contact-card-content a {
    color: var(--primary);
    font-weight: 500;
    display: block;
    margin-bottom: 0.25rem;
}

.contact-card-content a:hover {
    text-decoration: underline;
}

.contact-card-content span,
.contact-card-content p {
    font-size: 0.875rem;
    color: var(--gray);
    margin: 0;
}

/* Contact Social */
.contact-social {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-light);
}

.contact-social h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark);
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.social-link.facebook { background: #1877f2; }
.social-link.instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-link.twitter { background: #1da1f2; }
.social-link.linkedin { background: #0077b5; }
.social-link.youtube { background: #ff0000; }

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Contact Form Container */
.contact-form-container {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact-form-container h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.contact-form-container > p {
    color: var(--gray);
    margin-bottom: 1.5rem;
}

/* Contact Form */
.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.contact-form .form-group {
    margin-bottom: 1.25rem;
}

.contact-form label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--dark);
    font-size: 0.9rem;
}

.contact-form label .required {
    color: var(--danger);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--gray-light);
    border-radius: 0.5rem;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: white;
    color: var(--dark);
    box-sizing: border-box;
}

.contact-form select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

/* Contact Success */
.contact-success {
    text-align: center;
    padding: 3rem 2rem;
}

.contact-success .success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--success) 0%, #5bb88f 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.contact-success .success-icon i {
    font-size: 2.5rem;
    color: white;
}

.contact-success h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.75rem;
}

.contact-success p {
    color: var(--gray);
    max-width: 350px;
    margin: 0 auto;
}

/* Map Section */
.contact-map-section {
    padding: 4rem 0 0;
    background: white;
}

.contact-map-section .section-header {
    margin-bottom: 2rem;
}

.map-container {
    width: 100%;
    height: 450px;
    background: var(--light);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    display: block;
}

/* Responsive Contact Page */
@media (max-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 6rem 0 3rem;
    }
    
    .contact-hero h1 {
        font-size: 1.75rem;
    }
    
    .contact-form-container {
        padding: 1.5rem;
    }
    
    .contact-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .social-links {
        flex-wrap: wrap;
    }
    
    .map-container {
        height: 300px;
    }
}

/* =====================================================
   ABOUT PAGE STYLES
   ===================================================== */

/* About Hero */
.about-hero {
    background: var(--gradient-hero);
    padding: 8rem 0 6rem;
    color: var(--dark);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.about-hero-content {
    position: relative;
    z-index: 2;
}

.about-hero-content .badge {
    background: rgba(123, 201, 166, 0.2);
    color: var(--dark);
    margin-bottom: 1rem;
}

.about-hero h1 {
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.about-hero p {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 650px;
    margin: 0 auto;
}

.about-hero-shape {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    height: 100px;
    background: var(--light);
    transform: skewY(-2deg);
}

/* About Section */
.about-section {
    padding: 5rem 0;
    background: var(--light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content .badge {
    margin-bottom: 1rem;
}

.about-content h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.about-content .lead {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--dark);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.about-content p {
    color: var(--gray);
    margin-bottom: 1rem;
    line-height: 1.8;
}

/* About Stats */
.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--gray-light);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--gray);
}

/* About Image */
.about-image {
    position: relative;
}

.about-image .image-wrapper {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.about-image .image-accent {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--primary);
    border-radius: 1rem;
    z-index: -1;
}

.floating-card {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background: white;
    padding: 1.25rem 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 3;
}

.floating-card i {
    font-size: 2rem;
    color: var(--primary);
}

.floating-card strong {
    display: block;
    font-size: 1rem;
    color: var(--dark);
}

.floating-card span {
    font-size: 0.85rem;
    color: var(--gray);
}

/* Mission & Vision Grid */
.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.mv-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.mv-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

.mv-card-image {
    position: relative;
    height: 220px;
    overflow: visible;
}

.mv-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    border-radius: 1rem 1rem 0 0;
}

.mv-card:hover .mv-card-image img {
    transform: scale(1.05);
}

.mv-card-icon {
    position: absolute;
    bottom: -25px;
    left: 2rem;
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
    z-index: 10;
}

.mv-card-content {
    padding: 2.5rem 2rem 2rem;
}

.mv-card-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark);
}

.mv-card-content p {
    color: var(--gray);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.mv-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mv-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--dark);
    font-size: 0.95rem;
}

.mv-list li i {
    color: var(--success);
    margin-top: 0.2rem;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.value-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.value-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.value-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    color: white;
}

.value-card h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--dark);
}

.value-card p {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.6;
}

/* Team Preview Grid */
.team-preview-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.team-member {
    text-align: center;
}

.team-member-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1.25rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 4px solid white;
    transition: all 0.3s ease;
}

.team-member:hover .team-member-image {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.team-member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--dark);
}

.team-member span {
    font-size: 0.9rem;
    color: var(--primary);
}

/* About CTA */
.about-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 5rem 0;
    text-align: center;
    color: white;
}

.about-cta h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.about-cta p {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.about-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* About Page Responsive */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-image {
        order: -1;
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .mission-vision-grid {
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-preview-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .about-hero {
        padding: 6rem 0 4rem;
    }
    
    .about-hero h1 {
        font-size: 2rem;
    }
    
    .about-hero p {
        font-size: 1rem;
    }
    
    .about-content h2 {
        font-size: 1.75rem;
    }
    
    .about-image img {
        height: 350px;
    }
    
    .floating-card {
        left: 1rem;
        bottom: -20px;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .team-preview-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .team-member-image {
        width: 120px;
        height: 120px;
    }
    
    .about-cta h2 {
        font-size: 1.75rem;
    }
    
    .about-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* =====================================================
   SERVICES PAGE STYLES
   ===================================================== */

/* Services Hero */
.services-hero {
    background: var(--gradient-hero);
    padding: 8rem 0 6rem;
    color: var(--dark);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.services-hero-content {
    position: relative;
    z-index: 2;
}

.services-hero-content .badge {
    background: rgba(123, 201, 166, 0.2);
    color: var(--dark);
    margin-bottom: 1rem;
}

.services-hero h1 {
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.services-hero p {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 650px;
    margin: 0 auto;
}

.services-hero-shape {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    height: 100px;
    background: white;
    transform: skewY(-2deg);
}

/* Journey Timeline */
.journey-timeline {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
    position: relative;
    padding-top: 2rem;
}

.journey-timeline::before {
    content: '';
    position: absolute;
    top: 60px;
    left: 8%;
    right: 8%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
    z-index: 0;
}

.journey-step {
    position: relative;
    text-align: center;
    z-index: 1;
}

.journey-step-number {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 24px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

.journey-step-icon {
    width: 70px;
    height: 70px;
    background: white;
    border: 3px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 1.5rem;
    color: var(--primary);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.journey-step:hover .journey-step-icon {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

.journey-step-content h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.journey-step-content p {
    font-size: 0.85rem;
    color: var(--gray);
    line-height: 1.5;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.service-box {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.service-box:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-box-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    font-size: 1.5rem;
    color: white;
}

.service-box h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--dark);
}

.service-box > p {
    font-size: 0.95rem;
    color: var(--gray);
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.service-features li i {
    color: var(--success);
    font-size: 0.8rem;
}

/* Advantages Section */
.advantages-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.advantages-content .badge {
    margin-bottom: 1rem;
}

.advantages-content h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark);
}

.advantages-content .lead {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.advantages-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.advantage-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.advantage-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.25rem;
    color: white;
}

.advantage-text h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--dark);
}

.advantage-text p {
    font-size: 0.95rem;
    color: var(--gray);
    line-height: 1.6;
}

/* Advantages Image */
.advantages-image {
    position: relative;
}

.advantages-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 1rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.advantages-stats {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.stat-bubble {
    position: absolute;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    text-align: center;
}

.stat-bubble-1 {
    top: 20px;
    right: -20px;
}

.stat-bubble-2 {
    bottom: 40px;
    left: -20px;
}

.stat-bubble .stat-value {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.stat-bubble .stat-text {
    font-size: 0.8rem;
    color: var(--gray);
}

/* Packages Grid */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: stretch;
}

.package-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.package-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.package-featured {
    border-color: #e7b7c2;
    transform: scale(1.05);
    z-index: 2;
}

.package-featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.package-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #e7b7c2 0%, #d4a5b9 100%);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 2rem;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

.package-header {
    text-align: center;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--gray-light);
}

.package-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.package-header p {
    font-size: 0.95rem;
    color: var(--gray);
}

.package-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    flex: 1;
}

.package-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-light);
    font-size: 0.95rem;
    color: var(--dark);
}

.package-features li:last-child {
    border-bottom: none;
}

.package-features li i {
    font-size: 1rem;
}

.package-features li .fa-check-circle {
    color: var(--success);
}

.package-features li .fa-times-circle {
    color: var(--gray-light);
}

.package-features li.disabled {
    color: var(--gray-light);
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* Services CTA */
.services-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 5rem 0;
    text-align: center;
    color: white;
}

.services-cta h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.services-cta p {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.services-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Services Page Responsive */
@media (max-width: 1200px) {
    .journey-timeline {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
    
    .journey-timeline::before {
        display: none;
    }
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .advantages-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .advantages-image {
        order: -1;
    }
    
    .packages-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .package-featured {
        transform: none;
    }
    
    .package-featured:hover {
        transform: translateY(-5px);
    }
}

@media (max-width: 768px) {
    .services-hero {
        padding: 6rem 0 4rem;
    }
    
    .services-hero h1 {
        font-size: 2rem;
    }
    
    .journey-timeline {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .journey-step-icon {
        width: 60px;
        height: 60px;
        font-size: 1.25rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .advantages-image img {
        height: 350px;
    }
    
    .stat-bubble-1 {
        right: 10px;
    }
    
    .stat-bubble-2 {
        left: 10px;
    }
    
    .services-cta h2 {
        font-size: 1.75rem;
    }
    
    .services-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* =====================================================
   DOCTORS PAGE STYLES
   ===================================================== */

/* Doctors Hero */
.doctors-hero {
    background: url('/assets/images/doctorhero.png') center center / cover no-repeat;
    padding: 100px 0 0;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.doctors-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15,40,28,.88) 0%, rgba(20,65,45,.82) 50%, rgba(30,90,60,.75) 100%);
    pointer-events: none;
}

.doctors-hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 3rem;
    padding-bottom: 48px;
}

.doctors-hero-left { max-width: 640px; }

.doctors-hero-content .badge {
    background: rgba(123,201,166,.25);
    color: #a7edcb;
    border: 1px solid rgba(123,201,166,.3);
    margin-bottom: 0.75rem;
    font-size: 0.75rem;
    letter-spacing: .04em;
}

.doctors-hero h1 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #fff;
    line-height: 1.2;
}

.doctors-hero p {
    font-size: 0.95rem;
    color: rgba(255,255,255,.75);
    max-width: 500px;
    margin: 0 0 1.5rem;
}

.doctors-hero-stats {
    display: flex;
    gap: 2rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255,255,255,.15);
}

.doctors-hero-stat { text-align: center; }

.doctors-hero-stat strong {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: #7bc9a6;
    line-height: 1;
}

.doctors-hero-stat span {
    font-size: 0.72rem;
    color: rgba(255,255,255,.6);
    text-transform: uppercase;
    letter-spacing: .05em;
}

/* ---- Doctors Search Bar ---- */
.doctors-search-bar {
    width: 420px;
    flex-shrink: 0;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 20px;
    padding: 1.5rem;
    backdrop-filter: blur(8px);
}

.doctors-search-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: rgba(255,255,255,.85);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.doctors-search-label i { color: #7bc9a6; }

.doctors-search-hints {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 0.75rem;
    flex-wrap: wrap;
}

.doctors-search-hints > span {
    font-size: 0.72rem;
    color: rgba(255,255,255,.5);
}

.search-hint-btn {
    background: rgba(123,201,166,.2);
    border: 1px solid rgba(123,201,166,.3);
    color: #a7edcb;
    font-size: 0.72rem;
    padding: 3px 10px;
    border-radius: 50px;
    cursor: pointer;
    transition: background .2s;
    font-family: var(--font-sans);
}

.search-hint-btn:hover {
    background: rgba(123,201,166,.35);
    color: #fff;
}

.doctors-search-inner {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #fff;
    border-radius: 3rem;
    padding: 0.65rem 0.65rem 0.65rem 1.5rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.13);
}

.doctors-search-inner > i {
    color: var(--primary);
    font-size: 1rem;
    flex-shrink: 0;
}

.doctors-search-inner input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1rem;
    background: transparent;
    color: var(--dark);
}

.doctors-search-inner input::placeholder {
    color: #aaa;
}

#doctors-search-clear,
#clinics-search-clear {
    display: none;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,0.08);
    cursor: pointer;
    color: #666;
    flex-shrink: 0;
    transition: background 0.2s;
}

#doctors-search-clear:hover {
    background: rgba(0,0,0,0.18);
    color: var(--dark);
}

#doctors-search-stats {
    margin-top: 0.6rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--primary-dark);
    text-align: center;
    min-height: 1.2em;
}

.doctors-hero-shape {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    height: 100px;
    background: var(--light);
    transform: skewY(-2deg);
}

/* Filter Section */
.doctors-filter-section {
    background: white;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--gray-light);
    position: sticky;
    top: 80px;
    z-index: 100;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.doctors-filters {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 200px;
}

.filter-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark);
}

.filter-group label i {
    color: var(--primary);
}

.filter-select {
    padding: 0.75rem 1rem;
    border: 2px solid var(--gray-light);
    border-radius: 0.5rem;
    font-size: 0.95rem;
    color: var(--dark);
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 212, 170, 0.1);
}

.filter-results {
    margin-left: auto;
    padding: 0.75rem 1.25rem;
    background: var(--primary);
    color: white;
    border-radius: 2rem;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Loading State */
.doctors-loading {
    text-align: center;
    padding: 4rem 2rem;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--gray-light);
    border-top-color: var(--primary);
    border-radius: 50%;
    margin: 0 auto 1rem;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.doctors-loading p {
    color: var(--gray);
    font-size: 1rem;
}

/* Empty State */
.doctors-empty {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--light);
    border-radius: 1rem;
}

.empty-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.doctors-empty h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.75rem;
}

.doctors-empty p {
    color: var(--gray);
    margin-bottom: 1.5rem;
}

/* Doctors Grid */
.doctors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

/* Doctor Card */
.doctor-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0,0,0,.07);
    border: 1px solid var(--border);
    transition: transform .3s ease, box-shadow .3s ease;
}

.doctor-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0,0,0,.12);
}

/* Doctor Card Header */
.doctor-card-header {
    position: relative;
    overflow: hidden;
}

.doctor-image {
    position: relative;
    height: 240px;
    overflow: hidden;
    flex-shrink: 0;
}

.doctor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.4s ease;
}

.doctor-card:hover .doctor-image img {
    transform: scale(1.06);
}

.doctor-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.55) 0%, transparent 55%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.doctor-card:hover .doctor-image-overlay {
    opacity: 1;
}

.doctor-image-rating {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,.55);
    backdrop-filter: blur(6px);
    color: #fff;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 5px;
}

.doctor-image-rating i { color: #fbbf24; font-size: 0.7rem; }

/* Doctor Card Body */
.doctor-card-body {
    padding: 1rem 1.25rem 0.75rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.doctor-specialty {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 212, 170, 0.1);
    color: var(--primary);
    padding: 0.35rem 0.75rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
}

.doctor-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
    line-height: 1.3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.doctor-stars {
    display: flex;
    align-items: center;
    gap: 2px;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

.doctor-stars span {
    color: var(--gray);
    font-size: 0.72rem;
    margin-left: 4px;
}

.doctor-hospital,
.doctor-location,
.doctor-languages {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 0.4rem;
}

.doctor-hospital i,
.doctor-location i,
.doctor-languages i {
    color: var(--primary);
    width: 16px;
    text-align: center;
    font-size: 0.8rem;
}

/* Doctor Card Actions */
.doctor-card-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.doctor-card-actions .btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-weight: 600;
    border-radius: 0.75rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.doctor-card-actions .btn i {
    font-size: 0.9rem;
}

.doctor-card-actions .btn-outline {
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.05), rgba(0, 212, 170, 0.05));
    border: 2px solid rgba(0, 123, 255, 0.2);
    color: var(--primary);
}

.doctor-card-actions .btn-outline:hover {
    background: linear-gradient(135deg, var(--primary), #00d4aa);
    border-color: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.25);
}

.doctor-card-actions .btn-primary {
    background: linear-gradient(135deg, var(--primary), #00d4aa);
    border: 2px solid transparent;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.15);
}

.doctor-card-actions .btn-primary:hover {
    background: linear-gradient(135deg, #0056b3, #00b894);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.3);
}

/* Doctor Card Footer */
.doctor-card-footer {
    padding: 0 1.25rem 1.25rem;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* =============================================
   DOCTOR DETAIL PAGE
   ============================================= */

/* Doctor Side Navigation */
.doctor-side-nav {
    position: fixed;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 0.75rem;
}

.doctor-side-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.doctor-side-nav li a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--gray);
    text-decoration: none;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
}

.doctor-side-nav li a i {
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

.doctor-side-nav li a span {
    display: none;
}

.doctor-side-nav li a:hover,
.doctor-side-nav li a.active {
    background: rgba(123, 201, 166, 0.15);
    color: var(--primary);
}

.doctor-side-nav li a.active {
    background: var(--primary);
    color: white;
}

.doctor-side-nav:hover li a span {
    display: inline;
}

@media (max-width: 992px) {
    .doctor-side-nav {
        display: none;
    }
}

/* =============================================
   DOCTOR DETAIL HERO
   ============================================= */

.doctor-detail-hero {
    background: var(--gradient-hero);
    padding: 8rem 0 5rem;
    position: relative;
    overflow: hidden;
}

.doctor-detail-hero-shape {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: white;
    clip-path: ellipse(70% 100% at 50% 100%);
}

/* Two-part header: LEFT photo | RIGHT info */
.doctor-detail-header {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 3.5rem;
    align-items: start;
}

/* ---- LEFT: Photo ---- */
.doctor-detail-left {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.doctor-detail-image {
    position: relative;
    width: 260px;
    height: 260px;
    flex-shrink: 0;
}

.doctor-detail-image img {
    width: 260px;
    height: 260px;
    border-radius: 1.25rem;
    object-fit: cover;
    border: 4px solid white;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
    display: block;
}

.doctor-detail-rating {
    position: absolute;
    bottom: -12px;
    right: -12px;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: white;
    padding: 0.45rem 0.9rem;
    border-radius: 2rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.95rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    border: 2px solid white;
}

.doctor-detail-rating i {
    color: #f5c518;
}

/* ---- RIGHT: Name + Info ---- */
.doctor-detail-right {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-top: 0.5rem;
}

.doctor-detail-name-section {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.doctor-detail-name-section .badge {
    align-self: flex-start;
    margin-bottom: 0.25rem;
}

.doctor-detail-name-section h1 {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--dark);
    margin: 0;
    line-height: 1.15;
}

.doctor-experience-badge {
    display: inline-flex;
    align-items: center;
    background: var(--primary);
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.3rem 0.8rem;
    border-radius: 2rem;
    white-space: nowrap;
    vertical-align: middle;
    margin-left: 0.5rem;
}

.doctor-detail-specialty {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(123, 201, 166, 0.18);
    color: var(--primary-dark);
    padding: 0.45rem 1rem;
    border-radius: 2rem;
    font-size: 0.95rem;
    font-weight: 600;
    align-self: flex-start;
}

/* Info Grid - 2 columns on the right side */
.doctor-detail-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.doctor-detail-info-grid .info-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 0.875rem;
    border: 1px solid rgba(0,0,0,0.06);
    backdrop-filter: blur(8px);
}

.doctor-detail-info-grid .info-item > i {
    width: 36px;
    height: 36px;
    background: rgba(123, 201, 166, 0.15);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--primary);
    flex-shrink: 0;
}

.doctor-detail-info-grid .info-item > div {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.doctor-detail-info-grid .info-item .label {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.doctor-detail-info-grid .info-item .value {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark);
}

.doctor-detail-info-grid .info-item-link {
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.doctor-detail-info-grid .info-item-link:hover {
    background: rgba(123, 201, 166, 0.15);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.doctor-detail-info-grid .info-item-link .value {
    color: var(--primary);
}

.btn-quote-inline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, var(--primary), #00d4aa);
    border: 2px solid transparent;
    box-shadow: 0 4px 16px rgba(0, 123, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    width: 100%;
}

.btn-quote-inline i {
    font-size: 1rem;
}

.btn-quote-inline:hover {
    background: linear-gradient(135deg, #0056b3, #00b894);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 123, 255, 0.35);
}

/* Qualifications Section */
.doctor-qualifications-section {
    padding: 4rem 0;
}

.doctor-qualifications-section .section-header h2 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.75rem;
    margin-bottom: 2rem;
}

.doctor-qualifications-section .section-header h2 i {
    color: var(--primary);
}

.qualifications-content {
    display: grid;
    gap: 2rem;
}

.qualification-block {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.qualification-block h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    color: var(--dark);
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border);
}

.qualification-block h3 i {
    color: var(--primary);
}

.qualification-text {
    color: var(--dark-light);
    line-height: 1.8;
}

.qualification-empty,
.achievement-empty {
    text-align: center;
    padding: 3rem;
    background: white;
    border-radius: 1rem;
    color: var(--gray);
}

.qualification-empty i,
.achievement-empty i {
    font-size: 2.5rem;
    color: var(--gray-light);
    margin-bottom: 1rem;
}

/* Achievements Section */
.doctor-achievements-section {
    padding: 4rem 0;
}

.doctor-achievements-section .section-header h2 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.75rem;
    margin-bottom: 2rem;
}

.doctor-achievements-section .section-header h2 i {
    color: var(--primary);
}

.achievements-content {
    display: grid;
    gap: 2rem;
}

.achievement-block {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border);
}

.achievement-block h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    color: var(--dark);
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border);
}

.achievement-block h3 i {
    color: var(--primary);
}

.achievement-text {
    color: var(--dark-light);
    line-height: 1.8;
}

/* Colleagues Section */
.doctor-colleagues-section {
    padding: 4rem 0;
}

.doctor-colleagues-section .section-header h2 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.doctor-colleagues-section .section-header h2 i {
    color: var(--primary);
}

.doctor-colleagues-section .section-header p {
    color: var(--gray);
    margin-bottom: 2rem;
}

.colleagues-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.colleague-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border);
    text-decoration: none;
    transition: all 0.3s ease;
}

.colleague-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.colleague-image img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-light);
}

.colleague-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.colleague-info p {
    font-size: 0.85rem;
    color: var(--gray);
    margin: 0;
}

.colleague-rating {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.8rem;
    color: var(--dark);
    margin-top: 0.5rem;
}

.colleague-rating i {
    color: #e7b7c2;
}

/* Doctor Detail CTA */
.doctor-detail-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 5rem 0;
    text-align: center;
}

.doctor-detail-cta-content h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.doctor-detail-cta-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.doctor-detail-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Doctor Detail Responsive */
@media (max-width: 992px) {
    .doctor-detail-header {
        grid-template-columns: 200px 1fr;
        gap: 2rem;
    }
    
    .doctor-detail-image,
    .doctor-detail-image img {
        width: 200px;
        height: 200px;
    }
    
    .doctor-detail-name-section h1 {
        font-size: 1.75rem;
    }
    
    .doctor-detail-info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .doctor-detail-hero {
        padding: 6rem 0 3rem;
    }
    
    .doctor-detail-header {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .doctor-detail-left {
        align-items: center;
    }
    
    .doctor-detail-image,
    .doctor-detail-image img {
        width: 180px;
        height: 180px;
    }
    
    .doctor-detail-name-section {
        align-items: center;
        text-align: center;
    }
    
    .doctor-detail-name-section h1 {
        font-size: 1.6rem;
        text-align: center;
    }
    
    .doctor-detail-specialty {
        align-self: center;
    }
    
    .doctor-detail-info-grid {
        grid-template-columns: 1fr;
    }
    
    .doctor-detail-actions {
        justify-content: center;
    }
    
    .colleagues-grid {
        grid-template-columns: 1fr;
    }
    
    .doctor-detail-cta-content h2 {
        font-size: 1.75rem;
    }
}

/* Doctors CTA */
.doctors-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 5rem 0;
    text-align: center;
    color: white;
}

.doctors-cta h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.doctors-cta p {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.doctors-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Doctors Hospital Section */
.doctors-hospital-section {
    padding: 3rem 0;
    border-bottom: 1px solid var(--gray-light);
}

.doctors-hospital-section:nth-child(even) {
    background: var(--light);
}

.hospital-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary);
}

.hospital-info h2 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--dark);
    margin: 0 0 0.5rem 0;
}

.hospital-info h2 i {
    color: var(--primary);
}

.hospital-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray);
    font-size: 1rem;
    margin: 0;
}

.hospital-location i {
    color: var(--primary);
}

.doctors-count {
    background: var(--primary);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 2rem;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Doctor CV Link */
.doctor-cv-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.4rem 0.75rem;
    margin-left: 0.75rem;
    background: linear-gradient(135deg, #7bc9a6, #5bb88f);
    color: white;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
    vertical-align: middle;
    box-shadow: 0 2px 8px rgba(123, 201, 166, 0.3);
    flex-shrink: 0;
    text-decoration: none;
}

.doctor-cv-link i {
    font-size: 0.9rem;
}

.doctor-cv-link:hover {
    background: linear-gradient(135deg, #5bb88f, #4aa87d);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(123, 201, 166, 0.4);
}

.doctor-name {
    display: flex;
    align-items: center;
}

/* Doctors Page Responsive */
@media (max-width: 1200px) {
    .doctors-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .doctors-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hospital-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .hospital-info h2 {
        font-size: 1.4rem;
    }
    
    .doctors-filters {
        gap: 1rem;
    }
    
    .filter-group {
        min-width: 180px;
    }
    
    .filter-results {
        margin-left: 0;
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 992px) {
    .doctors-hero-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .doctors-search-bar {
        width: 100%;
    }
    .doctors-hero-stats {
        gap: 1.25rem;
    }
}

@media (max-width: 768px) {
    .doctors-hero {
        padding: 80px 0 0;
    }

    .doctors-hero h1 {
        font-size: 1.5rem;
    }

    .doctors-hero p {
        font-size: 0.88rem;
    }

    .doctors-hero-stats {
        gap: 1rem;
        flex-wrap: wrap;
    }

    .doctors-hero-stat strong {
        font-size: 1.2rem;
    }
    
    .doctors-filter-section {
        position: relative;
        top: 0;
    }
    
    .doctors-filters {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group {
        width: 100%;
    }
    
    .doctors-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .doctors-cta h2 {
        font-size: 1.75rem;
    }
    
    .doctors-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* =====================================================
   CLINICS PAGE STYLES
   ===================================================== */

/* Clinics Hero */
.clinics-hero {
    background: url('/assets/images/tourismeHero.png') center center / cover no-repeat;
    padding: 8rem 0 5rem;
    position: relative;
    overflow: hidden;
}

.clinics-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15,40,28,.88) 0%, rgba(20,65,45,.82) 50%, rgba(30,90,60,.72) 100%);
    pointer-events: none;
    z-index: 0;
}

.clinics-hero-content {
    text-align: center;
    color: #fff;
    position: relative;
    z-index: 2;
}

.clinics-hero .badge {
    background: rgba(123,201,166,.25);
    color: #a7edcb;
    border: 1px solid rgba(123,201,166,.3);
    margin-bottom: 1.5rem;
}

.clinics-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
}

.clinics-hero p {
    font-size: 1.25rem;
    color: rgba(255,255,255,.8);
    max-width: 600px;
    margin: 0 auto;
}

.clinics-hero-shape {
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 80px;
    background: white;
    clip-path: ellipse(70% 100% at 50% 100%);
}

/* Clinics Country Section */
.clinics-country-section {
    padding: 3rem 0;
    border-bottom: 1px solid var(--gray-light);
}

.clinics-country-section:nth-child(even) {
    background: var(--light);
}

.country-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary);
}

.country-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.country-flag {
    font-size: 2.5rem;
}

.country-info h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--dark);
    margin: 0;
}

.clinics-count {
    background: var(--primary);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 2rem;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Clinics Grid */
.clinics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Clinic Card */
.clinic-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.clinic-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.clinic-card-header {
    position: relative;
    height: 160px;
    background: linear-gradient(135deg, var(--light) 0%, #f0e8ec 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.clinic-logo {
    width: 120px;
    height: 120px;
    border-radius: 1rem;
    overflow: hidden;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.clinic-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0.5rem;
}

.clinic-rating {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #f5e1e6;
    color: #2d3748;
    padding: 0.35rem 0.75rem;
    border-radius: 2rem;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.clinic-rating i {
    font-size: 0.75rem;
    color: #e7b7c2;
}

.clinic-card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.clinic-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
    margin: 0 0 0.75rem 0;
    line-height: 1.3;
}

.clinic-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.clinic-location i {
    color: var(--primary);
    width: 16px;
}

.clinic-certifications {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: var(--gray);
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
}

.clinic-certifications i {
    color: var(--success);
    width: 16px;
    margin-top: 2px;
}

.clinic-stats {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.clinic-stat {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: var(--gray);
    background: var(--light);
    padding: 0.35rem 0.75rem;
    border-radius: 2rem;
}

.clinic-stat i {
    color: var(--primary);
    font-size: 0.8rem;
}

.clinic-description {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.5;
    margin: 0;
    margin-top: auto;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Clinic Card Actions */
.clinic-card-actions {
    display: flex;
    gap: 0.5rem;
    padding: 1rem 1.5rem 1.5rem;
    border-top: 1px solid rgba(0,0,0,0.06);
}

.clinic-card-actions .btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-weight: 600;
    border-radius: 0.75rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.clinic-card-actions .btn-outline {
    background: linear-gradient(135deg, rgba(176, 111, 104, 0.05), rgba(0,212,170,0.05));
    border: 2px solid rgba(176, 111, 104, 0.2);
    color: var(--primary);
}

.clinic-card-actions .btn-outline:hover {
    background: linear-gradient(135deg, var(--primary), #00d4aa);
    border-color: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(176, 111, 104, 0.2);
}

.clinic-card-actions .btn-primary {
    background: linear-gradient(135deg, var(--primary), #00d4aa);
    border: 2px solid transparent;
    box-shadow: 0 4px 12px rgba(176, 111, 104, 0.2);
}

.clinic-card-actions .btn-primary:hover {
    background: linear-gradient(135deg, #0056b3, #00b894);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(176, 111, 104, 0.2);
}

/* =============================================
   CLINIC DETAIL PAGE
   ============================================= */

.clinic-detail-hero {
    background: var(--gradient-hero);
    padding: 8rem 0 5rem;
    position: relative;
    overflow: hidden;
}

.clinic-detail-hero-shape {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: white;
    clip-path: ellipse(70% 100% at 50% 100%);
}

.clinic-detail-header {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 3.5rem;
    align-items: start;
}

/* Left: logo */
.clinic-detail-left {
    display: flex;
    flex-direction: column;
}

.clinic-detail-logo {
    position: relative;
    width: 240px;
    height: 240px;
}

.clinic-detail-logo img {
    width: 240px;
    height: 240px;
    border-radius: 1.25rem;
    object-fit: cover;
    border: 4px solid white;
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
    display: block;
    background: white;
}

.clinic-detail-rating {
    position: absolute;
    bottom: -12px;
    right: -12px;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: white;
    padding: 0.45rem 0.9rem;
    border-radius: 2rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    border: 2px solid white;
}

.clinic-detail-rating i { color: #f5c518; }
.clinic-detail-rating small { opacity: 0.7; font-size: 0.75rem; }

/* Right: info */
.clinic-detail-right {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-top: 0.5rem;
}

.clinic-detail-name-section {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.clinic-detail-name-section .badge {
    align-self: flex-start;
}

.clinic-detail-name-section h1 {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--dark);
    margin: 0;
    line-height: 1.15;
}

.clinic-detail-location-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray);
    font-size: 1rem;
}

.clinic-detail-location-row i { color: var(--primary); }

.clinic-detail-cert {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--gray);
}

.clinic-detail-cert i { color: var(--success); }

.clinic-detail-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.clinic-detail-info-grid .info-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(255,255,255,0.85);
    border-radius: 0.875rem;
    border: 1px solid rgba(0,0,0,0.06);
    backdrop-filter: blur(8px);
}

.clinic-detail-info-grid .info-item > i {
    width: 36px;
    height: 36px;
    background: rgba(123,201,166,0.15);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 0.95rem;
    flex-shrink: 0;
}

.clinic-detail-info-grid .info-item .label {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
}

.clinic-detail-info-grid .info-item .value {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark);
    display: block;
}

/* Doctors grid on clinic detail */
.clinic-detail-doctors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
}

.clinic-doctor-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.clinic-doctor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

.clinic-doctor-photo {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.clinic-doctor-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.clinic-doctor-rating {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0,0,0,0.65);
    color: white;
    padding: 0.25rem 0.6rem;
    border-radius: 2rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.85rem;
    font-weight: 600;
}

.clinic-doctor-rating i { color: #f5c518; }

.clinic-doctor-info {
    padding: 1rem 1rem 0.5rem;
    flex: 1;
}

.clinic-doctor-info h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin: 0 0 0.4rem;
}

.clinic-doctor-specialty,
.clinic-doctor-lang {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: var(--gray);
    margin: 0 0 0.25rem;
}

.clinic-doctor-specialty i,
.clinic-doctor-lang i { color: var(--primary); font-size: 0.8rem; }

.clinic-doctor-actions {
    display: flex;
    gap: 0.5rem;
    padding: 0.75rem 1rem 1rem;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.clinic-doctor-actions .btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    font-weight: 600;
    border-radius: 0.65rem;
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}

.clinic-doctor-actions .btn-outline {
    background: linear-gradient(135deg, rgba(0,123,255,0.05), rgba(0,212,170,0.05));
    border: 2px solid rgba(0,123,255,0.2);
    color: var(--primary);
}

.clinic-doctor-actions .btn-outline:hover {
    background: linear-gradient(135deg, var(--primary), #00d4aa);
    border-color: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.clinic-doctor-actions .btn-primary {
    background: linear-gradient(135deg, var(--primary), #00d4aa);
    border: 2px solid transparent;
}

.clinic-doctor-actions .btn-primary:hover {
    background: linear-gradient(135deg, #0056b3, #00b894);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,123,255,0.3);
}

/* Treatments grid on clinic detail */
.clinic-detail-treatments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.clinic-treatment-group {
    background: white;
    border-radius: 1rem;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.clinic-treatment-category {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0 0 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: capitalize;
}

.clinic-treatment-group ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.clinic-treatment-group ul li a {
    font-size: 0.9rem;
    color: var(--dark);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.04);
    transition: color 0.2s;
}

.clinic-treatment-group ul li a:hover { color: var(--primary); }
.clinic-treatment-group ul li:last-child a { border-bottom: none; }

/* CTA Section */
.clinic-detail-cta {
    background: var(--gradient-hero);
    padding: 5rem 0;
    text-align: center;
}

.clinic-detail-cta-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
}

.clinic-detail-cta-content p {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 2rem;
}

.clinic-detail-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 768px) {
    .clinic-detail-header {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .clinic-detail-left { align-items: center; }
    .clinic-detail-logo,
    .clinic-detail-logo img { width: 180px; height: 180px; }
    .clinic-detail-name-section { align-items: center; text-align: center; }
    .clinic-detail-name-section h1 { font-size: 1.6rem; }
    .clinic-detail-info-grid { grid-template-columns: 1fr; }
}

.clinic-card-footer {
    padding: 1rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.clinic-card-footer .btn-block {
    width: 100%;
    justify-content: center;
}

/* Clinics Empty State */
.clinics-empty {
    text-align: center;
    padding: 4rem 2rem;
}

.clinics-empty .empty-icon {
    width: 100px;
    height: 100px;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.clinics-empty .empty-icon i {
    font-size: 2.5rem;
    color: var(--gray-light);
}

.clinics-empty h3 {
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.clinics-empty p {
    color: var(--gray);
}

/* Clinics CTA */
.clinics-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 5rem 0;
    text-align: center;
}

.clinics-cta-content {
    color: white;
}

.clinics-cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.clinics-cta p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.clinics-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Clinics Page Responsive */
@media (max-width: 1200px) {
    .clinics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .country-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .clinics-hero {
        padding: 6rem 0 4rem;
    }
    
    .clinics-hero h1 {
        font-size: 2rem;
    }
    
    .clinics-hero p {
        font-size: 1rem;
    }
    
    .clinics-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 0 auto;
    }
    
    .country-flag {
        font-size: 2rem;
    }
    
    .country-info h2 {
        font-size: 1.4rem;
    }
    
    .clinics-cta h2 {
        font-size: 1.75rem;
    }
    
    .clinics-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* =====================================================
   APPOINTMENT PAGE STYLES
   ===================================================== */

/* Appointment Hero */
.appointment-hero {
    background: var(--gradient-hero);
    padding: 8rem 0 5rem;
    position: relative;
    overflow: hidden;
}

.appointment-hero-content {
    text-align: center;
    color: var(--dark);
    position: relative;
    z-index: 2;
}

.appointment-hero .badge {
    background: rgba(123, 201, 166, 0.2);
    color: var(--dark);
    margin-bottom: 1.5rem;
}

.appointment-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.appointment-hero p {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.appointment-hero-shape {
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 80px;
    background: var(--light);
    clip-path: ellipse(70% 100% at 50% 100%);
}

/* Appointment Section */
.appointment-section {
    background: var(--light);
    padding: 4rem 0;
}

.appointment-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: start;
}

/* Appointment Info Panel */
.appointment-info {
    position: sticky;
    top: 100px;
}

.info-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.info-card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.info-card-icon i {
    font-size: 2rem;
    color: white;
}

.info-card h3 {
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.info-card p {
    color: var(--gray);
    line-height: 1.6;
}

/* Info Steps */
.info-steps {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.info-step {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--gray-light);
}

.info-step:last-child {
    border-bottom: none;
}

.step-number {
    width: 32px;
    height: 32px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 1rem;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.step-content p {
    font-size: 0.85rem;
    color: var(--gray);
    margin: 0;
}

/* Info Contact */
.info-contact {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow);
}

.info-contact p {
    color: var(--gray);
    margin-bottom: 1rem;
}

/* Appointment Form Container */
.appointment-form-container {
    background: white;
    border-radius: 1rem;
    padding: 2.5rem;
    box-shadow: var(--shadow);
}

.appointment-form .form-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--gray-light);
}

.appointment-form .form-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.appointment-form .form-section h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    color: var(--dark);
    margin-bottom: 1.5rem;
}

.appointment-form .form-section h3 i {
    color: var(--primary);
}

.appointment-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.appointment-form .form-group {
    margin-bottom: 1rem;
}

.appointment-form .form-group label {
    display: block;
    font-weight: 500;
    color: var(--dark);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.appointment-form input[type="text"],
.appointment-form input[type="email"],
.appointment-form input[type="tel"],
.appointment-form input[type="date"],
.appointment-form input[type="datetime-local"],
.appointment-form select,
.appointment-form textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--gray-light);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.appointment-form input:focus,
.appointment-form select:focus,
.appointment-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(123, 201, 166, 0.1);
}

/* Readonly fields */
.appointment-form .readonly-field {
    background: var(--light);
    color: var(--gray);
    cursor: not-allowed;
    border-color: var(--gray-light);
}

.appointment-form .readonly-field:focus {
    border-color: var(--gray-light);
    box-shadow: none;
}

.appointment-form .form-group label small {
    font-weight: 400;
    color: var(--gray);
}

/* Field error state */
.appointment-form .field-error {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.15) !important;
}

.appointment-form .file-upload.field-error {
    border-color: #dc3545 !important;
}

.appointment-form .file-upload.field-error .file-upload-label {
    border-color: #dc3545;
    background: rgba(220, 53, 69, 0.05);
}

/* Response Popup */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 1rem;
}

.popup-container {
    background: white;
    border-radius: 1rem;
    max-width: 420px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: popupSlideIn 0.3s ease;
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--gray-light);
}

.popup-header h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--dark);
}

.popup-close {
    background: none;
    border: none;
    font-size: 1.25rem;
    color: var(--gray);
    cursor: pointer;
    padding: 0.25rem;
    transition: color 0.2s;
}

.popup-close:hover {
    color: var(--dark);
}

.popup-body {
    padding: 2rem 1.5rem;
    text-align: center;
}

.popup-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 2rem;
}

.popup-icon.success {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.popup-icon.error {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.popup-body p {
    margin: 0;
    color: var(--gray);
    line-height: 1.6;
}

.popup-body .popup-subtitle {
    margin-top: 0.75rem;
    font-size: 0.9rem;
    color: var(--gray);
}

.popup-footer {
    padding: 1rem 1.5rem 1.5rem;
    text-align: center;
}

.popup-footer .btn {
    min-width: 120px;
}

/* Quote Summary */
.quote-summary {
    background: var(--light);
    border-radius: 0.5rem;
    padding: 1rem;
    margin-top: 1rem;
}

.quote-summary-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px dashed var(--gray-light);
}

.quote-summary-item:last-child {
    border-bottom: none;
}

.quote-summary-item .label {
    color: var(--gray);
    font-size: 0.9rem;
}

.quote-summary-item .value {
    font-weight: 600;
    color: var(--dark);
}

.quote-summary-item .value.price {
    color: var(--primary);
    font-size: 1.1rem;
}

/* File Upload */
.file-upload {
    position: relative;
}

.file-upload input[type="file"] {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.file-upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    border: 2px dashed var(--gray-light);
    border-radius: 0.5rem;
    background: var(--light);
    transition: all 0.3s ease;
    text-align: center;
}

.file-upload:hover .file-upload-label {
    border-color: var(--primary);
    background: rgba(123, 201, 166, 0.05);
}

.file-upload-label.has-file {
    border-color: var(--success);
    background: rgba(123, 201, 166, 0.05);
}

.file-upload-label i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.file-upload-label span {
    font-weight: 500;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.file-upload-label small {
    font-size: 0.8rem;
    color: var(--gray);
}

/* Checkbox */
.checkbox-group {
    margin-bottom: 1.5rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: var(--primary);
}

/* Appointment Success */
.appointment-success {
    text-align: center;
    padding: 3rem;
}

.appointment-success .success-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #7bc9a6 0%, #5bb88f 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

.appointment-success .success-icon i {
    font-size: 3rem;
    color: white;
}

.appointment-success h3 {
    font-size: 2rem;
    color: var(--dark);
    margin-bottom: 1rem;
}

.appointment-success p {
    color: var(--gray);
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

/* Appointment Responsive */
@media (max-width: 992px) {
    .appointment-wrapper {
        grid-template-columns: 1fr;
    }
    
    .appointment-info {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    
    .info-card {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .appointment-hero {
        padding: 6rem 0 4rem;
    }
    
    .appointment-hero h1 {
        font-size: 2rem;
    }
    
    .appointment-info {
        grid-template-columns: 1fr;
    }
    
    .appointment-form-container {
        padding: 1.5rem;
    }
    
    .appointment-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .appointment-success h3 {
        font-size: 1.5rem;
    }
}

/* Validation Error Popup */
#incompatible-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

#incompatible-popup .popup-container {
    background: white;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: popupSlideIn 0.3s ease-out;
}

#incompatible-popup .popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--light-gray);
}

#incompatible-popup .popup-header h3 {
    margin: 0;
    color: var(--danger);
    font-size: 1.25rem;
    font-weight: 600;
}

#incompatible-popup .popup-close {
    background: none;
    border: none;
    font-size: 1.25rem;
    color: var(--gray);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

#incompatible-popup .popup-close:hover {
    background-color: var(--light-gray);
    color: var(--dark);
}

#incompatible-popup .popup-body {
    padding: 2rem 1.5rem;
    text-align: center;
}

#incompatible-popup .popup-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
}

#incompatible-popup .popup-icon.error {
    background-color: rgba(220, 53, 69, 0.1);
    color: var(--danger);
}

#incompatible-popup .popup-body p {
    margin: 0 0 1rem;
    color: var(--dark);
    line-height: 1.6;
}

#incompatible-popup .popup-subtitle {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 0;
}

#incompatible-popup .popup-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--light-gray);
    display: flex;
    justify-content: center;
}

#incompatible-popup .popup-footer .btn {
    min-width: 120px;
}

[dir="rtl"] #incompatible-popup .popup-header {
    flex-direction: row-reverse;
}

[dir="rtl"] #incompatible-popup .popup-close {
    margin-left: 0;
    margin-right: auto;
}

@media (max-width: 768px) {
    #incompatible-popup .popup-container {
        width: 95%;
        margin: 1rem;
    }
    
    #incompatible-popup .popup-header,
    #incompatible-popup .popup-body,
    #incompatible-popup .popup-footer {
        padding: 1rem;
    }
    
    #incompatible-popup .popup-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
}

/* =====================================================
   TERMS PAGE STYLES
   ===================================================== */

/* Terms Hero */
.terms-hero {
    background: var(--gradient-hero);
    padding: 6rem 0 4rem;
    color: var(--dark);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.terms-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.terms-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.terms-hero-content .badge {
    background: rgba(123, 201, 166, 0.2);
    color: var(--dark);
    margin-bottom: 1.5rem;
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 2rem;
    backdrop-filter: blur(10px);
    display: inline-block;
}

.terms-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark);
    text-shadow: none;
}

.terms-hero p {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 0.5rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.effective-date {
    font-size: 1rem;
    font-style: italic;
    opacity: 0.8;
}

/* Terms Content Section */
.terms-content {
    padding: 4rem 0;
    background: var(--light);
    position: relative;
}

.terms-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.terms-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 1rem;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(123, 201, 166, 0.1);
}

/* Terms Sections */
.terms-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--gray-light);
    position: relative;
}

.terms-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.terms-section h2 {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1.5rem;
    position: relative;
}

.terms-section h2::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.section-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 8px;
    background: var(--gradient-primary);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 50px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(123, 201, 166, 0.4);
}

.terms-list {
    color: var(--gray);
    line-height: 1.8;
}

.terms-list p {
    margin-bottom: 1rem;
    font-size: 1rem;
    text-align: justify;
}

.terms-list ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.terms-list li {
    margin-bottom: 0.75rem;
    font-size: 1rem;
    position: relative;
    transition: all 0.3s ease;
}

.terms-list li:hover {
    transform: translateX(5px);
    color: var(--dark);
}

.terms-list li::before {
    content: '•';
    color: var(--primary);
    font-weight: bold;
    position: absolute;
    left: -1.5rem;
    transition: all 0.3s ease;
}

.terms-list li:hover::before {
    transform: scale(1.2);
}

/* Term Items */
.term-item {
    margin-bottom: 1.5rem;
    padding: 1.25rem;
    background: var(--light);
    border-radius: 0.5rem;
    border-left: 4px solid var(--primary);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.term-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, rgba(123, 201, 166, 0.05), transparent);
    transition: width 0.3s ease;
}

.term-item:hover::before {
    width: 100%;
}

.term-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(123, 201, 166, 0.15);
    border-left-color: var(--primary-dark);
}

.term-item strong {
    color: var(--dark);
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

/* Contact Info */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--light);
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.contact-item:hover::before {
    transform: scaleY(1);
}

.contact-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(123, 201, 166, 0.2);
    border-color: rgba(123, 201, 166, 0.2);
}

.contact-item i {
    color: var(--primary);
    font-size: 1.3rem;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(123, 201, 166, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.contact-item:hover i {
    background: var(--primary);
    color: white;
    transform: rotate(360deg);
}

.contact-item span {
    color: var(--dark);
    font-weight: 500;
    font-size: 0.95rem;
}

/* Scroll to top button */
.terms-scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(123, 201, 166, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

.terms-scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.terms-scroll-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(123, 201, 166, 0.4);
}

/* ===== LANDSCAPE MOBILE FIXES ===== */
@media (max-width: 900px) and (max-height: 500px) {
    .hero {
        padding: 2rem 0;
    }
    
    .popup {
        max-height: 95vh;
    }
    
    .section {
        padding: 2rem 0;
    }
}

/* ===== FLOATING BUTTONS & SIDE NAV FIXES ===== */
/* Ensure floating elements don't cause overflow or layout issues */
.floating-cta,
.home-side-nav {
    pointer-events: none; /* Allow clicks to pass through container */
}

.floating-cta > *,
.home-side-nav > * {
    pointer-events: auto; /* Re-enable clicks on actual buttons */
}

/* Prevent floating buttons from blocking content on small screens */
@media (max-width: 768px) {
    .floating-cta {
        bottom: 1rem;
        right: 1rem;
        gap: 0.75rem;
        z-index: 998; /* Below popup (999) but above content */
    }
    
    [dir="rtl"] .floating-cta {
        right: auto;
        left: 1rem;
    }
    
    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    }
    
    /* Ensure buttons don't interfere with form submission */
    .floating-btn:active {
        transform: scale(0.95);
    }
    
    /* Hide side nav on mobile (already done but ensuring) */
    .home-side-nav {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .floating-cta {
        bottom: 0.75rem;
        right: 0.75rem;
        gap: 0.5rem;
    }
    
    [dir="rtl"] .floating-cta {
        right: auto;
        left: 0.75rem;
    }
    
    .floating-btn {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

/* Ensure popup overlay is above floating buttons */
.popup-overlay {
    z-index: 1000; /* Above floating buttons */
}

/* Prevent body scroll when popup is open (avoid floating button conflicts) */
body.popup-open {
    overflow: hidden;
}

/* Ensure floating buttons don't cause horizontal scroll */
@media (max-width: 768px) {
    body {
        position: relative;
        overflow-x: hidden !important;
    }
    
    /* Ensure floating elements stay within viewport */
    .floating-cta {
        max-width: calc(100vw - 2rem);
    }
}

/* Fix for when keyboard is open on mobile */
@media (max-width: 768px) {
    /* Move floating buttons up when input is focused to avoid keyboard overlap */
    body.keyboard-open .floating-cta {
        bottom: 50vh;
        transition: bottom 0.3s ease;
    }
}

/* Ensure no conflicts between floating buttons and footer */
@media (max-width: 768px) {
    .footer {
        padding-bottom: 5rem; /* Extra space for floating buttons */
    }
}

/* RTL specific fixes for floating elements */
[dir="rtl"] .floating-cta {
    align-items: flex-start;
}

/* Accessibility: Ensure floating buttons are keyboard accessible */
.floating-btn:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.floating-btn:focus:not(:focus-visible) {
    outline: none;
}

/* Prevent floating buttons from interfering with Select2 dropdowns */
.select2-container {
    z-index: 1001; /* Above floating buttons */
}

.select2-dropdown {
    z-index: 1002; /* Above Select2 container */
}

/* Responsive Terms Page */
@media (max-width: 768px) {
    .terms-hero {
        padding: 4rem 0 3rem;
    }
    
    .terms-hero h1 {
        font-size: 2rem;
    }
    
    .terms-hero p {
        font-size: 1rem;
    }
    
    .terms-wrapper {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }
    
    .terms-section h2 {
        font-size: 1.3rem;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .terms-section h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .section-number {
        font-size: 1.5rem;
    }
    
    .terms-list p {
        text-align: left;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .terms-scroll-top {
        bottom: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .terms-hero {
        padding: 3rem 0 2rem;
    }
    
    .terms-hero h1 {
        font-size: 1.75rem;
    }
    
    .terms-wrapper {
        padding: 1.5rem 1rem;
        margin: 0 0.5rem;
    }
    
    .terms-section h2 {
        font-size: 1.2rem;
    }
    
    .term-item {
        padding: 1rem;
    }
    
    .contact-item {
        padding: 1rem;
    }
    
    .contact-item i {
        width: 25px;
        height: 25px;
        font-size: 1.1rem;
    }
    
    .section-number {
        font-size: 1.3rem;
    }
}

/* Print styles */
@media print {
    .terms-hero {
        background: none !important;
        color: black !important;
        padding: 2rem 0 !important;
    }
    
    .terms-content {
        background: white !important;
        padding: 0 !important;
    }
    
    .terms-wrapper {
        box-shadow: none !important;
        border: none !important;
        padding: 0 !important;
    }
    
    .terms-scroll-top {
        display: none !important;
    }
}

/* Privacy Page Styles */
.privacy-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.privacy-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.privacy-hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.privacy-hero .badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.privacy-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.privacy-hero p {
    font-size: 1.2rem;
    margin-bottom: 15px;
    opacity: 0.9;
}

.privacy-hero .effective-date {
    font-size: 1rem;
    opacity: 0.8;
    font-style: italic;
}

.privacy-content {
    padding: 80px 0;
    background: var(--light);
}

.privacy-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.privacy-section {
    background: white;
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.privacy-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.privacy-section h2 {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 25px;
}

.privacy-section .section-number {
    font-size: 2rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.privacy-list {
    color: var(--text);
    line-height: 1.8;
}

.privacy-list p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.privacy-list ul {
    margin: 20px 0;
    padding-left: 25px;
}

.privacy-list li {
    margin-bottom: 12px;
    font-size: 1.05rem;
    position: relative;
}

.privacy-list li::marker {
    color: var(--primary);
    font-weight: bold;
}

.data-category {
    margin: 30px 0;
    padding: 25px;
    background: var(--light);
    border-radius: 10px;
    border-left: 4px solid var(--primary);
}

.data-category h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 15px;
}

.data-category .icon {
    font-size: 1.5rem;
}

.data-category ul {
    margin: 15px 0;
    padding-left: 20px;
}

.data-category li {
    margin-bottom: 8px;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--light);
    border-radius: 10px;
    transition: var(--transition);
}

.contact-item:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-item:hover i {
    color: white;
    background: rgba(255, 255, 255, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .privacy-hero {
        padding: 100px 0 60px;
    }
    
    .privacy-hero h1 {
        font-size: 2.5rem;
    }
    
    .privacy-hero p {
        font-size: 1rem;
    }
    
    .privacy-section {
        padding: 25px;
        margin-bottom: 20px;
    }
    
    .privacy-section h2 {
        font-size: 1.5rem;
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .privacy-section .section-number {
        font-size: 1.5rem;
    }
    
    .data-category {
        padding: 20px;
        margin: 20px 0;
    }
    
    .data-category h3 {
        font-size: 1.2rem;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .privacy-hero h1 {
        font-size: 2rem;
    }
    
    .privacy-section {
        padding: 20px;
    }
    
    .privacy-section h2 {
        font-size: 1.3rem;
    }
    
    .privacy-list p,
    .privacy-list li {
        font-size: 1rem;
    }
}

/* RTL Support */
[dir="rtl"] .privacy-section h2 {
    flex-direction: row-reverse;
}

[dir="rtl"] .data-category h3 {
    flex-direction: row-reverse;
}

[dir="rtl"] .contact-item {
    flex-direction: row-reverse;
}

[dir="rtl"] .privacy-list {
    text-align: right;
}

[dir="rtl"] .privacy-list ul {
    padding-right: 25px;
    padding-left: 0;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.privacy-section:nth-child(1) { animation-delay: 0.1s; }
.privacy-section:nth-child(2) { animation-delay: 0.2s; }
.privacy-section:nth-child(3) { animation-delay: 0.3s; }
.privacy-section:nth-child(4) { animation-delay: 0.4s; }
.privacy-section:nth-child(5) { animation-delay: 0.5s; }
.privacy-section:nth-child(6) { animation-delay: 0.6s; }
.privacy-section:nth-child(7) { animation-delay: 0.7s; }
.privacy-section:nth-child(8) { animation-delay: 0.8s; }
.privacy-section:nth-child(9) { animation-delay: 0.9s; }

/* Guarantees Section Styles */
.guarantees-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.guarantee-item {
    background: white;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.guarantee-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.guarantee-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.guarantee-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    box-shadow: 0 10px 25px rgba(123, 201, 166, 0.3);
}

.guarantee-item h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 15px;
    line-height: 1.3;
}

.guarantee-item p {
    color: var(--gray);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Responsive Design for Guarantees */
@media (max-width: 768px) {
    .guarantees-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }
    
    .guarantee-item {
        padding: 30px 20px;
    }
    
    .guarantee-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
    
    .guarantee-item h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .guarantee-item {
        padding: 25px 15px;
    }
    
    .guarantee-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .guarantee-item h3 {
        font-size: 1.1rem;
    }
    
    .guarantee-item p {
        font-size: 0.9rem;
    }
}

/* RTL Support for Guarantees */
[dir="rtl"] .guarantee-item {
    text-align: right;
}

[dir="rtl"] .guarantee-item::before {
    right: 0;
    left: auto;
}

/* Animation delays for guarantee items */
.guarantee-item:nth-child(1) { animation-delay: 0.1s; }
.guarantee-item:nth-child(2) { animation-delay: 0.2s; }
.guarantee-item:nth-child(3) { animation-delay: 0.3s; }
.guarantee-item:nth-child(4) { animation-delay: 0.4s; }
.guarantee-item:nth-child(5) { animation-delay: 0.5s; }

/* =====================================================
   EMPTY STATE STYLES
   ===================================================== */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    text-align: center;
    color: var(--gray);
    width: 100%;
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-state p {
    font-size: 1.1rem;
    margin: 0;
}
/* =====================================================

   MOBILE RESPONSIVENESS FIXES

   Enhanced mobile experience across all breakpoints

   ===================================================== */



/* ===== GLOBAL MOBILE IMPROVEMENTS ===== */

@media (max-width: 768px) {

    /* Reduce font sizes for mobile */

    html {

        font-size: 14px;

    }

    

    /* Container padding */

    .container {

        padding: 0 15px;

    }

    

    /* Section padding */

    .section {

        padding: 3rem 0;

    }

    

    /* Typography adjustments */

    h1 { font-size: 2rem; }

    h2 { font-size: 1.75rem; }

    h3 { font-size: 1.5rem; }

    h4 { font-size: 1.25rem; }

}



/* ===== HEADER & NAVIGATION ===== */

@media (max-width: 768px) {

    .top-bar {

        padding: 0.5rem 0;

    }

    

    .top-bar-content {

        flex-direction: column;

        gap: 0.5rem;

        text-align: center;

    }

    

    .top-bar-left,

    .top-bar-right {

        justify-content: center;

        width: 100%;

    }

    

    .header {

        padding: 1rem 0;

    }

    

    .logo {

        font-size: 1.25rem;

    }

    

    .logo-icon {

        width: 35px;

        height: 35px;

    }

    

    .nav-toggle {

        padding: 0.5rem;

    }

}



/* ===== POPUP/MODAL MOBILE ===== */

@media (max-width: 768px) {

    .popup {

        max-width: 95%;

        margin: 1rem;

        max-height: 95vh;

    }

    

    .popup-header {

        padding: 1.5rem 1rem;

    }

    

    .popup-header h3 {

        font-size: 1.25rem;

    }

    

    .popup-header i {

        font-size: 2rem;

    }

    

    .popup-body {

        padding: 1.5rem 1rem;

    }

    

    .popup-form .form-row {

        grid-template-columns: 1fr;

    }

    

    .popup-doctor-img {

        width: 60px;

        height: 60px;

    }

}



@media (max-width: 480px) {

    .popup {

        max-width: 100%;

        margin: 0;

        border-radius: 0;

        max-height: 100vh;

    }

    

    .popup-header {

        padding: 1rem;

    }

    

    .popup-body {

        padding: 1rem;

    }

}



/* ===== HERO SECTIONS ===== */

@media (max-width: 768px) {

    .hero {

        padding: 3rem 0 2rem;

    }

    

    .hero-content {

        gap: 2rem;

    }

    

    .hero-text {

        padding: 0;

    }

    

    .hero-title {

        font-size: 2rem;

        margin: 1.5rem 0;

        padding-left: 15px;

    }

    

    .hero-subtitle {

        font-size: 1rem;

    }

    

    .hero-buttons {

        flex-direction: column;

        gap: 0.75rem;

    }

    

    .hero-buttons .btn {

        width: 100%;

        justify-content: center;

    }

    

    .hero-image {

        max-width: 100%;

    }

    

    .search-form {

        padding: 1.5rem;

        gap: 0.75rem;

    }

}



@media (max-width: 480px) {

    .hero {

        padding: 2rem 0 1.5rem;

    }

    

    .hero-title {

        font-size: 1.75rem;

        padding-left: 10px;

        border-left-width: 3px;

    }

    

    .brand-statement {

        font-size: 1.25rem !important;

    }

}



/* ===== FORMS - REQUEST, CONTACT, APPOINTMENT ===== */

@media (max-width: 768px) {

    /* Request Form */

    .request-wrapper {

        grid-template-columns: 1fr;

        gap: 2rem;

    }

    

    .request-form-container {

        padding: 1.5rem;

    }

    

    .request-form .form-row {

        grid-template-columns: 1fr;

    }

    

    .form-steps {

        gap: 0.5rem;

    }

    

    .step {

        padding: 0.75rem 1rem;

    }

    

    .step-label {

        display: none;

    }

    

    .step-number {

        margin-right: 0;

    }

    

    .form-actions {

        flex-direction: column;

        gap: 0.75rem;

    }

    

    .form-actions .btn {

        width: 100%;

    }

    

    /* Contact Form */

    .contact-wrapper {

        grid-template-columns: 1fr;

        gap: 2rem;

    }

    

    .contact-form-container {

        padding: 1.5rem;

    }

    

    .contact-form .form-row {

        grid-template-columns: 1fr;

    }

    

    .contact-info-grid {

        grid-template-columns: 1fr;

    }

    

    /* Appointment Form */

    .appointment-wrapper {

        grid-template-columns: 1fr;

    }

    

    .appointment-form-container {

        padding: 1.5rem;

    }

    

    .appointment-form .form-row {

        grid-template-columns: 1fr;

    }

    

    .appointment-summary {

        order: -1;

    }

}



@media (max-width: 480px) {

    .request-form-container,

    .contact-form-container,

    .appointment-form-container {

        padding: 1rem;

        border-radius: 0.5rem;

    }

    

    .form-group label {

        font-size: 0.85rem;

    }

    

    input, select, textarea {

        padding: 0.75rem !important;

        font-size: 0.9rem;

    }

    

    .btn {

        padding: 0.875rem 1.5rem;

        font-size: 0.9rem;

    }

}



/* ===== FILE UPLOAD ===== */

@media (max-width: 768px) {

    .file-upload-area {

        padding: 2rem 1rem;

    }

    

    .file-upload-icon {

        font-size: 2rem;

    }

    

    .image-preview {

        grid-template-columns: repeat(2, 1fr);

        gap: 0.75rem;

    }

}



@media (max-width: 480px) {

    .image-preview {

        grid-template-columns: 1fr;

    }

}



/* ===== CARDS & GRIDS ===== */

@media (max-width: 768px) {

    /* Treatment Cards */

    .treatments-grid {

        grid-template-columns: 1fr;

        gap: 1rem;

    }

    

    /* Doctor Cards */

    .doctors-grid {

        grid-template-columns: 1fr;

    }

    

    /* Hospital Cards */

    .hospitals-grid {

        grid-template-columns: 1fr;

    }

    

    /* Feature Cards */

    .features-grid {

        grid-template-columns: 1fr;

    }

    

    /* Stats Grid */

    .stats-grid {

        grid-template-columns: repeat(2, 1fr);

        gap: 1rem;

    }

}



@media (max-width: 480px) {

    .stats-grid {

        grid-template-columns: 1fr;

    }

}



/* ===== TABLES ===== */

@media (max-width: 768px) {

    .treatments-table {

        display: block;

        overflow-x: auto;

        -webkit-overflow-scrolling: touch;

    }

    

    table {

        min-width: 600px;

    }

    

    .treatment-item {

        flex-wrap: wrap;

        gap: 0.5rem;

    }

    

    .treatment-item-info {

        flex: 1 1 100%;

    }

    

    .treatment-item-price {

        flex: 1 1 100%;

        text-align: left;

        min-width: auto;

    }

}



/* ===== FLOATING CTA BUTTONS ===== */

@media (max-width: 768px) {

    .floating-cta {

        bottom: 1rem;

        right: 1rem;

        gap: 0.75rem;

    }

    

    .floating-btn {

        width: 50px;

        height: 50px;

        font-size: 1.25rem;

    }

}



@media (max-width: 480px) {

    .floating-cta {

        bottom: 0.75rem;

        right: 0.75rem;

    }

    

    .floating-btn {

        width: 45px;

        height: 45px;

        font-size: 1.1rem;

    }

}



/* ===== FOOTER ===== */

@media (max-width: 768px) {

    .footer {

        padding: 3rem 0 2rem;

    }

    

    .footer-grid {

        grid-template-columns: 1fr;

        gap: 2rem;

    }

    

    .footer-brand {

        max-width: 100%;

        text-align: center;

    }

    

    .footer-column {

        text-align: center;

    }

    

    .footer-links {

        align-items: center;

    }

    

    .footer-social {

        justify-content: center;

    }

    

    .footer-bottom {

        flex-direction: column;

        gap: 1rem;

        text-align: center;

    }

    

    .footer-bottom-links {

        flex-direction: column;

        gap: 0.5rem;

    }

}



/* ===== CTA BANNERS ===== */

@media (max-width: 768px) {

    .cta-banner {

        padding: 2rem 1.5rem;

    }

    

    .cta-banner-content {

        flex-direction: column;

        text-align: center;

        gap: 1.5rem;

    }

    

    .cta-banner h2 {

        font-size: 1.5rem;

    }

    

    .cta-banner-buttons {

        flex-direction: column;

        width: 100%;

    }

    

    .cta-banner-buttons .btn {

        width: 100%;

    }

    

    .appointment-cta-card {

        flex-direction: column;

        text-align: center;

        padding: 2rem 1.5rem;

    }

}



/* ===== BREADCRUMBS ===== */

@media (max-width: 768px) {

    .breadcrumb {

        font-size: 0.85rem;

        flex-wrap: wrap;

    }

}



/* ===== PAGE HEADERS ===== */

@media (max-width: 768px) {

    .page-header {

        padding: 3rem 0 2rem;

    }

    

    .page-header h1 {

        font-size: 2rem;

    }

    

    .page-header p {

        font-size: 1rem;

    }

}



/* ===== TREATMENT DETAIL ===== */

@media (max-width: 768px) {

    .treatment-detail-grid {

        grid-template-columns: 1fr;

    }

    

    .treatment-sidebar {

        order: -1;

    }

    

    .treatment-gallery {

        grid-template-columns: 1fr;

    }

    

    .related-treatments {

        grid-template-columns: 1fr;

    }

}



/* ===== DOCTOR DETAIL ===== */

@media (max-width: 768px) {

    .doctor-detail-grid {

        grid-template-columns: 1fr;

    }

    

    .doctor-header {

        flex-direction: column;

        text-align: center;

    }

    

    .doctor-photo {

        margin: 0 auto 1.5rem;

    }

    

    .doctor-specialties {

        justify-content: center;

    }

}



/* ===== ABOUT PAGE ===== */

@media (max-width: 768px) {

    .about-grid {

        grid-template-columns: 1fr;

        gap: 2rem;

    }

    

    .about-grid-reverse {

        grid-template-columns: 1fr;

    }

    

    .about-image {

        order: -1;

    }

    

    .mv-grid {

        grid-template-columns: 1fr;

    }

    

    .team-preview-grid {

        grid-template-columns: repeat(2, 1fr);

    }

}



@media (max-width: 480px) {

    .team-preview-grid {

        grid-template-columns: 1fr;

    }

}



/* ===== SELECT2 MOBILE FIXES ===== */

@media (max-width: 768px) {

    .select2-container--default .select2-selection--single {

        height: 45px;

    }

    

    .select2-container--default .select2-selection--single .select2-selection__rendered {

        line-height: 45px;

    }

    

    .select2-container--default .select2-selection--single .select2-selection__arrow {

        height: 45px;

    }

    

    .select2-dropdown {

        font-size: 0.9rem;

    }

    

    .select2-results__option {

        padding: 0.75rem;

    }

}



/* ===== RECAPTCHA MOBILE ===== */

@media (max-width: 768px) {

    .g-recaptcha {

        transform: scale(0.9);

        transform-origin: 0 0;

    }

}



@media (max-width: 380px) {

    .g-recaptcha {

        transform: scale(0.77);

        transform-origin: 0 0;

    }

}



/* ===== UTILITY CLASSES ===== */

@media (max-width: 768px) {

    .hide-mobile {

        display: none !important;

    }

    

    .show-mobile {

        display: block !important;

    }

    

    .text-center-mobile {

        text-align: center !important;

    }

    

    .w-full-mobile {

        width: 100% !important;

    }

}



/* ===== CAROUSEL/SLIDER MOBILE ===== */

@media (max-width: 768px) {

    .treatments-carousel {

        padding: 0;

    }

    

    .carousel-nav {

        display: none;

    }

    

    .slider-nav {

        bottom: -2.5rem;

    }

}



/* ===== MODAL/DIALOG MOBILE ===== */

@media (max-width: 768px) {

    .modal-content {

        width: 95%;

        margin: 1rem;

        max-height: 90vh;

        overflow-y: auto;

    }

}



/* ===== CHECKBOX & RADIO MOBILE ===== */

@media (max-width: 768px) {

    .checkbox-group,

    .radio-group {

        font-size: 0.9rem;

    }

    

    .checkbox-label,

    .radio-label {

        padding: 0.75rem;

    }

}



/* ===== OVERFLOW FIXES ===== */

@media (max-width: 768px) {

    body {

        overflow-x: hidden;

    }

    

    .container {

        overflow-x: hidden;

    }

    

    img {

        max-width: 100%;

        height: auto;

    }

}



/* ===== TOUCH IMPROVEMENTS ===== */

@media (max-width: 768px) {

    /* Larger touch targets */

    button,

    .btn,

    a.btn {

        min-height: 44px;

        min-width: 44px;

    }

    

    /* Better spacing for touch */

    .nav-menu a {

        padding: 1rem;

    }

    

    /* Prevent text selection on buttons */

    button,

    .btn {

        -webkit-tap-highlight-color: transparent;

        user-select: none;

    }

}



/* ===== LANDSCAPE MOBILE FIXES ===== */

@media (max-width: 900px) and (max-height: 500px) {

    .hero {

        padding: 2rem 0;

    }

    

    .popup {

        max-height: 95vh;

    }

    

    .section {

        padding: 2rem 0;

    }

}



/* =============================================
   CERTIFICATION BADGES
   ============================================= */

.cert-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
}

/* sm — partner cards (home slider) */
.cert-badges--sm .cert-badge--logo,
.cert-badges--sm .cert-badge--img {
    height: 28px;
    width: auto;
    max-width: 56px;
    object-fit: contain;
}

/* md — clinic listing cards */
.cert-badges--md .cert-badge--logo,
.cert-badges--md .cert-badge--img {
    height: 34px;
    width: auto;
    max-width: 68px;
    object-fit: contain;
}

/* lg — clinic detail hero */
.cert-badges--lg .cert-badge--logo,
.cert-badges--lg .cert-badge--img {
    height: 44px;
    width: auto;
    max-width: 88px;
    object-fit: contain;
}

.cert-badge--logo,
.cert-badge--img {
    display: inline-block;
    border-radius: 4px;
    background: #fff;
    padding: 2px 4px;
    border: 1px solid rgba(0,0,0,.07);
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
    transition: transform 0.15s, box-shadow 0.15s;
}

.cert-badge--logo:hover,
.cert-badge--img:hover {
    transform: scale(1.08);
    box-shadow: 0 3px 10px rgba(0,0,0,.12);
}

.cert-badge--text {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: var(--primary, #0066cc);
    background: rgba(0, 102, 204, 0.08);
    border: 1px solid rgba(0, 102, 204, 0.2);
    border-radius: 4px;
    white-space: nowrap;
}

/* =============================================
   TREATMENTS PAGE — Search Bar
   ============================================= */
.treatments-search-wrap {
    margin-bottom: 1.75rem;
}

.treatments-search-inner {
    position: relative;
    display: flex;
    align-items: center;
}

.treatments-search-icon {
    position: absolute;
    left: 1rem;
    color: var(--gray);
    font-size: 0.95rem;
    pointer-events: none;
    z-index: 1;
}

[dir="rtl"] .treatments-search-icon {
    left: auto;
    right: 1rem;
}

.treatments-search-input {
    width: 100%;
    padding: 0.85rem 3rem 0.85rem 2.75rem;
    font-size: 0.95rem;
    font-family: var(--font-sans);
    color: var(--dark);
    background: #fff;
    border: 2px solid var(--gray-light, #e9ecef);
    border-radius: 50px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

[dir="rtl"] .treatments-search-input {
    padding: 0.85rem 2.75rem 0.85rem 3rem;
}

.treatments-search-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 120, 200, 0.10), 0 2px 12px rgba(0,0,0,0.05);
}

.treatments-search-input::placeholder {
    color: var(--gray);
}

.treatments-search-clear {
    position: absolute;
    right: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: none;
    background: var(--gray-light, #e9ecef);
    color: var(--gray);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    transition: background 0.15s, color 0.15s;
    z-index: 1;
}

[dir="rtl"] .treatments-search-clear {
    right: auto;
    left: 0.85rem;
}

.treatments-search-clear:hover {
    background: var(--primary);
    color: #fff;
}

.treatments-search-count {
    margin: 0.5rem 0 0 0.25rem;
    font-size: 0.85rem;
    color: var(--gray);
    min-height: 1.2em;
}

/* ═══════════════════════════════════════════════════════════════
   TREATMENT DETAIL PAGE — Modern Layout
═══════════════════════════════════════════════════════════════ */

/* ── Hero ── */
.td-hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    padding-bottom: 60px;
}

.td-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.04);
    transition: transform 8s ease;
}

.td-hero:hover .td-hero-bg { transform: scale(1); }

.td-hero-bg--gradient {
    background: linear-gradient(135deg, var(--primary) 0%, #0a4f7a 60%, #0d2e4f 100%);
}

.td-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(5,20,40,.92) 0%, rgba(5,20,40,.55) 55%, rgba(5,20,40,.25) 100%);
    z-index: 1;
}

.td-hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-top: 110px;
}

.td-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: rgba(255,255,255,.65);
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.td-breadcrumb a { color: rgba(255,255,255,.65); text-decoration: none; transition: color .2s; }
.td-breadcrumb a:hover { color: #fff; }
.td-breadcrumb i { font-size: 0.65rem; opacity: .5; }
.td-breadcrumb span { color: rgba(255,255,255,.9); }

.td-cat-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.2);
    color: #fff;
    padding: 7px 16px;
    border-radius: 50px;
    font-size: 0.83rem;
    font-weight: 500;
    margin-bottom: 18px;
}

.td-hero-content h1 {
    font-size: clamp(1.9rem, 4vw, 3rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 12px;
    max-width: 760px;
}

.td-hero-desc {
    font-size: 1.05rem;
    color: rgba(255,255,255,.78);
    max-width: 600px;
    margin-bottom: 28px;
}

.td-hero-stats {
    display: flex;
    gap: 0;
    flex-wrap: wrap;
    background: rgba(255,255,255,.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 28px;
    max-width: 680px;
}

.td-hero-stat {
    flex: 1;
    min-width: 120px;
    padding: 16px 20px;
    border-right: 1px solid rgba(255,255,255,.12);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

[dir="rtl"] .td-hero-stat { border-right: none; border-left: 1px solid rgba(255,255,255,.12); }
.td-hero-stat:last-child { border-right: none; border-left: none; }

.td-stat-label {
    font-size: 0.72rem;
    color: rgba(255,255,255,.6);
    text-transform: uppercase;
    letter-spacing: .06em;
    font-weight: 500;
}

.td-stat-val {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
}

.td-hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn-outline-white {
    background: transparent;
    border: 2px solid rgba(255,255,255,.55);
    color: #fff;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all .25s;
    text-decoration: none;
}

.btn-outline-white:hover {
    background: rgba(255,255,255,.18);
    border-color: #fff;
    color: #fff;
}

/* ── Overview ── */
.td-overview-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 48px;
    align-items: start;
}

.td-description {
    font-size: 1.02rem;
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 32px;
}

.td-description p { margin-bottom: 12px; }

.td-meta-strip {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 32px;
    padding: 24px;
    background: var(--light);
    border-radius: 16px;
    border: 1px solid var(--border);
}

.td-meta-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.td-meta-item > i {
    width: 38px;
    height: 38px;
    background: var(--primary-light, rgba(0,120,255,.08));
    color: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.td-meta-label {
    display: block;
    font-size: 0.73rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 3px;
}

.td-meta-val {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark);
}

.td-overview-cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* Sidebar */
.td-overview-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 100px;
}

.td-sidebar-card {
    border-radius: 18px;
    padding: 28px;
    border: 1px solid var(--border);
}

.td-sidebar-card--cta {
    background: linear-gradient(135deg, #fff 0%, #f0f7ff 100%);
    box-shadow: 0 8px 32px rgba(0,80,200,.08);
}

.td-sidebar-card--trust {
    background: #fff;
}

.td-sidebar-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 16px;
}

.td-sidebar-card--cta h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--dark);
}

.td-sidebar-card--cta p {
    font-size: 0.88rem;
    color: var(--gray);
    margin-bottom: 18px;
    line-height: 1.6;
}

.td-trust-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.td-trust-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text);
    font-weight: 500;
}

.td-trust-list li i {
    color: #22c55e;
    font-size: 1rem;
    flex-shrink: 0;
}

/* ── Prices by Country ── */
.td-price-countries {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.td-price-country {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 2px 16px rgba(0,0,0,.04);
}

.td-price-country-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 24px;
    background: linear-gradient(90deg, var(--primary) 0%, #ffcfcf 100%);
    color: #fff;
}

.td-country-flag { font-size: 1.8rem; }

.td-price-country-header h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0;
    flex: 1;
}

.td-country-count {
    background: rgba(255,255,255,.2);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
}

.td-price-table { overflow-x: auto; }

.td-price-table-head {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 140px;
    gap: 0;
    padding: 12px 24px;
    background: #f8fafc;
    border-bottom: 1px solid var(--border);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: .05em;
}

.td-price-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 140px;
    gap: 0;
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
    align-items: center;
    transition: background .15s;
}

.td-price-row:last-child { border-bottom: none; }
.td-price-row:hover { background: #f8fafc; }

.td-price-hospital {
    display: flex;
    align-items: center;
    gap: 12px;
}

.td-price-logo {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: #fff;
    padding: 3px;
    flex-shrink: 0;
}

.td-price-hospital strong {
    display: block;
    font-size: 0.9rem;
    color: var(--dark);
}

.td-price-rating {
    font-size: 0.75rem;
    color: #f59e0b;
    font-weight: 600;
}

.td-price-rating i { font-size: 0.7rem; }

.td-price-city { font-size: 0.88rem; color: var(--gray); }

.td-price-stay {
    font-size: 0.85rem;
    color: var(--text);
}

.td-price-stay i { color: var(--primary); margin-right: 4px; }

.td-price-val {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
}

.td-price-onrequest {
    font-size: 0.82rem;
    color: var(--gray);
    font-style: italic;
}

/* ── Hospital Cards ── */
.td-hospital-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.td-hospital-card {
    background: #fff;
    border-radius: 20px;
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,.05);
    transition: transform .25s, box-shadow .25s;
    display: flex;
    flex-direction: column;
}

.td-hospital-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,.1);
}

.td-hospital-card-top {
    padding: 20px 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.td-hospital-logo {
    width: 72px;
    height: 72px;
    border-radius: 14px;
    border: 1px solid var(--border);
    overflow: hidden;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
}

.td-hospital-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.td-hospital-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    background: #fef3c7;
    color: #d97706;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
}

.td-hospital-rating i { color: #f59e0b; }

.td-hospital-card-body {
    padding: 16px 20px;
    flex: 1;
}

.td-hospital-card-body h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.td-hospital-location {
    font-size: 0.88rem;
    color: var(--gray);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.td-hospital-price {
    background: linear-gradient(135deg, #f0f7ff 0%, #e0efff 100%);
    border-radius: 10px;
    padding: 10px 14px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.td-hospital-price span {
    font-size: 0.78rem;
    color: var(--gray);
}

.td-hospital-price strong {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
}

.td-hospital-stay {
    font-size: 0.85rem;
    color: var(--text);
    margin-bottom: 12px;
}

.td-hospital-stay i { color: var(--primary); margin-right: 5px; }

.td-hospital-certs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.td-cert-badge {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 600;
}

.td-hospital-card-footer {
    padding: 14px 20px;
    border-top: 1px solid var(--border);
    display: flex;
    gap: 10px;
    align-items: center;
}

/* ── Doctor Cards ── */
.td-doctor-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.td-doctor-card {
    background: #fff;
    border-radius: 20px;
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,.05);
    transition: transform .25s, box-shadow .25s;
    display: flex;
    flex-direction: column;
}

.td-doctor-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,.1);
}

.td-doctor-photo {
    position: relative;
    height: 190px;
    overflow: hidden;
    background: linear-gradient(135deg, #e8f4ff 0%, #d0e8ff 100%);
}

.td-doctor-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.td-doctor-rating,
.td-doctor-certified {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0,0,0,.55);
    backdrop-filter: blur(8px);
    color: #fff;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

[dir="rtl"] .td-doctor-rating,
[dir="rtl"] .td-doctor-certified { right: auto; left: 12px; }

.td-doctor-rating i { color: #fbbf24; }
.td-doctor-certified i { color: #34d399; }

.td-doctor-info {
    padding: 16px 18px;
    flex: 1;
}

.td-doctor-info h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 6px;
}

.td-doctor-specialty,
.td-doctor-hospital,
.td-doctor-loc,
.td-doctor-exp {
    font-size: 0.82rem;
    color: var(--gray);
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.td-doctor-specialty { color: var(--primary); font-weight: 600; }
.td-doctor-exp i { color: #f59e0b; }

.td-doctor-actions {
    padding: 12px 18px;
    border-top: 1px solid var(--border);
    display: flex;
    gap: 8px;
    align-items: center;
}

/* ── Guarantees ── */
.td-guarantees-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.td-guarantee-card {
    background: #fff;
    border-radius: 18px;
    padding: 28px 24px;
    border: 1px solid var(--border);
    box-shadow: 0 2px 16px rgba(0,0,0,.04);
    transition: transform .25s, box-shadow .25s;
    text-align: center;
}

.td-guarantee-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 36px rgba(0,0,0,.09);
}

.td-guarantee-icon {
    width: 62px;
    height: 62px;
    background: linear-gradient(135deg, var(--primary-light, rgba(0,120,255,.1)) 0%, rgba(0,120,255,.05) 100%);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    font-size: 1.4rem;
    color: var(--primary);
}

.td-guarantee-card h3 {
    font-size: 0.97rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.td-guarantee-card p {
    font-size: 0.85rem;
    color: var(--gray);
    line-height: 1.65;
}

/* ── SEO Block ── */
.td-seo-article {
    max-width: 900px;
    margin: 0 auto;
}

.td-seo-article h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 28px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
}

.td-seo-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.td-seo-cols h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
    margin-top: 20px;
}

.td-seo-cols h3:first-child { margin-top: 0; }

.td-seo-cols p {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.75;
}

/* ── Responsive ── */
@media (max-width: 1100px) {
    .td-overview-grid { grid-template-columns: 1fr; }
    .td-overview-sidebar { position: static; flex-direction: row; }
    .td-sidebar-card { flex: 1; }
    .td-guarantees-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    .td-price-table-head,
    .td-price-row { grid-template-columns: 1.8fr 1fr 1fr 120px; }
    .td-price-table-head span:nth-child(2),
    .td-price-row .td-price-city { display: none; }
    .td-seo-cols { grid-template-columns: 1fr; gap: 0; }
}

@media (max-width: 768px) {
    .td-hero { min-height: 420px; padding-bottom: 40px; }
    .td-hero-stats { max-width: 100%; }
    .td-hero-stat { min-width: 100px; padding: 12px 14px; }
    .td-stat-val { font-size: 1rem; }
    .td-hero-inner { padding-top: 80px; }
    .td-hero-content h1 { font-size: 1.7rem; }
    .td-meta-strip { grid-template-columns: 1fr; }
    .td-overview-sidebar { flex-direction: column; }
    .td-hospital-cards { grid-template-columns: 1fr; }
    .td-doctor-cards { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
    .td-guarantees-grid { grid-template-columns: 1fr 1fr; }
    .td-price-table-head,
    .td-price-row { grid-template-columns: 1fr 1fr 120px; }
    .td-price-table-head span:nth-child(3),
    .td-price-row .td-price-stay { display: none; }
}

@media (max-width: 480px) {
    .td-guarantees-grid { grid-template-columns: 1fr; }
    .td-hero-actions { flex-direction: column; }
    .td-hero-actions .btn { width: 100%; justify-content: center; }
    .td-price-table-head,
    .td-price-row { grid-template-columns: 1fr 110px; }
    .td-price-table-head span:nth-child(4),
    .td-price-row .td-price-amount { display: none; }
    .td-doctor-cards { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════
   HOSPITAL / CLINIC DETAIL PAGE — Modern Layout
═══════════════════════════════════════════════════════════════ */

/* ── Hero ── */
.hd-hero {
    position: relative;
    background-image: url('/assets/images/tourismeHero.png');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 480px;
    display: flex;
    align-items: flex-end;
    padding-bottom: 56px;
    overflow: hidden;
}

.hd-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15,40,28,.90) 0%, rgba(20,65,45,.84) 50%, rgba(30,90,60,.75) 100%);
    z-index: 1;
    pointer-events: none;
}

.hd-hero-overlay {
    display: none;
}

.hd-hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-top: 110px;
}

.hd-hero-layout {
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

.hd-hero-logo-wrap {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.hd-hero-logo {
    width: 140px;
    height: 140px;
    background: #fff;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    box-shadow: 0 8px 40px rgba(0,0,0,.25);
    border: 3px solid rgba(255,255,255,.15);
}

.hd-hero-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hd-hero-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.2);
    color: #fff;
    padding: 7px 14px;
    border-radius: 50px;
    font-size: 0.9rem;
}

.hd-hero-rating i { color: #fbbf24; }
.hd-hero-rating strong { font-size: 1.1rem; }
.hd-hero-rating span { font-size: 0.75rem; opacity: .7; }

.hd-hero-content { flex: 1; }

.hd-hero-content h1 {
    font-size: clamp(1.7rem, 3.5vw, 2.6rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.25;
    margin-bottom: 14px;
    max-width: 700px;
}

.hd-hero-certs {
    margin-bottom: 20px;
}

.hd-stats {
    max-width: 600px;
    margin-bottom: 28px;
}

/* ── Hero extras ── */
.hd-hero-top-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}
.hd-hero-founded {
    font-size: 0.78rem;
    color: rgba(255,255,255,.7);
    display: flex;
    align-items: center;
    gap: 5px;
}
.hd-hero-founded i { color: #7bc9a6; }

/* ── Sticky Tab Nav ── */
.hd-tab-nav {
    background: #fff;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 72px;
    z-index: 100;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.hd-tab-nav-inner {
    display: flex;
    align-items: center;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
}
.hd-tab-nav-inner::-webkit-scrollbar { display: none; }
.hd-tab-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 14px 18px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--gray);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
    transition: color .2s, border-color .2s;
}
.hd-tab-link:hover { color: var(--primary-dark); }
.hd-tab-link.active { color: var(--primary-dark); border-bottom-color: var(--primary); }
.hd-tab-link i { font-size: 0.75rem; }
.hd-tab-count {
    background: var(--primary-light);
    color: var(--primary-dark);
    font-size: 0.68rem;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 50px;
    line-height: 1.5;
}

/* ── Body 2-column grid ── */
.hd-body {
    background: var(--light);
    padding: 2rem 0 4rem;
}
.hd-body-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 1.5rem;
    align-items: start;
}

/* ── Main column ── */
.hd-main { display: flex; flex-direction: column; gap: 1.25rem; }

/* ── Contact strip ── */
.hd-contact-strip {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 0.85rem 1.25rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    align-items: center;
}
.hd-contact-item {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.82rem;
    color: var(--dark-light);
}
.hd-contact-item i { color: var(--primary); font-size: 0.75rem; }
.hd-contact-item a { color: var(--dark-light); text-decoration: none; }
.hd-contact-item a:hover { color: var(--primary); }

/* ── Block cards ── */
.hd-section-block { display: flex; flex-direction: column; gap: 1.25rem; }
.hd-block-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
}
.hd-block-card--flush .hd-block-title { margin-bottom: 0; }
.hd-block-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dark);
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border);
}
.hd-block-title i { color: var(--primary); font-size: 0.9rem; }
.hd-block-count {
    margin-left: auto;
    background: var(--primary-light);
    color: var(--primary-dark);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 50px;
}
.hd-rating-pill {
    margin-left: auto;
    background: #fff8e1;
    color: #92620a;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 4px;
}
.hd-description {
    padding: 1.25rem 1.5rem;
    font-size: 0.9rem;
    color: var(--dark-light);
    line-height: 1.75;
}

/* KPI inside block card */
.hd-kpi-card { overflow: hidden; }
.hd-kpi-card .hd-kpi-row {
    border-radius: 0;
    margin: 0;
}

/* Gallery inside block card */
.hd-block-card .hd-gallery-grid {
    margin: 0;
    border-radius: 0;
}

/* Map inside block card */
.hd-map-embed { line-height: 0; }
.hd-map-footer {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border);
}
.hd-map-footer-logo {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid var(--border);
}
.hd-map-footer-logo img { width: 100%; height: 100%; object-fit: cover; }
.hd-map-footer-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.hd-map-footer-info strong { font-size: 0.85rem; color: var(--dark); }
.hd-map-footer-info span { font-size: 0.78rem; color: var(--gray); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hd-map-footer-info a { font-size: 0.78rem; color: var(--primary-dark); text-decoration: none; }

/* ── Sticky Sidebar ── */
.hd-sidebar {
    position: sticky;
    top: calc(72px + 52px + 1.5rem);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.hd-sidebar-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    padding: 1.25rem;
}
.hd-sidebar-section-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: 0.85rem;
    display: flex;
    align-items: center;
    gap: 7px;
}
.hd-sidebar-section-title i { color: var(--primary); }

/* CTA sidebar card */
.hd-sidebar-cta {
    background: linear-gradient(135deg, #1a3a2e 0%, #2a7a58 100%);
    border: none;
    text-align: center;
}
.hd-sidebar-cta-icon {
    width: 52px;
    height: 52px;
    background: rgba(255,255,255,.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.85rem;
    font-size: 1.3rem;
    color: #7bc9a6;
}
.hd-sidebar-cta h3 { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 0.4rem; }
.hd-sidebar-cta p { font-size: 0.82rem; color: rgba(255,255,255,.75); margin-bottom: 1rem; }

/* Facts list */
.hd-facts-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.hd-facts-list li {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0,0,0,.04);
    font-size: 0.82rem;
}
.hd-facts-list li:last-child { border-bottom: none; }
.hd-facts-list li span { color: var(--gray); flex-shrink: 0; }
.hd-facts-list li strong { color: var(--dark); text-align: right; }
.hd-facts-list li a { color: var(--primary-dark); text-decoration: none; text-align: right; }
.hd-facts-list li a:hover { text-decoration: underline; }

/* Trust card */
.hd-trust-card { background: var(--light); border-color: transparent; }
.hd-trust-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; }
.hd-trust-list li { display: flex; align-items: center; gap: 9px; font-size: 0.82rem; color: var(--dark-light); }
.hd-trust-list li i { color: var(--primary); font-size: 0.8rem; flex-shrink: 0; }

/* ── Info Bar ── */
.hd-info-bar {
    background: var(--primary);
    padding: 14px 0;
}

.hd-info-bar-inner {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.hd-info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,.9);
    font-size: 0.88rem;
}

.hd-info-item i {
    color: rgba(255,255,255,.7);
    font-size: 0.85rem;
}

.hd-info-item a {
    color: rgba(255,255,255,.9);
    text-decoration: none;
    transition: color .2s;
}

.hd-info-item a:hover { color: #fff; text-decoration: underline; }

/* ── Treatments & Prices ── */
.hd-treatment-categories {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.hd-treatment-cat {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 2px 16px rgba(0,0,0,.04);
}

.hd-treatment-cat-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 24px;
    background: linear-gradient(90deg, var(--primary) 0%, #0a6ebd 100%);
    color: #fff;
}

.hd-treatment-cat-header i { font-size: 1.1rem; opacity: .9; }

.hd-treatment-cat-header h3 {
    flex: 1;
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
}

.hd-cat-count {
    background: rgba(255,255,255,.2);
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
}

.hd-treatment-list { padding: 8px 0; }

.hd-treatment-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    border-bottom: 1px solid var(--border);
    gap: 16px;
    transition: background .15s;
}

.hd-treatment-row:last-child { border-bottom: none; }
.hd-treatment-row:hover { background: #f8fafc; }

.hd-treatment-name {
    flex: 1;
    font-size: 0.92rem;
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color .2s;
}

.hd-treatment-name:hover { color: var(--primary); }
.hd-treatment-name i { font-size: 0.7rem; color: var(--primary); opacity: .7; }

.hd-treatment-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.hd-treatment-stay {
    font-size: 0.8rem;
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 5px;
}

.hd-treatment-stay i { color: var(--primary); }

.hd-treatment-price {
    min-width: 90px;
    text-align: right;
}

.hd-treatment-price strong {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
}

.hd-treatment-price em {
    font-size: 0.78rem;
    color: var(--gray);
    font-style: italic;
}

/* ── Reviews ── */
.hd-reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.hd-review-card {
    background: #fff;
    border-radius: 16px;
    padding: 22px;
    border: 1px solid var(--border);
    box-shadow: 0 2px 14px rgba(0,0,0,.04);
    transition: transform .2s, box-shadow .2s;
}

.hd-review-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(0,0,0,.08);
}

.hd-review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.hd-review-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, #0a6ebd 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    flex-shrink: 0;
}

.hd-review-name {
    display: block;
    font-size: 0.92rem;
    color: var(--dark);
}

.hd-review-date {
    display: block;
    font-size: 0.75rem;
    color: var(--gray);
    margin-top: 2px;
}

.hd-review-stars { margin-left: auto; display: flex; gap: 2px; }

.hd-review-text {
    font-size: 0.88rem;
    color: var(--gray);
    line-height: 1.65;
    font-style: italic;
}

/* ── KPI / Infra Stats ── */
.hd-infra-stats { background: var(--white); }
.hd-infra-inner { display: flex; flex-direction: column; gap: 2.5rem; }

.hd-kpi-row {
    display: flex;
    gap: 0;
    background: linear-gradient(135deg, #1a3a2e 0%, #2a7a58 100%);
    border-radius: 20px;
    overflow: hidden;
}

.hd-kpi {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,.1);
    position: relative;
}
.hd-kpi:last-child { border-right: none; }

.hd-kpi i {
    font-size: 1.5rem;
    color: rgba(123,201,166,.8);
    margin-bottom: 0.5rem;
}

.hd-kpi strong {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-bottom: 4px;
}

.hd-kpi span {
    font-size: 0.72rem;
    color: rgba(255,255,255,.6);
    text-transform: uppercase;
    letter-spacing: .06em;
}

.hd-specs-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.hd-specs-title i { color: var(--primary); }
.hd-specs-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.hd-spec-tag {
    background: rgba(123,201,166,.12);
    border: 1px solid rgba(123,201,166,.3);
    color: var(--primary-dark);
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}
.hd-spec-tag i { font-size: 0.65rem; color: var(--primary); }

/* ── Photo Gallery ── */
.hd-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    gap: 10px;
    border-radius: 16px;
    overflow: hidden;
}

.hd-gallery-item--featured {
    grid-column: span 2;
    grid-row: span 2;
}

.hd-gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background: #e2e8f0;
}

.hd-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.hd-gallery-item:hover img { transform: scale(1.07); }

.hd-gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.35);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .3s;
    color: #fff;
    font-size: 1.5rem;
}

.hd-gallery-item:hover .hd-gallery-overlay { opacity: 1; }

/* Lightbox */
.hd-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.92);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.hd-lightbox img {
    max-width: 90vw;
    max-height: 88vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 40px 80px rgba(0,0,0,.6);
}

.hd-lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255,255,255,.15);
    border: none;
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
}
.hd-lightbox-close:hover { background: rgba(255,255,255,.3); }

/* ── Videos ── */
.hd-videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.5rem;
}

.hd-video-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.hd-video-frame {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.hd-video-frame iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
}

.hd-video-title {
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 8px;
}
.hd-video-title i { color: var(--primary); font-size: 0.75rem; }

/* ── Equipment & Infrastructure ── */
.hd-equip-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.hd-equip-col {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.hd-equip-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.hd-equip-icon {
    width: 48px;
    height: 48px;
    background: rgba(123,201,166,.12);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.hd-equip-header h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 2px;
}
.hd-equip-header p { font-size: 0.8rem; color: var(--gray); margin: 0; }

.hd-equip-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hd-equip-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--dark-light);
    padding: 6px 0;
    border-bottom: 1px solid rgba(0,0,0,.04);
}
.hd-equip-list li:last-child { border-bottom: none; }
.hd-equip-list li i { color: var(--primary); font-size: 0.75rem; flex-shrink: 0; }

/* ── Map ── */
.hd-map-section { background: var(--light); padding-bottom: 0; }
.hd-map-section .container { padding-bottom: 32px; }

.hd-map-wrap {
    position: relative;
    overflow: hidden;
}

.hd-map-wrap iframe {
    display: block;
    width: 100%;
    height: 420px;
}

.hd-map-card {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: #fff;
    border-radius: 16px;
    padding: 16px 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,.15);
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: 320px;
    z-index: 10;
}

[dir="rtl"] .hd-map-card { left: auto; right: 24px; }

.hd-map-card-logo {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    border: 1px solid var(--border);
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    padding: 4px;
}

.hd-map-card-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hd-map-card strong {
    display: block;
    font-size: 0.9rem;
    color: var(--dark);
    margin-bottom: 4px;
}

.hd-map-card p {
    font-size: 0.78rem;
    color: var(--gray);
    margin-bottom: 4px;
}

.hd-map-card a {
    font-size: 0.78rem;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
}

.hd-map-card a:hover { text-decoration: underline; }

/* ── Responsive ── */
@media (max-width: 1100px) {
    .hd-body-grid { grid-template-columns: 1fr 280px; }
}

@media (max-width: 900px) {
    .hd-hero-layout { flex-direction: column; gap: 24px; }
    .hd-hero-logo-wrap { flex-direction: row; align-items: center; }
    .hd-hero-logo { width: 100px; height: 100px; }
    .hd-treatment-meta { gap: 10px; }
    .hd-equip-grid { grid-template-columns: 1fr; }
    .hd-gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .hd-gallery-item--featured { grid-column: span 2; grid-row: span 1; }
    .hd-kpi-row { flex-wrap: wrap; }
    .hd-kpi { flex: 1 1 calc(33% - 1px); min-width: 120px; }
    .hd-treatment-stay { display: none; }
    .hd-body-grid {
        grid-template-columns: 1fr;
    }
    .hd-sidebar {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    .hd-sidebar-cta { grid-column: span 2; }
}

@media (max-width: 600px) {
    .hd-sidebar { grid-template-columns: 1fr; }
    .hd-sidebar-cta { grid-column: span 1; }
    .hd-tab-link { padding: 10px 12px; font-size: 0.76rem; }
    .hd-map-footer { flex-wrap: wrap; }
    .hd-contact-strip { gap: 0.4rem 1rem; }
}

@media (max-width: 768px) {
    .hd-hero { min-height: 380px; padding-bottom: 40px; }
    .hd-hero-inner { padding-top: 80px; }
    .hd-hero-content h1 { font-size: 1.6rem; }
    .hd-info-bar-inner { gap: 14px; }
    .hd-info-item { font-size: 0.8rem; }
    .hd-reviews-grid { grid-template-columns: 1fr; }
    .hd-map-card { max-width: calc(100% - 48px); }
    .hd-treatment-row { flex-wrap: wrap; gap: 10px; }
    .hd-treatment-meta { width: 100%; justify-content: flex-end; }
}

@media (max-width: 480px) {
    .hd-hero-logo { width: 80px; height: 80px; border-radius: 14px; }
    .hd-stats { max-width: 100%; }
    .hd-map-wrap iframe { height: 280px; }
    .hd-map-card { position: static; max-width: 100%; border-radius: 0 0 16px 16px; box-shadow: none; border-top: 1px solid var(--border); }
}

/* ═══════════════════════════════════════════════════════════════
   DOCTOR DETAIL PAGE — Modern Layout
═══════════════════════════════════════════════════════════════ */

/* ── Hero ── */
.dd-hero {
    position: relative;
    background: url('/assets/images/doctorhero.png') center center / cover no-repeat;
    min-height: 520px;
    display: flex;
    align-items: flex-end;
    padding-bottom: 60px;
    overflow: hidden;
}

.dd-hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15,40,28,.90) 0%, rgba(20,65,45,.84) 50%, rgba(30,90,60,.78) 100%);
}

.dd-hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-top: 110px;
}

.dd-hero-layout {
    display: flex;
    align-items: flex-start;
    gap: 44px;
}

/* ── Photo column ── */
.dd-hero-photo-wrap {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.dd-hero-photo {
    width: 180px;
    height: 220px;
    border-radius: 24px;
    overflow: hidden;
    border: 4px solid rgba(255,255,255,.2);
    box-shadow: 0 12px 48px rgba(0,0,0,.35);
    background: #1a3a6e;
}

.dd-hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.dd-hero-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.2);
    color: #fff;
    padding: 7px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
}

.dd-hero-rating i { color: #fbbf24; }
.dd-hero-rating strong { font-size: 1.05rem; }
.dd-hero-rating span { opacity: .7; font-size: 0.75rem; }

.dd-cv-btn {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 50px;
    color: rgba(255,255,255,.9);
    font-size: 0.8rem;
    text-decoration: none;
    transition: background .2s;
}

.dd-cv-btn:hover { background: rgba(255,255,255,.22); color: #fff; }
.dd-cv-btn i { color: #f87171; }

/* ── Content column ── */
.dd-hero-content { flex: 1; }

.dd-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.dd-hero-content h1 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 12px;
}

.dd-hero-location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,.75);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.dd-hero-location i { color: rgba(255,255,255,.5); }

.dd-stats { max-width: 580px; margin-bottom: 28px; }

/* ── About / profile blocks ── */
.dd-section-block {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.dd-section-block h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dd-section-block h3 i { color: var(--primary); }

/* ── Hospital card ── */
.dd-hospital-card {
    display: flex;
    align-items: flex-start;
    gap: 32px;
    background: #fff;
    border-radius: 22px;
    padding: 32px;
    border: 1px solid var(--border);
    box-shadow: 0 4px 24px rgba(0,0,0,.05);
    max-width: 780px;
    margin: 0 auto;
}

.dd-hospital-logo {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.dd-hospital-logo img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    border-radius: 16px;
    border: 1px solid var(--border);
    padding: 10px;
    background: #f8fafc;
}

.dd-hospital-info { flex: 1; }

.dd-hospital-info h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.dd-hospital-loc {
    font-size: 0.95rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 6px;
}

.dd-hospital-addr,
.dd-hospital-phone {
    font-size: 0.88rem;
    color: var(--gray);
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 7px;
}

.dd-hospital-addr i,
.dd-hospital-phone i { color: var(--primary); width: 14px; }

.dd-hospital-phone a { color: var(--gray); text-decoration: none; }
.dd-hospital-phone a:hover { color: var(--primary); }

.dd-hospital-stats {
    margin: 12px 0;
    font-size: 0.85rem;
    color: var(--gray);
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.dd-hospital-stats span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.dd-hospital-stats i { color: var(--primary); }

.dd-hospital-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 14px;
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .dd-hero-layout { flex-direction: column; gap: 28px; }
    .dd-hero-photo-wrap { flex-direction: row; align-items: center; gap: 20px; }
    .dd-hero-photo { width: 130px; height: 160px; }
    .dd-hospital-card { flex-direction: column; gap: 20px; }
    .dd-hospital-logo { flex-direction: row; }
}

@media (max-width: 768px) {
    .dd-hero { min-height: 420px; padding-bottom: 40px; }
    .dd-hero-inner { padding-top: 80px; }
    .dd-hero-content h1 { font-size: 1.65rem; }
    .dd-hero-badges { gap: 6px; }
    .dd-hospital-card { padding: 20px; }
}

@media (max-width: 480px) {
    .dd-hero-photo { width: 100px; height: 130px; border-radius: 16px; }
    .dd-hero-photo-wrap { flex-wrap: wrap; }
    .dd-stats { max-width: 100%; }
    .dd-hospital-logo img { width: 90px; height: 90px; }
}
