@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;700&family=Tajawal:wght@400;700&display=swap');

:root {
    --primaryColor: #FEA958;
    --middleColor: #393E46;
    --helperColor: #400B50;
    --lightHelper: #B60C52;
    --hrColor: #F8F5FF;
    --transparentColor: rgba(0, 0, 0, 0.699);
    --shadow: rgba(189, 188, 188, 0.514);
    /* --------------------------------- */
    --whatsappColor: #25D366;
    --white: #ffff;
    --blue: #1877F2;
    --green: #25D366;
    --gray: #f8f8f8;
    --container-width: 1340px;
    --header-height: 200px;
    /* 👈 غيّر الرقم حسب الارتفاع اللي تحبه */

}


body::-webkit-scrollbar {
    width: 8px
}

body::-webkit-scrollbar-track {
    background-color: transparent
}

body::-webkit-scrollbar-thumb {
    background-color: var(--lightHelper);
    background-image: linear-gradient(0deg, var(--lightHelper) 0%, var(--helperColor) 100%);
    border-radius: 5px
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Cairo', 'Tajawal', sans-serif;
}

a {
    text-decoration: none;
    transition: all 0.5s;

}

ul {
    list-style: none;
}

.importance-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 60px 20px;
}

.importance-section-header {
    text-align: center;
    margin-bottom: 40px;
}

.importance-section-title {
    display: inline-block;
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--helperColor);
    position: relative;
}

.importance-section-subtitle {
    color: var(--middleColor);
    font-size: 20px;
}

.importance-section-title::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 5px;
    border-radius: 25px;
    bottom: -10%;
    left: 0;
    background-image: linear-gradient(90deg, var(--lightHelper) 0%, var(--primaryColor) 100%);

}

.importance-section-title::before {
    content: "";
    position: absolute;
    width: 90%;
    height: 5px;
    border-radius: 25px;
    bottom: -25%;
    right: 0;
    background-image: linear-gradient(90deg, var(--lightHelper) 0%, var(--primaryColor) 100%);

}


/* ===================================== */
.imp-container {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.single-imp {
    width: 50%;
    padding: 20px;
    display: flex;
    gap: 15px;
    align-items: center;
}
.single-imp .imp-image{
    width: 150px;
    height: 120px;
    border-radius: 50%;
    background: var(--helperColor);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding:10px  20px;
    box-shadow: 0 1px 20px #b60c5398;
}
.single-imp .imp-image img {
    
    width: 55px;
    height: 55px;
    filter: brightness(0) invert(1);
}


/* 📱 موبايل و تابلت */
@media (max-width: 992px) {
    .single-imp {
        width: 100%; /* كل عنصر ياخد الصف لوحده */
        flex-direction: column; /* الصورة فوق والنص تحت */
        text-align: center;
    }

    .single-imp .imp-image {
        width: 100px;
        height: 100px;
        margin-bottom: 15px;
    }

    .single-imp .imp-image img {
        width: 45px;
        height: 45px;
    }

    .importance-section-title {
        font-size: 30px;
    }

    .importance-section-subtitle {
        font-size: 16px;
    }
}

/* 📱 موبايل صغير جداً */
@media (max-width: 576px) {
    .importance-container {
        padding: 40px 15px;
    }

    .single-imp .imp-image {
        width: 80px;
        height: 80px;
    }

    .single-imp .imp-image img {
        width: 35px;
        height: 35px;
    }

    .importance-section-title {
        font-size: 26px;
    }

    .importance-section-subtitle {
        font-size: 14px;
    }
}
