/* تحسين شكل الصفوف */
.detailed-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 20px 0;
}

.detailed-features span {
    font-size: 0.95rem;
    color: #444;
}

.detailed-features i {
    color: #BCA15B; /* ذهبي ريادة */
    margin-right: 8px;
}

/* زر الطلب */
.apply-btn {
    padding: 15px 35px;
    background: #0B3B69;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.apply-btn:hover {
    background: #BCA15B;
    transform: scale(1.05);
}

/* Modal Styling */
.modal {
    display: none; 
    position: fixed;
    z-index: 10000;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 40px;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    position: relative;
    text-align: center;
}

.close {
    position: absolute;
    right: 20px; top: 15px;
    font-size: 28px;
    cursor: pointer;
}

.input-field input {
    width: 100%;
    padding: 15px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.submit-form-btn {
    width: 100%;
    padding: 15px;
    background: #BCA15B;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    margin-top: 20px;
    cursor: pointer;
}



/* --- INSURANCE SERVICES SECTION --- */
.insurance-services-page{
    margin-top: 100px;
}
.insurance-services {
    padding: 100px 10%;
    background-color: #f9f9f9;
    color: #333;
    font-family: 'Segoe UI', sans-serif;
}

.insurance-services .container {
    max-width: 1200px;
    margin: 0 auto;
}

/* تنسيق العنوان الرئيسي للسيكشن */
.section-title {
    color: #0B3B69; /* لون الكحلي الخاص بـ "ريادة" */
    font-size: 2.8rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-subtitle {
    color: #666;
    font-size: 1.1rem;
    text-align: center;
    max-width: 700px;
    margin: 0 auto 80px;
    line-height: 1.6;
}

/* الصف الواحد (Flex Container) */
/* ===== Services Section ===== */
.services-section {
    padding: 5rem 2rem;
    background: var(--bg-color);
}

.service-row {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-bottom: 4rem;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 6px 32px rgba(11, 59, 105, 0.08);
    transition: box-shadow 0.3s ease;
}

.service-row:hover {
    box-shadow: 0 12px 48px rgba(11, 59, 105, 0.14);
}

.service-row.reversed {
    flex-direction: row-reverse;
}

.service-image {
    flex: 0 0 420px;
    height: 320px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.service-row:hover .service-image img {
    transform: scale(1.05);
}

.service-text {
    flex: 1;
    padding: 2.5rem 3rem 2.5rem 1.5rem;
}

.service-row.reversed .service-text {
    padding: 2.5rem 1.5rem 2.5rem 3rem;
}

.service-category {
    display: inline-block;
    background: rgba(188, 161, 91, 0.12);
    color: var(--secondary-color);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 12px;
    border: 1px solid rgba(188, 161, 91, 0.3);
}

.service-divider {
    width: 44px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
    margin-bottom: 16px;
}

.service-text h3 {
    color: var(--primary-color);
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0 0 12px;
    line-height: 1.3;
}

.service-text p {
    color: #4a6080;
    font-size: 0.95rem;
    line-height: 1.85;
    margin: 0 0 20px;
}

.detailed-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}

.detailed-features span {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #3a5570;
    font-weight: 500;
}

.detailed-features span i {
    color: var(--secondary-color);
    font-size: 1rem;
    flex-shrink: 0;
}

.apply-btn {
    background: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
    padding: 12px 30px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.4px;
    display: inline-block;
}

.apply-btn:hover {
    background: transparent;
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
    .service-row,
    .service-row.reversed {
        flex-direction: column;
    }

    .service-image {
        flex: none;
        width: 100%;
        height: 240px;
    }

    .service-text,
    .service-row.reversed .service-text {
        padding: 1.8rem 1.5rem;
    }
}