/* General Styles */
:root {
    --primary-color: #1a4d7c; /* أزرق داكن للثقة */
    --secondary-color: #28a745; /* أخضر للواتساب */
    --text-color: #333;
    --bg-light: #f8f9fa;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Tajawal', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
    overflow: hidden;
}

/* Navbar */
.navbar {
    background: var(--primary-color);
    color: #fff;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-phone {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Hero Section */
.hero {
    background-size: cover;
    background: linear-gradient(rgba(26, 77, 124, 0.8), rgba(26, 77, 124, 0.8)) ,url('1.png') center;
    color: #fff;
    padding: 100px 0;
    text-align: center;
}

.hero-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-desc {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin: 5px;
    transition: 0.3s;
}

.btn-call { background: #e67e22; color: #fff; }
.btn-whatsapp { background: var(--secondary-color); color: #fff; }
.btn-white { background: #fff; color: var(--primary-color); }
.btn-call-large { background: #e67e22; color: #fff; font-size: 1.5rem; }

/* Sections */
.section { padding: 60px 0; }
.bg-light { background: var(--bg-light); }
.text-center { text-align: center; }

h2 { margin-bottom: 20px; color: var(--primary-color); }

/* Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.service-card {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* CTA Middle */
.cta-middle {
    background: var(--primary-color);
    color: #fff;
    text-align: center;
    padding: 40px 0;
}

/* Features List */
.features-list {
    list-style: none;
    max-width: 600px;
    margin: auto;
}

.features-list li {
    padding: 10px 0;
    font-size: 1.1rem;
    border-bottom: 1px dashed #ccc;
}

/* Footer */
footer {
    background: #222;
    color: #fff;
    text-align: center;
    padding: 20px 0;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title { font-size: 1.8rem; }
    .btn { width: 100%; margin: 10px 0; }
}

:root {
    --primary-color: #1a4d7c;
    --secondary-color: #25d366; /* WhatsApp Green */
    --accent-color: #e67e22; /* Call Orange */
    --text-color: #333;
    --bg-light: #f4f7f6;
}

body { font-family: 'Tajawal', sans-serif; direction: rtl; line-height: 1.6; margin: 0; color: var(--text-color); }
.container { width: 90%; max-width: 1100px; margin: auto; }

/* Navbar */
.navbar { background: var(--primary-color); padding: 15px 0; color: white; position: sticky; top: 0; z-index: 100; }
.navbar .container { display: flex; justify-content: space-between; align-items: center; }
.nav-phone { color: white; text-decoration: none; font-weight: bold; font-size: 1.2rem; border: 1px solid #fff; padding: 5px 15px; border-radius: 50px; }

/* Hero Section */
.hero {
    /*background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('1.png');*/
    background-size: cover; padding: 80px 0; text-align: center; color: white; }
.hero-title { font-size: 2.2rem; margin-bottom: 15px; line-height: 1.3; }
.cta-buttons { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; margin-top: 30px; }
.cta-wrapper { display: flex; flex-direction: column; align-items: center; }
.micro-copy { font-size: 0.85rem; margin-top: 8px; opacity: 0.9; }

/* Buttons */
.btn { padding: 15px 30px; border-radius: 8px; text-decoration: none; font-weight: bold; transition: 0.3s; color: white; display: inline-block; }
.btn-call { background: var(--accent-color); }
.btn-whatsapp { background: var(--secondary-color); }

/* Steps & FAQ */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 30px; }
.step-card { background: white; padding: 30px; border-radius: 10px; text-align: center; position: relative; }
.step-num { background: var(--primary-color); color: white; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 15px; font-weight: bold; }

.faq-item { background: #fff; margin-bottom: 15px; padding: 20px; border-right: 4px solid var(--primary-color); box-shadow: 0 2px 5px rgba(0,0,0,0.05); }
.faq-item h4 { color: var(--primary-color); margin-bottom: 10px; }

/* Responsive */
@media (max-width: 768px) {
    .hero-title { font-size: 1.6rem; }
    .btn { width: 100%; }
}
/* أزرار الاتصال العائمة */

/* تنسيق النموذج */
.contact-form {
    max-width: 500px;
    margin: 30px auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input, .contact-form textarea {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: inherit;
}

/* تنسيق المدونة */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.blog-card {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    border-right: 5px solid var(--primary-color);
}
.floating-call,
.floating-whatsapp {
    position: fixed;
    right: 20px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    text-decoration: none;
    z-index: 9999;
}

.floating-call {
    bottom: 90px;
    background: #e67e22;
}

.floating-whatsapp {
    bottom: 20px;
    background: #25D366;
}
/* Navbar Styling */
.navbar-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
}
.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: bold;
}
.nav-phone i { margin-left: 5px; }

/* Mobile Menu Toggle */
.menu-toggle { display: none; cursor: pointer; font-size: 1.5rem; color: white; }

/* Floating Buttons */
/* الأزرار العائمة المحدثة */


/* إخفاء الأزرار العائمة القديمة لتجنب التكرار */

@media (max-width: 768px) {
    .nav-links { display: none; } /* يمكن إضافة JS لإظهار القائمة */
    .menu-toggle { display: block; }
}
:root {
    --primary-blue: #1a4d7c; /* لون هوية الموقع المعتاد */
}
.navbar {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 15px 0;
    background-color: #ffffff;
}
.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-blue) !important;
}
.nav-link {
    font-weight: 600;
    color: #333 !important;
    margin: 0 5px;
    transition: 0.3s;
}
.nav-link:hover {
    color: var(--primary-blue) !important;
}
.btn-call {
    background-color: #e67e22;
    color: white !important;
    font-weight: bold;
    border-radius: 50px;
    padding: 8px 20px;
    transition: 0.3s;
}
.btn-call:hover {
    background-color: #d35400;
    transform: scale(1.05);
}
/* تعديل المسافات في الجوال */
@media (max-width: 991px) {
    .navbar-nav {
        padding-top: 20px;
        text-align: center;
    }
    .btn-call {
        margin-top: 15px;
        display: block;
        width: 100%;
    }
}
/* تحسين شكل البطاقات */
.contact-info-card, .form-card {
    transition: transform 0.3s ease;
}

.icon-box {
    width: 50px;
    height: 50px;
    background: #eef2f7;
    color: #1a4d7c;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.icon-wa {
    background: #e9f7ef;
    color: #25d366;
}

/* تحسين شكل حقول الإدخال */
.form-control {
    border: 1px solid #e0e0e0;
    background-color: #f8f9fa;
}

.form-control:focus {
    border-color: #1a4d7c;
    background-color: #fff;
}

.text-primary {
    color: #1a4d7c !important;
}

.btn-primary {
    background-color: #1a4d7c;
    border: none;
    padding: 15px;
}

.btn-primary:hover {
    background-color: #143a5d;
}

/* تنسيق الصورة لتكون متجاوبة */
.contact-section img {
    width: 100%;
    height: 250px;
    object-fit: cover; /* لضمان عدم تشوه الصورة */
}
/* تنسيق صور المدونة */
.blog-img {
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* تأثير عند تمرير الفأرة على البطاقة */
.card:hover .blog-img {
    transform: scale(1.1);
}

.card {
    border-radius: 15px;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

.card-body h2 {
    color: #1a4d7c;
    line-height: 1.4;
}

.btn-outline-primary {
    border-color: #1a4d7c;
    color: #1a4d7c;
}

.btn-outline-primary:hover {
    background-color: #1a4d7c;
    border-color: #1a4d7c;
}
.floating-btns {
    position: fixed;
    bottom: 20px;
    right: 20px; /* تغيير الاتجاه لليمين ليناسب تجربة المستخدم */
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff !important; /* ضمان اللون الأبيض للأيقونة */
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    text-decoration: none;
    font-size: 28px;
    transition: transform 0.3s ease;
}

.float-btn:hover {
    transform: scale(1.1);
}

.float-wa {
    background-color: #25D366 !important; /* لون واتساب أخضر صريح */
}

.float-call {
    background-color: #e67e22 !important; /* لون اتصال برتقالي */
}
.btn {
    color: inherit !important; /* يرث اللون من العنصر الأب */
}