/* استيراد خط عربي (مثال: Cairo) */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;700&display=swap');

/* الألوان الأساسية:
   الأحمر: var(--primaryColor)
   الخط: #333 
*/

.pest-control-section {
    position: relative;
    /* المسافة العلوية والسفلية */
    padding: 80px 0;
    font-family: 'Cairo', sans-serif;
    background-color: var(--white);
    overflow: hidden;
    /* لإخفاء النقاط التي تخرج عن الحدود */
}

.pest-control-section .container {
    /* تصميم أساسي لـ Grid بصفين: المحتوى والصورة */
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    /* المحتوى (Text) 1fr مقابل الصورة 1.1fr (لتبدو الصورة أعرض قليلاً) */
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    align-items: center;
    /* لمحاذاة العناصر عمودياً في الوسط */
}

/* ----------------------------------
   1. تنسيق الخطوط والألوان والمسافات
   ---------------------------------- */

.text-content {
    direction: rtl;
    /* ضمان الاتجاه من اليمين لليسار */
}

.tag {
    background-color: var(--primaryColor);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 20px;
}

.pest-control-section h1 {
    color: #333;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 25px;
    /* تنسيق خاص لكلمة "الحشرات" لتميزها بلون آخر إذا لزم الأمر */
    /* h1 span { color: var(--primaryColor); } */
}

.text-content p {
    color: #555;
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.text-content .first-intro-text {
    font-size: 16px;
    font-weight: 800;
    color: var(--primaryColor);
    margin-bottom: 30px;
}

.text-content .second-intro-text {
    font-size: 16px;
    color: #777;
    margin-bottom: 30px;
}

.contact-prompt {
    font-weight: 700;
    font-size: 17px;
    color: #333;
    margin-top: 30px;
    margin-bottom: 20px;
}


/* ----------------------------------
   4. شكل الـ li (علامة الصح الحمراء)
   ---------------------------------- */

.services-list {
    list-style: none;
    /* إزالة التنقيط الافتراضي */
    padding: 0;
    margin-top: 20px;
}

.services-list li {
    position: relative;
    color: #555;
    font-size: 17px;
    padding-right: 30px;
    margin-bottom: 15px;
    line-height: 1.6;
}


.services-list li i {
    color: white;
    background-color: var(--primaryColor);
    border-color: var(--primaryColor);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    align-content: center;
    text-align: center;
    font-weight: 500;
    font-size: 15px;
    position: relative;
    right: 0;
    top: 0;
}



.button-container {
    width: 100%;

    margin-top: 20px;
}

.cta-button {

    display: inline-block;
    background-color: var(--primaryColor);
    color: var(--white);
    text-align: center;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 8px;

    font-size: 18px;
    font-weight: 700;

    width: 100%;
    max-width: 250px;

    box-shadow: 0 4px 10px var(--primaryColor);

    transition: background-color 0.3s;
    line-height: 1.2;
}

.cta-button:hover {
    background-color: var(--primaryColor);

}

.cta-button .phone-number {
    display: block;

    font-size: 14px;
    font-weight: 400;
    margin-top: 5px;
}

.image-content img {

    width: 100%;

    aspect-ratio: 3 / 4;
    object-fit: cover;

    border-radius: 10px;

    display: block;
}


.pest-control-section .dots {
    position: absolute;
    left: 5%;
    bottom: 20px;
    display: grid;
    grid-template-columns: repeat(8, 15px);
    grid-template-rows: repeat(4, 15px);
    gap: 5px;
    /* المسافة بين النقاط */
}

.pest-control-section .dots span {
    width: 6px;
    height: 6px;
    background: var(--helperColor);
    border-radius: 50%;
    display: inline-block;
}

@media (max-width: 992px) {
    .pest-control-section .container {

        grid-template-columns: 1fr;
        gap: 30px;
    }

    .text-content {
        order: 2;

    }

    .image-content {
        order: 1;

    }

    .image-content img {

        aspect-ratio: 16 / 9;

    }

   .pest-control-section h1 {
        font-size: 32px;
    }
}


@media (max-width: 576px) {
    .pest-control-section {
        padding: 50px 0;
    }

    .pest-control-section .container {
        padding: 0 15px;
    }

    .pest-control-section h1 {
        font-size: 28px;
    }

    .text-content p,
    .services-list li {
        font-size: 15px;
    }

    .cta-button {
        padding: 12px 20px;
        font-size: 16px;
        max-width: 100%;
    }

    .image-content img {

        aspect-ratio: 4 / 3;
    }

    .moving-dots-container {

        display: none;
    }
}