@font-face {
    font-family: 'LuxuryArabic';
    src: url('Tajawal-Medium.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}



/*html[dir="rtl"],
html[dir="rtl"] body,
html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4,
html[dir="rtl"] h5,
html[dir="rtl"] h6,
html[dir="rtl"] p,
html[dir="rtl"] span,
html[dir="rtl"] div,
html[dir="rtl"] a,
html[dir="rtl"] button,
html[dir="rtl"] input,
html[dir="rtl"] label {
    font-family: 'LuxuryArabic', serif !important;
    font-weight: bold !important;
}*/


:root {
    --first-text: #0b2545;
    --second-text: #c6a15b;
    --accent-text: #7a1f2b;
    --button-color: #2b2b2b;
    --bg-color: #f7f4ef;
    --primary-color: #0b2545;
    --primary-hover: #0b2545;
    --accent-blue: #00b4d8;
    --bg-light: #f8fafc;
    --text-dark: #2c3e50;
    --text-slate: #334155;
    --text-muted-gray: #475569;
    --white: #ffffff;
    --success-green: #2ec4b6;
    --warning-orange: #ff9f1c;
    --warning-yellow: #ffb703;
    --critical-red: #ef233c;
    --fluid-title: clamp(2.2rem, 3.8vw + 1rem, 4.2rem);
}

body {
    margin: 0;
    padding: 0 !important;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
}

/* دعم الخطوط العربية والاتجاه عند تفعيل العربية */
[dir="rtl"] body {
    font-family: 'Cairo', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
/* تنسيق الـ Glassmorphism للـ Toast ليطابق تصميم نموذج تسجيل الدخول */
.custom-glass-toast {
    background: rgba(255, 255, 255, 0.3) !important; /* خلفية شفافة زجاجية */
    backdrop-filter: blur(12px) !important; /* تأثير الزجاج الضبابي */
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important; /* حدود شفافة ناعمة */
    border-radius: 16px !important; /* حواف دائرية متناسقة */
    color: #0b2545 !important; /* لون النص أبيض واضح */
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37) !important;
}

    /* تنسيق النصوص وأيقونات الـ Toast */
    .custom-glass-toast .swal2-title {
        color: #0b2545 !important;
        font-size: 15px !important;
        font-weight: 700 !important;
    }

    .custom-glass-toast .swal2-timer-progress-bar {
        background: linear-gradient(90deg, #00c6ff, #0072ff) !important; /* شريط التقدم بلون متناسق مع أزرار النيون */
    }

/* --------------------------------------------------------------------------
    2️⃣ HERO SECTION LAYOUT & OVERLAYS
   -------------------------------------------------------------------------- */
.hero-custom-bg {
    background: url('/images/ASUSH-bg.png') center center no-repeat !important;
    background-size: cover !important;
    min-height: 100vh;
    padding: 140px 0 80px 0;
    position: relative;
    overflow: hidden;
}

.hero-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background-image: url('../images/ASUSH-bg.png') !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: cover !important;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 4rem 0 5rem 0;
    box-sizing: border-box;
}

    .hero-section::before {
        content: '';
        position: absolute;
        top: 0;
        inset-inline-start: 0;
        width: 100%;
        height: 100%;
        /* يبدأ بلون الخلفية مصمت بنسبة 85% ويتدرج لينتهي بنقاء 10% لدمج صورة الخلفية بنعومة */
        background: linear-gradient(100deg, rgba(247, 244, 239, 0.85) 20%, rgba(247, 244, 239, 0.1) 100%);
        z-index: 1;
    }

[dir="rtl"] .hero-section::before {
    background: linear-gradient(-100deg, rgba(247, 244, 239, 0.85) 20%, rgba(247, 244, 239, 0.1) 100%);
}

/* التعديل الثاني: الـ Overlay (تدرج رأسي 180 درجة من أعلى لأسفل) */
.hero-overlay-dark {
    position: absolute;
    top: 0;
    inset-inline-start: 0;
    width: 100%;
    height: 100%;
    /* تدرج رأسي ناعم يعتمد على نفس الدرجة الدافئة بدلاً من رماديات الـ Dark */
    background: linear-gradient(180deg, rgba(247, 244, 239, 0.6) 0%, rgba(247, 244, 239, 0.85) 100%);
    z-index: 1;
}

#hero .col-lg-8,
#hero .container,
#hero .row,
#hero .d-flex {
    text-align: start !important;
    justify-content: flex-start !important;
}

#hero h1,
#hero p,
#hero hr {
    text-align: start !important;
    margin-inline-start: 0 !important;
    margin-inline-end: auto !important;
}


/* --------------------------------------------------------------------------
    3️⃣ HERO COMPONENTS & CONTENT
   -------------------------------------------------------------------------- */
.hero-container {
    width: 100%;
    max-width: 67%;
    padding: 0;
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: flex-start;
    box-sizing: border-box;
}

.hero-content {
    width: 100%;
    max-width: 850px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
    opacity: 0;
    animation: slideInFromStart 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.3s;
}

.home-badge {
    background-image: url('../images/home-badge.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left center;
    width: 100%;
    max-width: 500px;
    height: 150px;
    margin-top: 13%;
    margin-bottom: 0;
    display: inline-block;
}

[dir="rtl"] .home-badge {
    background-position: right center;
}

.hero-title {
    color: var(--first-text);
    font-size: var(--fluid-title);
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 0.5rem 0;
}

.hero-desc {
    color: var(--accent-text);
    font-size: clamp(0.90rem, 0.4vw + 0.7rem, 1.1rem);
    line-height: 1.6;
    margin: 0 0 0.5rem 0;
    font-weight: 500;
    max-width: 100%;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin: 0.5rem 0;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInDown 0.8s ease-out forwards;
    animation-delay: 0.5s;
}

.hero-info-bar {
    display: flex;
    gap: 3rem;
    margin-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 1.5rem;
    width: 100%;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 0.8s;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background-color: transparent !important;
}

    .info-item i {
        font-size: 1.6rem;
        color: var(--button-color);
    }

.info-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--first-text);
    margin-bottom: 2px;
}

.info-value {
    font-size: 1rem;
    color: var(--accent-text);
    font-weight: 700;
    text-decoration: none;
}

/* --------------------------------------------------------------------------
    4️⃣ BUTTONS & INTERACTIONS
   -------------------------------------------------------------------------- */
.btn-hero-primary, .btn-hero-secondary {
    padding: 0.8rem 2.2rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    box-sizing: border-box;
}

.btn-hero-primary {
    background-color: var(--button-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

    .btn-hero-primary:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 25px grey;
    }

.btn-hero-secondary {
    background: transparent;
    color: var(--button-color);
    font-weight: 700;
    border: 2px solid var(--button-color);
}

    .btn-hero-secondary:hover {
        background-color: rgba(19, 162, 183, 0.1);
        transform: translateY(-4px);
        box-shadow: 0 12px 25px var(--button-color);
    }

.btn-outline-custom, .btn-transparent-outline {
    border: 2px solid rgba(255, 255, 255, 0.4) !important;
    color: var(--white) !important;
    border-radius: 25px !important;
    background: rgba(255, 255, 255, 0.02) !important;
    transition: all 0.3s ease;
    font-size: 15px;
}

    .btn-outline-custom:hover, .btn-transparent-outline:hover {
        background: var(--white) !important;
        color: #0f172a !important;
        border-color: var(--white) !important;
    }

.custom-btn-book, .custom-btn-explore {
    transition: all 0.3s ease-in-out !important;
}

    .custom-btn-book:hover {
        transform: scale(1.05) translateY(-2px) !important;
        box-shadow: 0 10px 20px rgba(0, 180, 216, 0.4) !important;
        background-color: var(--primary-hover) !important;
    }

    .custom-btn-explore:hover {
        transform: scale(1.05) translateY(-2px) !important;
        box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1) !important;
    }

.mt-4 .btn:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 20px rgba(0, 180, 216, 0.2) !important;
}

.mt-4 .btn.bg-white:hover {
    background-color: #1e293b !important;
    color: var(--white) !important;
    border-color: #1e293b !important;
}

/* توحيد تأثيرات وتدرجات الأزرار التفاعلية الشاملة (Solid & Outline) */
.custom-btn-solid {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

    .custom-btn-solid:hover {
        background-color: #0e8596 !important;
        border-color: #0e8596 !important;
        transform: translateY(-4px) scale(1.02);
        box-shadow: 0 10px 22px rgba(19, 162, 183, 0.35) !important;
    }

.custom-btn-outline {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

    .custom-btn-outline:hover {
        background-color: var(--primary-color) !important;
        color: var(--white) !important;
        border-color: var(--primary-color) !important;
        transform: translateY(-4px);
        box-shadow: 0 10px 22px rgba(0, 180, 216, 0.25) !important;
    }

/* تأثيرات النبض والوميض الخاصة لبعض الأزرار */
.custom-btn-pulse:hover {
    background-color: #0e8596 !important;
    border-color: #0e8596 !important;
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 12px 24px rgba(19, 162, 183, 0.35) !important;
}

.custom-btn-shine {
    position: relative;
    overflow: hidden;
}

    .custom-btn-shine:hover {
        background-color: #00b4d8 !important;
        color: #ffffff !important;
        transform: translateY(-4px);
        box-shadow: 0 12px 24px rgba(0, 180, 216, 0.25) !important;
    }

    .custom-btn-shine::after {
        content: '';
        position: absolute;
        top: 0;
        inset-inline-start: -100%;
        width: 50%;
        height: 100%;
        background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 100%);
        transform: skewX(-25deg);
        transition: none;
    }

[dir="rtl"] .custom-btn-shine::after {
    background: linear-gradient(to left, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 100%);
    transform: skewX(25deg);
}

.custom-btn-shine:hover::after {
    inset-inline-start: 150%;
    transition: all 0.6s ease-in-out;
}

/* --------------------------------------------------------------------------
    5️⃣ GLASSMORPHISM CARDS SECTION
   -------------------------------------------------------------------------- */
.hero-cards-container {
    position: relative;
    margin: 3rem auto 0 auto;
    width: 67%;
    max-width: 1200px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    z-index: 10;
    box-sizing: border-box;
}

.hero-card-item, .glass-card, .glass-panel {
    background: rgba(0, 0, 0, 0.4) !important;
    backdrop-filter: blur(12px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(12px) saturate(180%) !important;
    border: 1px solid rgba(0, 0, 0, 0.65) !important;
    border-radius: 15px !important;
    padding: 1.8rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.hero-card-item {
    opacity: 0;
    transform: translateY(90px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

    .hero-card-item.reveal {
        opacity: 1;
        transform: translateY(0);
    }

        .hero-card-item.reveal:hover, .glass-card:hover, .glass-panel:hover {
            background: rgba(0, 0, 0, 0.45) !important;
            transform: translateY(-6px) !important;
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25) !important;
            border-color: var(--first-text) !important;
        }

.card-icon i {
    font-size: 1.8rem;
    color: var(--second-text);
}

.card-text h3 {
    color: var(--first-text);
    font-size: 1.15rem;
    margin: 0 0 5px 0;
    font-weight: 600;
}

.card-text p {
    color: var(--bg-color);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.4;
}

.glass-panel:hover .card-icon {
    animation: pulseIcon 1s ease-in-out infinite;
    color: var(--white) !important;
    text-shadow: 0 0 8px rgba(0, 180, 216, 0.8);
}

/* --------------------------------------------------------------------------
    6️⃣ ABOUT EXPERIENCES & BRAND LOGOS
   -------------------------------------------------------------------------- */
.custom-about-card {
    transition: all 0.3s ease-in-out !important;
}

    .custom-about-card:hover {
        transform: translateY(-5px) !important;
        box-shadow: 0 12px 24px rgba(0, 180, 216, 0.15) !important;
        background-color: var(--white) !important;
    }

.grayscale-logos img {
    filter: grayscale(100%);
    opacity: 0.4;
    transition: all 0.4s ease;
}

    .grayscale-logos img:hover {
        filter: grayscale(0%) !important;
        opacity: 1 !important;
    }

/* --------------------------------------------------------------------------
    7️⃣ FEATURED DEPARTMENTS GRID CARDS
   -------------------------------------------------------------------------- */
.custom-dept-grid-card {
    border: 1px solid #e2e8f0 !important;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease !important;
}

    .custom-dept-grid-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 35px rgba(30, 41, 59, 0.1) !important;
        border-color: rgba(0, 180, 216, 0.3) !important;
    }

.dept-grid-icon {
    position: absolute;
    bottom: -25px;
    inset-inline-start: 25px;
    width: 54px;
    height: 54px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    border: 4px solid var(--white);
    z-index: 3;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.custom-dept-grid-card:hover .dept-grid-icon {
    background-color: var(--text-slate);
    transform: scale(1.1) rotate(360deg);
}

.dept-grid-link {
    color: var(--primary-color) !important;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease;
}

    .dept-grid-link:hover {
        color: var(--primary-color) !important;
    }

.animate-arrow {
    transition: transform 0.3s ease;
}

.custom-dept-grid-card:hover .animate-arrow {
    transform: translateX(5px);
}

[dir="rtl"] .custom-dept-grid-card:hover .animate-arrow {
    transform: translateX(-5px);
}

/* --------------------------------------------------------------------------
    8️⃣ FIND A DOCTOR SECTION STYLING
   -------------------------------------------------------------------------- */
.custom-search-input {
    border-color: #cbd5e1 !important;
    color: #1e293b !important;
}

    .custom-search-input:focus {
        border-color: var(--primary-color) !important;
        box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.15) !important;
    }

.custom-search-btn:hover {
    background-color: var(--primary-color) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0, 180, 216, 0.2);
}

.custom-doctor-card {
    border: 1px solid #f1f5f9 !important;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

    .custom-doctor-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 30px rgba(30, 41, 59, 0.08) !important;
    }

.doctor-card-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: top center;
}

.bg-success-badge {
    background-color: var(--success-green) !important;
    color: var(--white);
    font-size: 11px;
    letter-spacing: 0.5px;
    border-radius: 15px;
}

.bg-warning-badge {
    background-color: var(--warning-orange) !important;
    color: var(--white);
    font-size: 11px;
    letter-spacing: 0.5px;
    border-radius: 15px;
}

.btn-outline-doctor {
    color: var(--text-muted-gray);
    border: 1px solid #e2e8f0;
    border-radius: 15px;
    font-size: 13px;
    padding: 8px 10px;
    background: var(--white);
    transition: all 0.2s ease;
}

    .btn-outline-doctor:hover {
        background-color: #f8fafc;
        color: #1e293b;
        border-color: #cbd5e1;
    }

.btn-book-doctor {
    background-color: var(--primary-color) !important;
    color: var(--white) !important;
    border-radius: 15px;
    font-size: 13px;
    padding: 8px 10px;
    transition: all 0.2s ease;
}

    .btn-book-doctor:hover {
        background-color: #0096b4 !important;
        box-shadow: 0 4px 12px rgba(0, 180, 216, 0.25);
        transform: translateY(-1px);
    }

/* --------------------------------------------------------------------------
    9️⃣ HOME FEATURES GRID CARDS
   -------------------------------------------------------------------------- */
.custom-feature-box {
    border: 1px solid #f1f5f9 !important;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

    .custom-feature-box:hover {
        transform: translateY(-10px);
        box-shadow: 0 22px 40px rgba(30, 41, 59, 0.08) !important;
        border-color: rgba(0, 180, 216, 0.2) !important;
    }

.feature-icon-wrapper {
    width: 65px;
    height: 65px;
    background-color: rgba(0, 180, 216, 0.08);
    color: var(--primary-color);
    border-radius: 15%;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.custom-feature-box:hover .feature-icon-wrapper {
    background-color: var(--primary-color);
    color: var(--white);
    transform: scale(1.05);
}

.feature-card-link {
    color: var(--primary-color) !important;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease;
}

    .feature-card-link:hover {
        color: var(--primary-color) !important;
    }

.animate-arrow-icon {
    transition: transform 0.3s ease;
}

.custom-feature-box:hover .animate-arrow-icon {
    transform: translateX(4px);
}

[dir="rtl"] .custom-feature-box:hover .animate-arrow-icon {
    transform: translateX(-4px);
}

/* --------------------------------------------------------------------------
    🔟 EMERGENCY INFO, CARE SERVICES & MEDITRUST CARDS
   -------------------------------------------------------------------------- */
.custom-emergency-btn {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

    .custom-emergency-btn:hover {
        background-color: #1e293b !important;
        color: var(--white) !important;
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(30, 41, 59, 0.15);
    }

.custom-critical-box {
    box-shadow: 0 15px 35px rgba(217, 4, 41, 0.25) !important;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

    .custom-critical-box:hover {
        transform: scale(1.015);
    }

.custom-critical-btn {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

    .custom-critical-btn:hover {
        background-color: #1e293b !important;
        color: var(--white) !important;
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(30, 41, 59, 0.25);
    }

.custom-care-card {
    border: 1px solid #e2e8f0 !important;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

    .custom-care-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 35px rgba(30, 41, 59, 0.08) !important;
    }

.border-emergency {
    border-inline-start: 5px solid var(--critical-red) !important;
}

.border-standard {
    border-inline-start: 5px solid var(--primary-color) !important;
}

.care-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 15%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.style-phone-link {
    color: #1e293b;
    transition: color 0.2s ease;
}

    .style-phone-link:hover {
        color: var(--primary-color) !important;
    }

.custom-care-btn {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

    .custom-care-btn:hover {
        background-color: #1e293b !important;
        color: var(--white) !important;
        transform: translateY(-1px);
        box-shadow: 0 6px 15px rgba(30, 41, 59, 0.15);
    }

.meditrust-service-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08) !important;
    border-bottom: 3px solid #00b4d8 !important;
    background-color: #ffffff !important;
}

    .meditrust-service-card:hover .icon-box {
        background-color: #00b4d8 !important;
        color: #ffffff !important;
        transition: all 0.3s ease;
    }

.med-input:focus {
    background-color: #ffffff !important;
    border-color: #00b4d8 !important;
    box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.15) !important;
    outline: none;
}





/* --------------------------------------------------------------------------
    1️⃣1️⃣ QUICK ACTIONS & MEDICAL GUIDE STYLING
   -------------------------------------------------------------------------- */
.action-icon-circle {
    width: 55px;
    height: 55px;
    background-color: var(--white);
    color: var(--primary-color);
    border-radius: 15%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.custom-action-item {
    transition: transform 0.3s ease;
}

    .custom-action-item:hover {
        transform: translateY(-4px);
    }

        .custom-action-item:hover .action-icon-circle {
            background-color: var(--primary-color);
            color: var(--white);
            box-shadow: 0 8px 20px rgba(0, 180, 216, 0.25);
        }

    .custom-action-item span {
        transition: color 0.3s ease;
    }

    .custom-action-item:hover span {
        color: var(--primary-color) !important;
    }

.guide-check-icon {
    color: var(--success-green);
    font-size: 20px;
    line-height: 1;
}

.custom-footer-link {
    color: #6c757d !important;
    transition: all 0.25s ease-in-out;
    display: inline-block;
}

    .custom-footer-link:hover {
        color: var(--primary-color) !important;
        padding-inline-start: 5px;
    }

/* --------------------------------------------------------------------------
    1️⃣2️⃣ CORE ANIMATIONS ENGINE & KEYFRAMES
   -------------------------------------------------------------------------- */
@keyframes slideInFromStart {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

[dir="rtl"] @keyframes slideInFromStart {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes medFloating {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-8px);
    }
}

@keyframes pulseIcon {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

@keyframes pulse-warning {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

/* أنيميشن إضافية خاصة بصفحة About */
@keyframes aboutFadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes aboutFadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes aboutFadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-pulse-icon {
    animation: pulse-warning 2s infinite ease-in-out;
}

/* فئات الأنيميشن عند التمرير (Scroll Animations) */
.scroll-animate {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: var(--delay, 0s);
}

    .scroll-animate.show {
        opacity: 1;
        transform: translateY(0);
    }

.scroll-animate-btn {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

[dir="rtl"] .scroll-animate-btn {
    transform: translateX(30px);
}

.scroll-animate-btn.show {
    opacity: 1;
    transform: translateX(0);
}

.text-fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: var(--delay, 0s);
}

    .text-fade-up.show {
        opacity: 1;
        transform: translateY(0);
    }

.text-fade-in {
    opacity: 0;
    transition: opacity 1s ease-out;
    transition-delay: var(--delay, 0.2s);
}

    .text-fade-in.show {
        opacity: 1;
    }

.img-animation-container {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

[dir="rtl"] .img-animation-container {
    transform: translateX(40px);
}

.img-animation-container.show {
    opacity: 1;
    transform: translateX(0);
    animation: medFloating 5s ease-in-out infinite alternate;
    animation-delay: 1.2s;
}

/* فئات الأنيميشن العامة لصفحة About */
.animate-fade-in {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-fade-left {
    animation: fadeInLeft 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-fade-right {
    animation: fadeInRight 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-slide-left {
    animation: slideLeft 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-slide-right {
    animation: slideRight 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* --------------------------------------------------------------------------
    1️⃣3️⃣ RESPONSIVE MEDIA QUERIES
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .hero-container, .hero-cards-container {
        max-width: 82%;
        width: 82%;
    }

    .hero-cards-container {
        gap: 1rem;
    }

    .hero-desc {
        font-size: 16px;
    }
}

@media (max-width: 868px) {
    .hero-container, .hero-cards-container {
        max-width: 88%;
        width: 88%;
    }

    .hero-content {
        align-items: center;
        text-align: center;
    }

    .home-badge {
        background-position: center center !important;
        height: 140px;
        margin-top: 17%;
    }

    .hero-actions, .hero-info-bar {
        justify-content: center;
    }

    .hero-info-bar {
        gap: 5rem;
    }

    .hero-cards-container {
        grid-template-columns: repeat(1, 1fr);
        margin-top: 3rem;
        padding: 3%;
    }

    .btn-hero-primary, .btn-hero-secondary {
        font-size: 0.9rem;
    }

    .hero-desc {
        font-size: 14px;
    }
}

@media (max-width: 690px) {
    .hero-container, .hero-cards-container {
        max-width: 78%;
        width: 92%;
        align-items: center;
    }

    .hero-desc {
        font-size: 15px;
    }

    .hero-section {
        padding: 3rem 0 4rem 0;
    }

    .hero-info-bar {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .hero-cards-container {
        grid-template-columns: 1fr;
        margin-top: 3.5rem;
    }

    .home-badge {
        height: 140px;
        margin-top: 30%;
    }

    .btn-hero-primary, .btn-hero-secondary {
        font-size: 0.9rem;
        padding: 0.8rem 1.8rem;
    }
}

/* ==========================================================================
    14️⃣ ABOUT SECTION STYLING (MediTrust & ASUSH Combined)
   ========================================================================== */
.section-padding {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.custom-breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 10px;
}

    .custom-breadcrumb .breadcrumb-item,
    .custom-breadcrumb .breadcrumb-item a {
        color: var(--text-muted-gray);
        font-size: 14px;
        text-decoration: none;
        transition: color 0.3s ease;
    }

        .custom-breadcrumb .breadcrumb-item a:hover {
            color: var(--primary-color);
        }

        .custom-breadcrumb .breadcrumb-item.active {
            color: var(--primary-color);
            font-weight: 500;
        }

        .custom-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
            content: "/";
            color: #cbd5e1;
        }

.section-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    position: relative;
}

.section-subtitle {
    color: var(--text-muted-gray);
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.about-heading {
    font-size: 28px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 20px;
    line-height: 1.3;
}

.about-text {
    color: var(--text-slate);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 15px;
    text-align: justify;
}

/* كروت العدادات ومؤثراتها الحركية وحجمها */
.stats-card {
    background: var(--white);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 50px;
    padding: 25px 20px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

    .stats-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 24px rgba(0, 180, 216, 0.1);
        border-color: rgba(0, 180, 216, 0.3);
    }

.stats-icon {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.counter-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.counter-label {
    font-size: 14px;
    color: var(--text-muted-gray);
    font-weight: 600;
    margin: 0;
}

/* تأثير التكبير للصور وتوهج الكروت (Image Zoom & Glow Effects) */
.about-images-wrapper {
    position: relative;
}

.main-image-box img,
.sub-image-box img {
    width: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.main-image-box {
    max-height: 380px;
    overflow: hidden;
    border-radius: 15px;
}

.sub-image-box {
    max-height: 200px;
    overflow: hidden;
    border-radius: 15px;
}

    .main-image-box:hover img,
    .sub-image-box:hover img {
        transform: scale(1.04);
    }

.img-hover-zoom {
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

    .img-hover-zoom img {
        transition: transform 0.5s ease;
    }

    .img-hover-zoom:hover img {
        transform: scale(1.06);
    }

.img-animate-box {
    cursor: pointer;
}

    .img-animate-box:hover .custom-zoom-img {
        transform: scale(1.05);
    }

.card-glow {
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

    .card-glow:hover {
        transform: translateY(-2px);
        box-shadow: 0 15px 45px rgba(0, 180, 216, 0.08) !important;
    }

[dir="rtl"] .about-text {
    text-align: start;
}

/* ==========================================================================
   =================================== About ================================
   ========================================================================== */

.about-section {
    font-family: inherit !important;
    background-color: #ffffff !important;
    padding: 60px 0 !important;
    overflow: hidden;
}

    .about-section .custom-breadcrumb {
        font-size: 13px;
        background: transparent;
    }

    .about-section h1.fw-bold {
        font-size: clamp(28px, 4vw, 36px) !important;
        font-weight: 700 !important;
        color: var(--first-text) !important;
        letter-spacing: -0.5px;
    }

    .about-section .section-subtitle-custom {
        font-size: 14px;
        color: #7A1F2B;
        max-width: 720px;
        line-height: 1.6;
        font-weight: 400;
    }

    .about-section h2.fw-bold {
        font-size: clamp(22px, 3vw, 28px) !important;
        font-weight: 700 !important;
        color: #1c4463 !important;
        line-height: 1.3 !important;
    }

    .about-section p.about-p-text {
        font-size: 14px !important;
        color: #444444 !important;
        line-height: 1.7 !important;
        font-weight: 400;
    }

    .about-section .text-dark-custom {
        color: #1c4463 !important;
        font-weight: 500;
        font-size: 13px;
    }

    /* إعدادات الكارت والـ Centering */
    .about-section .counter-card-container {
        background: #ffffff;
        border-radius: 25px;
        border: 1px solid #f0f0f0 !important;
        width: 100%;
        max-width: 550px;
    }

@media (max-width: 991px) {
    .about-section h2.fw-bold,
    .about-section p.about-p-text {
        text-align: center !important; /* سنترة النصوص على الموبايل والتابلت */
    }

    .about-section .counter-card-container {
        margin-inline-start: auto;
        margin-inline-end: auto; /* سنترة كارت العدادات في الموبايل */
    }
}

@media (max-width: 576px) {
    .about-section .counter-card-container {
        padding: 1.7rem !important;
    }
}

.about-section .dynamic-counter {
    color: #13a2b7;
    font-size: clamp(25px, 4vw, 30px);
    font-weight: 600;
    letter-spacing: -0.5px;
}

.about-section .counter-divider {
    width: 2px;
    height: 50px;
    background-color: lightgrey;
}

.about-section .img-animate-box {
    border-radius: 20px;
    overflow: hidden;
    width: 100%;
}

.about-section .img-animate-box-sub {
    border-radius: 25px;
    overflow: hidden;
    width: 100%;
}

.about-section .custom-zoom-img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.about-section .img-animate-box:hover .custom-zoom-img,
.about-section .img-animate-box-sub:hover .custom-zoom-img {
    transform: scale(1.04);
}

.about-section .main-img-height {
    height: 360px;
}

.about-section .sub-img-height {
    height: 180px;
}

@media (max-width: 991px) {
    .about-section .main-img-height {
        height: 280px;
    }

    .about-section .sub-img-height {
        height: 140px;
    }
}

/* ==========================================================================
    16️⃣ SCROLL DRIVEN REVEAL ANIMATIONS 
   ========================================================================== */
.reveal-on-scroll {
    opacity: 0;
    will-change: transform, opacity;
    transition: opacity 1.6s cubic-bezier(0.19, 1, 0.22, 1), transform 1.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.reveal-up {
    transform: translateY(30px);
}

.reveal-left {
    transform: translateX(-35px);
}

.reveal-right {
    transform: translateX(35px);
}

[dir="rtl"] .reveal-left {
    transform: translateX(35px);
}

[dir="rtl"] .reveal-right {
    transform: translateX(-35px);
}

/* على الشاشات الصغيرة، يفضل جعل اتجاه الحركات كله من أسفل لأعلى (Up) لتجنب السكرول الأفقي */
@media (max-width: 991px) {
    .reveal-left, .reveal-right {
        transform: translateY(30px) !important;
    }
}

.reveal-on-scroll.active {
    opacity: 1;
    transform: translate(0) translateY(0);
}

.counter-card-container {
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.5s ease !important;
}

    .counter-card-container:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 40px rgba(19, 162, 183, 0.12) !important;
    }

/* ==========================================================================
   =============================== Contact ==================================
   ========================================================================== */
/* ==========================================================================
    17️⃣ ASUSH CONTACT PAGE SPECIFIC STYLING (Scroll Driven Matching)
   ========================================================================== */
.contact-section {
    font-family: inherit !important;
    background-color: #ffffff !important;
    padding: 60px 0 !important;
    overflow: hidden;
}

    .contact-section .custom-breadcrumb {
        font-size: 13px;
        background: transparent;
    }

    .contact-section h1.fw-bold {
        font-size: clamp(28px, 4vw, 36px) !important;
        font-weight: 700 !important;
        color: #1c4463 !important;
        letter-spacing: -0.5px;
    }

    .contact-section .section-subtitle-custom {
        font-size: 14px;
        color: #777777;
        max-width: 720px;
        line-height: 1.6;
        font-weight: 400;
    }

/* كلاسات مخصصة للفراغات العلوية البديلة للـ inline styles */
.contact-top-spacer-lg {
    height: 120px;
}

.contact-top-spacer-sm {
    height: 90px;
}

/* الأنميشن الأساسي للكروت الكبيرة المشترك مع الـ About */
.reveal-on-scroll {
    opacity: 0;
    will-change: transform, opacity;
    transition: opacity 1.2s cubic-bezier(0.19, 1, 0.22, 1), transform 1.2s cubic-bezier(0.19, 1, 0.22, 1);
}

.reveal-up {
    transform: translateY(40px);
}

.reveal-on-scroll.active {
    opacity: 1;
    transform: translateY(0);
}

/* الـ transition-delay تم نقلها من الـ HTML إلى الـ CSS */
.map-delay {
    transition-delay: 0.1s;
}

.main-card-delay {
    transition-delay: 0.2s;
}

/* صندوق هيدر خريطة جوجل */
.contact-section .map-wrapper-box {
    border-radius: 20px;
    height: 400px;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
}

    .contact-section .map-wrapper-box:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 30px #1e293b !important;
    }

    .contact-section .map-wrapper-box iframe {
        border: 0;
        width: 100%;
        height: 100%;
    }

/* الكارت الكبير وتأثير الـ Hover وعناصره الداخلية */
.main-contact-card {
    background-color: #13a2b7;
    border-radius: 20px;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
}

    .main-contact-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 30px #1e293b !important;
    }

.contact-card-desc {
    font-size: 14px;
    line-height: 1.6;
}

.contact-divider {
    border-top: 2px solid rgba(255, 255, 255, 0.25);
}

.social-title-size {
    font-size: 1.25rem;
}

/* --- 🎯 هندسة أنيميشن السلم للكروت الأربعة الداخلية (تأثير تباطؤ فخم وسلس) --- */
.reveal-child {
    opacity: 0;
    transform: translateY(50px) scale(0.4);
    will-change: transform, opacity;
    transition: opacity 2s cubic-bezier(0.34, 1.56, 0.64, 1), transform 2s cubic-bezier(0.34, 1.56, 0.64, 1);
    transition-delay: calc(var(--child-index) * 120ms);
}

    .reveal-child.active {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

/* تفاعلات الـ Hover والـ Classes الخاصة بالكروت الصغيرة الداخلية */
.info-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
}

    .info-item:hover {
        background-color: rgba(255, 255, 255, 0.18) !important;
    }

.icon-box {
    width: 45px;
    height: 45px;
    min-width: 45px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .icon-box i {
        color: #13a2b7;
        font-size: 18px;
    }

.info-item:hover .icon-box {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

[dir="rtl"] .info-item:hover .icon-box {
    transform: scale(1.1) rotate(-5deg);
}

.info-item h6 {
    font-size: 14px;
}

/* كلاسات حماية ومنع خروج نصوص الإيميلات */
.info-item .min-width-0 {
    min-width: 0;
}

.email-text-style {
    font-size: 13px;
    letter-spacing: -0.3px;
    word-break: break-all;
    white-space: normal;
}

/* --- 🎯 هندسة أنيميشن السوشيال ميديا الدائرية (تحكم كامل من الصندوق الأب) --- */
.social-icons-container .social-icon {
    opacity: 0;
    transform: scale(0.4) translateY(50px);
    width: 44px;
    height: 44px;
    background-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    text-decoration: none;
    will-change: transform, opacity;
    transition: transform 4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 4s ease, background-color 0.25s ease, box-shadow 0.25s ease;
    transition-delay: 0s;
}

.social-icons-container.active .social-icon {
    opacity: 1;
    transform: scale(1) translateY(0);
    transition-delay: calc(var(--icon-index) * 1ms);
}

.social-icon i {
    font-size: 18px;
}

.social-icons-container .social-icon:hover {
    background-color: white !important;
    color: var(--primary-color) !important;
    transform: translateY(-6px) scale(1.15) !important;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1) !important, background-color 0.2s ease !important, box-shadow 0.2s ease !important;
    transition-delay: 0s !important;
}

/* الشاشات المتجاوبة */
@media (max-width: 991px) {
    .contact-section .map-wrapper-box {
        height: 320px !important;
    }

    .reveal-child, .social-icon {
        transition-duration: 0.7s;
    }

    /* كلاس لتثبيت حجم الصورة تماماً ومنع تأثرها بالتكبير والتصغير */
    .fixed-size-img {
        width: 300px !important;
        height: 300px !important;
        min-width: 300px !important;
        max-width: 300px !important;
        min-height: 300px !important;
        max-height: 300px !important;
        object-fit: cover !important;
        flex-shrink: 0 !important;
    }

    /* تنسيق قائمة الاقتراحات المنبثقة */
    .search-suggestions-list {
        position: absolute;
        top: 105%;
        inset-inline-start: 15px;
        inset-inline-end: 15px;
        background: #ffffff;
        border-radius: 15px;
        padding: 10px 0;
        margin: 0;
        list-style: none;
        z-index: 1000;
        max-height: 250px;
        overflow-y: auto;
        display: none;
        border: 1px solid #eef2f5;
        transform: translateY(-10px);
        transition: opacity 0.3s ease, transform 0.3s ease;
        opacity: 0;
    }

        .search-suggestions-list.show {
            display: block;
            opacity: 1;
            transform: translateY(0);
        }

        .search-suggestions-list li {
            padding: 12px 20px;
            cursor: pointer;
            font-size: 14px;
            color: #333;
            display: flex;
            align-items: center;
            gap: 10px;
            transition: background 0.2s ease;
        }

            .search-suggestions-list li:hover {
                background-color: #f8f9fa;
                color: #0B2545;
            }

    .suggestion-icon {
        font-size: 13px;
        width: 20px;
        text-align: center;
    }

    .icon-doc {
        color: #C6A15B;
    }

    .icon-spec {
        color: #0B2545;
    }

    .search-suggestions-list {
        position: absolute;
        top: 100%;
        inset-inline-start: 15px;
        inset-inline-end: 15px;
        background: #ffffff;
        border-radius: 0 0 20px 20px;
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
        margin: 0;
        padding: 0;
        list-style: none;
        z-index: 1000;
        max-height: 220px;
        overflow-y: auto;
        visibility: hidden;
        opacity: 0;
        transform: translateY(-15px);
        transition: all 0.3s cubic-bezier(0.25, 1, 0.2, 1);
    }

        .search-suggestions-list.active {
            visibility: visible;
            opacity: 1;
            transform: translateY(5px);
        }

        .search-suggestions-list li {
            padding: 12px 20px;
            cursor: pointer;
            font-size: 14px;
            color: #0B2545;
            border-bottom: 1px solid #f0f0f0;
            transition: background-color 0.2s ease;
        }

            .search-suggestions-list li:last-child {
                border-bottom: none;
            }

            .search-suggestions-list li:hover {
                background-color: #f8f9fa;
                color: #C6A15B;
            }
}




/* Container الرئيسية للشريط */
.ticker-marquee {
    display: flex;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    user-select: none;
}

/* المسار الذكي المعروض */
.ticker-track {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    white-space: nowrap;
    will-change: transform;
}

/* سرعة الحركة: يمكن تعديل الـ 60s حسب عدد الأخبار */
[dir="rtl"] .ticker-track {
    animation: marqueeRtl 60s linear infinite;
}

[dir="ltr"] .ticker-track {
    animation: marqueeLtr 60s linear infinite;
}

/* إيقاف الحركة عند تحريك الماوس فوق الشريط للمعاينة */
.ticker-marquee:hover .ticker-track {
    animation-play-state: paused;
}

/* Keyframes للغة العربية RTL (من اليمين لليسار) */
@keyframes marqueeRtl {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(100%);
    }
}

/* Keyframes للغات LTR (من اليسار لليمين) */
@keyframes marqueeLtr {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* Container الرئيسية للشريط */
.ticker-marquee {
    display: flex;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    user-select: none;
    width: 100%;
}

/* المسار المعروض */
.ticker-track {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    white-space: nowrap;
    will-change: transform;
    /* تحريك المسار دائماً بالاتجاه الموحد لتفادي الفراغات */
    animation: marqueeMove 100s linear infinite;
}

/* إيقاف الحركة عند وقوف الماوس */
.ticker-marquee:hover .ticker-track {
    animation-play-state: paused;
}

/* الانيميشن الموحد للاتجاهين (سحب دائم نحو اليسار بسلاسة) */
@keyframes marqueeMove {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* في حالة اللغة العربية: نعكس اتجاه تدفق العناصر داخلياً دون كسر الحركة */
[dir="rtl"] .ticker-marquee {
    flex-direction: row-reverse;
}

/* تنسيقات العناصر */
.ticker-content-item {
    color: #ffffff;
    transition: color 0.2s ease;
}

    .ticker-content-item:hover {
        color: #C6A15B;
    }

.ticker-cat-pill {
    background: rgba(255, 255, 255, 0.15);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
}

.ticker-news-title {
    font-weight: 500;
    font-size: 14px;
}

.ticker-date-micro {
    font-size: 11px;
    opacity: 0.7;
}

.sep-line {
    width: 15px;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
}

.sep-icon {
    font-size: 8px;
    color: #C6A15B;
}