/* ==========================================
   إعدادات المتغيرات والألوان الهادئة
   ========================================== */
:root {
    --bg-light: #f4f8fb;          /* أبيض مائل للأزرق الخفيف جداً */
    --accent-blue: #4a90e2;       /* أزرق هادئ للمربعات والأيقونات */
    --accent-soft: #eef5fc;       /* خلفية الأزرق الناعم للأيقونة */
    --text-dark: #2c3e50;         /* كحلي داكن للنصوص */
    --text-muted: #7f8c8d;        /* رمادي أنيق للنصوص الفرعية */
    --white: #ffffff;
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 8px 25px rgba(74, 144, 226, 0.15);
}

/* ==========================================
   إعدادات العامة والتنقل
   ========================================== */
html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Cairo', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    direction: rtl;
}

/* ==========================================
   الشريط العلوي (Navbar)
   ========================================== */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    z-index: 1000;
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 14px 20px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 700;
    font-size: 1.05rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-blue);
}

/* ==========================================
   الواجهة الرئيسية (Hero Section)
   ========================================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f4f8fb 0%, #eef5fc 100%);
    padding: 90px 20px 40px;
    text-align: center;
}

.hero-container {
    max-width: 800px;
}

.hero-logo-wrapper {
    margin-bottom: 25px;
}

.hero-logo {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(74, 144, 226, 0.12);
    border: 4px solid var(--white);
    transition: transform 0.4s ease;
}

.floating-element {
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.main-title {
    font-size: 2.3rem;
    font-weight: 800;
    color: var(--accent-blue);
    margin-bottom: 10px;
}

.sub-title {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.btn-primary {
    background-color: var(--accent-blue);
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.btn-whatsapp {
    background-color: #25d366;
    color: var(--white);
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.25);
}

/* ==========================================
   قسم المربعات - 2x2 (اتنين جنب اتنين)
   ========================================== */
.features-section {
    padding: 40px 15px 60px;
    background-color: var(--bg-light);
}

.features-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.section-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 30px;
}

/* تقسيم المربعات: 2 في كل صف دائماً */
.quad-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.quad-card {
    background: var(--white);
    padding: 20px 12px;
    border-radius: 16px;
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.quad-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.quad-icon {
    width: 50px;
    height: 50px;
    background-color: var(--accent-blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 12px;
    box-shadow: 0 5px 12px rgba(74, 144, 226, 0.25);
}

.quad-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.quad-card p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
    }
    /* ==========================================
   قسم الخدمات (Services Section)
   ========================================== */
.services-section {
    padding: 60px 20px 80px;
    background-color: var(--white);
}

.services-container {
    max-width: 1100px;
    margin: 0 auto;
}

.services-header {
    text-align: center;
    margin-bottom: 45px;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    margin-top: -10px;
}

/* شبكة كروت الخدمات */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-card);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

/* تعديل عرض الصور بالكامل بدون قص */
.service-img-wrapper {
    position: relative;
    width: 100%;
    height: 190px;
    background-color: #fcfcfc;
    padding: 10px;
    box-sizing: border-box;
}

.service-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* إظهار الصورة بالكامل دون اقتطاع */
}

.service-icon {
    position: absolute;
    bottom: -22px;
    left: 50%;
    transform: translateX(-50%);
    width: 46px;
    height: 46px;
    background-color: var(--accent-blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    border: 3px solid var(--white);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}

/* محتوى الكارت والنقاط */
.service-content {
    padding: 35px 20px 20px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-content h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.service-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 15px;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    text-align: right;
    display: inline-block;
}

.service-list li {
    font-size: 0.88rem;
    color: var(--text-dark);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-list li i {
    color: var(--accent-blue);
    font-size: 0.8rem;
}

/* زر احجز الآن للخدمة */
.btn-service-booking {
    margin-top: auto;
    background-color: var(--accent-blue);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.2);
}

.btn-service-booking:hover {
    background-color: #357abd;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(74, 144, 226, 0.35);
}
/* ==========================================
   قسم حجز المواعيد (Booking Section)
   ========================================== */
.booking-section {
    padding: 70px 20px 90px;
    background-color: #fcfcfc;
}

.booking-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
}

/* الجهة اليمنى */
.booking-info {
    flex: 1;
    min-width: 300px;
    padding-top: 20px;
}

.booking-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.booking-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 35px;
    line-height: 1.6;
}

.booking-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.feature-icon {
    width: 45px;
    height: 45px;
    background-color: ⁠#eef5ff⁠;
    color: #4a80e2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
}

.feature-text {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark);
}

/* الجهة اليسرى: نموذج الحجز */
.booking-card {
    flex: 1.2;
    min-width: 320px;
    background: var(--white);
    padding: 30px 25px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.form-group {
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.92rem;
    font-family: inherit;
    color: var(--text-dark);
    background-color: #fafafa;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #c5a059;
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.15);
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-row .form-group {
    flex: 1;
}

.btn-submit-booking {
    width: 100%;
    background-color: #4a80e2;
    color: #ffffff;
    border: none;
    padding: 14px;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.3);
}

.btn-submit-booking:hover {
    background-color: #b08c48;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(197, 160, 89, 0.4);
}

/* التجاوب مع الشاشات الصغيرة */
@media (max-width: 768px) {
    .booking-container {
        flex-direction: column;
    }
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}
/* ==========================================
   قسم تواصل معنا (Contact Section)
   ========================================== */
.contact-section {
    padding: 70px 20px 60px;
    background-color: #ffffff;
}

.contact-header {
    text-align: center;
    margin-bottom: 50px;
}

.contact-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-dark, #1f2937);
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.contact-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color, #4a80e2);
    margin: 8px auto 0;
    border-radius: 2px;
}

.contact-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted, #6b7280);
}

.contact-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

/* الجهة اليسرى: كارت صورة الخريطة */
.map-card-wrapper {
    flex: 1;
    min-width: 300px;
}

.map-card-link {
    display: block;
    text-decoration: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.map-card-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(74, 128, 226, 0.2);
}

.map-image-box {
    position: relative;
    width: 100%;
    height: 280px;
    background-color: #f3f4f6;
    overflow: hidden;
}

.map-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.map-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent);
    padding: 20px 15px 15px;
    color: #ffffff;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 700;
}

.map-icon {
    font-size: 1.2rem;
    color: var(--primary-color, #4a80e2);
}

/* الجهة اليمنى: العنوان والهاتف */
.contact-info-list {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: #eef5ff;
    color: var(--primary-color, #4a80e2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(74, 128, 226, 0.12);
}

.contact-text-box h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-dark, #1f2937);
    margin-bottom: 6px;
}

.contact-text-box p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-muted, #4b5563);
    margin: 0;
}

.address-link, .phone-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.address-link:hover, .phone-link:hover {
    color: var(--primary-color, #4a80e2);
}

/* وسائل التواصل الاجتماعي */
.social-section {
    margin-top: 70px;
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid #f0f0f0;
}

.social-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-dark, #1f2937);
    margin-bottom: 25px;
}

.social-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 22px;
    border-radius: 12px;
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
    color: #ffffff;
}

/* ألوان أزرار السوشيال ميديا */
.social-btn.facebook {
    background-color: #3b5998;
}

.social-btn.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-btn.tiktok {
    background-color: #000000;
}

/* التجاوب مع الجوال */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column-reverse;
    }
    .social-buttons {
        gap: 10px;
    }
    .social-btn {
        padding: 9px 16px;
        font-size: 0.9rem;
    }
}
/* ==========================================
   الفوتر (Footer Styling)
   ========================================== */
.main-footer {
    background-color: #1a2744; /* لون أزرق كحلي أنيق وداكن */
    color: #e5e7eb;
    padding-top: 60px;
    font-size: 0.95rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.footer-col {
    flex: 1;
    min-width: 220px;
}

.brand-col {
    flex: 1.3;
}

.footer-logo h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 15px;
}

.footer-description {
    line-height: 1.7;
    color: #9ca3af;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.footer-social-icons {
    display: flex;
    gap: 12px;
}

.footer-social-icons a {
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social-icons a:hover {
    background-color: #4a80e2;
    transform: translateY(-3px);
}

.footer-heading {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 35px;
    height: 2px;
    background-color: #4a80e2;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #ffffff;
    padding-right: 5px;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    color: #9ca3af;
    line-height: 1.5;
}

.footer-contact i {
    color: #4a80e2;
    font-size: 1.1rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-contact a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: #ffffff;
}

/* الشريط السفلي للحقوق */
.footer-bottom {
    background-color: #111827;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    color: #6b7280;
    font-size: 0.88rem;
}

/* التجاوب مع الهاتف المحمول */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        gap: 35px;
    }
}

