/* ================================================= */
/* services-style.css */
/* Styles specific to the Services Page (services.html) */
/* ================================================= */
:root {
    --dark-green: #1B2A49;
    /* 👈 هذا هو اللون الأزرق الداكن المطلوب */
    --vibrant-orange: #FFD700;
    --dark-blue: #053c27;
    --sky-blue: #38B6FF;
    --text-color-primary: #333333;
    --text-color-light: #666666;
    --background-light: #FAFAFA;
    --whatsapp-green: #25D366;
    --main-font: 'Cairo', sans-serif;
}

/* --- 1. Hero Services Header --- */
.hero-services-header {
    padding: 80px 0;
    background-color: var(--light-gray);
    text-align: center;
    border-bottom: 5px solid var(--vibrant-orange);
    /* خط برتقالي مميز في الأسفل */

}

/* 2. تنسيق الفيديو ليكون خلفية */
.hero-services-header video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    /* لوضعه خلف النصوص */
    opacity: 1;
}

.hero-services-header .section-title {
    /* 🚀 التعديل هنا: لجعله أبيض أو لون فاتح */
    color: var(--background-light);
    /* يمكنك أيضًا إضافة ظل خفيف للعنوان لجعله بارزًا أكثر فوق الفيديو */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero-services-header .section-subtitle {
    /* 🚀 التعديل هنا: لجعله أبيض أو لون فاتح */
    color: var(--text-color-light);
    /* أبيض مائل للرمادي ليكون أقل حدة من العنوان */
    line-height: 1.6;
}

/* --- 2. Detailed Services Section (شبكة الخدمات) --- */

.detailed-services-section {
    padding: 80px 0;
}

.detailed-services-section .section-title {
    text-align: center;
}

.detailed-services-section .section-subtitle {
    text-align: center;
    margin-bottom: 50px;
}

.services-page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(2, 1fr));
    gap: 25px;
    align-items: start;

}

/* Styling for the detailed service card */
.detailed-card {
    background-color: var(--dark-blue);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(246, 241, 241, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
    color: var(--background-light);
    height: 100%;
    /* ضمان تساوي ارتفاع البطاقات في الشبكة */
}

/* 💡 خط جانبي برتقالي متحرك */
.detailed-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 5px;
    height: 100%;
    background-color: var(--vibrant-orange);
    transition: width 0.3s ease;
}

.detailed-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

/* 🚀 تحسين: استخدام Flexbox للأيقونة والعنوان */
.detailed-card .header-wrapper {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.detailed-card .icon {
    font-size: 2.5em;
    color: var(--vibrant-orange);
    margin-left: 15px;
    /* مسافة بين الأيقونة والعنوان */
    line-height: 1;
    min-width: 30px;
    /* لضمان عدم تغير التنسيق في حالة الأيقونات المختلفة */
}

.detailed-card h3 {
    font-size: 1.4em;
    font-weight: 800;
    color: var(--background-light);
    margin: 0;
    /* إلغاء Margin ليتوافق مع Flexbox */
}

.detailed-card p {
    font-size: 0.95em;
    color: var(--background-light);
    line-height: 1.7;
    padding-top: 10px;
}


/* --- 4. Media Queries for Responsiveness --- */
@media (max-width: 992px) {
    .hero-services-header .section-title {
        font-size: 2.5em;
    }

    .services-page-grid {
        /* على الشاشات المتوسطة، عمودين */
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}
/*-----------------------------------------mobile-------------------------*/
@media (max-width: 768px) {
    .hero-services-header video {
        opacity: 1;
        width: 200%;
    }

    .hero-services-header {
       padding: 15px 15px;
        height: 200px;
    }

    .hero-services-header .section-title {
        font-size: 1.2em;

    }

    .hero-services-header .section-subtitle {
        font-size: 0.9em;
        color: var(--text-color-light);
    }

    .detailed-services-section {
        padding: 10px 0;
    }

    .services-page-grid {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .detailed-card .icon {
        font-size: 1.5em;
    }

    .detailed-card h3 {
        font-size: 1.2em;
        padding-right: 0;
    }

    .detailed-card p {
        font-size: 0.8em;
    }
}