/* ======================================================= */
/* == 1. متغيرات الألوان والخطوط (Global Variables & Fonts) == */
/* ======================================================= */
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;800;900&display=swap');

:root {
    --primary-color: #000000;     /* أزرق داكن عميق */
    --secondary-color: #f4b942;   /* ذهبي */
    --accent-color: #000000;      /* رمادي أزرق داكن */
    --light-bg: #f7f9fc;          /* خلفية فاتحة جدًا ونظيفة */
    --white-color: #ffffff;
    --dark-color: #000000;
    --gray-color: #ecf0f1;
    --shadow-color: rgba(0, 0, 0, 0.1);
    /* تم إضافة متغيرات جديدة لتوحيد الألوان */
    --text-secondary: #b0b0b0;    /* نص ثانوي فاتح */
    --border-color: rgba(255, 255, 255, 0.1); /* حدود فاتحة */
    --card-bg: #000000;          /* خلفية البطاقات */
}

body {
    font-family: 'Tajawal', sans-serif;
    color: var(--white-color);
    background-color: #000000; /* لون الخلفية الموحد للموقع بالكامل */
    line-height: 1.8;
    font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--white-color);
    margin-bottom: 1.2rem;
}

/* ======================================================= */
/* == 2. تنسيق الشريط العلوي (Navbar) == */
/* ======================================================= */

/* --- الحالة الافتراضية (للصفحة الرئيسية فقط) --- */
.navbar {
    background-color: rgb(0, 0, 0);
    box-shadow: none;
    padding: 1rem 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(244, 185, 66, 0.3);
}

.navbar-brand {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white-color);
    transition: all 0.3s ease;
}

.navbar-brand img {
    height: 60px;
    transition: transform 0.3s ease;
}

.navbar-brand img:hover {
    transform: scale(1.05);
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--white-color);
    margin: 0 1rem;
    font-size: 1rem;
    transition: color 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background-color: var(--secondary-color);
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 80%;
    left: 10%;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--secondary-color);
}

/* --- الحالة الثابت (لجميع الصفحات الأخرى) --- */
.header-solid .navbar {
    background-color: rgb(0, 0, 0);
    box-shadow: var(--shadow-color);
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(244, 185, 66, 0.3);
}

.header-solid .navbar-brand,
.header-solid .navbar-nav .nav-link {
    color: var(--white-color);
}

.header-solid .navbar-nav .nav-link:hover,
.header-solid .navbar-nav .nav-link.active {
    color: var(--secondary-color);
}

/* --- الحالة عند التمرير للأسفل (Scrolled) --- */
.navbar-scrolled {
    background-color: rgb(0, 0, 0);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-color);
    padding: 0.5rem 0;
    border-bottom-left-radius: 40px;
    border-bottom-right-radius: 40px;
}

body .navbar-scrolled .navbar-brand,
body .navbar-scrolled .navbar-nav .nav-link {
    color: var(--white-color);
}

body .navbar-scrolled .navbar-nav .nav-link:hover {
    color: var(--secondary-color);
}

/* ======================================================= */
/* == 3. تنسيق قسم الهيرو (Hero Section) == */
/* ======================================================= */
.hero-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white-color);
    padding: 180px 0;
    margin-top: -130px;
    overflow: hidden;
}

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-content-wrapper h1 {
    font-size: 3.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: var(--white-color);
}

.hero-content-wrapper .lead {
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 2.5rem;
    color: #e0e0e0;
}

.hero-image-wrapper img {
    max-width: 85%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.4);
    border: 6px solid rgba(244, 185, 66, 0.284);
    transition: transform 0.5s ease-in-out, box-shadow 0.5s ease-in-out;
}

.hero-image-wrapper img:hover {
    transform: scale(1.03);
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

/* ======================================================= */
/* == 4. تنسيق قسم نبذة "من نحن" == */
/* ======================================================= */
.author-bio-section {
    padding: 80px 0;
    background-color: #000000;
}

.author-homepage-img {
    width: 100%;
    max-width: 400px;
    height: 300px;
    object-fit: cover;
    border-radius: 20px;
    border: 2px solid rgba(244, 185, 66, 0.7);
    box-shadow: var(--shadow-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.author-homepage-img:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.author-bio-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white-color);
    margin-bottom: 1.5rem;
}

.author-bio-section .lead {
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-weight: 400;
}

/* ======================================================= */
/* == 5. تنسيق قسم الإحصائيات (Stats) == */
/* ======================================================= */
.stats-section {
    background-color: #3d3d3d;
    color: var(--white-color);
    padding: 60px 0;
    text-align: center;
}

.stat-item {
    padding: 20px;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
}

.stat-item i {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 3.5rem;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    margin: 0;
    line-height: 1;
    color: var(--white-color);
}

.stat-text {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ======================================================= */
/* == 6. تنسيق الأزرار (Buttons) == */
/* ======================================================= */

/* --- الأزرار الرئيسية --- */
.btn.btn-primary {
    background: linear-gradient(45deg, var(--secondary-color), #f5d67e);
    border: none;
    font-weight: 600;
    padding: 14px 35px;
    border-radius: 50px;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(244, 185, 66, 0.3);
    color: var(--bg-dark);
}

.btn.btn-primary:hover {
    background: linear-gradient(45deg, var(--primary-color), #2a3f5f);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(26, 42, 76, 0.4);
    color: var(--white-color);
}

/* --- الزر الثانوي --- */
.btn-secondary {
    background: linear-gradient(45deg, var(--primary-color), #2a3f5f);
    border: none;
    font-weight: 600;
    padding: 14px 35px;
    border-radius: 50px;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(26, 42, 76, 0.3);
    color: var(--white-color);
}

.btn-secondary:hover {
    background: linear-gradient(45deg, var(--secondary-color), #f5d67e);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(244, 185, 66, 0.4);
    color: var(--bg-dark);
}

/* --- الأزرار المحددة (Outline) --- */
.btn-outline-primary,
.btn-outline-secondary,
.btn-outline-success,
.btn-outline-info {
    color: var(--secondary-color);
    border-color: var(--secondary-color);
    font-weight: 600;
    border-radius: 50px;
    padding: 12px 30px;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover,
.btn-outline-secondary:hover,
.btn-outline-success:hover,
.btn-outline-info:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    color: var(--bg-dark);
}

/* ======================================================= */
/* == 7. تنسيق البطاقات (Cards) == */
/* ======================================================= */
.card {
    border: none;
    border-radius: 16px;
    box-shadow: var(--shadow-color);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    background: var(--card-bg); /* استخدام متغير موحد */
}

.card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.card-img-top {
    border-radius: 16px 16px 0 0;
    height: 260px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.card:hover .card-img-top {
    transform: scale(1.08);
}

.card-title {
    font-weight: 700;
    color: var(--white-color);
    font-size: 1.2rem;
}

.card-body {
    padding: 1.5rem;
}

/* ======================================================= */
/* == 8. تنسيق الفوتر == */
/* ======================================================= */
footer {
    background-color: #333333;
    color: var(--white-color);
    font-size: 0.9rem;
    padding-top: 5rem;
    padding-bottom: 1rem;
}

footer h5, footer h6 {
    color: var(--white-color);
    font-weight: 600;
}

.footer-logo {
    max-width: 150px;
    height: auto;
}

.footer-link {
    color: #b0b0b0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--secondary-color);
}

.footer .social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white-color);
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.footer .social-links a:hover {
    background-color: var(--secondary-color);
    color: var(--bg-dark);
    transform: translateY(-3px);
}

.footer .contact-info li {
    color: #b0b0b0;
    margin-bottom: 1rem;
}

.footer .contact-info a {
    color: #b0b0b0;
    text-decoration: none;
}

.footer .contact-info a:hover {
    color: var(--secondary-color);
}

/* ======================================================= */
/* == 9. تصميم متجاوب للهيرو == */
/* ======================================================= */
@media (max-width: 768px) {
    .hero-section {
        padding: 80px 0;
        text-align: center;
    }
    .hero-image-wrapper {
        margin-bottom: 2rem;
    }
    .hero-image-wrapper img {
        max-width: 70%;
    }
    .hero-content-wrapper {
        padding-left: 15px;
        padding-right: 15px;
        align-items: center;
    }
    .hero-content-wrapper h1 {
        font-size: 2.5rem;
    }
    .hero-content-wrapper .lead {
        font-size: 1.2rem;
    }
}

/* ======================================================= */
/* == 10. CSS للغة الإنجليزية (LTR) == */
/* ======================================================= */
html[dir="ltr"] .navbar-brand {
    margin-right: 0;
    margin-left: 25px;
}

html[dir="ltr"] .navbar-nav {
    margin-left: auto;
    margin-right: 0;
}

html[dir="ltr"] .navbar-nav .nav-link {
    margin-right: 0;
    margin-left: 2rem;
}

/* ======================================================= */
/* == 11. تنسيقات لمفتاح تبديل اللغة المنسدل == */
/* ======================================================= */
.lang-switcher-dropdown .dropdown-toggle {
    color: var(--white-color);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    transition: all 0.3s ease;
}

.lang-switcher-dropdown .dropdown-toggle:hover {
    color: var(--secondary-color);
    background-color: rgba(255, 255, 255, 0.1);
}

.lang-switcher-dropdown .dropdown-item.active {
    font-weight: bold;
    color: var(--primary-color);
    background-color: #e9ecef;
}

.lang-switcher-dropdown .dropdown-menu {
    z-index: 1050;
}

/* ======================================================= */
/* == 12. تنسيقات قسم خدماتنا == */
/* ======================================================= */
.services-section {
    background-color: #000000;
}

.service-card {
    background-color: var(--card-bg);
    padding: 2rem 1.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-color);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.12);
    border-color: var(--secondary-color);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem auto;
    background-color: var(--primary-color);
    color: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background-color: var(--secondary-color);
    transform: scale(1.1);
}

.service-card h4 {
    color: var(--white-color);
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 0;
    flex-grow: 1;
}

/* صورة في بطاقة الخدمة */
.service-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px 15px 0 0;
    direction: ltr;
}

/* ======================================================= */
/* == 13. تأثيرات السينمائية لقسم الهيرو == */
/* ======================================================= */
.hero-section {
    overflow: hidden;
    background-size: 120% auto;
    animation: slowPan 40s infinite ease-in-out;
    background-position: 0% 50%;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(2, 71, 78, 0.5);
    z-index: 1;
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
    padding-top: 130px;
    padding-bottom: 50px;
}

@keyframes slowPan {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@media (max-width: 768px) {
    .hero-content-wrapper {
        padding-top: 100px;
    }
    .hero-section {
        animation-duration: 30s;
    }
}

/* ======================================================= */
/* == 14. حل مشكلة ظهور المحتوى من خلال الهيدر الشفاف == */
/* ======================================================= */
main {
    background-color: #000000;
    position: relative;
    z-index: 1;
}

/* ======================================================= */
/* == تأثيرات الحركة عند التمرير (Scroll Animations) == */
/* ======================================================= */
.scroll-animate {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(40px);
}

.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-animate-left {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-60px);
}

.scroll-animate-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.scroll-animate-right {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(60px);
}

.scroll-animate-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scroll-animate-scale {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(0.8);
}

.scroll-animate-scale.visible {
    opacity: 1;
    transform: scale(1);
}

.scroll-animate-delay-1 { transition-delay: 0.1s; }
.scroll-animate-delay-2 { transition-delay: 0.2s; }
.scroll-animate-delay-3 { transition-delay: 0.3s; }
.scroll-animate-delay-4 { transition-delay: 0.4s; }

.card.scroll-animate {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.card.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-card.scroll-animate {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

.stat-item.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-item.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

.author-bio-section .scroll-animate-left,
.author-bio-section .scroll-animate-right {
    transition-duration: 1s;
}

.gallery-img.scroll-animate {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-img.scroll-animate.visible {
    opacity: 1;
    transform: scale(1);
}

/* ======================================================= */
/* == تنسيقات قسم خدماتنا (التصميم الجديد والأكثر أناقة) == */
/* ======================================================= */
.services-section-new {
    background-color: #000000;
    padding: 100px 0;
}

.service-card-new {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card-new:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.service-card-img-wrapper {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.service-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease-in-out;
}

.service-card-new:hover .service-card-img {
    transform: scale(1.15);
}

.service-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(244, 185, 66, 0.85), rgba(2, 71, 78, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}

.service-card-new:hover .service-card-overlay {
    opacity: 1;
}

.service-card-overlay i {
    font-size: 3.5rem;
    color: #ffffff;
    transform: scale(0.8);
    transition: transform 0.4s ease-in-out 0.1s;
}

.service-card-new:hover .service-card-overlay i {
    transform: scale(1);
}

.service-card-body {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-card-body h4 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white-color);
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.service-card-new:hover .service-card-body h4 {
    color: var(--secondary-color);
}

.service-card-body p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-card-link {
    font-weight: 600;
    color: var(--white-color);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    transform: translateX(0);
}

.service-card-link i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.service-card-new:hover .service-card-link {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.service-card-new:hover .service-card-link i {
    transform: translateX(3px);
}

html[dir="ltr"] .service-card-link i {
    transform: rotate(180deg);
    margin-left: 0;
    margin-right: 0.5rem;
}
html[dir="ltr"] .service-card-new:hover .service-card-link {
    transform: translateX(-5px);
}
html[dir="ltr"] .service-card-new:hover .service-card-link i {
    transform: rotate(180deg) translateX(-3px);
}

footer a.text-white:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

footer.bg-dark {
    background-color: #000000 !important;
}

/* ======================================================= */
/* == تعديلات الأقسام الجديدة (لماذا تختارنا، شركاؤنا) == */
/* ======================================================= */

/* --- قسم لماذا تختارنا (الصفحة الرئيسية والصفحة الداخلية) --- */
.why-choose-us-section,
.why-choose-us-page {
    background-color: #000000; /* <-- تغيير الخلفية */
}

.why-choose-us-card {
    background-color: var(--card-bg); /* <-- خلفية داكنة للبطاقة */
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
    border: 1px solid var(--border-color);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.why-choose-us-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.why-choose-us-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1); /* <-- خلفية شبه شفافة */
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.4s ease;
}

.why-choose-us-card:hover .why-choose-us-icon {
    background-color: var(--secondary-color);
    transform: scale(1.1) rotate(5deg);
}

.why-choose-us-icon i {
    font-size: 36px;
    color: var(--secondary-color); /* <-- أيقونة باللون الذهبي */
    transition: all 0.4s ease;
}

.why-choose-us-card:hover .why-choose-us-icon i {
    color: var(--white-color);
}

.why-choose-us-content h4 {
    font-size: 1.4rem;
    color: var(--white-color); /* <-- عنوان أبيض */
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

.why-choose-us-card:hover .why-choose-us-content h4 {
    color: var(--secondary-color);
}

.why-choose-us-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary); /* <-- نص ثانوي فاتح */
    flex-grow: 1;
}
/* ======================================================= */
/* == تنسيقات قسم الشركاء (بالألوان الحقيقية) == */
/* ======================================================= */

.partners-section, 
.partners-page {
    background-color: #000000;
    padding: 80px 0; /* إضافة بعض الهوامش للجمال */
}

.partner-item {
    padding: 20px;
    background-color: rgb(255, 255, 255);
    border-radius: 10px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
}

.partner-logo {
    max-height: 80px;
    width: auto;
    /* تم حذف الفلتر بالكامل لإظهار اللون الأصلي */
    opacity: 0.8; /* جعله شفافًا قليلاً بشكل افتراضي */
    transition: all 0.3s ease-in-out;
}

.partner-item:hover .partner-logo {
    opacity: 1; /* عند التمرير، يصبح الشعار واضحًا بالكامل */
    transform: scale(1.05);
}

.partner-item a {
    text-decoration: none;
}

/* ======================================================= */
/* == حل نهائي لمشكلة النوافذ المنبثقة (Modals) == */
/* ======================================================= */
/* هذا القسم مهم جداً ولا يجب حذفه */
.modal-content {
    background-color: #ffffff;
    color: #212529; /* لون النص الأساسي (أسود داكن) */
}

.modal-title {
    color: #212529;
}

.modal-body {
    color: #212529;
}

.modal .form-label {
    color: #495057;
    font-weight: 500;
}

.modal .form-control {
    color: #212529;
    background-color: #fff;
    border: 1px solid #ced4da;
}

.modal .form-control:focus {
    color: #212529;
    background-color: #fff;
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.modal .btn-secondary {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
}

.modal .btn-primary {
    color: #fff;
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.modal .btn-danger {
    color: #fff;
    background-color: #dc3545;
    border-color: #dc3545;
}

.modal a {
    color: #0d6efd;
}
.modal a:hover {
    color: #0a58ca;
}
/* ======================================================= */
/* == إصلاح نهائي لألوان النصوص وجعلها بيضاء == */
/* ======================================================= */

/* تجاوز لون النصوص المكتتومة (muted) من Bootstrap وجعلها بيضاء */
.text-muted {
    color: var(--white-color) !important;
}

/* التأكد من أن جميع الفقرات (p) بيضاء في كل الأقسام */
section p,
.card p,
.service-card p,
.why-choose-us-content p,
.author-bio-section p {
    color: var(--white-color) !important;
}

/* التأكد من أن نصوص البطاقات بيضاء */
.card-text {
    color: var(--white-color) !important;
}

/* تعديل لون النص الثانوي في الأقسام ليكون أبيض بالكامل */
.service-card p,
.why-choose-us-content p {
    color: var(--white-color) !important; /* تجاوز اللون الرمادي الفاتح */
}
/* ======================================================= */
/* == إصلاح مشكلة طبقات الشريط العلوي والمحتوى == */
/* ======================================================= */

/* جعل الشريط العلوي دائماً في الأعلى */
.navbar {
    z-index: 1030; /* قيمة عالية تضمن بقاءه فوق كل العناصر */
}

/* التأكد من أن المحتوى الرئيسي لا يتجاوز الشريط */
main {
    z-index: 1; /* أو يمكن حذف الخاصية بالكامل */
    position: relative;
}
/* زر واتساب العائم */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 6px rgba(0,0,0,0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 26px;
    }
}