﻿/* wwwroot/css/custom-style.css */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #2E64FE;
    --dark-bg: #3B0B24;
    --darker-bg: #170B3B;
    --light-bg: #f8f9fa;
    --text-dark: #333;
    --text-light: #fff;
    --text-muted: #ccc;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f7fa;
    color: var(--text-dark);
    padding-top: 0;
}

/* تنسيقات شريط التنقل */
.navbar-container {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
}

.navbar-brand-section {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.navbar-main-brand {
    margin-left: 15px;
    white-space: nowrap;
    color: var(--text-light) !important;
    font-weight: 600;
    font-size: 1.5rem;
}

.navbar-toggler {
    order: 3;
}

.navbar-collapse {
    flex-grow: 0;
}

.navbar-nav {
    flex-direction: row;
    align-items: center;
}

.nav-item {
    margin-left: 10px;
}

.login-partial-container {
    display: flex;
    align-items: center;
}

.navbar-custom {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    min-height: 70px;
}

.navbar-brand-custom, .nav-link-custom {
    color: var(--text-light) !important;
    font-weight: 600;
}

/* تنسيقات النص للعلامة التجارية */
.brand-text-container {
    display: inline-block;
    text-align: center;
}

.brand-en {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.2;
}

.brand-ar {
    font-size: 0.9rem;
    font-family: 'Tajawal', sans-serif;
    line-height: 1.2;
    margin-top: 2px;
}

/* Header/Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1468436139062-f60a71c5c892?ixlib=rb-4.0.3&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    color: #f0f8ff;
    padding: 100px 0;
    text-align: center;
    /* تعديل للجوال: جعل الخلفية السوداء أصغر */
    min-height: 50vh;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #e6f7ff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Footer Styles */
.footer-custom {
    background: linear-gradient(135deg, var(--dark-bg), var(--darker-bg));
    color: var(--text-light);
    padding: 50px 0 20px;
    border-top: 3px solid var(--accent-color);
}

.footer-links {
    margin-bottom: 25px;
}

    .footer-links a {
        color: var(--text-light);
        text-decoration: none;
        margin: 0 12px;
        transition: all 0.3s;
        position: relative;
    }

        .footer-links a:hover {
            color: var(--accent-color);
        }

        .footer-links a:after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background-color: var(--accent-color);
            transition: width 0.3s;
        }

        .footer-links a:hover:after {
            width: 100%;
        }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
    margin-top: 20px;
}

    .footer-bottom p {
        margin-bottom: 8px;
    }

    .footer-bottom a {
        color: var(--accent-color);
        text-decoration: none;
        transition: opacity 0.3s;
    }

        .footer-bottom a:hover {
            opacity: 0.8;
            color: var(--accent-color);
        }

/* Contact Info Section */
.contact-info {
    background-color: var(--light-bg);
    padding: 40px 0;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin: 40px 0;
}

.contact-card {
    background: var(--text-light);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    height: 100%;
    text-align: center;
}

    .contact-card:hover {
        transform: translateY(-5px);
    }

.contact-icon {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

/* Button Styles */
.btn-custom {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s;
}

    .btn-custom:hover {
        background-color: var(--primary-color);
        border-color: var(--primary-color);
        transform: translateY(-2px);
        color: white;
    }

/* تنسيقات الروابط القابلة للنقر */
.clickable-contact {
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 5px;
    display: block;
}

    .clickable-contact:hover {
        color: var(--accent-color);
        transform: translateY(-2px);
    }

    .clickable-contact:active {
        transform: translateY(0);
    }

/* واتساب فلواتينغ بوتون */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 25px;
    right: 25px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.5);
    z-index: 100;
    animation: pulse 2s infinite;
    transition: all 0.3s ease-in-out;
}

.whatsapp-link {
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    text-decoration: none;
    position: relative;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.7);
}

.whatsapp-tooltip {
    position: absolute;
    left: 70px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #075E54;
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 14px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

    .whatsapp-tooltip:after {
        content: "";
        position: absolute;
        top: 50%;
        left: -10px;
        transform: translateY(-50%);
        border-width: 5px;
        border-style: solid;
        border-color: transparent #075E54 transparent transparent;
    }

.whatsapp-link:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* تنسيقات خاصة لعناصر تسجيل الدخول */
.login-partial-container .nav-link {
    padding: 0.5rem 0.8rem;
    margin: 0.2rem;
    border-radius: 0.3rem;
    transition: all 0.3s ease;
}

    .login-partial-container .nav-link:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }

/* تنسيقات إضافية للزر الخاص بعربة التسوق */
.btn-outline-light {
    white-space: nowrap;
}


/*------------------------------------------ تنسيقات صفحة الدعم التكنولوجي-------------------------------------- */
/* تنسيقات صفحة الدعم التكنولوجي */
.page-header.support-header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1581092918056-0c4c3acd3789?ixlib=rb-4.0.3&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
    text-align: center;
    margin-bottom: 50px;
}

.support-header h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.support-header .lead {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
}

    .section-title:after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 3px;
        background-color: var(--accent-color);
    }

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

/* بطاقات الخدمات */
.service-card {
    background: white;
    border-radius: 12px;
    padding: 30px 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    text-align: center;
    border-top: 4px solid var(--secondary-color);
}

    .service-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    }

.service-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.service-card h4 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.service-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* بطاقات العملاء */
.client-card {
    background: white;
    border-radius: 12px;
    padding: 30px 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    text-align: center;
    border-top: 4px solid var(--primary-color);
}

    .client-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    }

.client-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.government-icon {
    color: #2c3e50;
}

.charity-icon {
    color: #e74c3c;
}

.client-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.client-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

.charity-card {
    border-top: 4px solid #e74c3c;
    position: relative;
    overflow: hidden;
}

    .charity-card:before {
        content: 'خصم خاص';
        position: absolute;
        top: 15px;
        left: -35px;
        background: #e74c3c;
        color: white;
        padding: 5px 40px;
        transform: rotate(-45deg);
        font-size: 0.8rem;
        font-weight: 600;
    }

.badge {
    font-size: 0.7rem;
    vertical-align: middle;
}

/* أزرار إضافية */
.btn-outline-custom {
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s;
}

    .btn-outline-custom:hover {
        background-color: var(--secondary-color);
        color: white;
        transform: translateY(-2px);
    }

/* ------------------------------تنسيقات الشعار--------------------------------------- */
.sst-logo-navbar {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}

.logo-triangle {
    width: 80px;
    height: 70px;
    background: linear-gradient(135deg, var(--dark-bg), var(--darker-bg));
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    border: 2px solid var(--accent-color);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

/* الشبكة العنكبوتية */
.fiber-web {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    opacity: 0.8;
    z-index: 1;
}

.web-line {
    position: absolute;
    background: transparent;
    border: 1px solid rgba(46, 100, 254, 0.3);
    z-index: 1;
}

.web-horizontal {
    width: 100%;
    height: 1px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.web-vertical {
    width: 1px;
    height: 100%;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
}

.web-diagonal-1 {
    width: 140%;
    height: 1px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}

.web-diagonal-2 {
    width: 140%;
    height: 1px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
}

/* روابط الألياف بين الحروف */
.fiber-connection-triangle {
    position: absolute;
    background: transparent;
    border: 1.5px solid var(--accent-color);
    box-shadow: 0 0 10px var(--accent-color);
    z-index: 2;
    animation: fiber-glow 3s infinite alternate;
}

    .fiber-connection-triangle.s-to-s {
        width: 40px;
        height: 1px;
        top: 35%;
        left: 50%;
        transform: translateX(-50%);
    }

    .fiber-connection-triangle.t-to-s1 {
        width: 35px;
        height: 1px;
        top: 60%;
        left: 30%;
        transform: rotate(30deg);
    }

    .fiber-connection-triangle.t-to-s2 {
        width: 35px;
        height: 1px;
        top: 60%;
        left: 70%;
        transform: rotate(-30deg);
    }

/* نقاط الاتصال */
.connection-point-triangle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--accent-color);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--accent-color);
    z-index: 3;
    animation: point-pulse 2s infinite;
}

    .connection-point-triangle.point-s1 {
        top: 35%;
        left: 30%;
    }

    .connection-point-triangle.point-s2 {
        top: 35%;
        left: 70%;
    }

    .connection-point-triangle.point-t {
        top: 65%;
        left: 50%;
    }

/* الحروف في شكل مثلث */
.letters-container-triangle {
    position: relative;
    width: 70px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 4;
}

.s-letter-triangle {
    font-size: 22px;
    font-weight: 900;
    color: white;
    position: absolute;
    font-family: Arial, sans-serif;
    text-shadow: 0 0 10px var(--accent-color), 0 0 15px var(--accent-color);
    z-index: 4;
}

.s-left-triangle {
    top: 30%;
    left: 25%;
    transform: translate(-50%, -50%);
}

.s-right-triangle {
    top: 30%;
    left: 75%;
    transform: translate(-50%, -50%);
}

.t-letter-triangle {
    font-size: 22px;
    font-weight: 900;
    color: white;
    position: absolute;
    top: 65%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: Arial, sans-serif;
    text-shadow: 0 0 10px var(--accent-color), 0 0 15px var(--accent-color);
    z-index: 4;
}

/* Animations */
@keyframes fiber-glow {
    0% {
        box-shadow: 0 0 5px var(--accent-color);
        opacity: 0.7;
    }

    100% {
        box-shadow: 0 0 20px var(--accent-color), 0 0 30px var(--accent-color);
        opacity: 1;
    }
}

@keyframes point-pulse {
    0% {
        transform: scale(0.8);
        opacity: 0.6;
    }

    50% {
        transform: scale(1.3);
        opacity: 1;
    }

    100% {
        transform: scale(0.8);
        opacity: 0.6;
    }
}

@keyframes web-pulse {
    0% {
        opacity: 0.2;
    }

    50% {
        opacity: 0.4;
    }

    100% {
        opacity: 0.2;
    }
}

/* تأثيرات عند التمرير */
.logo-triangle:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px var(--accent-color);
}

    .logo-triangle:hover .fiber-connection-triangle {
        animation: fiber-glow 1s infinite alternate;
    }

    .logo-triangle:hover .connection-point-triangle {
        animation: point-pulse 1s infinite;
    }

    .logo-triangle:hover .web-line {
        animation: web-pulse 3s infinite;
    }

/* Responsive Adjustments */
@media (max-width: 992px) {
    .logo-triangle {
        width: 70px;
        height: 60px;
    }

    .letters-container-triangle {
        width: 60px;
        height: 50px;
    }

    .s-letter-triangle {
        font-size: 20px;
    }

    .t-letter-triangle {
        font-size: 20px;
    }

    .fiber-connection-triangle.s-to-s {
        width: 35px;
    }

    .fiber-connection-triangle.t-to-s1,
    .fiber-connection-triangle.t-to-s2 {
        width: 30px;
    }

    .s-left-triangle {
        left: 27%;
    }

    .s-right-triangle {
        left: 73%;
    }

    .brand-en {
        font-size: 1.2rem;
    }

    .brand-ar {
        font-size: 0.8rem;
    }

    .navbar-container {
        flex-wrap: wrap;
    }

    .navbar-brand-section {
        order: 1;
        flex: 1;
    }

    .navbar-toggler {
        order: 2;
    }

    .navbar-collapse {
        order: 3;
        width: 100%;
        background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
        padding: 10px;
        margin-top: 10px;
        border-radius: 5px;
    }

    .nav-item {
        margin: 5px 0;
    }

    .navbar-main-brand {
        font-size: 1.2rem;
    }

    .login-partial-container {
        width: 100%;
        margin-top: 1rem;
    }

        .login-partial-container .d-flex {
            justify-content: center;
            gap: 0.5rem;
        }

        .login-partial-container .nav-link {
            text-align: center;
            margin: 0.3rem;
            padding: 0.6rem 1rem;
            background-color: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

        .login-partial-container .btn {
            margin: 0.3rem;
        }
}

@media (max-width: 768px) {
    /* تعديلات للجوال: جعل الخلفية السوداء أصغر */
    .hero-section {
        padding: 60px 0 !important;
        min-height: 40vh !important;
    }

    .hero-title {
        font-size: 2rem !important;
        margin-bottom: 0.5rem !important;
    }

    .hero-subtitle {
        font-size: 1.2rem !important;
        margin-bottom: 1.5rem !important;
    }

    /* تحسين تخطيط الأزرار */
    .hero-section .btn {
        margin: 0.3rem;
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    /* تقليل الهوامش لتحسين المساحة */
    .support-services, .support-clients, .support-contact {
        padding: 2rem 0 !important;
    }

    /* تحسين ظهور الأقسام التالية مباشرة */
    #support-section {
        scroll-margin-top: 20px;
    }

    .contact-card {
        padding: 15px;
    }

    .footer-links a {
        margin: 0 8px;
        display: block;
        margin-bottom: 10px;
    }

        .footer-links a:after {
            display: none;
        }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 24px;
    }

    .whatsapp-tooltip {
        display: none;
    }

    .logo-triangle {
        width: 60px;
        height: 50px;
    }

    .letters-container-triangle {
        width: 50px;
        height: 40px;
    }

    .s-letter-triangle {
        font-size: 18px;
    }

    .t-letter-triangle {
        font-size: 18px;
    }

    .fiber-connection-triangle.s-to-s {
        width: 30px;
        top: 33%;
    }

    .fiber-connection-triangle.t-to-s1,
    .fiber-connection-triangle.t-to-s2 {
        width: 25px;
        top: 58%;
    }

    .connection-point-triangle {
        width: 5px;
        height: 5px;
    }

    .brand-en {
        font-size: 1rem;
    }

    .brand-ar {
        font-size: 0.7rem;
    }
}

/* إزالة التنسيقات القديمة للشعار */
.logo-small,
.logo-large,
.logo-compact,
.logo-spaced,
.fiber-network-small,
.fiber-network-large,
.fiber-network-compact,
.fiber-network-spaced,
.fiber-connection-small,
.fiber-connection-large,
.fiber-connection-compact,
.fiber-connection-spaced,
.connection-point-small,
.connection-point-large,
.connection-point-compact,
.connection-point-spaced,
.letters-container-small,
.letters-container-large,
.letters-container-compact,
.letters-container-spaced,
.s-letter-small,
.s-letter-large,
.s-letter-compact,
.s-letter-spaced,
.t-letter-small,
.t-letter-large,
.t-letter-compact,
.t-letter-spaced,
.company-name-navbar,
.company-name-en-navbar {
    display: none !important;
}


/* =====------------------- إصلاحات عامة للتصميم ---------------===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Tajawal', sans-serif;
    text-align: right;
    background-color: #f4f6f9;
    overflow-x: hidden;
    min-height: 100vh;
}

/* ===== إصلاحات الشريط الجانبي ===== */
.main-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    z-index: 1030;
    transition: transform 0.3s ease-in-out;
    width: 250px;
}

.sidebar-collapse .main-sidebar {
    transform: translateX(100%);
}

/* ===== إصلاحات المحتوى الرئيسي ===== */
.content-wrapper {
    min-height: 100vh;
    transition: all 0.3s ease-in-out;
    background-color: #f4f6f9;
    margin-right: 250px;
}

.sidebar-collapse .content-wrapper {
    margin-right: 0 !important;
    width: 100% !important;
}

/* ===== إصلاحات الهيدر ===== */
.main-header {
    margin-right: 250px;
    transition: margin-right 0.3s ease-in-out;
    border-bottom: 1px solid #dee2e6;
    background: #fff;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1029;
    height: 56px;
}

.sidebar-collapse .main-header {
    margin-right: 0 !important;
}

/* ===== إصلاحات المحتوى ===== */
.content {
    padding: 80px 20px 20px 20px;
    width: 100%;
    margin-top: 56px;
}

.container-fluid {
    padding: 0 15px;
    max-width: 100%;
}

/* ===== إصلاحات للهواتف ===== */
@media (max-width: 991.98px) {
    /* إصلاح الشريط الجانبي على الجوال */
    .main-sidebar {
        transform: translateX(100%);
        width: 280px;
    }

    .sidebar-open .main-sidebar {
        transform: translateX(0);
    }

    .sidebar-open .content-wrapper,
    .sidebar-open .main-header {
        transform: translateX(-280px);
    }

    /* إصلاح المحتوى على الجوال */
    .content-wrapper {
        margin-right: 0 !important;
        width: 100% !important;
    }

    .main-header {
        margin-right: 0 !important;
        width: 100% !important;
    }

    .content {
        padding: 70px 10px 10px 10px;
        margin-top: 56px;
    }

    /* إصلاح القائمة على الجوال */
    .navbar-nav .dropdown-menu {
        position: absolute !important;
        right: 0;
        left: auto;
    }

    /* إصلاح الجداول على الجوال */
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .dataTables_wrapper {
        font-size: 14px;
    }

    /* إصلاح البطاقات على الجوال */
    .card {
        margin-bottom: 15px;
    }

    .card-body {
        padding: 15px;
    }
}

/* ===== إصلاحات القائمة العلوية ===== */
.navbar-custom {
    background: linear-gradient(135deg, #2c3e50, #3498db);
    padding: 0.5rem 0;
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.navbar-brand-section {
    display: flex;
    align-items: center;
}

.navbar-main-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white !important;
}

.brand-text-container {
    margin-right: 10px;
}

.brand-en {
    font-size: 14px;
    font-weight: 600;
}

.brand-ar {
    font-size: 12px;
    font-weight: 400;
}

.nav-link-custom {
    color: rgba(255, 255, 255, 0.8) !important;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem !important;
}

    .nav-link-custom:hover {
        color: white !important;
        background-color: rgba(255, 255, 255, 0.1);
        border-radius: 5px;
    }

/* ===== إصلاحات Dropdown ===== */
.dropdown-menu {
    text-align: right;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.dropdown-item {
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

    .dropdown-item:hover {
        background-color: #f8f9fa;
        color: #3498db;
    }

/* ===== إصلاحات الجداول ===== */
.table {
    width: 100%;
    margin-bottom: 1rem;
    background-color: transparent;
    border-collapse: collapse;
}

    .table th {
        background-color: #2c3e50;
        color: white;
        font-weight: 600;
        padding: 12px 15px;
        border: none;
    }

    .table td {
        padding: 10px 15px;
        vertical-align: middle;
        border-top: 1px solid #dee2e6;
    }

.table-hover tbody tr:hover {
    background-color: rgba(52, 152, 219, 0.05);
}

/* ===== إصلاحات DataTables ===== */
.dataTables_wrapper {
    direction: rtl;
    width: 100%;
}

.dataTables_filter {
    margin-bottom: 15px;
}

    .dataTables_filter input {
        border-radius: 4px;
        border: 1px solid #ddd;
        padding: 5px 10px;
        margin-right: 10px;
    }

.dataTables_length select {
    border-radius: 4px;
    border: 1px solid #ddd;
    padding: 5px;
}

/* ===== إصلاحات الأزرار ===== */
.btn {
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, #3498db, #2980b9);
}

.btn-success {
    background: linear-gradient(135deg, #27ae60, #219a52);
}

.btn-danger {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* ===== إصلاحات البطاقات ===== */
.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    overflow: hidden;
}

.card-header {
    background: linear-gradient(to right, #3498db, #2c3e50);
    color: white;
    border-radius: 10px 10px 0 0 !important;
    padding: 15px 20px;
    font-weight: 600;
    border: none;
}

.card-body {
    padding: 20px;
}

/* ===== إصلاحات التنسيق النصي ===== */
.text-left {
    text-align: right !important;
}

.text-right {
    text-align: left !important;
}

.float-left {
    float: right !important;
}

.float-right {
    float: left !important;
}

/* ===== إصلاحات الشريط الجانبي للـ Dashboard ===== */
.sidebar-dark-primary {
    background-color: #343a40;
}

.nav-sidebar .nav-item > .nav-link {
    margin-bottom: 5px;
    border-radius: 5px;
}

    .nav-sidebar .nav-item > .nav-link.active {
        background-color: #007bff;
    }

/* ===== إصلاحات للشاشات الصغيرة جداً ===== */
@media (max-width: 576px) {
    .content {
        padding: 60px 5px 5px 5px;
    }

    .table td, .table th {
        padding: 8px 5px;
        font-size: 12px;
    }

    .btn {
        padding: 5px 10px;
        font-size: 12px;
    }

    .card-body {
        padding: 10px;
    }

    /* إصلاح زر القائمة على الجوال */
    .navbar-toggler {
        padding: 0.25rem 0.5rem;
        font-size: 1rem;
    }
}

/* ===== منع التمرير الأفقي ===== */
html, body {
    overflow-x: hidden;
    max-width: 100%;
}

/* ===== إصلاحات خاصة للـ Dashboard ===== */
.breadcrumb {
    background-color: transparent;
    padding: 0;
    margin-bottom: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    padding: 0 0.5rem;
}

/* ===== تحسينات للأيقونات ===== */
.nav-icon {
    margin-left: 10px;
}

/* ===== إصلاحات للعناصر التفاعلية ===== */
.clickable-contact {
    cursor: pointer;
    transition: all 0.3s ease;
}

    .clickable-contact:hover {
        color: #3498db;
        text-decoration: underline;
    }

/* ===== تحسينات للشريط الجانبي على الجوال ===== */
@media (max-width: 991.98px) {
    .main-sidebar {
        backdrop-filter: blur(10px);
        background-color: rgba(52, 58, 64, 0.95) !important;
    }

    .sidebar-open body {
        overflow: hidden;
    }

    .sidebar-open .main-sidebar {
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
    }
}

/* ===== إصلاحات نهائية للتخطيط ===== */
.wrapper {
    min-height: 100vh;
    position: relative;
}

.main-footer {
    background: #fff;
    border-top: 1px solid #dee2e6;
    padding: 1rem;
    margin-top: auto;
    text-align: center;
}


/* ===== إعادة تعيين كامل للمسافات ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Tajawal', sans-serif;
    text-align: right;
    background-color: #f4f6f9;
    overflow-x: hidden;
}

.wrapper {
    min-height: 100vh;
    position: relative;
    width: 100%;
}

/* ===== إصلاح الشريط الجانبي ===== */
.main-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    z-index: 1030;
    transition: transform 0.3s ease-in-out;
}

/* ===== إصلاح المحتوى الرئيسي ===== */
.content-wrapper {
    min-height: 100vh;
    transition: margin-right 0.3s ease-in-out;
    background-color: #f4f6f9;
    width: 100%;
    margin-right: 250px; /* العرض الافتراضي للشريط الجانبي */
}

/* ===== عندما يكون الشريط الجانبي مخفي ===== */
.sidebar-collapse .content-wrapper {
    margin-right: 0 !important;
    width: 100vw !important;
    margin-left: 0 !important;
}

.sidebar-collapse .main-sidebar {
    transform: translateX(100%);
}

/* ===== إصلاح الهيدر ===== */
.main-header {
    margin-right: 250px;
    transition: margin-right 0.3s ease-in-out;
    border-bottom: 1px solid #dee2e6;
    background: #fff;
}

.sidebar-collapse .main-header {
    margin-right: 0 !important;
    width: 100vw !important;
}

/* ===== إصلاح المحتوى ===== */
.content {
    padding: 20px;
    width: 100%;
}

.container-fluid {
    padding: 0 15px;
    max-width: 100%;
    margin: 0;
}

/* ===== إصلاح الفوتر ===== */
.main-footer {
    background: #fff;
    border-top: 1px solid #dee2e6;
    padding: 1rem;
    margin-top: auto;
    width: 100%;
    text-align: center;
}

.sidebar-collapse .main-footer {
    margin-right: 0;
    width: 100vw;
}

/* ===== إصلاح للهواتف ===== */
@media (max-width: 991.98px) {
    .content-wrapper {
        margin-right: 0 !important;
        width: 100vw !important;
    }

    .main-header {
        margin-right: 0 !important;
        width: 100vw !important;
    }

    .main-sidebar {
        transform: translateX(100%);
    }

    .sidebar-open .main-sidebar {
        transform: translateX(0);
    }

    .sidebar-open .content-wrapper,
    .sidebar-open .main-header {
        transform: translateX(-250px);
    }
}

/* ===== منع التمرير الأفقي ===== */
html, body {
    overflow-x: hidden;
    max-width: 100%;
}

/* ===== إصلاح البطاقات ===== */
.card {
    margin-bottom: 20px;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    background: #fff;
}

/* ===== إصلاح التنسيقات النصية ===== */
.text-left {
    text-align: right !important;
}

.text-right {
    text-align: left !important;
}

.float-left {
    float: right !important;
}

.float-right {
    float: left !important;
}

/* ===== إصلاح الـ DataTables ===== */
.dataTables_wrapper {
    direction: rtl;
    width: 100%;
    overflow-x: auto;
}

/* ===== إصلاحات خاصة لـ My Setting على الشاشات الصغيرة ===== */
@media (max-width: 991.98px) {
    /* تحسين ظهور القائمة المنسدلة على الجوال */
    .navbar-collapse .dropdown-menu {
        position: static !important;
        transform: none !important;
        float: none;
        width: 100%;
        margin: 5px 0;
        border: 1px solid rgba(255, 255, 255, 0.2);
        background-color: rgba(255, 255, 255, 0.95);
    }

    .navbar-collapse .dropdown-item {
        color: #333 !important;
        padding: 10px 15px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

        .navbar-collapse .dropdown-item:last-child {
            border-bottom: none;
        }

        .navbar-collapse .dropdown-item:hover {
            background-color: #3498db;
            color: white !important;
        }

    /* تحسين ظهور My Setting في القائمة */
    .nav-item.dropdown {
        width: 100%;
        text-align: center;
    }

    .nav-link.dropdown-toggle {
        background-color: rgba(255, 255, 255, 0.1);
        border-radius: 5px;
        margin: 5px 0;
    }
}

/* تحسينات عامة للقائمة على الجوال */
@media (max-width: 768px) {
    .navbar-collapse {
        max-height: 70vh;
        overflow-y: auto;
    }

    .nav-item {
        margin: 2px 0;
    }

    .nav-link-custom {
        text-align: center;
        padding: 10px 15px !important;
    }
}

/* منع التداخل في القائمة المنسدلة */
.dropdown-menu {
    z-index: 1021;
}

.navbar-collapse {
    z-index: 1020;
}



/* ===== تنسيقات شريط الاتصال في الشريط العلوي ===== */
.navbar-contact-info {
    padding: 5px 0;
}

.nav-contact-link {
    color: rgba(255, 255, 255, 0.9) !important;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
}

    .nav-contact-link:hover {
        color: white !important;
        background-color: rgba(255, 255, 255, 0.2);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

/* تنسيقات محسنة للبريد الإلكتروني والهاتف في صف واحد */
.navbar-contact-info .d-flex {
    flex-wrap: nowrap !important;
    gap: 15px;
}

.nav-contact-link {
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    margin: 0;
    flex-shrink: 0;
}

.phone-number, .email-address {
    direction: ltr;
    display: inline;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
}

/* تحسينات للشاشات المتوسطة */
@media (max-width: 1200px) {
    .phone-number, .email-address {
        font-size: 0.8rem;
    }

    .nav-contact-link {
        padding: 6px 10px;
    }
}

/* تحسينات للشاشات الصغيرة */
@media (max-width: 991.98px) {
    .navbar-contact-info .d-flex {
        flex-wrap: wrap !important;
        justify-content: center;
        gap: 10px;
    }

    .nav-contact-link {
        min-width: 160px;
        justify-content: center;
    }
}

/* تحسينات للشاشات الصغيرة جداً */
@media (max-width: 576px) {
    .navbar-contact-info .d-flex {
        flex-direction: column;
        gap: 8px;
    }

    .nav-contact-link {
        min-width: 100%;
        justify-content: flex-start;
    }

    .phone-number, .email-address {
        font-size: 0.8rem;
    }
}

/* إزالة أي فواصل أو تقسيمات */
.nav-contact-link br {
    display: none;
}

.phone-number br, .email-address br {
    display: none;
}

/* تنسيق خاص لروابط الهاتف */
.phone-link {
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.2), rgba(52, 152, 219, 0.2));
}

    .phone-link:hover {
        background: linear-gradient(135deg, rgba(46, 204, 113, 0.3), rgba(52, 152, 219, 0.3));
    }

/* تنسيق خاص لروابط البريد */
.email-link {
    background: linear-gradient(135deg, rgba(155, 89, 182, 0.2), rgba(231, 76, 60, 0.2));
}

    .email-link:hover {
        background: linear-gradient(135deg, rgba(155, 89, 182, 0.3), rgba(231, 76, 60, 0.3));
    }

/* تحسينات للشاشات الصغيرة */
@media (max-width: 991.98px) {
    .navbar-contact-info.mb-2 {
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        padding-bottom: 12px;
        margin-bottom: 12px !important;
    }

    .nav-contact-link {
        font-size: 0.9rem;
        padding: 10px 15px;
        flex: 1;
        min-width: 140px;
        justify-content: center;
    }

    .navbar-contact-info .d-flex {
        gap: 10px;
    }
}

@media (max-width: 576px) {
    .nav-contact-link {
        min-width: 120px;
        padding: 8px 10px;
    }

    .phone-number, .email-address {
        font-size: 0.7rem;
    }

    .nav-contact-link i {
        font-size: 1rem;
    }
}

/* تنسيقات الروابط القابلة للنقر في الأقسام الأخرى */
.clickable-contact {
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: inline-block;
    padding: 5px 0;
}

    .clickable-contact:hover {
        color: #3498db;
        transform: translateY(-1px);
    }

/* تنسيق الأزرار في قسم الاتصال */
.btn.phone-link {
    background: linear-gradient(135deg, #2ecc71, #3498db);
    border: none;
}

.btn.email-link {
    border-color: #3498db;
    color: #3498db;
}

.btn.phone-link:hover {
    background: linear-gradient(135deg, #27ae60, #2980b9);
    transform: translateY(-2px);
}

.btn.email-link:hover {
    background: #3498db;
    color: white;
    transform: translateY(-2px);
}

/* ===== إصلاحات خاصة لـ My Setting على الشاشات الصغيرة ===== */
@media (max-width: 991.98px) {
    /* تحسين ظهور القائمة المنسدلة على الجوال */
    .navbar-collapse .dropdown-menu {
        position: static !important;
        transform: none !important;
        float: none;
        width: 100%;
        margin: 5px 0;
        border: 1px solid rgba(255, 255, 255, 0.2);
        background-color: rgba(255, 255, 255, 0.95);
    }

    .navbar-collapse .dropdown-item {
        color: #333 !important;
        padding: 10px 15px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

        .navbar-collapse .dropdown-item:last-child {
            border-bottom: none;
        }

        .navbar-collapse .dropdown-item:hover {
            background-color: #3498db;
            color: white !important;
        }

    /* تحسين ظهور My Setting في القائمة */
    .nav-item.dropdown {
        width: 100%;
        text-align: center;
    }

    .nav-link.dropdown-toggle {
        background-color: rgba(255, 255, 255, 0.1);
        border-radius: 5px;
        margin: 5px 0;
    }
}

/* تحسينات عامة للقائمة على الجوال */
@media (max-width: 768px) {
    .navbar-collapse {
        max-height: 70vh;
        overflow-y: auto;
    }

    .nav-item {
        margin: 2px 0;
    }

    .nav-link-custom {
        text-align: center;
        padding: 10px 15px !important;
    }
}

/* منع التداخل في القائمة المنسدلة */
.dropdown-menu {
    z-index: 1021;
}

.navbar-collapse {
    z-index: 1020;
}

/* تنسيقات أزرار النسخ */
.email-link button {
    transition: all 0.3s ease;
}

    .email-link button:hover {
        background: rgba(255,255,255,0.3) !important;
        transform: scale(1.1);
    }

/* رسالة الإشعار */
.notification {
    font-family: 'Tajawal', sans-serif;
}


/* ===== تنسيقات محسنة للبريد الإلكتروني والهاتف ===== */
.email-link, .phone-link {
    position: relative;
    transition: all 0.3s ease;
}

    .email-link button, .phone-link button {
        transition: all 0.3s ease;
    }

        .email-link button:hover, .phone-link button:hover {
            background: rgba(255,255,255,0.3) !important;
            transform: scale(1.1);
        }

/* تنسيقات الإشعارات */
.notification {
    font-family: 'Tajawal', sans-serif;
    direction: rtl;
    text-align: right;
}

/* تحسينات للروابط على الشاشات الصغيرة */
@media (max-width: 576px) {
    .email-link, .phone-link {
        padding: 10px 8px !important;
    }

        .email-link button, .phone-link button {
            padding: 3px 5px !important;
            font-size: 0.7rem !important;
        }
}

/* تنسيقات خاصة للوضع الليلي */
@media (prefers-color-scheme: dark) {
    .email-link, .phone-link {
        border-color: rgba(255,255,255,0.3) !important;
    }
}



/* ===== تنسيقات الصفحة الرئيسية الجديدة ===== */
.hero-carousel {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.carousel-item {
    height: 100vh;
    position: relative;
}

.carousel-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
}

    .hero-content h2 {
        font-size: 3.5rem;
        font-weight: 700;
        margin-bottom: 1.5rem;
        text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
        animation: fadeInDown 1s ease;
    }

    .hero-content p {
        font-size: 1.4rem;
        margin-bottom: 2rem;
        text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
        animation: fadeInUp 1s ease 0.3s both;
    }

.hero-btn {
    padding: 15px 40px;
    font-size: 1.2rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease 0.6s both;
}

.carousel-controls {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.video-control {
    background: rgba(255, 255, 255, 0.3);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .video-control:hover {
        background: rgba(255, 255, 255, 0.5);
        transform: scale(1.1);
    }

    .video-control img {
        width: 20px;
        height: 20px;
    }

.carousel-indicators {
    bottom: 120px;
}

    .carousel-indicators button {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        margin: 0 5px;
    }

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* قسم الأخبار */
.news-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.news-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

    .news-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    }

.news-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-content {
    padding: 25px;
}

.news-date {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.news-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #2c3e50;
}

/* قسم من نحن */
.about-section {
    padding: 80px 0;
}

.vision-mission-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 15px;
    padding: 40px;
    height: 100%;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

    .vision-mission-card h3 {
        font-size: 1.8rem;
        margin-bottom: 20px;
        border-bottom: 2px solid rgba(255, 255, 255, 0.3);
        padding-bottom: 10px;
    }

/* Responsive */
@media (max-width: 768px) {
    .hero-content h2 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .carousel-content {
        padding: 20px;
    }

    .hero-btn {
        padding: 12px 30px;
        font-size: 1rem;
    }
}

/* تنسيقات الكاروسيل المحسنة */
.hero-carousel {
    position: relative;
    height: 70vh; /* تصغير الارتفاع */
    overflow: hidden;
}

.carousel-item {
    height: 70vh; /* تصغير الارتفاع */
    position: relative;
}

.carousel-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
}

    .hero-content h2 {
        font-size: 2.5rem;
        font-weight: 700;
        margin-bottom: 1.5rem;
        text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    }

    .hero-content p {
        font-size: 1.2rem;
        margin-bottom: 2rem;
        text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
    }

.hero-btn {
    padding: 12px 30px;
    font-size: 1.1rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* تنسيقات قسم الأخبار المحسنة */
.news-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.news-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

    .news-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    }

.news-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

    .news-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-content {
    padding: 25px;
}

.news-date {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.news-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #2c3e50;
}

/* تنسيقات قسم من نحن المحسنة */
.about-section {
    padding: 60px 0;
}

.about-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

    .about-image img {
        width: 100%;
        height: auto;
        transition: transform 0.3s ease;
    }

    .about-image:hover img {
        transform: scale(1.05);
    }

.vision-mission-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 15px;
    padding: 40px;
    height: 100%;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

    .vision-mission-card h3 {
        font-size: 1.8rem;
        margin-bottom: 20px;
        border-bottom: 2px solid rgba(255, 255, 255, 0.3);
        padding-bottom: 10px;
    }

/* Responsive */
@media (max-width: 768px) {
    .hero-carousel {
        height: 50vh;
    }

    .carousel-item {
        height: 50vh;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .carousel-content {
        padding: 20px;
    }

    .hero-btn {
        padding: 10px 25px;
        font-size: 1rem;
    }
}


/* تنسيقات الكاروسيل المحسنة */
.hero-carousel {
    position: relative;
    height: 70vh;
    overflow: hidden;
}

.carousel-item {
    height: 70vh;
    position: relative;
}

.carousel-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.carousel-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
}

    .hero-content h2 {
        font-size: 2.5rem;
        font-weight: 700;
        margin-bottom: 1.5rem;
        text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    }

    .hero-content p {
        font-size: 1.2rem;
        margin-bottom: 2rem;
        text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
    }

.hero-btn {
    padding: 12px 30px;
    font-size: 1.1rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
}

    .hero-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    }

@media (max-width: 768px) {
    .hero-carousel {
        height: 50vh;
    }

    .carousel-item {
        height: 50vh;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }
}


/* التأكد من أن الصفحة تفتح من الأعلى */
html {
    scroll-behavior: smooth;
}

/* إخفاء الأقسام الرئيسية في الصفحات الداخلية */
body:not(.home-page) .news-section,
body:not(.home-page) .about-section,
body:not(.home-page) .support-services,
body:not(.home-page) .support-clients,
body:not(.home-page) .support-contact {
    display: none;
}


/* أنماط قسم برمجة الويب */
.web-dev-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.web-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

    .web-card:hover {
        transform: translateY(-5px);
    }

.web-icon {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

/* أنماط صفحة برمجة الويب */
.service-feature-card {
    text-align: center;
    padding: 2rem 1rem;
    border-radius: 10px;
    background: #f8f9fa;
    transition: all 0.3s ease;
    height: 100%;
}

    .service-feature-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.tech-item {
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
}

    .tech-item:hover {
        transform: scale(1.05);
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }


/* تحسين تجربة فتح الصفحات الداخلية */
.inner-page .hero-carousel {
    margin-bottom: 0;
}

.inner-page main {
    animation: fadeInUp 0.8s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* إضافة مؤشر للمحتوى الجديد */
.page-header {
    position: relative;
}

    .page-header::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 50px;
        height: 3px;
        background: linear-gradient(135deg, #667eea, #764ba2);
        border-radius: 2px;
    }

/* تحسين ظهور المحتوى */
.page-content {
    animation: slideInUp 0.6s ease 0.3s both;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animated-content {
    animation: contentAppear 0.8s ease 0.2s both;
}

@keyframes contentAppear {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}


/* إصلاح مشكلة القائمة المنسدلة في الجوال */
@media (max-width: 991.98px) {
    .navbar-collapse {
        max-height: 70vh;
        overflow-y: auto;
    }

    .dropdown-menu {
        position: static !important;
        float: none;
        width: 100%;
        margin-top: 0;
        border: none;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.1);
    }

    .dropdown-item {
        color: rgba(255, 255, 255, 0.8) !important;
        padding: 0.75rem 1.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

        .dropdown-item:hover {
            background: rgba(255, 255, 255, 0.2) !important;
            color: white !important;
        }

    .dropdown-divider {
        border-color: rgba(255, 255, 255, 0.2);
    }
}

/* تحسين ظهور المحتوى بعد التمرير */
.page-header,
.page-content {
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* تأكيد أن الصفحات الداخلية بتفتح من تحت الكاروسيل */
.inner-page .hero-carousel {
    margin-bottom: 0;
}

.inner-page main {
    min-height: 100vh;
}


/* تسريع ظهور المحتوى */
.page-header,
.page-content,
.container.mt-5 {
    animation: quickFadeIn 0.3s ease-out;
}

@keyframes quickFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* إخفاء الكاروسيل بسرعة في الصفحات الداخلية */
.inner-page .hero-carousel {
    display: none !important;
}

/* تحسين تنسيق قسم برمجة الويب */
.web-dev-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
}

    .web-dev-section .section-title {
        color: white;
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .web-dev-section .section-subtitle {
        color: rgba(255, 255, 255, 0.9);
        font-size: 1.2rem;
    }

.web-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 2rem 1.5rem;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    color: white;
}

    .web-card:hover {
        transform: translateY(-10px);
        background: rgba(255, 255, 255, 0.15);
        box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    }

.web-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.web-card h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.web-card p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

/* زر اكتشف خدمات البرمجة */
.web-dev-section .btn-primary {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid white;
    color: white;
    padding: 12px 30px;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

    .web-dev-section .btn-primary:hover {
        background: white;
        color: #667eea;
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    }

/* ===== تنسيقات مسار التنقل (Breadcrumb) ===== */
.breadcrumb-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 15px 0;
    border-bottom: 1px solid #dee2e6;
    margin-bottom: 30px;
}

.breadcrumb-custom {
    background: none;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
}

    .breadcrumb-custom .breadcrumb-item {
        display: flex;
        align-items: center;
    }

        .breadcrumb-custom .breadcrumb-item + .breadcrumb-item::before {
            content: "›";
            color: #6c757d;
            font-size: 1.2rem;
            padding: 0 10px;
        }

        .breadcrumb-custom .breadcrumb-item a {
            color: #3498db;
            text-decoration: none;
            transition: all 0.3s ease;
            padding: 5px 10px;
            border-radius: 5px;
        }

            .breadcrumb-custom .breadcrumb-item a:hover {
                color: #2c3e50;
                background-color: rgba(52, 152, 219, 0.1);
                text-decoration: none;
            }

        .breadcrumb-custom .breadcrumb-item.active {
            color: #2c3e50;
            font-weight: 600;
        }

            .breadcrumb-custom .breadcrumb-item.active a {
                color: #2c3e50;
                pointer-events: none;
            }

/* تنسيقات الصفحات الداخلية */
.page-header {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: white;
    padding: 60px 0 40px;
    margin-bottom: 40px;
    text-align: center;
}

    .page-header h1 {
        font-size: 2.5rem;
        font-weight: 700;
        margin-bottom: 1rem;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    }

    .page-header .lead {
        font-size: 1.2rem;
        opacity: 0.9;
        max-width: 600px;
        margin: 0 auto;
    }

/* تحسينات للشاشات الصغيرة */
@media (max-width: 768px) {
    .breadcrumb-section {
        padding: 10px 0;
    }

    .breadcrumb-custom {
        font-size: 0.8rem;
    }

    .page-header {
        padding: 40px 0 30px;
    }

        .page-header h1 {
            font-size: 2rem;
        }

        .page-header .lead {
            font-size: 1rem;
        }
}

.breadcrumb-nav {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    direction: rtl;
}

.breadcrumb {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.breadcrumb-nav {
    font-family: 'Arial', 'Helvetica', 'Times New Roman', sans-serif;
    direction: rtl;
    unicode-bidi: bidi-override;
}

.breadcrumb-item a {
    font-family: inherit;
}




/* تنسيقات وسائل التواصل الاجتماعي */
.social-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #fff;
    padding: 10px 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

    .social-link:hover {
        transform: translateX(-5px);
        text-decoration: none;
        color: #fff;
    }

    .social-link i {
        font-size: 1.3rem;
        margin-left: 10px;
        transition: transform 0.3s ease;
    }

    .social-link:hover i {
        transform: scale(1.2);
    }

    /* ألوان خاصة بكل منصة */
    .social-link.facebook:hover {
        background: rgba(59, 89, 152, 0.8);
        border-color: #3b5998;
    }

    .social-link.twitter:hover {
        background: rgba(29, 161, 242, 0.8);
        border-color: #1da1f2;
    }

    .social-link.linkedin:hover {
        background: rgba(0, 119, 181, 0.8);
        border-color: #0077b5;
    }

/* للشاشات الصغيرة */
@media (max-width: 768px) {
    .social-links {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }

    .social-link {
        flex-direction: column;
        padding: 8px 12px;
        min-width: 80px;
    }

        .social-link i {
            margin-left: 0;
            margin-bottom: 5px;
        }

        .social-link span {
            font-size: 0.8rem;
        }
}