/*
Theme Name: Mediverse
Theme URI: https://mediverse.casethemes.net/
Author: Alindevx00x
Author URI: https://alindevx00x.me/
Description: Institut Privé Medilife des Sciences de la Santé.
Version: 1.0.0
License: GPL-2.0+
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mediverse
Tags: medical, healthcare, hospital, clinic, doctor, health, medical center, healthcare services, medical practice, dentistry, pharmacy, wellness, medical services, health clinic, responsive
Requires at least: 5.8 or Higher
Requires PHP: 7.4 or Higher
Tested up to: 6.4

Copyright (c) 2026 alindevx00x. All rights reserved.
This theme is licensed under the GPL-2.0+ license.
*/

@import url('https://fonts.googleapis.com/css2?family=Alyamama:wght@300..900&display=swap');

/* MediLife: Training Cards - Non-clickable styling */
.pxl-post-list .pxl-post--inner,
.pxl-post-grid .pxl-post--inner {
    cursor: default;
}

.pxl-post-list .pxl-post--title span,
.pxl-post-grid .pxl-post--title span {
    display: inline-block;
}

.pxl-post-list .pxl-post--inner:hover .pxl-post--title span,
.pxl-post-grid .pxl-post--inner:hover .pxl-post--title span {
    color: inherit;
}

/* ==========================================================================
   1. GLOBAL & SITE-WIDE RESPONSIVE FOUNDATIONS
   ========================================================================== */
html, body {
    overflow-x: hidden !important;
    max-width: 100vw;
}

#pxl-wapper {
    overflow-x: hidden;
    position: relative;
    width: 100%;
}

/* Logo styling across all locations */
.pxl-logo img,
.pxl-header-branding img,
.elementor-element .pxl-logo img {
    height: auto;
    max-height: 60px;
    width: auto;
    object-fit: contain;
    transition: max-height 0.3s ease;
}

@media (max-width: 991px) {
    .pxl-logo img,
    .pxl-header-branding img,
    .elementor-element .pxl-logo img {
        max-height: 46px;
    }
}

/* Fluid responsive headings for mobile */
@media (max-width: 767px) {
    h1, .pxl-heading .heading-title {
        font-size: clamp(24px, 6vw, 34px) !important;
        line-height: 1.25 !important;
    }
    h2 {
        font-size: clamp(20px, 5vw, 28px) !important;
        line-height: 1.3 !important;
    }
    .pxl-button .btn {
        padding: 10px 20px !important;
        font-size: 14px !important;
    }
}

/* ==========================================================================
   2. ELEMENTOR PRO HEADER (6941) RESPONSIVE STYLING
   ========================================================================== */
/* Header Top Bar on mobile/tablet */
@media (max-width: 1199px) {
    .elementor-6941 .elementor-element-745900e,
    .elementor-7019 .elementor-element-745900e,
    .elementor-7029 .elementor-element-745900e,
    .elementor-7021 .elementor-element-745900e,
    header.elementor-location-header .elementor-element-745900e {
        margin-top: 5px !important;
        margin-bottom: 5px !important;
    }
    .elementor-6941 .elementor-element-2baa8e6,
    .elementor-7019 .elementor-element-2baa8e6,
    .elementor-7029 .elementor-element-2baa8e6,
    .elementor-7021 .elementor-element-2baa8e6,
    header.elementor-location-header .elementor-element-2baa8e6 {
        padding: 8px 15px !important;
        flex-wrap: wrap !important;
        justify-content: space-between !important;
    }
    .elementor-6941 .elementor-element-603db34,
    .elementor-7019 .elementor-element-603db34,
    .elementor-7029 .elementor-element-603db34,
    .elementor-7021 .elementor-element-603db34,
    header.elementor-location-header .elementor-element-603db34 {
        width: 100% !important;
        justify-content: center !important;
        gap: 15px !important;
        flex-wrap: wrap !important;
    }
    .elementor-6941 .elementor-element-c5ae36c,
    .elementor-7019 .elementor-element-c5ae36c,
    .elementor-7029 .elementor-element-c5ae36c,
    .elementor-7021 .elementor-element-c5ae36c,
    header.elementor-location-header .elementor-element-c5ae36c {
        width: 100% !important;
        justify-content: center !important;
        margin-top: 6px !important;
    }
}

@media (max-width: 767px) {
    /* Hide long physical address in top bar on phone screens to prevent visual clutter */
    .elementor-6941 .elementor-element-603db34 .elementor-element-9d624a9,
    .elementor-7019 .elementor-element-603db34 .elementor-element-9d624a9,
    .elementor-7029 .elementor-element-603db34 .elementor-element-9d624a9,
    .elementor-7021 .elementor-element-603db34 .elementor-element-9d624a9,
    header.elementor-location-header .elementor-element-603db34 .elementor-element-9d624a9 {
        display: none !important;
    }
    .elementor-6941 .elementor-element-745900e,
    .elementor-7019 .elementor-element-745900e,
    .elementor-7029 .elementor-element-745900e,
    .elementor-7021 .elementor-element-745900e,
    header.elementor-location-header .elementor-element-745900e {
        padding-top: 4px !important;
        padding-bottom: 4px !important;
    }
}

/* Header Main Navbar on screens < 1200px */
@media (max-width: 1199px) {
    /* Hide desktop horizontal menu items */
    .elementor-6941 .elementor-element-4e222d0,
    .elementor-7019 .elementor-element-4e222d0,
    .elementor-7029 .elementor-element-4e222d0,
    .elementor-7021 .elementor-element-4e222d0,
    header.elementor-location-header .elementor-element-4e222d0 {
        display: none !important;
    }

    /* Keep main navbar compact and flexible */
    .elementor-6941 .elementor-element-bd9ba11,
    .elementor-7019 .elementor-element-bd9ba11,
    .elementor-7029 .elementor-element-bd9ba11,
    .elementor-7021 .elementor-element-bd9ba11,
    header.elementor-location-header .elementor-element-bd9ba11 {
        padding: 8px 16px !important;
        border-radius: 12px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
    }

    .elementor-6941 .elementor-element-5dabd5d,
    .elementor-7019 .elementor-element-5dabd5d,
    .elementor-7029 .elementor-element-5dabd5d,
    .elementor-7021 .elementor-element-5dabd5d,
    header.elementor-location-header .elementor-element-5dabd5d {
        flex-shrink: 0;
    }

    .elementor-6941 .elementor-element-e3276e6,
    .elementor-7019 .elementor-element-e3276e6,
    .elementor-7029 .elementor-element-e3276e6,
    .elementor-7021 .elementor-element-e3276e6,
    header.elementor-location-header .elementor-element-e3276e6 {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        justify-content: flex-end !important;
        width: auto !important;
        flex-grow: 0 !important;
    }
}

@media (max-width: 991px) {
    /* Hide call button from compact navbar (available in mobile drawer) */
    .elementor-6941 .elementor-element-997c6d7,
    .elementor-7019 .elementor-element-997c6d7,
    .elementor-7029 .elementor-element-997c6d7,
    .elementor-7021 .elementor-element-997c6d7,
    header.elementor-location-header .elementor-element-997c6d7 {
        display: none !important;
    }
}

@media (max-width: 575px) {
    /* On small phones, also collapse text button to keep navbar ultra-clean */
    .elementor-6941 .elementor-element-383905c,
    .elementor-7019 .elementor-element-383905c,
    .elementor-7029 .elementor-element-383905c,
    .elementor-7021 .elementor-element-383905c,
    header.elementor-location-header .elementor-element-383905c {
        display: none !important;
    }
    .elementor-6941 .elementor-element-5dabd5d .pxl-logo img,
    .elementor-7019 .elementor-element-5dabd5d .pxl-logo img,
    .elementor-7029 .elementor-element-5dabd5d .pxl-logo img,
    .elementor-7021 .elementor-element-5dabd5d .pxl-logo img,
    header.elementor-location-header .elementor-element-5dabd5d .pxl-logo img {
        max-height: 40px !important;
    }
}

/* Modern Hamburger Toggle Button */
.medilife-header-mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: #192273;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    padding: 0;
    margin-left: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(25, 34, 115, 0.25);
    z-index: 10;
}

@media (max-width: 1199px) {
    .medilife-header-mobile-toggle {
        display: flex !important;
    }
}

.medilife-header-mobile-toggle:hover {
    background: #2354cf;
    transform: translateY(-1px);
}

.medilife-header-mobile-toggle .toggle-bar {
    display: block;
    width: 22px;
    height: 2.5px;
    background: #ffffff;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   3. MEDILIFE MOBILE NAVIGATION DRAWER
   ========================================================================== */
.medilife-mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999999;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    pointer-events: none;
}

.medilife-mobile-drawer.is-active {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

body.medilife-drawer-open {
    overflow: hidden !important;
}

.medilife-drawer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 21, 54, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.medilife-drawer-panel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 340px;
    max-width: 86vw;
    background: #ffffff;
    box-shadow: -10px 0 35px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.medilife-mobile-drawer.is-active .medilife-drawer-panel {
    transform: translateX(0);
}

.medilife-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 22px;
    border-bottom: 1px solid #f1f5f9;
    background: #ffffff;
    position: sticky;
    top: 0;
    z-index: 2;
}

.medilife-drawer-logo img {
    max-height: 45px;
    width: auto;
}

.medilife-drawer-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f1f5f9;
    border: none;
    color: #192273;
    font-size: 24px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
}

.medilife-drawer-close:hover {
    background: #e2e8f0;
    transform: rotate(90deg);
}

.medilife-drawer-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.medilife-drawer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.medilife-drawer-menu li {
    border-bottom: 1px solid #f1f5f9;
}

.medilife-drawer-menu li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 4px;
    color: #192273;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.medilife-drawer-menu li a:hover,
.medilife-drawer-menu li.current-menu-item > a,
.medilife-drawer-menu li.current_page_item > a {
    color: #2354cf;
    padding-left: 6px;
}

.medilife-drawer-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 5px;
}

.drawer-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
}

.drawer-btn-primary {
    background: linear-gradient(90deg, #192273 0%, #2354cf 100%);
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(35, 84, 207, 0.3);
}

.drawer-btn-primary:hover {
    box-shadow: 0 6px 20px rgba(35, 84, 207, 0.45);
    transform: translateY(-1px);
}

.drawer-btn-secondary {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    color: #192273 !important;
}

.drawer-btn-secondary:hover {
    background: #f1f5f9;
}

.medilife-drawer-contact {
    background: #f8fafc;
    border-radius: 14px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 13px;
    color: #475569;
}

.contact-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-row a {
    color: #192273;
    text-decoration: none;
    font-weight: 500;
}

.medilife-drawer-lang {
    border-top: 1px solid #f1f5f9;
    padding-top: 15px;
}

.lang-title {
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    display: block;
    margin-bottom: 8px;
}

.drawer-lang-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 12px;
}

.drawer-lang-list li a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #192273;
    text-decoration: none;
    background: #f1f5f9;
    padding: 5px 10px;
    border-radius: 15px;
    font-weight: 600;
}

/* ==========================================================================
   4. ELEMENTOR PRO FOOTER (6944) RESPONSIVE STYLING
   ========================================================================== */
@media (max-width: 991px) {
    .elementor-6944 .elementor-element-f1b2123 > .elementor-element,
    .elementor-6944 .elementor-element {
        flex-wrap: wrap !important;
    }
}

@media (max-width: 767px) {
    .elementor-6944 {
        padding-top: 30px !important;
        padding-bottom: 30px !important;
    }
    .elementor-6944 .pxl-logo img {
        max-height: 50px !important;
    }
    .elementor-6944 a {
        min-height: 38px;
        display: inline-flex;
        align-items: center;
    }
}

/* ==========================================================================
   5. MEDILIFE ACADEMY PAGE (6672) DESIGN SYSTEM & BADGES
   ========================================================================== */
.medilife-academy-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px 20px 60px 20px;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #1e293b;
}

/* Hero Section */
.medilife-academy-hero {
    background: linear-gradient(135deg, #0b1536 0%, #152764 50%, #1f4cb8 100%);
    border-radius: 28px;
    padding: 60px 40px;
    color: #ffffff;
    text-align: center;
    margin-bottom: 55px;
    box-shadow: 0 20px 45px rgba(11, 21, 54, 0.18);
    position: relative;
    overflow: hidden;
}

.medilife-academy-hero::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(35, 84, 207, 0.35) 0%, transparent 70%);
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #ffffff;
    margin-bottom: 22px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #38bdf8;
    box-shadow: 0 0 10px #38bdf8;
}

.hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(28px, 5vw, 44px);
    font-weight: 800;
    line-height: 1.22;
    color: #ffffff;
    margin: 0 auto 18px;
    max-width: 900px;
}

.hero-subtitle {
    font-size: clamp(16px, 2.5vw, 18px);
    line-height: 1.7;
    color: #e2e8f0;
    max-width: 820px;
    margin: 0 auto 30px;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 45px;
}

.btn-primary-hero {
    background: #ffffff;
    color: #192273 !important;
    padding: 14px 32px;
    border-radius: 35px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn-primary-hero:hover {
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

.btn-secondary-hero {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 14px 30px;
    border-radius: 35px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-secondary-hero:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 30px;
    margin-top: 20px;
}

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

.stat-number {
    font-family: 'Outfit', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: #38bdf8;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 13px;
    color: #cbd5e1;
    font-weight: 500;
}

/* Catalogue Section Header */
.section-header {
    text-align: center;
    margin-bottom: 45px;
}

.section-pretitle {
    display: inline-block;
    color: #2354cf;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: #eff6ff;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.section-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(26px, 4vw, 36px);
    font-weight: 800;
    color: #192273;
    margin-bottom: 12px;
}

.section-desc {
    color: #64748b;
    font-size: 17px;
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.65;
}

/* Formations Grid */
.medilife-formations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 60px;
}

@media (max-width: 1099px) {
    .medilife-formations-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .medilife-formations-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }
}

/* Individual Formation Card */
.medilife-academy-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 20px rgba(25, 34, 115, 0.05);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.medilife-academy-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(25, 34, 115, 0.12);
    border-color: #cbd5e1;
}

/* Card Media with Real Photos */
.medilife-card-media {
    position: relative;
    width: 100%;
    height: 210px;
    overflow: hidden;
    background: #0b1536;
}

.medilife-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.medilife-academy-card:hover .medilife-card-media img {
    transform: scale(1.08);
}

.medilife-card-media .medilife-card-category {
    position: absolute;
    bottom: 12px;
    left: 14px;
    background: rgba(11, 21, 54, 0.88);
    color: #ffffff;
    padding: 5px 13px;
    border-radius: 20px;
    font-size: 11.5px;
    font-weight: 700;
    backdrop-filter: blur(8px);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.medilife-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.medilife-card-title {
    font-family: 'Outfit', sans-serif;
    font-size: 19px;
    font-weight: 700;
    color: #192273;
    line-height: 1.35;
    margin-bottom: 10px;
}

.medilife-card-desc {
    color: #64748b;
    font-size: 14px;
    line-height: 1.65;
    margin-bottom: 16px;
}

/* Badges System: Certificat / Durée / Prix */
.medilife-badges-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
    padding: 12px;
    background: #f8fafc;
    border-radius: 14px;
    border: 1px solid #edf2f7;
}

.medilife-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 11px;
    border-radius: 20px;
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1;
}

.medilife-badge-certif {
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
}

.medilife-badge-duree {
    background: #f0fdf4;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

.medilife-badge-prix {
    background: #fefce8;
    color: #854d0e;
    border: 1px solid #fef08a;
}

.badge-icon {
    font-size: 13px;
}

/* Syllabus Checklist */
.medilife-card-syllabus {
    margin-bottom: 22px;
    border-top: 1px solid #f1f5f9;
    padding-top: 14px;
}

.syllabus-label {
    font-size: 13px;
    font-weight: 700;
    color: #192273;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.syllabus-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.syllabus-list li {
    font-size: 13px;
    color: #475569;
    line-height: 1.45;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.medilife-check {
    color: #10b981;
    font-weight: 800;
    font-size: 13px;
    line-height: 1;
    margin-top: 2px;
}

/* Card Footer Action */
.medilife-card-footer {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #f1f5f9;
}

.medilife-card-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #192273;
    color: #ffffff !important;
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.medilife-card-btn:hover {
    background: #2354cf;
    box-shadow: 0 4px 15px rgba(35, 84, 207, 0.35);
}

.medilife-card-btn .btn-arrow {
    transition: transform 0.25s ease;
}

.medilife-card-btn:hover .btn-arrow {
    transform: translateX(4px);
}

/* Enterprise Banner */
.medilife-enterprise-banner {
    background: linear-gradient(135deg, #f8fafc 0%, #edf2f7 100%);
    border: 2px dashed #cbd5e1;
    border-radius: 24px;
    padding: 45px 35px;
    text-align: center;
    margin-bottom: 60px;
}

.enterprise-tag {
    display: inline-block;
    color: #2354cf;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    background: #ffffff;
    padding: 5px 14px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    margin-bottom: 12px;
}

.enterprise-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(22px, 3.5vw, 30px);
    font-weight: 800;
    color: #192273;
    margin-bottom: 14px;
}

.enterprise-desc {
    color: #64748b;
    font-size: 16px;
    line-height: 1.7;
    max-width: 780px;
    margin: 0 auto 25px;
}

.enterprise-perks {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.perk-item {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    background: #ffffff;
    padding: 6px 16px;
    border-radius: 18px;
    border: 1px solid #e2e8f0;
}

.enterprise-btn {
    background: #192273;
    color: #ffffff !important;
    padding: 13px 32px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(25, 34, 115, 0.2);
}

.enterprise-btn:hover {
    background: #2354cf;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(35, 84, 207, 0.35);
}

/* FAQ Section */
.medilife-faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

@media (max-width: 767px) {
    .medilife-faq-grid {
        grid-template-columns: 1fr;
    }
}

.faq-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.faq-q {
    font-family: 'Outfit', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: #192273;
    margin-bottom: 10px;
}

.faq-a {
    font-size: 14px;
    line-height: 1.65;
    color: #64748b;
    margin: 0;
}

/* ==========================================================================
   6. RTL SUPPORT FOR ARABIC PAGES
   ========================================================================== */
body.rtl,
html[dir="rtl"] {
    direction: rtl;
    text-align: right;
    font-family: "Alyamama", serif !important;
}

/* Enforce connected cursive typography across all Arabic elements */
body.rtl,
body.rtl h1, body.rtl h2, body.rtl h3, body.rtl h4, body.rtl h5, body.rtl h6,
body.rtl p, body.rtl a, body.rtl span, body.rtl button, body.rtl .btn,
body.rtl input, body.rtl textarea, body.rtl select,
.pxl-btn-arabic, .pxl--btn-text, .pxl--btn-text-content,
[lang="ar"], [dir="rtl"] {
    letter-spacing: normal !important;
    word-spacing: normal !important;
}

body.rtl .medilife-academy-card,
body.rtl .section-header,
body.rtl .medilife-enterprise-banner,
body.rtl .medilife-faq-section {
    text-align: right;
}

body.rtl .section-desc {
    margin-right: auto;
    margin-left: auto;
}

body.rtl .medilife-card-media .medilife-card-category {
    left: auto;
    right: 14px;
}

body.rtl .medilife-card-syllabus .syllabus-list li {
    flex-direction: row;
    gap: 8px;
}

body.rtl .medilife-card-btn {
    flex-direction: row-reverse;
}

body.rtl .medilife-card-btn:hover .btn-arrow {
    transform: translateX(-4px);
}

body.rtl .medilife-drawer-panel {
    right: auto;
    left: 0;
    transform: translateX(-100%);
    box-shadow: 10px 0 35px rgba(0, 0, 0, 0.2);
}

body.rtl .medilife-mobile-drawer.is-active .medilife-drawer-panel {
    transform: translateX(0);
}

body.rtl .medilife-drawer-menu li a {
    text-align: right;
    flex-direction: row-reverse;
}

body.rtl .medilife-drawer-menu li a:hover {
    padding-left: 4px;
    padding-right: 6px;
}

body.rtl .contact-row {
    flex-direction: row-reverse;
}

/* ==========================================================================
   7. ARABIC BUTTON & RTL INTERACTIVE CONTROLS
   ========================================================================== */
/* Keep telephone numbers readable in LTR */
body.rtl .btn-icon .pxl--btn-text,
body.rtl a[href^="tel"],
body.rtl .medilife-drawer-actions a[href^="tel"] {
    direction: ltr !important;
    unicode-bidi: embed !important;
    text-align: center !important;
}

/* Arabic Button Reset: Disable character-splitting pseudo elements */
.pxl-btn-arabic .pxl--btn-text:before,
.pxl-btn-arabic.btn-text-nina .pxl--btn-text:before,
.pxl-btn-arabic.btn-text-nanuk .pxl--btn-text:before {
    display: none !important;
    content: none !important;
}

.pxl-btn-arabic,
body.rtl .pxl-button .btn {
    direction: rtl !important;
    text-align: right !important;
}

.pxl-btn-arabic .pxl--btn-text,
body.rtl .pxl-button .btn .pxl--btn-text {
    direction: rtl !important;
    text-align: right !important;
    font-family: "Alyamama", serif !important;
}

.pxl-btn-arabic .pxl--btn-text-content {
    display: inline-block !important;
    letter-spacing: normal !important;
    font-family: inherit !important;
}

/* Button with Applied effect in RTL (Header button & call-to-actions) */
body.rtl .btn.btn-text-applied,
.pxl-btn-arabic.btn-text-applied {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    direction: rtl !important;
    padding: 0 26px 0 20px !important;
    height: 48px !important;
    min-height: 48px !important;
    line-height: 46px !important;
    border-radius: 9999px !important;
    border: 1px solid #192273 !important;
    background-color: transparent !important;
    color: #192273 !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
    transition: all 0.3s cubic-bezier(0.1, 0.75, 0.25, 1) !important;
}

body.rtl .btn.btn-text-applied .pxl--btn-text,
.pxl-btn-arabic.btn-text-applied .pxl--btn-text {
    display: inline-flex !important;
    align-items: center !important;
    font-family: "Alyamama", serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    letter-spacing: normal !important;
    white-space: nowrap !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #192273 !important;
    transform: none !important;
    transition: color 0.3s ease, transform 0.3s ease !important;
}

body.rtl .btn.btn-text-applied .btn-icon-right,
.pxl-btn-arabic.btn-text-applied .btn-icon-right {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 0 !important;
    margin: 0 !important;
    margin-right: 12px !important;
    margin-left: 0 !important;
    opacity: 1 !important;
    transform: none !important;
    transition: transform 0.3s cubic-bezier(0.1, 0.75, 0.25, 1), opacity 0.3s ease !important;
}

/* Arrow points to the LEFT (in the RTL forward direction) */
body.rtl .btn.btn-text-applied .btn-icon-right svg,
.pxl-btn-arabic.btn-text-applied .btn-icon-right svg {
    display: block !important;
    margin: 0 !important;
    transform: scaleX(-1) !important;
    transition: transform 0.3s cubic-bezier(0.1, 0.75, 0.25, 1) !important;
}

body.rtl .btn.btn-text-applied .btn-icon-right svg path,
.pxl-btn-arabic.btn-text-applied .btn-icon-right svg path {
    stroke: #192273 !important;
    transition: stroke 0.3s ease !important;
}

/* Hover state on RTL btn-text-applied */
body.rtl .btn.btn-text-applied:hover,
.pxl-btn-arabic.btn-text-applied:hover {
    background-color: #192273 !important;
    border-color: #192273 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(25, 34, 115, 0.25) !important;
}

body.rtl .btn.btn-text-applied:hover .pxl--btn-text,
body.rtl .btn.btn-text-applied:hover .pxl--btn-text-content,
.pxl-btn-arabic.btn-text-applied:hover .pxl--btn-text,
.pxl-btn-arabic.btn-text-applied:hover .pxl--btn-text-content {
    color: #ffffff !important;
    transform: translateX(-2px) !important;
}

body.rtl .btn.btn-text-applied:hover .btn-icon-right,
.pxl-btn-arabic.btn-text-applied:hover .btn-icon-right {
    opacity: 1 !important;
    transform: none !important;
}

body.rtl .btn.btn-text-applied:hover .btn-icon-right svg,
.pxl-btn-arabic.btn-text-applied:hover .btn-icon-right svg {
    transform: scaleX(-1) translateX(4px) !important;
}

body.rtl .btn.btn-text-applied:hover .btn-icon-right svg path,
.pxl-btn-arabic.btn-text-applied:hover .btn-icon-right svg path {
    stroke: #ffffff !important;
}

/* Responsive adjustments for RTL Header & CTA buttons */
@media (max-width: 1199px) {
    body.rtl .btn.btn-text-applied,
    .pxl-btn-arabic.btn-text-applied {
        padding: 0 20px 0 16px !important;
        height: 44px !important;
        min-height: 44px !important;
        line-height: 42px !important;
    }
    body.rtl .btn.btn-text-applied .pxl--btn-text,
    .pxl-btn-arabic.btn-text-applied .pxl--btn-text {
        font-size: 14px !important;
    }
    body.rtl .btn.btn-text-applied .btn-icon-right,
    .pxl-btn-arabic.btn-text-applied .btn-icon-right {
        margin-right: 10px !important;
    }
}

/* General RTL forward arrow flipping for readmore links, carousels and service boxes */
body.rtl .btn-readmore svg,
body.rtl .pxl-service-carousel .btn-readmore svg,
body.rtl .pxl-service-carousel3 .btn-readmore svg,
body.rtl .pxl-post--readmore svg,
body.rtl .btn-see svg,
body.rtl .pxl-button .btn-linear-icon .btn-icon-linear svg,
body.rtl .pxl-button .btn-icon .btn-icon-left svg,
body.rtl .pxl-button .btn-2-icons svg {
    transform: scaleX(-1);
    transition: transform 0.3s ease;
}

body.rtl .btn-readmore:hover svg,
body.rtl .pxl-service-carousel .btn-readmore:hover svg,
body.rtl .pxl-service-carousel3 .btn-readmore:hover svg,
body.rtl .pxl-post--readmore:hover svg {
    transform: scaleX(-1) translateX(4px);
}

/* ==========================================================================
   8. PHONE BUTTON (0539 96 00 00) - RTL & SITE-WIDE FIXES
   ========================================================================== */
/* Ensure text in btn-icon and all Arabic buttons is always 100% visible */
.pxl-btn-arabic .pxl--btn-text > span,
.pxl-btn-arabic .pxl--btn-text-content,
body.rtl .btn-icon .pxl--btn-text > span,
body.rtl .btn-icon .pxl--btn-text-content,
body.rtl .elementor-element-997c6d7 .pxl-button .btn .pxl--btn-text > span,
body.rtl .elementor-element-997c6d7 .pxl-button .btn .pxl--btn-text-content {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    display: inline-block !important;
}

/* RTL layout for phone button in header (strictly scoped to elementor-element-997c6d7) */
body.rtl .elementor-element-997c6d7 .pxl-button .btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    direction: rtl !important;
    padding: 5px 5px 5px 24px !important;
    height: 56px !important;
    line-height: 46px !important;
    border-radius: 9999px !important;
    gap: 12px !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.1, 0.75, 0.25, 1) !important;
}

@media (max-width: 1199px) {
    body.rtl .elementor-element-997c6d7 .pxl-button .btn {
        padding: 4px 4px 4px 18px !important;
        height: 50px !important;
        gap: 10px !important;
    }
}

/* White circle container with phone icon on the right */
body.rtl .elementor-element-997c6d7 .pxl-button .btn .btn-icon-left {
    width: 46px !important;
    height: 46px !important;
    border-radius: 50% !important;
    background-color: #ffffff !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
    line-height: 0 !important;
    transition: transform 0.3s cubic-bezier(0.1, 0.75, 0.25, 1), background-color 0.3s ease !important;
}

@media (max-width: 1199px) {
    body.rtl .elementor-element-997c6d7 .pxl-button .btn .btn-icon-left {
        width: 40px !important;
        height: 40px !important;
    }
}

/* Phone number text inside button */
body.rtl .elementor-element-997c6d7 .pxl-button .btn .pxl--btn-text {
    direction: ltr !important;
    unicode-bidi: isolate !important;
    display: inline-flex !important;
    align-items: center !important;
    font-family: 'Outfit', 'Alyamama', sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    color: #ffffff !important;
    white-space: nowrap !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

body.rtl .elementor-element-997c6d7 .pxl-button .btn .pxl--btn-text-content {
    direction: ltr !important;
    unicode-bidi: isolate !important;
    display: inline-block !important;
    color: #ffffff !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

/* Hover effects for header phone button */
body.rtl .elementor-element-997c6d7 .pxl-button .btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(25, 34, 115, 0.35) !important;
    opacity: 0.95 !important;
}

body.rtl .elementor-element-997c6d7 .pxl-button .btn:hover .btn-icon-left {
    transform: scale(1.06) rotate(-8deg) !important;
}

/* ==========================================================================
   HOMEPAGE ARABIC BUTTON FIXES (اكتشف حكايتنا | شعب التكوين | التسجيل في المعهد)
   ========================================================================== */

/* Button 1: اكتشف حكايتنا (3710b94) */
body.rtl .elementor-element-3710b94 .pxl-button .btn {
    display: inline-flex !important;
    flex-direction: row-reverse !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    padding: 4px 24px 4px 10px !important;
    height: 52px !important;
    min-height: 52px !important;
    border-radius: 9999px !important;
    background-color: #ffffff !important;
    border: 1.5px solid #192273 !important;
    box-shadow: 0 4px 15px rgba(25, 34, 115, 0.08) !important;
    box-sizing: border-box !important;
    transition: all 0.3s ease !important;
}

body.rtl .elementor-element-3710b94 .pxl-button .btn .pxl--btn-text,
body.rtl .elementor-element-3710b94 .pxl-button .btn .pxl--btn-text-content {
    direction: rtl !important;
    color: #192273 !important;
    font-family: "Alyamama", serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    white-space: nowrap !important;
}

body.rtl .elementor-element-3710b94 .pxl-button .btn .btn-icon-left {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    border-radius: 50% !important;
    background-color: #192273 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
    transition: all 0.3s ease !important;
}

body.rtl .elementor-element-3710b94 .pxl-button .btn .btn-icon-left svg {
    transform: scaleX(-1) !important;
    display: block !important;
}

body.rtl .elementor-element-3710b94 .pxl-button .btn .btn-icon-left svg path {
    stroke: #ffffff !important;
}

body.rtl .elementor-element-3710b94 .pxl-button .btn:hover {
    background-color: #192273 !important;
    border-color: #192273 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(25, 34, 115, 0.25) !important;
}

body.rtl .elementor-element-3710b94 .pxl-button .btn:hover .pxl--btn-text,
body.rtl .elementor-element-3710b94 .pxl-button .btn:hover .pxl--btn-text-content {
    color: #ffffff !important;
}

body.rtl .elementor-element-3710b94 .pxl-button .btn:hover .btn-icon-left {
    background-color: #00bdb0 !important;
    transform: scale(1.08) !important;
}

body.rtl .elementor-element-3710b94 .pxl-button .btn:hover .btn-icon-left svg path {
    stroke: #ffffff !important;
}

/* Button 2: شعب التكوين (b60ddba) */
body.rtl .elementor-element-b60ddba .pxl-button .btn {
    display: inline-flex !important;
    flex-direction: row-reverse !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    padding: 4px 24px 4px 10px !important;
    height: 52px !important;
    min-height: 52px !important;
    border-radius: 9999px !important;
    background-color: #192273 !important;
    border: 1.5px solid #192273 !important;
    box-shadow: 0 4px 15px rgba(25, 34, 115, 0.2) !important;
    box-sizing: border-box !important;
    transition: all 0.3s ease !important;
}

body.rtl .elementor-element-b60ddba .pxl-button .btn .pxl--btn-text,
body.rtl .elementor-element-b60ddba .pxl-button .btn .pxl--btn-text-content {
    direction: rtl !important;
    color: #ffffff !important;
    font-family: "Alyamama", serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    white-space: nowrap !important;
}

body.rtl .elementor-element-b60ddba .pxl-button .btn .btn-icon-left {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    border-radius: 50% !important;
    background-color: #00bdb0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
    transition: all 0.3s ease !important;
}

body.rtl .elementor-element-b60ddba .pxl-button .btn .btn-icon-left svg {
    transform: scaleX(-1) !important;
    display: block !important;
}

body.rtl .elementor-element-b60ddba .pxl-button .btn .btn-icon-left svg path {
    stroke: #ffffff !important;
}

body.rtl .elementor-element-b60ddba .pxl-button .btn:hover {
    background-color: #00bdb0 !important;
    border-color: #00bdb0 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(0, 189, 176, 0.35) !important;
}

body.rtl .elementor-element-b60ddba .pxl-button .btn:hover .pxl--btn-text,
body.rtl .elementor-element-b60ddba .pxl-button .btn:hover .pxl--btn-text-content {
    color: #ffffff !important;
}

body.rtl .elementor-element-b60ddba .pxl-button .btn:hover .btn-icon-left {
    background-color: #192273 !important;
    transform: scale(1.08) !important;
}

body.rtl .elementor-element-b60ddba .pxl-button .btn:hover .btn-icon-left svg path {
    stroke: #ffffff !important;
}

/* Button 3: التسجيل في المعهد (39e5c8f) */
body.rtl .elementor-element-39e5c8f {
    display: flex !important;
    justify-content: flex-start !important;
}

body.rtl .elementor-element-39e5c8f .pxl-button .btn {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 5px !important;
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    box-shadow: none !important;
    transition: all 0.3s ease !important;
}

body.rtl .elementor-element-39e5c8f .pxl-button .btn .pxl--btn-text {
    border-radius: 0 26px 26px 0 !important;
    background: linear-gradient(90deg, #192273 0%, #29388c 100%) !important;
    padding: 0 26px !important;
    line-height: 50px !important;
    height: 50px !important;
    display: inline-flex !important;
    align-items: center !important;
    direction: rtl !important;
    color: #ffffff !important;
    font-family: "Alyamama", serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 15px rgba(25, 34, 115, 0.2) !important;
    transition: all 0.3s ease !important;
}

body.rtl .elementor-element-39e5c8f .pxl-button .btn .pxl--btn-text .pxl--btn-text-content {
    color: #ffffff !important;
    font-family: "Alyamama", serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
}

body.rtl .elementor-element-39e5c8f .pxl-button .btn .btn-icon-linear {
    border-radius: 26px 0 0 26px !important;
    background: linear-gradient(90deg, #00bdb0 0%, #30dfd3 100%) !important;
    padding: 0 20px !important;
    line-height: 50px !important;
    height: 50px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(0, 189, 176, 0.25) !important;
    transition: all 0.3s ease !important;
}

body.rtl .elementor-element-39e5c8f .pxl-button .btn .btn-icon-linear i,
body.rtl .elementor-element-39e5c8f .pxl-button .btn .btn-icon-linear svg {
    color: #ffffff !important;
    fill: #ffffff !important;
    font-size: 14px !important;
    display: inline-block !important;
    transform: none !important;
}

body.rtl .elementor-element-39e5c8f .pxl-button .btn:hover {
    transform: translateY(-2px) !important;
}

body.rtl .elementor-element-39e5c8f .pxl-button .btn:hover .pxl--btn-text {
    box-shadow: 0 6px 20px rgba(25, 34, 115, 0.3) !important;
}

body.rtl .elementor-element-39e5c8f .pxl-button .btn:hover .btn-icon-linear {
    background: linear-gradient(90deg, #009d92 0%, #00bdb0 100%) !important;
    box-shadow: 0 6px 20px rgba(0, 189, 176, 0.4) !important;
}

/* ==========================================================================
   9. COMPREHENSIVE RTL CONSISTENCY RULES FOR ALL ARABIC PAGES
   ========================================================================== */

/* --- 9.1 Alyamama Font & General Typography & Document Flow --- */
html[lang="ar"],
html[lang="ar"] body,
body.rtl,
body.rtl *:not(i):not(svg):not(path):not(polygon):not(rect):not(circle):not(.fa):not(.fas):not(.far):not(.fab):not([class*="fa-"]):not([class*="bi-"]):not([class*="e-font"]):not([class*="pxl-icon-"]):not([class*="pxl_"]),
.alyamama-unique {
    font-family: "Alyamama", serif !important;
    font-optical-sizing: auto !important;
    font-style: normal !important;
}
body.rtl {
    direction: rtl !important;
    text-align: right !important;
}

body.rtl h1, body.rtl h2, body.rtl h3, body.rtl h4, body.rtl h5, body.rtl h6,
body.rtl .pxl-heading .pxl-item--title,
body.rtl .pxl-item--title,
body.rtl .title,
body.rtl .entry-title {
    text-align: right;
    font-family: "Alyamama", serif !important;
}

body.rtl .elementor-widget-heading .elementor-heading-title,
body.rtl .pxl-heading {
    text-align: right;
}

body.rtl .elementor-align-center,
body.rtl .elementor-widget-heading.elementor-align-center .elementor-heading-title,
body.rtl .text-center,
body.rtl .pxl-heading.text-center,
body.rtl .pxl-heading.text-center .pxl-item--title,
body.rtl .pxl-heading.text-center .pxl-item--subtitle {
    text-align: center !important;
}

body.rtl p,
body.rtl .pxl-text-editor,
body.rtl .pxl-item--description,
body.rtl .desc,
body.rtl .pxl-post--content {
    text-align: right;
    font-family: "Alyamama", serif !important;
    line-height: 1.8;
}

body.rtl .elementor-text-editor.elementor-align-center,
body.rtl .pxl-text-editor.text-center {
    text-align: center !important;
}

/* Subtitles */
body.rtl .px-sub-title,
body.rtl .px-sub-title-2,
body.rtl .px-sub-title-4,
body.rtl .pxl-heading .pxl-item--subtitle {
    text-align: right;
    font-family: "Alyamama", serif !important;
}

body.rtl .px-sub-title-3 {
    direction: rtl !important;
}

body.rtl .px-sub-title-3:before {
    margin-left: 8px;
    margin-right: 0;
}

/* --- 9.2 Icon Boxes (All Styles) --- */
body.rtl .pxl-icon-box {
    direction: rtl !important;
    text-align: right !important;
}

body.rtl .pxl-icon-box .pxl-item--inner {
    direction: rtl !important;
    text-align: right !important;
}

body.rtl .pxl-icon-box .pxl-item--content {
    text-align: right !important;
    direction: rtl !important;
}

body.rtl .pxl-icon-box .pxl-item--title {
    text-align: right !important;
}

body.rtl .pxl-icon-box .pxl-item--description {
    text-align: right !important;
}

body.rtl .pxl-icon-box1.style-1 .pxl-item--inner,
body.rtl .pxl-icon-box1.style-2 .pxl-item--inner,
body.rtl .pxl-icon-box1.icon-box .pxl-item--inner {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    column-gap: 16px !important;
}

body.rtl .pxl-icon-box .pxl-item--icon {
    flex-shrink: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

@media (max-width: 767px) {
    body.rtl .pxl-icon-box1.style-2 .pxl-item--inner {
        flex-direction: column !important;
        align-items: flex-start !important;
        text-align: right !important;
    }
}

/* --- 9.3 History Timeline (Curriculum 6 Steps) --- */
body.rtl .pxl-history {
    direction: rtl !important;
}

body.rtl .pxl-history .pxl-history-carousel .entry-body {
    direction: rtl !important;
    text-align: right !important;
    align-items: flex-start !important;
}

body.rtl .pxl-history .pxl-history-carousel .entry-body .date {
    text-align: right !important;
    direction: rtl !important;
    font-family: "Alyamama", serif !important;
    font-weight: 700 !important;
}

body.rtl .pxl-history .pxl-history-carousel .entry-body .date:after {
    right: 0 !important;
    left: auto !important;
}

body.rtl .pxl-history .pxl-history-carousel .entry-body .wrap-center {
    text-align: right !important;
    direction: rtl !important;
    padding: 0 0 0 38px !important;
}

@media (max-width: 991px) {
    body.rtl .pxl-history .pxl-history-carousel .entry-body .wrap-center {
        padding: 0 !important;
        text-align: right !important;
    }
}

body.rtl .pxl-history .pxl-history-carousel .entry-body .title {
    text-align: right !important;
    font-family: "Alyamama", serif !important;
}

body.rtl .pxl-history .pxl-history-carousel .entry-body .desc {
    text-align: right !important;
    font-family: "Alyamama", serif !important;
    line-height: 1.8 !important;
}

/* --- 9.4 Process Steps Widget --- */
body.rtl .pxl-process1 {
    direction: rtl !important;
    text-align: right !important;
}

body.rtl .pxl-process1 .pxl-item--inner {
    padding-right: 93px !important;
    padding-left: 0 !important;
    text-align: right !important;
}

body.rtl .pxl-process1 .pxl-item--inner:before {
    right: 24px !important;
    left: auto !important;
}

body.rtl .pxl-process1 .pxl-item--step {
    right: 0 !important;
    left: auto !important;
}

body.rtl .pxl-process1 .pxl-item--title,
body.rtl .pxl-process1 .pxl-item--description {
    text-align: right !important;
}

body.rtl .pxl-process2 .pxl-item--inner {
    text-align: center !important;
}

body.rtl .pxl-process2 .pxl-item--title,
body.rtl .pxl-process2 .pxl-item--description {
    text-align: center !important;
    font-family: "Alyamama", serif !important;
}

/* --- 9.5 Accordion Widget (FAQs) --- */
body.rtl .pxl-accordion,
body.rtl .pxl-accordion1 {
    direction: rtl !important;
    text-align: right !important;
}

body.rtl .pxl-accordion .pxl--item,
body.rtl .pxl-accordion1 .pxl--item {
    direction: rtl !important;
    text-align: right !important;
}

body.rtl .pxl-accordion1.style3 .pxl--item {
    padding: 20px 48px 20px 24px !important;
    text-align: right !important;
}

body.rtl .pxl-accordion1.style3 .pxl-accordion--title {
    text-align: right !important;
    padding-right: 0 !important;
    padding-left: 35px !important;
    font-family: "Alyamama", serif !important;
    font-weight: 700 !important;
    font-size: 18px !important;
}

body.rtl .pxl-accordion1.style3 .pxl-icon--plus {
    left: 20px !important;
    right: auto !important;
}

body.rtl .pxl-accordion1.style3 .pxl-accordion--content,
body.rtl .pxl-accordion .pxl-accordion--content {
    text-align: right !important;
    direction: rtl !important;
    font-family: "Alyamama", serif !important;
    font-size: 15px !important;
    line-height: 1.8 !important;
    color: #4A5568 !important;
}

body.rtl .pxl-accordion1.style1 .pxl-accordion--title {
    text-align: right !important;
    padding-right: 0 !important;
    padding-left: 30px !important;
    font-family: "Alyamama", serif !important;
}

body.rtl .pxl-accordion1.style1 .pxl-icon--plus {
    left: 20px !important;
    right: auto !important;
}

body.rtl .pxl-accordion1.style1 .pxl-accordion--content {
    text-align: right !important;
}

/* --- 9.6 Tabs Widget --- */
body.rtl .pxl-tabs,
body.rtl .pxl-tabs1 {
    direction: rtl !important;
}

body.rtl .pxl-tabs1 .pxl-tabs--title {
    direction: rtl !important;
    justify-content: flex-start !important;
}

/* Care Orbit Tabs: Dead Center Icon in RTL matching LTR */
body.rtl .pxl-care-orbit-tabs,
html[lang="ar"] .pxl-care-orbit-tabs {
    direction: ltr !important;
    position: relative !important;
}

body.rtl .pxl-care-orbit-tabs .pxl-tabs--title,
html[lang="ar"] .pxl-care-orbit-tabs .pxl-tabs--title {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    position: relative !important;
    margin: 0 auto !important;
    direction: ltr !important;
    width: clamp(360px, 38vw, 540px) !important;
}

body.rtl .pxl-care-orbit-tabs .pxl-tabs--title svg,
body.rtl .pxl-care-orbit-tabs .pxl-tabs--title .care-orbit-svg,
html[lang="ar"] .pxl-care-orbit-tabs .pxl-tabs--title svg,
html[lang="ar"] .pxl-care-orbit-tabs .pxl-tabs--title .care-orbit-svg {
    display: block !important;
    margin: 0 auto !important;
}

body.rtl .pxl-care-orbit-tabs .pxl-tabs--title .orbit-center-icon,
html[lang="ar"] .pxl-care-orbit-tabs .pxl-tabs--title .orbit-center-icon {
    position: absolute !important;
    left: 50% !important;
    right: auto !important;
    top: 50% !important;
    bottom: auto !important;
    transform: translate(-50%, -50%) !important;
    z-index: 5 !important;
}

body.rtl .pxl-care-orbit-tabs .care-orbit-layout > .care-orbit-col-left,
body.rtl .pxl-care-orbit-tabs .care-orbit-layout > .care-orbit-col-right,
body.rtl .pxl-care-orbit-tabs .care-orbit-col {
    direction: rtl !important;
    text-align: right !important;
}

body.rtl .pxl-tabs1.style-3 .pxl-tabs--title .pxl-item--title {
    text-align: center !important;
    font-family: "Alyamama", serif !important;
    font-weight: 700 !important;
}

body.rtl .pxl-tabs1.style-3 .pxl-tabs--title .pxl-item--title .icon-tab {
    margin-left: 10px !important;
    margin-right: 0 !important;
}

body.rtl .pxl-tabs1.style-4 .pxl-tabs--title .pxl-item--title {
    font-family: "Alyamama", serif !important;
}

body.rtl .pxl-tabs ul,
body.rtl .pxl-tabs ol {
    padding-right: 0 !important;
    padding-left: 0 !important;
    margin-right: 0 !important;
}

body.rtl .pxl-tabs ul li {
    text-align: right !important;
    direction: rtl !important;
    font-family: "Alyamama", serif !important;
}

body.rtl .pxl-tabs ul li i,
body.rtl .pxl-tabs ul li svg {
    margin-left: 10px !important;
    margin-right: 0 !important;
}

/* --- 9.7 List Widget --- */
body.rtl .pxl-list,
body.rtl .pxl-list1 {
    direction: rtl !important;
    text-align: right !important;
}

body.rtl .pxl-list1 .pxl--item {
    direction: rtl !important;
    text-align: right !important;
    display: flex !important;
    align-items: flex-start !important;
}

body.rtl .pxl-list1 .pxl-item--icon {
    margin-left: 14px !important;
    margin-right: 0 !important;
    min-width: 24px !important;
    flex-shrink: 0 !important;
}

body.rtl .pxl-list1 .pxl-item-content {
    text-align: right !important;
    font-family: "Alyamama", serif !important;
}

body.rtl .pxl-list1.divider .pxl--item label {
    margin-left: 15px !important;
    margin-right: 0 !important;
}

body.rtl .multi-text {
    padding-right: 0 !important;
    list-style: none !important;
}

body.rtl .multi-text .box-multi {
    display: flex !important;
    align-items: center !important;
    direction: rtl !important;
    text-align: right !important;
    gap: 10px !important;
}

body.rtl .multi-text .box-multi svg {
    transform: scaleX(-1) !important;
    flex-shrink: 0 !important;
}

/* --- 9.8 Testimonials Carousel --- */
body.rtl .pxl-testimonial-carousel {
    direction: rtl !important;
}

body.rtl .pxl-testimonial-carousel2 .pxl-item--inner {
    text-align: right !important;
    direction: rtl !important;
}

body.rtl .pxl-testimonial-carousel2 .pxl-item--holder {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    direction: rtl !important;
}

body.rtl .pxl-testimonial-carousel2 .pxl-item--meta {
    text-align: right !important;
}

body.rtl .pxl-testimonial-carousel2 .pxl-item--title {
    text-align: right !important;
    font-family: "Alyamama", serif !important;
    font-weight: 700 !important;
}

body.rtl .pxl-testimonial-carousel2 .pxl-item--position {
    text-align: right !important;
    font-family: "Alyamama", serif !important;
}

body.rtl .pxl-testimonial-carousel2 .pxl-item--desc {
    text-align: right !important;
    direction: rtl !important;
    font-family: "Alyamama", serif !important;
    line-height: 1.8 !important;
    font-size: 15px !important;
}

/* --- 9.9 Carousels & Navigation Arrows --- */
body.rtl .pxl-navigation-carousel {
    display: flex !important;
    direction: rtl !important;
    gap: 10px !important;
}

body.rtl .pxl-navigation-arrow-prev svg,
body.rtl .pxl-swiper-arrow-prev svg {
    transform: scaleX(-1) !important;
}

body.rtl .pxl-navigation-arrow-next svg,
body.rtl .pxl-swiper-arrow-next svg {
    transform: scaleX(-1) !important;
}

body.rtl .pxl-post-carousel .pxl-post--inner,
body.rtl .pxl-service-carousel .pxl-post--inner {
    text-align: right !important;
    direction: rtl !important;
}

body.rtl .pxl-post-carousel .pxl-post--title,
body.rtl .pxl-service-carousel .pxl-post--title {
    text-align: right !important;
    font-family: "Alyamama", serif !important;
}

body.rtl .pxl-post-carousel .pxl-post--content,
body.rtl .pxl-service-carousel .pxl-post--content {
    text-align: right !important;
    font-family: "Alyamama", serif !important;
}

/* --- 9.10 Contact Form 7 (RTL Overhauls) --- */
body.rtl .wpcf7-form,
body.rtl .wrap-ctf-page {
    direction: rtl !important;
    text-align: right !important;
}

body.rtl .wrap-ctf-page input[type="text"],
body.rtl .wrap-ctf-page input[type="email"],
body.rtl .wrap-ctf-page input[type="tel"],
body.rtl .wrap-ctf-page textarea,
body.rtl .wrap-ctf-page select {
    direction: rtl !important;
    text-align: right !important;
    font-family: "Alyamama", serif !important;
    padding-right: 18px !important;
    padding-left: 18px !important;
}

body.rtl .wrap-ctf-page select {
    background-position: left 15px center !important;
}

body.rtl .wrap-ctf-page ::placeholder {
    text-align: right !important;
    direction: rtl !important;
    font-family: "Alyamama", serif !important;
}

body.rtl .wrap-ctf-page.ct-faqs .accept {
    display: flex !important;
    align-items: center !important;
    direction: rtl !important;
    text-align: right !important;
}

body.rtl .wrap-ctf-page.ct-faqs .wpcf7-list-item {
    margin-right: 0 !important;
}

body.rtl .wrap-ctf-page.ct-faqs .wpcf7-list-item .wpcf7-list-item-label {
    margin-right: 12px !important;
    margin-left: 0 !important;
    text-align: right !important;
    font-family: "Alyamama", serif !important;
    font-size: 14px !important;
}

body.rtl .wrap-ctf-page.ct-faqs .cf-right-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    margin-top: 15px !important;
    direction: rtl !important;
}

body.rtl .wrap-ctf-page.ct-faqs button.wpcf7-submit {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    direction: rtl !important;
    border: none !important;
    cursor: pointer !important;
}

body.rtl .wrap-ctf-page.ct-faqs button .btn-text {
    border-radius: 0 27.5px 27.5px 0 !important;
    padding: 0 25px 0 20px !important;
    font-family: "Alyamama", serif !important;
    font-weight: 700 !important;
}

body.rtl .wrap-ctf-page.ct-faqs button .icon-send {
    border-radius: 27.5px 0 0 27.5px !important;
    padding: 0 18px 0 18px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

body.rtl .wrap-ctf-page.ct-faqs button .icon-send svg {
    transform: scaleX(-1) translateY(2px) !important;
}

/* --- 9.11 Banner Box (Contact Info Boxes) --- */
body.rtl .pxl-banner1 {
    direction: rtl !important;
}

body.rtl .pxl-banner1 .pxl-banner-inner {
    direction: rtl !important;
    text-align: right !important;
}

body.rtl .pxl-banner1 .pxl-banner-inner .pxl-item--content {
    text-align: right !important;
    direction: rtl !important;
}

body.rtl .pxl-banner1 .pxl-banner-inner .pxl-item--content .pxl-item--title {
    text-align: right !important;
    font-family: "Alyamama", serif !important;
    font-weight: 700 !important;
}

body.rtl .pxl-banner1 .pxl-banner-inner .pxl-item--content .pxl-item--description {
    text-align: right !important;
    font-family: "Alyamama", serif !important;
}

body.rtl .pxl-banner1 .pxl-banner-inner .pxl-item--content .pxl-item--social {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    text-align: right !important;
    direction: rtl !important;
    gap: 4px !important;
}

body.rtl .pxl-banner1 .pxl-banner-inner .pxl-item--content .pxl-item--social span {
    text-align: right !important;
    font-family: "Alyamama", serif !important;
}

body.rtl .pxl-banner1 .pxl-banner-inner .pxl-item--content .pxl-item--button {
    text-align: right !important;
}

/* --- 9.12 Primary Navigation & Menus --- */
body.rtl .pxl-menu-primary {
    direction: rtl !important;
}

body.rtl .pxl-menu-primary > li > a {
    font-family: "Alyamama", serif !important;
}

body.rtl .pxl-menu-primary .sub-menu,
body.rtl .pxl-menu-primary .children {
    left: auto !important;
    right: 0 !important;
    text-align: right !important;
    direction: rtl !important;
    transform-origin: 100% 0 0 !important;
}

body.rtl .pxl-menu-primary .sub-menu .sub-menu {
    left: auto !important;
    right: 100% !important;
    top: 0 !important;
}

body.rtl .pxl-menu-primary .sub-menu li a {
    text-align: right !important;
    font-family: "Alyamama", serif !important;
}

body.rtl .pxl-menu-primary > li.menu-item-has-children > a span:after {
    margin-right: 6px !important;
    margin-left: 0 !important;
}

/* --- 9.13 Footer Layout & Widgets --- */
body.rtl .elementor-7031,
body.rtl .elementor-7036 {
    direction: rtl !important;
    text-align: right !important;
}

body.rtl .elementor-7031 .pxl-heading .pxl-item--title,
body.rtl .elementor-7036 .pxl-heading .pxl-item--title {
    text-align: right !important;
    font-family: "Alyamama", serif !important;
}

body.rtl .elementor-7031 .pxl-list .pxl--item,
body.rtl .elementor-7036 .pxl-list .pxl--item {
    text-align: right !important;
    direction: rtl !important;
}

body.rtl .elementor-7031 .pxl-list .pxl-item--icon,
body.rtl .elementor-7036 .pxl-list .pxl-item--icon {
    margin-left: 10px !important;
    margin-right: 0 !important;
}

body.rtl .elementor-7031 .pxl-link,
body.rtl .elementor-7036 .pxl-link {
    text-align: right !important;
    justify-content: flex-start !important;
    direction: rtl !important;
}

body.rtl .elementor-7031 .pxl-text-editor,
body.rtl .elementor-7036 .pxl-text-editor {
    text-align: right !important;
    direction: rtl !important;
}

/* --- 9.14 Badges, Counters & Misc Elements --- */
body.rtl .pxl-counter .pxl-counter--number {
    direction: ltr !important;
    display: inline-block !important;
}

body.rtl .pxl-counter .pxl-counter--title {
    text-align: right !important;
    font-family: "Alyamama", serif !important;
}

body.rtl .pxl-logo-marquee {
    direction: ltr !important; /* smooth horizontal brand reel */
}

/* Blog post tags & meta */
body.rtl .pxl-blog-grid-layout1 .post-metas,
body.rtl .pxl-archive-post .post-metas {
    direction: rtl !important;
    text-align: right !important;
}

body.rtl .pxl-blog-grid-layout1 .post-metas span,
body.rtl .pxl-archive-post .post-metas span {
    margin-left: 15px !important;
    margin-right: 0 !important;
}

/* ==========================================================================
   10. SERVICE CAROUSEL ACCORDION (شواهد معهد ميدي لايف) - 100% RTL COMPLIANT
   ========================================================================== */
.pxl-service-list1 .pxl-post--inner {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    overflow: hidden !important;
}

/* Ensure the featured image container stretches to full card height */
.pxl-service-list1 .pxl-post--inner .pxl-post--featured {
    position: relative !important;
    height: 100% !important;
    min-height: 100% !important;
}

/* Featured image wrapper must fill 100% width and height without gaps */
.pxl-service-list1 .pxl-post--inner .pxl-post--featured .post-featured--image {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
    border-radius: inherit !important;
}

/* Image must completely cover background */
.pxl-service-list1 .pxl-post--inner .pxl-post--featured .post-featured--image img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
}

/* RTL-Specific Accordion Layout */
body.rtl .pxl-service-list1 {
    direction: rtl !important;
}

body.rtl .pxl-service-list1 .pxl-swiper-container {
    direction: rtl !important;
}

body.rtl .pxl-service-list1 .pxl-swiper-slide {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: stretch !important;
    gap: 20px !important;
    width: 100% !important;
}

body.rtl .pxl-service-list1 .pxl-post--inner {
    display: flex !important;
    background-color: #ffffff !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    position: relative !important;
    left: auto !important;
    top: auto !important;
    min-height: 540px !important;
    max-height: 540px !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    flex-shrink: 0 !important;
    box-sizing: border-box !important;
}

@media (min-width: 992px) {
    /* Active Card: Content on Right, Image on Left with generous gap */
    body.rtl .pxl-service-list1 .pxl-post--inner.active {
        flex: 1 1 56% !important;
        width: 56% !important;
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        gap: 40px !important;
        padding: 40px 45px !important;
    }

    body.rtl .pxl-service-list1 .pxl-post--inner.active .pxl-holder-content {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        flex: 1 1 auto !important;
        padding: 0 !important;
        margin: 0 !important;
        text-align: right !important;
        direction: rtl !important;
        opacity: 1 !important;
        visibility: visible !important;
        order: 1 !important;
    }

    body.rtl .pxl-service-list1 .pxl-post--inner.active .pxl-post--title {
        text-align: right !important;
        direction: rtl !important;
        margin-bottom: 14px !important;
    }

    body.rtl .pxl-service-list1 .pxl-post--inner.active .pxl-post--title span {
        font-family: "Alyamama", serif !important;
        font-size: 26px !important;
        font-weight: 800 !important;
        color: #192273 !important;
        line-height: 1.3 !important;
    }

    body.rtl .pxl-service-list1 .pxl-post--inner.active .pxl-post--content {
        text-align: right !important;
        direction: rtl !important;
        font-family: "Alyamama", serif !important;
        font-size: 16px !important;
        line-height: 1.8 !important;
        color: #4a5568 !important;
        margin-bottom: 24px !important;
    }

    body.rtl .pxl-service-list1 .pxl-post--inner.active .multi-text {
        padding-right: 0 !important;
        margin-right: 0 !important;
        list-style: none !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
    }

    body.rtl .pxl-service-list1 .pxl-post--inner.active .multi-text li.box-multi {
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
        direction: rtl !important;
        text-align: right !important;
        margin: 0 !important;
    }

    body.rtl .pxl-service-list1 .pxl-post--inner.active .multi-text li.box-multi svg {
        flex-shrink: 0 !important;
        transform: scaleX(-1) !important;
    }

    body.rtl .pxl-service-list1 .pxl-post--inner.active .multi-text li.box-multi p {
        margin: 0 !important;
        font-family: "Alyamama", serif !important;
        font-size: 15px !important;
        font-weight: 600 !important;
        color: #192273 !important;
    }

    body.rtl .pxl-service-list1 .pxl-post--inner.active .pxl-post--featured {
        position: relative !important;
        width: 290px !important;
        max-width: 290px !important;
        flex: 0 0 290px !important;
        height: 100% !important;
        min-height: 460px !important;
        border-radius: 16px !important;
        overflow: hidden !important;
        order: 2 !important;
        margin: 0 !important;
    }

    body.rtl .pxl-service-list1 .pxl-post--inner.active .medilife-featured-soon-badge,
    body.rtl .pxl-service-list1 .pxl-post--inner.active .post-featured--text,
    body.rtl .pxl-service-list1 .pxl-post--inner.active .post-btn {
        display: none !important;
    }

    /* Inactive cards: Sleek collapsed card with centered vertical text */
    body.rtl .pxl-service-list1 .pxl-post--inner:not(.active) {
        width: 165px !important;
        flex: 0 0 165px !important;
        padding: 0 !important;
        cursor: pointer !important;
    }

    body.rtl .pxl-service-list1 .pxl-post--inner:not(.active) .pxl-holder-content {
        display: none !important;
    }

    body.rtl .pxl-service-list1 .pxl-post--inner:not(.active) .pxl-post--featured {
        position: relative !important;
        width: 100% !important;
        max-width: 100% !important;
        height: 100% !important;
        border-radius: 20px !important;
        overflow: hidden !important;
    }

    body.rtl .pxl-service-list1 .pxl-post--inner:not(.active) .pxl-post--featured:after {
        content: '' !important;
        position: absolute !important;
        inset: 0 !important;
        background: linear-gradient(180deg, rgba(25, 34, 115, 0.45) 0%, rgba(25, 34, 115, 0.88) 100%) !important;
        z-index: 2 !important;
        pointer-events: none !important;
    }

    body.rtl .pxl-service-list1 .pxl-post--inner:not(.active) .post-featured--text {
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        bottom: auto !important;
        right: auto !important;
        transform: translate(-50%, -50%) rotate(-90deg) !important;
        transform-origin: center center !important;
        white-space: nowrap !important;
        z-index: 3 !important;
        color: #ffffff !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 16px !important;
        pointer-events: none !important;
        width: 480px !important;
        max-width: 480px !important;
        text-align: center !important;
    }

    body.rtl .pxl-service-list1 .pxl-post--inner:not(.active) .post-featured--title {
        color: #ffffff !important;
        font-family: "Alyamama", serif !important;
        font-size: 19px !important;
        font-weight: 700 !important;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5) !important;
        white-space: nowrap !important;
    }

    body.rtl .pxl-service-list1 .pxl-post--inner:not(.active) .count-pos {
        color: rgba(255, 255, 255, 0.45) !important;
        font-size: 32px !important;
        font-weight: 800 !important;
        transform: rotate(90deg) !important;
        line-height: 1 !important;
    }

    body.rtl .pxl-service-list1 .pxl-post--inner:not(.active) .medilife-featured-soon-badge {
        position: absolute !important;
        top: 20px !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
        z-index: 5 !important;
    }
}

/* ==========================================================================
   CENTER ALL SECTION HEADINGS ON ARABIC PAGES
   ========================================================================== */
body.rtl .pxl-heading,
body.rtl .pxl-heading .pxl-heading--inner,
body.rtl .pxl-heading .pxl-item--title,
body.rtl .pxl-heading .pxl-item--subtitle,
body.rtl .pxl-heading .px-sub-title,
body.rtl .pxl-heading .px-sub-title-default-style,
body.rtl .elementor-widget-heading .elementor-heading-title,
body.rtl .section-header,
body.rtl .section-title,
body.rtl .section-subtitle {
    text-align: center !important;
}

body.rtl .pxl-heading .pxl-heading--inner {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
}

body.rtl .pxl-heading .px-sub-title:before,
body.rtl .px-sub-title-3:before {
    margin: 0 auto 8px auto !important;
    display: inline-block !important;
}

@media (max-width: 991px) {
    body.rtl .pxl-service-list1 .pxl-swiper-slide {
        flex-direction: column !important;
        gap: 20px !important;
    }

    body.rtl .pxl-service-list1 .pxl-post--inner {
        flex-direction: column !important;
        width: 100% !important;
        min-height: auto !important;
        max-height: none !important;
        padding: 24px !important;
    }

    body.rtl .pxl-service-list1 .pxl-post--inner .pxl-holder-content {
        display: block !important;
        width: 100% !important;
        margin-bottom: 20px !important;
    }

    body.rtl .pxl-service-list1 .pxl-post--inner .pxl-post--featured {
        width: 100% !important;
        max-width: 100% !important;
        height: 260px !important;
        position: relative !important;
    }
}

/* Badges styling */
.medilife-specialty-badge-wrap {
    margin-bottom: 12px !important;
    display: block !important;
}

.medilife-soon-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 6px 14px !important;
    border-radius: 9999px !important;
    background: rgba(0, 189, 176, 0.12) !important;
    border: 1px solid rgba(0, 189, 176, 0.35) !important;
    color: #008f85 !important;
    font-family: "Alyamama", serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    box-shadow: 0 2px 8px rgba(0, 189, 176, 0.1) !important;
}

.medilife-soon-badge .badge-dot {
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    background-color: #00bdb0 !important;
    box-shadow: 0 0 8px #00bdb0 !important;
    animation: pulse-soon 2s infinite !important;
}

.medilife-featured-soon-badge {
    position: absolute !important;
    top: 14px !important;
    right: 14px !important;
    left: auto !important;
    z-index: 4 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 5px 12px !important;
    border-radius: 9999px !important;
    background: #00bdb0 !important;
    color: #ffffff !important;
    font-family: "Alyamama", serif !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25) !important;
}

.medilife-featured-soon-badge .badge-dot {
    width: 6px !important;
    height: 6px !important;
    border-radius: 50% !important;
    background-color: #ffffff !important;
}

@keyframes pulse-soon {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.15); opacity: 1; }
    100% { transform: scale(0.95); opacity: 0.8; }
}

/* ==========================================================================
   11. MEDILIFE ACADEMY - COMPREHENSIVE ELEMENTOR NATIVE INTEGRATION
   ========================================================================== */

/* Page Container Wrapper */
.medilife-academy-hero-section,
.medilife-catalogue-header-section,
.medilife-formations-section,
.medilife-enterprise-section,
.medilife-faq-outer-section {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* 1. Hero Section */
.medilife-academy-hero {
    background: linear-gradient(135deg, #0b1536 0%, #152764 50%, #1f4cb8 100%) !important;
    border-radius: 28px !important;
    padding: 60px 40px !important;
    color: #ffffff !important;
    text-align: center !important;
    margin: 20px auto 55px auto !important;
    box-shadow: 0 20px 45px rgba(11, 21, 54, 0.18) !important;
    position: relative !important;
    overflow: hidden !important;
    max-width: 1240px !important;
    width: calc(100% - 40px) !important;
}

.medilife-academy-hero::before {
    content: "" !important;
    position: absolute !important;
    top: -50% !important;
    right: -20% !important;
    width: 500px !important;
    height: 500px !important;
    background: radial-gradient(circle, rgba(35, 84, 207, 0.35) 0%, transparent 70%) !important;
    pointer-events: none !important;
}

.medilife-academy-hero .hero-content {
    position: relative !important;
    z-index: 2 !important;
    max-width: 900px !important;
    margin: 0 auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
}

.medilife-academy-hero .hero-badge {
    display: inline-block !important;
    margin-bottom: 22px !important;
    width: auto !important;
    text-align: center !important;
}

.medilife-academy-hero .hero-badge .elementor-heading-title,
.medilife-academy-hero .hero-badge > div {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: rgba(255, 255, 255, 0.12) !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    padding: 8px 20px !important;
    border-radius: 30px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0.06em !important;
    color: #ffffff !important;
    margin: 0 auto !important;
}

.medilife-academy-hero .badge-dot {
    display: inline-block !important;
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    background: #38bdf8 !important;
    box-shadow: 0 0 10px #38bdf8 !important;
}

.medilife-academy-hero .hero-title {
    margin: 0 auto 18px auto !important;
    text-align: center !important;
    width: 100% !important;
}

.medilife-academy-hero .hero-title .elementor-heading-title,
.medilife-academy-hero .hero-title h1 {
    font-family: 'Outfit', sans-serif !important;
    font-size: clamp(28px, 5vw, 44px) !important;
    font-weight: 800 !important;
    line-height: 1.22 !important;
    color: #ffffff !important;
    margin: 0 !important;
    text-align: center !important;
}

.medilife-academy-hero .hero-subtitle {
    max-width: 820px !important;
    margin: 0 auto 30px auto !important;
    text-align: center !important;
}

.medilife-academy-hero .hero-subtitle p,
.medilife-academy-hero .hero-subtitle {
    font-size: clamp(16px, 2.5vw, 18px) !important;
    line-height: 1.7 !important;
    color: #e2e8f0 !important;
    font-weight: 400 !important;
    text-align: center !important;
    margin: 0 !important;
}

.medilife-academy-hero .hero-actions {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 15px !important;
    flex-wrap: wrap !important;
    margin-bottom: 45px !important;
    width: 100% !important;
}

.medilife-academy-hero .hero-actions .btn-primary .elementor-button {
    background: #ffffff !important;
    color: #192273 !important;
    padding: 14px 32px !important;
    border-radius: 35px !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    border: none !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
    transition: all 0.3s ease !important;
}

.medilife-academy-hero .hero-actions .btn-primary .elementor-button:hover {
    background: #f8fafc !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22) !important;
}

.medilife-academy-hero .hero-actions .btn-secondary .elementor-button {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    padding: 14px 30px !important;
    border-radius: 35px !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    transition: all 0.3s ease !important;
}

.medilife-academy-hero .hero-actions .btn-secondary .elementor-button:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    transform: translateY(-2px) !important;
}

.medilife-academy-hero .hero-stats {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
    padding-top: 30px !important;
    margin-top: 20px !important;
    width: 100% !important;
}

@media (max-width: 767px) {
    .medilife-academy-hero .hero-stats {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .medilife-academy-hero {
        padding: 40px 20px !important;
    }
}

.medilife-academy-hero .hero-stats .stat-item {
    text-align: center !important;
}

.medilife-academy-hero .hero-stats .stat-number {
    font-family: 'Outfit', sans-serif !important;
    font-size: 28px !important;
    font-weight: 800 !important;
    color: #38bdf8 !important;
    margin-bottom: 4px !important;
    display: block !important;
}

.medilife-academy-hero .hero-stats .stat-label {
    font-size: 13px !important;
    color: #cbd5e1 !important;
    font-weight: 500 !important;
    display: block !important;
}

/* 2. Section Header */
.section-header {
    text-align: center !important;
    margin: 0 auto 45px auto !important;
    max-width: 820px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}

.section-header .section-pretitle {
    display: inline-block !important;
    margin-bottom: 12px !important;
}

.section-header .section-pretitle .elementor-heading-title,
.section-header .section-pretitle span {
    display: inline-block !important;
    color: #2354cf !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    background: #eff6ff !important;
    padding: 6px 16px !important;
    border-radius: 20px !important;
    margin: 0 !important;
}

.section-header .section-title {
    margin-bottom: 12px !important;
    width: 100% !important;
}

.section-header .section-title .elementor-heading-title,
.section-header .section-title h2 {
    font-family: 'Outfit', sans-serif !important;
    font-size: clamp(26px, 4vw, 36px) !important;
    font-weight: 800 !important;
    color: #192273 !important;
    margin: 0 !important;
    line-height: 1.25 !important;
    text-align: center !important;
}

.section-header .section-desc,
.section-header .section-desc p {
    color: #64748b !important;
    font-size: 17px !important;
    max-width: 720px !important;
    margin: 0 auto !important;
    line-height: 1.65 !important;
    text-align: center !important;
}

/* 3. Formations Médicales & Professionnelles - Responsive 3-Column Grid */
.medilife-formations-grid,
.medilife-formations-grid.e-con,
.medilife-formations-grid.e-con-full,
.medilife-formations-grid > .e-con-inner {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 28px !important;
    width: 100% !important;
    max-width: 1240px !important;
    margin: 0 auto 60px auto !important;
    padding: 0 15px !important;
    box-sizing: border-box !important;
}

@media (max-width: 1099px) {
    .medilife-formations-grid,
    .medilife-formations-grid.e-con,
    .medilife-formations-grid.e-con-full,
    .medilife-formations-grid > .e-con-inner {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 24px !important;
    }
}

@media (max-width: 767px) {
    .medilife-formations-grid,
    .medilife-formations-grid.e-con,
    .medilife-formations-grid.e-con-full,
    .medilife-formations-grid > .e-con-inner {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        padding: 0 10px !important;
    }
}

/* 4. Individual Course Card */
.medilife-academy-card,
.medilife-academy-card.e-con,
.medilife-academy-card.e-con-full {
    background: #ffffff !important;
    border-radius: 20px !important;
    border: 1px solid #e2e8f0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    box-shadow: 0 4px 20px rgba(25, 34, 115, 0.05) !important;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
    position: relative !important;
    overflow: hidden !important;
    height: 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

.medilife-academy-card:hover,
.medilife-academy-card.e-con:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 18px 40px rgba(25, 34, 115, 0.12) !important;
    border-color: #cbd5e1 !important;
}

/* Card Media */
.medilife-academy-card .medilife-card-media,
.medilife-academy-card .medilife-card-media.e-con,
.medilife-academy-card .medilife-card-media.e-con-full {
    position: relative !important;
    width: 100% !important;
    height: 210px !important;
    min-height: 210px !important;
    max-height: 210px !important;
    overflow: hidden !important;
    background: #0b1536 !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 20px 20px 0 0 !important;
}

.medilife-academy-card .medilife-card-media .elementor-widget-image {
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.medilife-academy-card .medilife-card-media .elementor-widget-image .elementor-widget-container,
.medilife-academy-card .medilife-card-media .elementor-widget-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.medilife-academy-card:hover .medilife-card-media img {
    transform: scale(1.08) !important;
}

/* Category Badge overlaid on image */
.medilife-academy-card .medilife-card-media .medilife-card-category {
    position: absolute !important;
    bottom: 12px !important;
    left: 14px !important;
    z-index: 2 !important;
    background: rgba(11, 21, 54, 0.88) !important;
    padding: 5px 13px !important;
    border-radius: 20px !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
    margin: 0 !important;
    width: auto !important;
}

.medilife-academy-card .medilife-card-media .medilife-card-category .elementor-heading-title,
.medilife-academy-card .medilife-card-media .medilife-card-category span {
    color: #ffffff !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    margin: 0 !important;
    line-height: 1 !important;
    display: inline-block !important;
}

/* Card Body */
.medilife-academy-card .medilife-card-body,
.medilife-academy-card .medilife-card-body.e-con,
.medilife-academy-card .medilife-card-body.e-con-full {
    padding: 24px !important;
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
    justify-content: space-between !important;
    background: #ffffff !important;
    border-radius: 0 0 20px 20px !important;
}

/* Card Title */
.medilife-academy-card .medilife-card-title {
    margin: 0 0 10px 0 !important;
}

.medilife-academy-card .medilife-card-title .elementor-heading-title,
.medilife-academy-card .medilife-card-title h3 {
    font-family: 'Outfit', sans-serif !important;
    font-size: 18.5px !important;
    font-weight: 700 !important;
    color: #192273 !important;
    line-height: 1.35 !important;
    margin: 0 !important;
}

/* Card Description */
.medilife-academy-card .medilife-card-desc {
    margin: 0 0 16px 0 !important;
}

.medilife-academy-card .medilife-card-desc p,
.medilife-academy-card .medilife-card-desc {
    color: #64748b !important;
    font-size: 14px !important;
    line-height: 1.65 !important;
    margin: 0 !important;
}

/* Badges Wrapper */
.medilife-academy-card .medilife-badges-wrapper {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin-bottom: 18px !important;
    padding: 12px !important;
    background: #f8fafc !important;
    border-radius: 14px !important;
    border: 1px solid #edf2f7 !important;
}

.medilife-academy-card .medilife-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    padding: 5px 11px !important;
    border-radius: 20px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
}

.medilife-academy-card .medilife-badge-certif {
    background: #eff6ff !important;
    color: #1d4ed8 !important;
    border: 1px solid #bfdbfe !important;
}

.medilife-academy-card .medilife-badge-duree {
    background: #f0fdf4 !important;
    color: #15803d !important;
    border: 1px solid #bbf7d0 !important;
}

.medilife-academy-card .medilife-badge-prix {
    background: #fefce8 !important;
    color: #854d0e !important;
    border: 1px solid #fef08a !important;
}

/* Syllabus Checklist */
.medilife-academy-card .medilife-card-syllabus {
    margin-bottom: 20px !important;
    border-top: 1px solid #f1f5f9 !important;
    padding-top: 14px !important;
}

.medilife-academy-card .syllabus-label {
    font-size: 12.5px !important;
    font-weight: 700 !important;
    color: #192273 !important;
    margin-bottom: 10px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.03em !important;
}

.medilife-academy-card .syllabus-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 7px !important;
}

.medilife-academy-card .syllabus-list li {
    font-size: 13px !important;
    color: #475569 !important;
    line-height: 1.45 !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 8px !important;
}

.medilife-academy-card .medilife-check {
    color: #10b981 !important;
    font-weight: 800 !important;
    font-size: 13px !important;
    line-height: 1 !important;
    margin-top: 2px !important;
    flex-shrink: 0 !important;
}

/* Card Button */
.medilife-academy-card .medilife-card-btn {
    width: 100% !important;
    margin-top: auto !important;
    padding-top: 14px !important;
    border-top: 1px solid #f1f5f9 !important;
}

.medilife-academy-card .medilife-card-btn .elementor-button {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    background: #192273 !important;
    color: #ffffff !important;
    padding: 13px 20px !important;
    border-radius: 25px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    border: none !important;
    box-shadow: 0 4px 14px rgba(25, 34, 115, 0.15) !important;
    transition: all 0.3s ease !important;
}

.medilife-academy-card .medilife-card-btn .elementor-button:hover {
    background: #2354cf !important;
    box-shadow: 0 6px 20px rgba(35, 84, 207, 0.35) !important;
    transform: translateY(-2px) !important;
}

/* 5. Enterprise Banner */
.medilife-enterprise-banner {
    background: linear-gradient(135deg, #f8fafc 0%, #edf2f7 100%) !important;
    border: 2px dashed #cbd5e1 !important;
    border-radius: 24px !important;
    padding: 45px 35px !important;
    text-align: center !important;
    margin: 0 auto 60px auto !important;
    max-width: 1240px !important;
    width: calc(100% - 40px) !important;
}

.medilife-enterprise-banner .enterprise-tag {
    display: inline-block !important;
    margin-bottom: 12px !important;
}

.medilife-enterprise-banner .enterprise-tag .elementor-heading-title {
    display: inline-block !important;
    color: #2354cf !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: 0.08em !important;
    background: #ffffff !important;
    padding: 5px 14px !important;
    border-radius: 20px !important;
    border: 1px solid #e2e8f0 !important;
    margin: 0 !important;
}

.medilife-enterprise-banner .enterprise-title {
    margin-bottom: 14px !important;
}

.medilife-enterprise-banner .enterprise-title .elementor-heading-title {
    font-family: 'Outfit', sans-serif !important;
    font-size: clamp(22px, 3.5vw, 30px) !important;
    font-weight: 800 !important;
    color: #192273 !important;
    margin: 0 !important;
}

.medilife-enterprise-banner .enterprise-desc p {
    color: #64748b !important;
    font-size: 16px !important;
    line-height: 1.7 !important;
    max-width: 780px !important;
    margin: 0 auto 25px auto !important;
}

.medilife-enterprise-banner .enterprise-perks {
    display: flex !important;
    justify-content: center !important;
    gap: 20px !important;
    flex-wrap: wrap !important;
    margin-bottom: 28px !important;
}

.medilife-enterprise-banner .perk-item {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    background: #ffffff !important;
    padding: 6px 16px !important;
    border-radius: 18px !important;
    border: 1px solid #e2e8f0 !important;
}

.medilife-enterprise-banner .enterprise-btn .elementor-button {
    background: #192273 !important;
    color: #ffffff !important;
    padding: 13px 32px !important;
    border-radius: 30px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(25, 34, 115, 0.2) !important;
    border: none !important;
}

.medilife-enterprise-banner .enterprise-btn .elementor-button:hover {
    background: #2354cf !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(35, 84, 207, 0.35) !important;
}

/* 6. FAQ Section */
.medilife-faq-section {
    max-width: 1240px !important;
    margin: 0 auto 80px auto !important;
    padding: 0 20px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.medilife-faq-section .elementor-widget-accordion .elementor-accordion {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
    border: none !important;
}

@media (max-width: 767px) {
    .medilife-faq-section .elementor-widget-accordion .elementor-accordion {
        grid-template-columns: 1fr !important;
    }
}

.medilife-faq-section .elementor-widget-accordion .elementor-accordion-item {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 16px rgba(25, 34, 115, 0.04) !important;
    transition: all 0.3s ease !important;
    margin: 0 !important;
}

.medilife-faq-section .elementor-widget-accordion .elementor-accordion-item:hover {
    border-color: #00BDB0 !important;
    box-shadow: 0 8px 24px rgba(0, 189, 176, 0.12) !important;
}

.medilife-faq-section .elementor-widget-accordion .elementor-tab-title {
    padding: 20px 24px !important;
    background: transparent !important;
    border: none !important;
}

.medilife-faq-section .elementor-widget-accordion .elementor-tab-title .elementor-accordion-title {
    color: #192273 !important;
    font-weight: 700 !important;
    font-size: 16.5px !important;
    line-height: 1.4 !important;
}

.medilife-faq-section .elementor-widget-accordion .elementor-tab-content {
    padding: 0 24px 20px 24px !important;
    color: #64748b !important;
    font-size: 14.5px !important;
    line-height: 1.65 !important;
    border: none !important;
}

/* 7. RTL Support for Arabic Academy Page */
body.rtl .medilife-academy-card .medilife-card-media .medilife-card-category {
    left: auto !important;
    right: 14px !important;
}

body.rtl .medilife-academy-hero .badge-dot {
    margin-left: 8px !important;
    margin-right: 0 !important;
}

body.rtl .medilife-card-syllabus .syllabus-list li {
    text-align: right !important;
}

body.rtl .medilife-check {
    margin-left: 8px !important;
    margin-right: 0 !important;
}

body.rtl .medilife-enterprise-banner .enterprise-perks {
    direction: rtl !important;
}

/* ==========================================================================
   12. SINGLE BLOG POST - LAYOUT & STYLING
   ========================================================================== */

/* Space after header content */
body.single-post #pxl-wapper .container.pxl-single-post-container,
body.single-post .pxl-content-wrap {
    padding-top: 65px !important;
    padding-bottom: 60px !important;
}

@media (max-width: 767px) {
    body.single-post #pxl-wapper .container.pxl-single-post-container,
    body.single-post .pxl-content-wrap {
        padding-top: 35px !important;
        padding-bottom: 40px !important;
    }
}

/* 1. Title */
.single-post-inner .pxl-post--title-wrap {
    margin-bottom: 25px !important;
}

.single-post-inner .pxl-post--title-wrap .post-title,
.single-post-inner .pxl-post--title-wrap h1.post-title {
    font-family: 'Outfit', sans-serif !important;
    font-size: clamp(26px, 4vw, 38px) !important;
    font-weight: 800 !important;
    color: #192273 !important;
    line-height: 1.3 !important;
    margin: 0 !important;
}

/* 2. Featured Image */
.single-post-inner .pxl-item--image {
    margin-top: 0 !important;
    margin-bottom: 25px !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    box-shadow: 0 10px 30px rgba(25, 34, 115, 0.08) !important;
    background: #f1f5f9 !important;
}

.single-post-inner .pxl-item--image img {
    width: 100% !important;
    height: auto !important;
    max-height: 520px !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 20px !important;
    transition: transform 0.4s ease !important;
}

@media (max-width: 767px) {
    .single-post-inner .pxl-item--image {
        margin-bottom: 20px !important;
        border-radius: 14px !important;
    }
    .single-post-inner .pxl-item--image img {
        max-height: 320px !important;
        border-radius: 14px !important;
    }
}

/* 3. Metas */
.single-post-inner .pxl-post--meta-wrap .post-metas {
    border-bottom: none !important;
    margin-bottom: 0 !important;
}

.single-post-inner .pxl-post--meta-wrap .post-metas .meta-inner {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 18px !important;
    padding-bottom: 0 !important;
}

.single-post-inner .pxl-post--meta-wrap .post-metas .meta-inner > span {
    margin-left: 0 !important;
    margin-right: 0 !important;
    font-size: 14.5px !important;
    color: #64748b !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.single-post-inner .pxl-post--meta-wrap .post-metas .meta-inner a {
    color: #192273 !important;
    font-weight: 600 !important;
    transition: color 0.25s ease !important;
}

.single-post-inner .pxl-post--meta-wrap .post-metas .meta-inner a:hover {
    color: #2354cf !important;
}

/* 4. Ligne (Separator Line) */
.single-post-inner .pxl-single-meta-divider {
    width: 100% !important;
    height: 1px !important;
    background: #e2e8f0 !important;
    margin: 22px 0 32px 0 !important;
    border: none !important;
}

/* 5. Single Blog Post Content */
.single-post-inner .post-content {
    color: #334155 !important;
    font-size: 16.5px !important;
    line-height: 1.8 !important;
}

.single-post-inner .post-content p {
    font-size: 16.5px !important;
    line-height: 1.8 !important;
    color: #334155 !important;
    margin-bottom: 22px !important;
}

/* ==========================================================================
   6. MEDILIFE INSTITUTE GRID & SPECIALIZATION PAGES STYLES
   ========================================================================== */
#sec_spec_grid_main .elementor-element {
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

#sec_spec_grid_main [id^="card_item_"]:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 50px rgba(25, 34, 115, 0.14) !important;
}

.medilife-grid-img-wrap {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: #e2e8f0;
}

.medilife-grid-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

#sec_spec_grid_main [id^="card_item_"]:hover .medilife-grid-img {
    transform: scale(1.06);
}

.medilife-grid-img-wrap .medilife-featured-soon-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #00baa3;
    color: #ffffff;
    font-size: 12.5px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 15px rgba(0, 186, 163, 0.45);
    z-index: 2;
}

.medilife-grid-body {
    padding: 28px 26px 30px 26px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.medilife-grid-title {
    font-size: 21px !important;
    font-weight: 800 !important;
    line-height: 1.35 !important;
    margin: 0 0 14px 0 !important;
    font-family: "Alyamama", serif !important;
}

.medilife-grid-title a {
    color: #192273 !important;
    text-decoration: none !important;
    transition: color 0.25s ease !important;
}

.medilife-grid-title a:hover {
    color: #00baa3 !important;
}

.medilife-grid-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.grid-badge {
    display: inline-flex;
    align-items: center;
    background: #f1f5f9;
    color: #192273;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 11px;
    border-radius: 8px;
    border: 1px solid rgba(25, 34, 115, 0.08);
}

.medilife-grid-desc {
    font-size: 14.5px;
    line-height: 1.7;
    color: #64748b;
    margin: 0 0 22px 0;
    flex-grow: 1;
}

.medilife-grid-footer {
    margin-top: auto;
}

.medilife-grid-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px 20px;
    background: linear-gradient(135deg, #192273 0%, #2354cf 100%);
    color: #ffffff !important;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 6px 18px rgba(35, 84, 207, 0.22);
}

.medilife-grid-btn:hover {
    background: #00baa3 !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 186, 163, 0.35);
    color: #ffffff !important;
}

/* Single Specialization Pages */
.medilife-hero-badge-wrap {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.medilife-soon-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #00baa3;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 15px;
    border-radius: 20px;
    box-shadow: 0 4px 14px rgba(0, 186, 163, 0.35);
}

.medilife-level-badge {
    display: inline-flex;
    align-items: center;
    background: #192273;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 15px;
    border-radius: 20px;
}

.medilife-hero-lead {
    font-size: 17.5px;
    line-height: 1.8;
    color: #475569;
    margin: 15px 0 20px 0;
}

.medilife-spec-badges-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 20px 0 30px 0;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    padding: 12px 18px;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(25, 34, 115, 0.04);
}

.badge-icon {
    font-size: 22px;
    line-height: 1;
}

.badge-info strong {
    display: block;
    font-size: 12px;
    color: #64748b;
    font-weight: 600;
    margin-bottom: 2px;
}

.badge-info span {
    display: block;
    font-size: 14.5px;
    color: #192273;
    font-weight: 700;
}

.medilife-spec-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 15px 0 0 0 !important;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.medilife-spec-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15.5px;
    color: #334155;
    line-height: 1.6;
}

.spec-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(0, 186, 163, 0.12);
    color: #00baa3;
    font-size: 13px;
    font-weight: 900;
    margin-top: 2px;
    flex-shrink: 0;
}

/* Ensure images on specialization pages look stellar */
[id^="sec_hero_"] .elementor-widget-image img {
    border-radius: 24px !important;
    box-shadow: 0 20px 50px rgba(25, 34, 115, 0.15) !important;
    width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
}

/* Specialty Badge Wrap & Number Badge in Service Carousel */
.medilife-specialty-badge-wrap {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin-bottom: 16px !important;
}

.medilife-spec-number-badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #192273 !important;
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    padding: 6px 14px !important;
    border-radius: 20px !important;
    line-height: 1 !important;
    box-shadow: 0 4px 12px rgba(25, 34, 115, 0.2) !important;
    font-family: 'Alyamama', serif !important;
}

.medilife-spec-action-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: linear-gradient(135deg, #192273 0%, #2354cf 100%) !important;
    color: #ffffff !important;
    padding: 12px 24px !important;
    border-radius: 12px !important;
    font-size: 14.5px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 6px 18px rgba(35, 84, 207, 0.22) !important;
    font-family: 'Alyamama', serif !important;
}

.medilife-spec-action-btn:hover {
    background: #00baa3 !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(0, 186, 163, 0.35) !important;
}