/* --- Global Styles & Variables --- */
:root {
    --primary-color: #3c8186; /* Darker Blue from logo area */
    --secondary-color: #4b9fa5; /* Lighter Teal/Blue for buttons */
    --accent-color: #f3a001; /* Gold/Yellow for stars & accent button */
    --text-color: #333;
    --light-text-color: #666;
    --bg-color: #ffffff;
    --light-gray-bg: #f8f9fa;
    --border-color: #e0e0e0;
    --card-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    --border-radius: 8px;
    --font-family: "Cairo", sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.7;
    overflow-x: hidden; /* Prevent horizontal scroll from animations */
}
button {
    font-family: var(--font-family);
}
html {
    scroll-behavior: smooth;
}

.container {
    width: 90%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
}

h1,
h2,
h3,
h4 {
    color: var(--primary-color);
    margin-bottom: 0.8em;
    font-weight: 700;
}

h2.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 40px;
    position: relative;
}
h2.section-title::after {
    content: "";
    display: block;
    width: 70px;
    height: 4px;
    background-color: var(--secondary-color);
    margin: 10px auto 0;
    border-radius: 2px;
}

p {
    margin-bottom: 1em;
    color: var(--light-text-color);
}

a {
    text-decoration: none;
    color: var(--secondary-color);
    transition: color 0.3s ease;
}
a:hover {
    color: var(--primary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--border-radius);
    font-weight: 500;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: #fff;
}
.btn-primary:hover {
    background-color: #3c8186; /* Darken a bit */
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}
.btn-secondary:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
}

.btn-nav {
    background-color: #fff;
    color: var(--primary-color);
    padding: 10px 20px;
    font-weight: bold;
}
.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn-accent {
    background-color: var(--accent-color);
    color: #fff;
}
.btn-accent:hover {
    background-color: #d88c00;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.full-width {
    width: 100%;
    display: block;
}

/* --- Header --- */
#header {
    background-color: #3c8186;
    padding: 9px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}
#header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    display: flex;
    align-items: center;
    color: var(--primary-color);
    text-decoration: none;
}
.logo-icon {
    width: 300px;
    /* height: 70px; */
    margin-left: 10px;
}
@media (min-width: 992px) and (max-width: 1076px) {
    .none-nav-item {
        display: none;
    }
}
.logo h1 {
    font-size: 1.8rem;
    margin-bottom: 0;
    font-weight: 800;
}
#header nav ul {
    display: flex;
    align-items: center;
}
#header nav li {
    margin-right: 25px;
}
#header nav a.nav-link {
    color: #fff;
    font-weight: bold;
    padding-bottom: 5px;
    position: relative;
}
#header nav a.nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}
#header nav a.nav-link:hover::after,
#header nav a.nav-link.active::after {
    width: 100%;
}
#mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* --- Hero Section --- */
.hero-section {
    background-color: var(--light-gray-bg);
    padding: 80px 0;
    min-height: 70vh;
    display: flex;
    align-items: center;
}
.hero-section .container {
    display: flex;
    align-items: center;
    gap: 40px;
}
.hero-content {
    flex: 1;
}
.hero-content h2 {
    font-size: 2.8rem;
    line-height: 1.3;
    margin-bottom: 20px;
}
.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 500px;
}
.hero-buttons .btn {
    margin-right: 15px;
    margin-bottom: 10px; /* For wrapping on small screens */
}
.hero-image {
    flex: 1;
    text-align: center; /* Or right for RTL */
}
.hero-image img {
    max-width: 500px; /* Adjust as needed */
    animation: floatAnimation 3s ease-in-out infinite;
}

@keyframes floatAnimation {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

/* --- Rating Section --- */
.rating-section {
    padding: 60px 0;
    text-align: center;
    background: linear-gradient(
        to bottom,
        var(--light-gray-bg) 50%,
        var(--bg-color) 50%
    );
}
.rating-section .container {
    background-color: var(--bg-color);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    transform: translateY(-30px); /* Pulls it up slightly */
}
.stars {
    margin-bottom: 20px;
    animation: pulseStars 2s infinite;
}
.stars .fa-star {
    font-size: 3.2rem;
    color: var(--accent-color);
    margin: 0 5px;
}

.rating-section h3 {
    margin-top: 35px;
    font-size: 1.6rem;
    margin-bottom: 25px;
    color: var(--text-color);
}

@keyframes pulseStars {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* --- Stats Section --- */
.stats-section {
    padding: 50px 0;
    background-color: var(--bg-color);
}
.stats-section .container {
    display: flex;
    justify-content: space-around;
    gap: 30px;
    flex-wrap: wrap;
}
.stat-card {
    background-color: var(--bg-color);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    text-align: center;
    flex-basis: calc(50% - 15px); /* Two cards per row */
    max-width: 350px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}
.icon-lg {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}
.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}
.stat-label {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 10px;
}
.stat-card p {
    font-size: 0.9rem;
    color: var(--light-text-color);
}

/* --- Features Section --- */
.features-section {
    padding: 80px 0;
    background-color: var(--light-gray-bg);
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.feature-item {
    background-color: var(--bg-color);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}
.feature-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    display: inline-block;
    background-color: #eaf6fc;
    width: 70px;
    height: 70px;
    line-height: 70px;
    border-radius: 50%;
}
.feature-item h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

/* --- Pricing Section --- */
.pricing-section {
    padding: 80px 0;
}
.pricing-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
}
.pricing-cards {
    flex: 3; /* Takes more space */
    display: flex;
    gap: 30px;
}
.pricing-card {
    background-color: var(--bg-color);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    flex: 1;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}
.pricing-card.featured {
    border: 2px solid var(--secondary-color);
    transform: scale(1.05); /* Make it stand out a bit */
    box-shadow: 0 10px 25px rgba(77, 176, 224, 0.2);
}
.pricing-card h3 {
    text-align: center;
    font-size: 1.5rem;
}
.price {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 25px;
}
.price .currency {
    font-size: 1.2rem;
    font-weight: 500;
}
.pricing-card ul {
    margin-bottom: 25px;
    flex-grow: 1; /* Makes button stick to bottom */
}
.pricing-card li {
    margin-bottom: 10px;
    color: var(--light-text-color);
    display: flex;
    align-items: center;
}
.pricing-card li .fa-check-circle {
    color: var(--secondary-color);
    margin-left: 8px;
    font-size: 1.1em;
}
.pricing-image {
    flex: 2; /* Takes less space */
    text-align: center;
}
.pricing-image img {
    max-width: 350px; /* Adjust */
    margin-bottom: 20px;
}
.partner-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}
.partner-logos img {
    height: 30px; /* Adjust */
    opacity: 0.7;
    transition: opacity 0.3s ease;
}
.partner-logos img:hover {
    opacity: 1;
}

/* --- Footer --- */
.site-footer {
    background-color: var(--primary-color);
    color: #fff;
    padding: 60px 0 20px;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}
.footer-column h4 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.2rem;
    position: relative;
}
.footer-column h4::after {
    content: "";
    display: block;
    width: 30px;
    height: 2px;
    background-color: var(--secondary-color);
    margin-top: 5px;
}
.footer-column ul li {
    margin-bottom: 10px;
}
.footer-column ul li a {
    color: #c0c0c0;
    font-size: 0.95rem;
}
.footer-column ul li a:hover {
    color: #fff;
    padding-right: 5px; /* Slight indent on hover */
}
.social-icons a {
    color: #c0c0c0;
    font-size: 1.5rem;
    margin-left: 15px;
    transition: color 0.3s ease, transform 0.3s ease;
}
.social-icons a:hover {
    color: #fff;
    transform: scale(1.1);
}
.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #fff;
    font-weight: bold;
}

/* --- Animation Classes (for JS) --- */
.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in {
    opacity: 0;
}
.fade-in.is-visible {
    opacity: 1;
}
.fade-in-up {
    opacity: 0;
    transform: translateY(50px);
}
.fade-in-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.slide-in-left {
    opacity: 0;
    transform: translateX(-100px);
}
.slide-in-left.is-visible {
    opacity: 1;
    transform: translateX(0);
}
.slide-in-right {
    opacity: 0;
    transform: translateX(100px);
}
.slide-in-right.is-visible {
    opacity: 1;
    transform: translateX(0);
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
    .hero-section .container,
    .pricing-wrapper {
        flex-direction: column;
        text-align: center;
    }
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-buttons .btn {
        margin-right: 5px;
        margin-left: 5px; /* Center buttons better */
    }
    .hero-image img {
        margin-top: 30px;
        max-width: 80%;
    }
    .pricing-cards {
        flex-direction: column;
        width: 100%;
    }
    .pricing-card.featured {
        transform: scale(1); /* Reset featured card scale */
    }
    .pricing-image {
        margin-top: 40px;
    }
    #header nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%; /* Position below header */
        right: 0;
        background-color: var(--bg-color);
        width: 100%;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 10px 0;
    }
    #header nav ul.active {
        display: flex;
    }
    #header nav li {
        margin: 10px 0;
        text-align: center;
        width: 100%;
    }
    #header nav a.btn-nav {
        display: block;
        margin: 10px auto;
        width: 80%;
    }
    #mobile-menu-toggle {
        display: block;
    }

    .stats-section .container {
        flex-direction: column;
        align-items: center;
    }
    .stat-card {
        flex-basis: 100%;
        max-width: 400px; /* Allow full width on small screens */
    }
}

@media (max-width: 768px) {
    h2.section-title {
        font-size: 1.8rem;
    }
    .hero-content h2 {
        font-size: 2.2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr; /* Stack footer columns */
        text-align: center;
    }
    .footer-column h4::after {
        margin: 5px auto 0;
    }
    .social-icons {
        margin-top: 10px;
    }
    .social-icons a {
        margin: 0 10px;
    }
}

@media (max-width: 480px) {
    .container {
        width: 95%;
    }
    .hero-content h2 {
        font-size: 1.8rem;
    }
    .hero-content p {
        font-size: 1rem;
    }
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    .stars .fa-star {
        font-size: 1.5rem;
    }
    .rating-section h3 {
        font-size: 1.3rem;
    }
    .stat-number {
        font-size: 2rem;
    }
}
::-webkit-scrollbar,
.mainbg::-webkit-scrollbar {
    background-color: #fff;
    width: 10px;
}

::-webkit-scrollbar-thumb,
.mainbg::-webkit-scrollbar-thumb {
    background: #e59701;
}
/* --- Newsletter Subscription Styles --- */
.newsletter-subscription {
    margin-top: 20px; /* مسافة إذا كانت الأعمدة فوق بعضها في شاشات صغيرة */
}

.newsletter-subscription h4 {
    margin-bottom: 10px; /* تعديل الهامش ليتناسب مع الفقرة */
    /* يمكن استخدام نفس أنماط h4 الأخرى في الفوتر */
}

.newsletter-subscription p {
    font-size: 1rem;
    color: var(--text-light-footer, #c0c0c0);
    margin-bottom: 15px;
    line-height: 1.5;
}

.subscription-form-group {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color-footer, #555); /* لون حدود مناسب لخلفية الفوتر الداكنة */
    border-radius: var(--border-radius, 8px);
    overflow: hidden; /* لضمان أن الزر لا يتجاوز الحدود المنحنية */
    background-color: var(
        --bg-input-footer,
        #2d3748
    ); /* لون خلفية داكن لحقل الإدخال */
    /* padding: 0 7px; */
}

.subscription-form-group input[type="email"] {
    flex-grow: 1;
    padding: 12px 15px;
    border: none;
    outline: none;
    font-family: var(--font-family);
    font-size: 0.95rem;
    background-color: transparent; /* جعل الخلفية شفافة لتظهر خلفية الـ div */
    color: var(--text-input-footer, #e2e8f0); /* لون نص فاتح */
}
.subscription-form-group input[type="email"]::placeholder {
    color: var(--placeholder-footer, #718096); /* لون placeholder */
}

.subscription-form-group button {
    padding: 12px 15px;
    border: none;
    background-color: var(
        --primary-color
    ); /* استخدم لونك الأساسي أو لون accent */
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 1rem; /* حجم أيقونة الإرسال */
}
.subscription-form-group button:hover {
    background-color: var(
        --primary-color-darker,
        #2c7a7b
    ); /* لون أغمق عند المرور */
}
.subscription-form-group button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.subscription-message {
    margin-top: 10px;
    padding: 8px;
    border-radius: 4px;
    font-size: 0.85rem;
    text-align: center;
}
.subscription-message.success {
    background-color: #d1e7dd; /* لون نجاح فاتح */
    color: #0f5132;
    border: 1px solid #badbcc;
}
.subscription-message.error {
    background-color: #f8d7da; /* لون خطأ فاتح */
    color: #842029;
    border: 1px solid #f5c2c7;
}

/* تعديلات على footer-grid للسماح بأربعة أعمدة إذا كانت الشاشة كبيرة كفاية */
.footer-grid {
    /* grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); */ /* هذا جيد لـ 3 أعمدة أو أقل */
    /* إذا أردت 4 أعمدة، قد تحتاج لتحديدها بشكل صريح */
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(1, 1fr); /* افتراضي لشاشات صغيرة جداً */
}

@media (min-width: 576px) {
    /* شاشات صغيرة */
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 992px) {
    /* شاشات متوسطة وكبيرة */
    .footer-grid {
        grid-template-columns: repeat(4, 1fr); /* 4 أعمدة */
    }
    .newsletter-subscription {
        margin-top: 0; /* إزالة الهامش العلوي إذا كانت الأعمدة متجاورة */
    }
}

.footer-logo-img {
    /* لتنسيق الشعار في الفوتر إذا كان مختلفًا */
    max-width: 100px; /* اضبط الحجم حسب الحاجة */
    margin-bottom: 15px;
    display: block; /* لجعله يأخذ مساحة خاصة */
    margin-right: auto; /* لتوسيطه إذا كان العمود أوسع */
    margin-left: auto;
}
.fab-request-contract {
    position: fixed; /* لتثبيت موضعه بالنسبة لنافذة العرض */
    bottom: 25px; /* المسافة من الأسفل */
    right: 25px; /* المسافة من اليمين (لـ RTL) */
    /* left: 25px; */ /* استخدم هذا بدلاً من right إذا كان موقعك LTR */
    z-index: 999; /* لضمان ظهوره فوق العناصر الأخرى */

    background-color: var(
        --primary-color,
        #3e838c
    ); /* استخدم لونك الأساسي أو لون مميز */
    color: white;
    width: 60px; /* عرض الأيقونة */
    height: 60px; /* ارتفاع الأيقونة */
    border-radius: 50%; /* لجعله دائريًا */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    transition: all 0.3s ease;
    overflow: hidden; /* لإخفاء النص الزائد مبدئيًا */
}

.fab-request-contract i {
    font-size: 1.8rem; /* حجم الأيقونة */
    transition: transform 0.3s ease;
}

.fab-request-contract .fab-text {
    position: absolute;
    /* تحديد اتجاه ظهور النص بناءً على اتجاه الصفحة */
    right: 70px; /* لـ RTL، اجعله على يمين الأيقونة */
    /* left: 70px; */ /* استخدم هذا إذا كان موقعك LTR */
    white-space: nowrap; /* لمنع التفاف النص */
    background-color: var(
        --primary-color,
        #3e838c
    ); /* نفس لون الأيقونة أو أغمق قليلاً */
    color: white;
    padding: 8px 15px;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 500;
    opacity: 0; /* إخفاء النص مبدئيًا */
    visibility: hidden; /* إخفاء النص مبدئيًا */
    transform: translateX(
        10px
    ); /* إزاحة بسيطة لليمين (لـ RTL) لإعطاء تأثير ظهور */
    /* transform: translateX(-10px); */ /* استخدم هذا إذا كان موقعك LTR */
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.fab-request-contract:hover {
    /* يمكنك توسيع حجم الأيقونة عند المرور أو تغيير لونها */
    background-color: var(
        --secondary-color,
        #2766a9
    ); /* لون مختلف عند المرور */
    /* width: auto; */ /* إذا أردت أن يتمدد الزر ليشمل النص (تصميم مختلف) */
    /* padding-right: 20px; */ /* إذا تمدد الزر (لـ RTL) */
    transform: scale(1.05); /* تكبير طفيف للزر */
}

.fab-request-contract:hover i {
    transform: rotate(15deg); /* تأثير دوران خفيف للأيقونة */
    color: #fff;
}

.fab-request-contract:hover .fab-text {
    opacity: 1;
    visibility: visible;
    transform: translateX(0); /* إعادة النص لمكانه الأصلي */
}

/* تعديلات للشاشات الصغيرة إذا أردت تصغير حجم الزر */
@media (max-width: 768px) {
    .fab-request-contract {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        /* left: 20px; */ /* لـ LTR */
    }
    .fab-request-contract i {
        font-size: 1.5rem;
    }
    .fab-request-contract .fab-text {
        /* قد تحتاج لتعديل موضع النص قليلاً على الشاشات الصغيرة */
        right: 60px; /* لـ RTL */
        /* left: 60px; */ /* لـ LTR */
        font-size: 0.85rem;
        padding: 6px 12px;
    }
}
.nav-icon {
    margin-left: 6px; /* لـ RTL */
    /* margin-right: 6px; */ /* لـ LTR */
    font-size: 0.9em; /* تعديل حجم الأيقونة ليناسب النص */
}

#mobile-menu-toggle i {
    /* لإزالة الـ style المضمن */
    color: var(--text-light, #fff); /* لون أيقونة القائمة المنسدلة */
    font-size: 1.8rem; /* حجم الأيقونة */
}

/* --- Contract Inquiry Modal Styles --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* خلفية معتمة */
    display: none; /* مخفي افتراضيًا */
    justify-content: center;
    align-items: center;
    z-index: 1050; /* ليكون فوق معظم العناصر */
    opacity: 0;
    transition: opacity 0.3s ease;
}
.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-container {
    background-color: #fff;
    color: var(--text-dark, #333);
    padding: 25px 30px;
    border-radius: var(--border-radius, 8px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25);
    width: 90%;
    max-width: 500px;
    position: relative;
    transform: scale(0.95);
    transition: transform 0.3s ease;
    text-align: right; /* لـ RTL */
}
.modal-overlay.active .modal-container {
    transform: scale(1);
}

.modal-close-btn {
    position: absolute;
    top: 15px;
    left: 15px; /* لـ RTL */
    /* right: 15px; */ /* لـ LTR */
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #aaa;
    cursor: pointer;
    padding: 5px;
    line-height: 1;
}
.modal-close-btn:hover {
    color: var(--text-dark, #333);
}

.modal-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color, #eee);
}
.modal-header h3 {
    margin: 0;
    font-size: 1.6rem;
    color: var(--primary-color, #3e838c);
    text-align: center;
}

.modal-body p {
    margin-bottom: 20px;
    font-size: 1rem;
    color: var(--text-light, #555);
    line-height: 1.6;
}

.modal-body .form-group {
    margin-bottom: 20px;
}
.modal-body .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}
.modal-body input[type="text"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color, #ccc);
    border-radius: 6px;
    font-family: var(--font-family, "Tajawal", sans-serif);
    font-size: 1rem;
    box-sizing: border-box;
}
.modal-body input[type="text"]:focus {
    border-color: var(--primary-color, #3e838c);
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(var(--rgb-primary-color, 62, 131, 140), 0.25); /* افترض أن لديك متغير RGB */
}
.modal-body .error-message {
    display: block;
    color: var(--error-color, #dc3545);
    font-size: 0.85rem;
    margin-top: 5px;
    min-height: 1em; /* لحجز مساحة حتى لو كانت فارغة */
}

.btn-submit-inquiry {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: var(--primary-color, #3e838c);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.btn-submit-inquiry i {
    margin-left: 8px; /* لـ RTL */
}
.btn-submit-inquiry:hover {
    background-color: var(
        --secondary-color,
        #2766a9
    ); /* أو لون أغمق من الأساسي */
}

.modal-footer {
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color, #eee);
    text-align: center;
}
.modal-footer .small-text {
    font-size: 0.9rem;
    color: var(--text-light, #555);
}
.modal-footer .small-text a {
    color: var(--primary-color, #3e838c);
    text-decoration: none;
}
.modal-footer .small-text a:hover {
    text-decoration: underline;
}

/* لإضافة كلاس active للرابط الحالي في النافبار */
#main-nav-ul .nav-link.active {
    font-weight: bold;
    color: var(--accent-color, #ffc107); /* أو أي لون تمييز آخر */
    border-bottom: 2px solid var(--accent-color, #ffc107);
}
