:root {


    --primary: #0F2027;
    /* Deep Premium Navy */
    --secondary: #203A43;
    /* Middle Navy */
    --accent: #2C5364;
    /* Soft Navy Accent */
    --gold: #D4AF37;
    /* Trust Gold for Med Tourism */
    --medical-blue: #0ea5e9;
    --medical-green: #10b981;
    --bg-color: #F8FAFC;
    --text-main: #334155;
    --text-muted: #64748b;
    --white: #ffffff;
    --radius-lg: 20px;
    --radius-md: 12px;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

html, body {
    max-width: 100vw;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    word-wrap: break-word;
    -webkit-font-smoothing: antialiased;
}

img, video {
    max-width: 100%;
    height: auto;
}

/* RTL Support */
body.rtl-layout {
    direction: rtl;
    text-align: right;
}

body.rtl-layout .nav-links {
    flex-direction: row-reverse;
}

body.rtl-layout .fa-arrow-right {
    transform: rotate(180deg);
}

body.rtl-layout .btn-primary {
    margin-left: 0 !important;
    margin-right: 15px;
}

body.rtl-layout .appointment-form-container {
    text-align: right;
}

body.rtl-layout .hero-content {
    text-align: right;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Buttons */
.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 12px 28px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--medical-blue);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
}

.btn-primary:hover {
    background: #0284c7;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.4);
}

.btn-accent {
    background: var(--medical-green);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-accent:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 16px;
    border-radius: 50px;
}

.btn-block {
    width: 100%;
    display: flex;
}

/* Transparent Sticky Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header .logo a {
    font-size: 28px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.3px;
    align-items: center;
    font-family: 'Playfair Display', serif;
    display: flex;
    gap: 10px;
    transition: var(--transition);
}

.header.scrolled .logo a {
    color: var(--secondary);
}

.logo-fc {
    color: var(--medical-green);
    font-style: italic;
    font-weight: 800;
}

.logo-icon {
    color: var(--medical-blue);
    font-size: 26px;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
    transition: height 0.3s;
}

.header.scrolled .navbar {
    height: 75px;
}

.nav-links {
    display: flex;
    gap: 35px;
    align-items: center;
}

.nav-links>a {
    font-weight: 500;
    font-size: 15px;
    color: var(--white);
    transition: var(--transition);
}

.header.scrolled .nav-links>a {
    color: var(--text-main);
}

.nav-links>a:hover {
    color: var(--medical-blue);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--white);
    cursor: pointer;
}

.header.scrolled .mobile-toggle {
    color: var(--primary);
}

/* Language Dropdown */
.lang-dropdown {
    position: relative;
    display: inline-block;
}

.btn-lang-toggle {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.header.scrolled .btn-lang-toggle {
    background: #f1f5f9;
    color: var(--primary);
    border: 1px solid #e2e8f0;
}

.lang-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    min-width: 150px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    padding: 10px 0;
    z-index: 10;
    opacity: 0;
    margin-top: 10px;
    transition: opacity 0.3s, transform 0.3s;
}

/* Hayalet Köprü (Hover gap problemini çözer) */
.lang-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 20px;
}

.lang-dropdown:hover .lang-menu {
    display: block;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.lang-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--text-main) !important;
    font-size: 14px;
    transition: 0.2s;
    text-align: center;
}

.lang-menu a:hover,
.lang-menu a.active {
    background: #f8fafc;
    color: var(--medical-blue) !important;
    font-weight: 600;
}

/* Hero Box */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: url('../img/doctors_bg.jpg') center/cover no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 32, 39, 0.95) 0%, rgba(32, 58, 67, 0.85) 50%, rgba(44, 83, 100, 0.8) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 800px;
    padding-top: 100px;
}

.hero-title {
    font-size: clamp(32px, 8vw, 60px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 20px;
    color: #cbd5e1;
    margin-bottom: 40px;
    font-weight: 300;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 36px;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 5px;
}

.stat-text {
    font-size: 14px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* Generic Section Info */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-title {
    font-size: 36px;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 15px;
}

.section-desc {
    font-size: 16px;
    color: var(--text-muted);
}

/* Premium Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: 30px;
}

.bento-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.bento-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--medical-blue), var(--medical-green));
    opacity: 0;
    transition: var(--transition);
}

.bento-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.bento-card:hover::before {
    opacity: 1;
}

.bento-icon {
    width: 70px;
    height: 70px;
    background: #f0fdf4;
    color: var(--medical-green);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin-bottom: 25px;
    transition: var(--transition);
}

.bento-card:hover .bento-icon {
    background: var(--medical-green);
    color: var(--white);
    transform: scale(1.05);
}

.bento-title {
    font-size: 22px;
    color: var(--primary);
    margin-bottom: 15px;
    font-weight: 700;
}

.bento-desc {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 25px;
    line-height: 1.7;
}

.bento-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.bento-card:hover .bento-link {
    color: var(--medical-blue);
}

/* Appointment Box Split Layout */
.appointment-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.appointment-info {
    background: var(--primary);
    color: var(--white);
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.appointment-info h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--white);
}

.appointment-form-container {
    background: var(--white);
    padding: 60px;
}

.form-title {
    font-size: 24px;
    margin-bottom: 30px;
    color: var(--primary);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    position: relative;
}

.form-group.full {
    grid-column: 1 / -1;
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border-radius: var(--radius-md);
    border: 1px solid #e2e8f0;
    font-size: 15px;
    background: #f8fafc;
    transition: var(--transition);
    color: var(--primary);
    font-family: inherit;
}

.form-control:focus {
    background: var(--white);
    border-color: var(--medical-blue);
    outline: none;
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
}

/* Footer */
.footer {
    background: #0f172a;
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.f-col h3 {
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 700;
}

.f-col h4 {
    font-size: 18px;
    margin-bottom: 25px;
    font-weight: 600;
    color: var(--white);
}

.f-col p {
    font-size: 15px;
    color: #94a3b8;
    line-height: 1.8;
    margin-bottom: 12px;
}

/* Alerts */
.alert {
    padding: 16px 20px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    font-weight: 500;
    display: none;
    font-size: 14px;
}

.alert-success {
    background: #ecfdf5;
    color: #047857;
    border-left: 4px solid #10b981;
}

.alert-error {
    background: #fef2f2;
    color: #b91c1c;
    border-left: 4px solid #ef4444;
}

/* Admin Generic Styles Overrides */
.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.admin-table th,
.admin-table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid #f1f5f9;
}

.admin-table th {
    background: #f8fafc;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
}

.badge {
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
}

.badge-confirmed {
    background: #dcfce7;
    color: #166534;
}

.badge-pending {
    background: #fef3c7;
    color: #92400e;
}

.btn-pending {
    background: #ef4444;
    color: white;
}

/* Why Choose Us - Image Background Cards */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 20px; padding: 10px 4px; }
.why-card {
    position: relative;
    min-height: 380px;
    overflow: hidden;
    cursor: pointer;
    background-size: cover;
    background-position: center;
    border-radius: 16px;
}
.why-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,25,40,0.97) 0%, rgba(10,25,40,0.6) 60%, rgba(10,25,40,0.2) 100%);
    transition: var(--transition);
}
.why-card:hover .why-card-overlay {
    background: linear-gradient(to top, rgba(10,25,40,0.99) 0%, rgba(10,25,40,0.8) 100%);
}
.why-card-content {
    position: relative; z-index: 2;
    height: 100%; display: flex; flex-direction: column; justify-content: flex-end;
    padding: 35px 30px;
    color: white;
}
.why-icon {
    width: 65px; height: 65px;
    background: rgba(14,165,233,0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(14,165,233,0.4);
    color: #38bdf8;
    border-radius: 18px;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
    transition: var(--transition);
}
.why-card:hover .why-icon {
    background: var(--medical-blue);
    color: var(--white);
    border-color: var(--medical-blue);
    transform: scale(1.1) rotate(-5deg);
}
.why-title { font-size: 21px; font-weight: 700; color: #fff; margin-bottom: 12px; }
.why-desc {
    font-size: 14px; color: rgba(255,255,255,0.7); line-height: 1.7;
    max-height: 0; overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.4s ease;
    opacity: 0;
}
.why-card:hover .why-desc { max-height: 200px; opacity: 1; }

/* Services Grid - with gaps */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 24px;
    padding: 10px 4px;
}

/* ===================== DOCTORS SECTION ===================== */
.doctors-section { background: #f8fafc; padding: 100px 0; }
.doctors-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 30px; margin-top: 60px; }
.doctor-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.04);
}
.doctor-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.doctor-img {
    width: 100%; height: 280px;
    object-fit: cover;
    object-position: top;
    display: block;
    transition: var(--transition);
}
.doctor-card:hover .doctor-img { transform: scale(1.03); }
.doctor-info { padding: 25px; text-align: center; }
.doctor-name { font-size: 19px; font-weight: 700; color: var(--primary); margin-bottom: 6px; }
.doctor-specialty {
    font-size: 13px; font-weight: 600;
    color: var(--medical-blue);
    text-transform: uppercase; letter-spacing: 1px;
    margin-bottom: 15px;
}
.doctor-exp {
    font-size: 13px; color: var(--text-muted);
    background: #f1f5f9; padding: 6px 15px; border-radius: 50px;
    display: inline-block;
}

/* ===================== TOURISM SECTION ===================== */
.tourism-section { background: var(--primary); padding: 100px 0; overflow: hidden; }
.tourism-section .section-title { color: #fff; }
.tourism-section .section-desc { color: rgba(255,255,255,0.7); }
.tourism-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: var(--radius-lg); overflow: hidden; margin-top: 60px; }
.tourism-main-img {
    position: relative; height: 550px;
    background-size: cover; background-position: center;
}
.tourism-main-img::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(15,32,39,0.7) 0%, transparent 60%);
}
.tourism-main-label {
    position: absolute; bottom: 30px; left: 30px; z-index: 2;
    color: white;
}
.tourism-main-label h3 { font-size: 26px; font-weight: 700; margin-bottom: 5px; }
.tourism-main-label p { font-size: 14px; opacity: 0.8; }
.tourism-side { display: flex; flex-direction: column; }
.tourism-side-item {
    flex: 1; position: relative;
    min-height: 183px;
    background-size: cover; background-position: center;
    overflow: hidden;
}
.tourism-side-item::after {
    content: ''; position: absolute; inset: 0;
    background: rgba(15,32,39,0.5); transition: var(--transition);
}
.tourism-side-item:hover::after { background: rgba(15,32,39,0.3); }
.tourism-side-label {
    position: absolute; bottom: 20px; left: 25px; z-index: 2;
    color: white; font-size: 15px; font-weight: 600;
}
.tourism-perks {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
    gap: 25px; margin-top: 50px;
}
.tourism-perk {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    padding: 25px; text-align: center; color: white;
    transition: var(--transition);
}
.tourism-perk:hover { background: rgba(255,255,255,0.12); transform: translateY(-5px); }
.tourism-perk i { font-size: 28px; color: var(--gold); margin-bottom: 12px; display: block; }
.tourism-perk h4 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.tourism-perk p { font-size: 13px; color: rgba(255,255,255,0.65); margin: 0; }

@media (max-width: 992px) {
    .tourism-grid { grid-template-columns: 1fr; }
    .tourism-main-img { height: 350px; }
    .why-card { min-height: 300px; }
    .why-desc { max-height: 200px !important; opacity: 1 !important; }
}

/* Journey Timeline */
.journey-section { background: linear-gradient(180deg, var(--white) 0%, #f8fafc 100%); }
.journey-timeline { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 30px; position: relative; margin-top: 40px;}
.journey-step { text-align: center; position: relative; z-index: 2; }
.step-number { width: 60px; height: 60px; background: var(--medical-green); color: var(--white); font-size: 24px; font-weight: 700; display: flex; align-items: center; justify-content: center; border-radius: 50%; margin: 0 auto 20px; border: 5px solid var(--white); box-shadow: var(--shadow-sm); position: relative; z-index: 2;}
.step-content h4 { font-size: 18px; color: var(--primary); margin-bottom: 10px; font-weight: 700;}
.step-content p { font-size: 14px; color: var(--text-muted); }

/* WhatsApp CTA */
.cta-section { background: linear-gradient(135deg, var(--medical-blue), var(--accent)); padding: 60px 0; margin-top: 80px; border-radius: var(--radius-lg); box-shadow: var(--shadow-md);}
.cta-box { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 30px;}
.cta-text h2 { color: var(--white); font-size: 32px; margin-bottom: 10px; font-weight: 800;}
.cta-text p { color: rgba(255,255,255,0.8); font-size: 18px; margin-bottom:0;}
.btn-whatsapp { background: #25D366; color: white; border:none; padding: 15px 30px; border-radius: 50px; font-size: 18px; font-weight: 600; box-shadow: 0 10px 20px rgba(37,211,102,0.3);}
.btn-whatsapp:hover { background: #1ebd5a; transform: translateY(-3px); box-shadow: 0 15px 30px rgba(37,211,102,0.4); color: white;}

/* RTL Adjustments */
body.rtl-layout .cta-box { flex-direction: row-reverse; text-align: right; }
body.rtl-layout .cta-text { text-align: right; }
body.rtl-layout .journey-timeline { direction: rtl; }

@media (max-width: 992px) {
    .appointment-wrapper {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 48px;
    }

    .hero-stats {
        flex-wrap: wrap;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
    }
    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }
    .hero-actions .btn {
        width: 100%;
    }
    .hero-stats {
        gap: 15px;
        justify-content: space-between;
        flex-wrap: wrap;
    }
    .stat-num {
        font-size: 28px;
    }
    .stat-text {
        font-size: 12px;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }

    .mobile-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 100px 30px;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        transition: right 0.4s;
        z-index: 100;
        align-items: flex-start;
    }

    .nav-links .btn-lang-toggle {
        color: var(--primary);
        background: #f1f5f9;
        border: 1px solid #e2e8f0;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links>a {
        color: var(--primary);
        font-size: 18px;
    }

    .header .mobile-toggle {
        z-index: 101;
        position: relative;
    }
}

/* Floating Social Media */
.floating-social {
    position: fixed;
    bottom: 30px;
    left: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 99;
}

.f-social-icon {
    width: 45px;
    height: 45px;
    background: var(--white);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
}

.f-social-icon:hover {
    background: var(--medical-blue);
    color: var(--white);
    transform: translateY(-5px) scale(1.1);
    box-shadow: var(--shadow-lg);
}

/* Floating Help Popup */
.floating-help {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.help-fab {
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, var(--medical-blue), var(--accent));
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 28px;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(14, 165, 233, 0.4);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.help-fab:hover {
    transform: scale(1.08) rotate(-10deg);
}

.help-popup {
    position: absolute;
    bottom: 85px;
    right: 0;
    width: 250px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transform-origin: bottom right;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0,0,0,0.05);
}

.help-popup.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.help-popup-header {
    background: var(--primary);
    color: var(--white);
    padding: 15px 20px;
    text-align: center;
    border-bottom: 2px solid rgba(0,0,0,0.05);
}

.help-popup-header h5 {
    font-size: 15px;
    font-weight: 600;
    margin: 0;
}

.help-popup-body {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.help-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: var(--radius-md);
    color: var(--text-main);
    font-weight: 500;
    font-size: 14px;
    transition: var(--transition);
    background: #f8fafc;
}

.help-item:hover {
    background: #f1f5f9;
    transform: translateX(-5px);
    color: var(--medical-blue);
}

.hi-icon {
    width: 30px;
    height: 30px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--medical-blue);
    box-shadow: var(--shadow-sm);
    font-size: 14px;
}

/* Floating Elements RTL overrides */
body.rtl-layout .floating-social { left: auto; right: 30px; }
body.rtl-layout .floating-help { right: auto; left: 30px; align-items: flex-start; }
body.rtl-layout .help-popup { right: auto; left: 0; transform-origin: bottom left; }
body.rtl-layout .help-item { flex-direction: row-reverse; }
body.rtl-layout .help-item:hover { transform: translateX(5px); }
