.seo {
    font-family: var(--font-family-primary);
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* ===============================
    1. First Section CSS
================================== */

.seo-first-section {
    background-color: white;
    padding: 100px 20px 0px 20px;
}

.seo-first-section-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    max-width: 1170px;
    margin: 0 auto;
}


.seo-first-section-image {
    flex: 1 1 40%;
    text-align: center;
}

.seo-first-section-image img {
    max-width: 90%;
    height: auto;
}

.seo-first-section-text {
    flex: 1 1 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: url('images/AboutUs/AboutUsBlurEffects.png') no-repeat center center;
    background-size: contain;
    width: 100%;
    box-sizing: border-box;
}

.seo-first-section-text h1 {
    font-size: 43px;
    background: linear-gradient(280.65deg, #5B388C 42.09%, #5B388C 43.11%, #7956A1 68.6%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
    margin-bottom: 20px;
    white-space: nowrap;
}

.seo-first-section-text p {
    font-size: 20px;
    color: #575B66;
    max-width: 75%;
    text-align: center;
    font-weight: 400;
}

/********************* Responsive adjustments for SEO First Section *********************/
@media (max-width: 1200px) {
    .seo-first-section {
        padding: 100px 90px 0px 70px;
    }

}


@media (max-width: 1125px) {

    .seo-first-section {
        padding: 100px 90px 0px 70px;
    }

    .seo-first-section-image img {
        max-width: 50%;
        height: auto;
    }
}

@media (max-width: 1021px) {
    .seo-first-section-image img {
        max-width: 40%;
        height: auto;
    }
}



@media (max-width: 992px) {
    .seo-first-section {
        padding: 100px 20px 0px 20px;
    }

    .seo-first-section-container {
        flex-direction: column;
        text-align: center;
        padding: 0 10px;
    }

    .seo-first-section-image,
    .seo-first-section-text {
        flex: 1 1 100%;
        max-width: 80%;
        padding: 0 10px;
    }

    .seo-first-section-image img {
        max-width: 60%;
    }

    .seo-first-section-text h1 {
        font-size: 40px;
    }

    .seo-first-section-text p {
        font-size: 16px;
        max-width: 90%;
    }
}

@media (max-width: 576px) {
    .seo-first-section {
        padding: 80px 20px 0px 20px;
    }

    .seo-first-section-image img {
        max-width: 90%;
        margin-bottom: 30px;
    }

    .seo-first-section-text h1 {
        font-size: 24px;
    }

    .seo-first-section-text p {
        font-size: 18px;
        max-width: 100%;
    }
}

/* Right align for Arabic */
.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}

/* Remove row-reverse for small screens */
@media (max-width: 992px) {
    .seo-first-section-container.rtl {
        flex-direction: column;
    }
}

@media (max-width: 335px) {
    .seo-first-section-text h1 {
        font-size: 24px;
    }
}




/* ===============================
    2. Second Section CSS
================================== */

.seo-second-section {
    background-color: white;
    padding: 0 0 0 0;
}

.seo-second-section-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    max-width: 1170px;
    margin: 0 auto;
    flex-direction: row-reverse
}

.seo-second-section-container.rtl {
    flex-direction: row-reverse;
}

.seo-second-section-text.rtl {
    text-align: right;
}

.seo-second-section-text.ltr {
    text-align: left;
}


.seo-second-section-text {
    flex: 1 1 60%;
    text-align: left;
    display: flex;
    margin: 0 auto;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.seo-second-section-text.text-right {
    text-align: right;
    align-items: flex-start;
}

.seo-second-section-text h2 {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 25px;
    font-weight: bold;
    white-space: nowrap;
    min-height: 60px;
}

.seo-second-section-text p {
    font-size: 20px;
    color: #000;
    /* text-align: left; */
    max-width: 88%;
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 20px;
    min-height: 60px;
}

.seo-second-section-text.text-right p {
    text-align: right;
}

.seo-second-section-image {
    flex: 1 1 35%;
}

.seo-second-section-image img {
    max-width: 100%;
    height: auto;
}



/********************* Responsive adjustments for SEO Second Section *********************/

@media (max-width: 1220px) {

    .seo-second-section {
        padding: 80px 50px 60px 50px;
    }
}

@media (max-width: 1185px) {

    .seo-second-section-container {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        max-width: 1170px;
        flex-direction: row-reverse;
        margin-left: 40px;
        margin-right: 40px;
    }

    seo-second-section-text {
        flex: 1 1 60%;
        text-align: left;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        margin: 0 0 0 40px;


    }

}


@media (max-width: 992px) {
    .seo-second-section {
        padding: 0;
    }

    .seo-second-section-container {
        flex-direction: column;
        text-align: center;
        padding: 0 10px;
    }

    .seo-second-section-text,
    .seo-second-section-image {
        flex: 1 1 100%;
        max-width: 80%;
        align-items: center;
    }

    .seo-second-section-text {
        padding-left: 0;
        text-align: center;
    }

    .seo-second-section-text h2 {
        font-size: 30px;
        white-space: nowrap;
    }

    .seo-second-section-text p {
        font-size: 18px;
        max-width: 100%;
        text-align: center;
    }

    .seo-second-section-image img {
        max-width: 60%;
    }

    .seo-second-section-container.rtl {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .seo-second-section {
        padding: 0 0 10px 0;
    }

    .seo-second-section-text h2 {
        margin-top: 20px;
        font-size: 20px;
        font-weight: bold;
    }

    .seo-second-section-text p {
        font-size: 14px;
    }

    .seo-second-section-text,
    .seo-second-section-text.text-right {
        text-align: center;
        align-items: center;
    }

    .seo-second-section-image img {
        max-width: 80%;
    }

    .seo-second-section-text.text-right p {
        text-align: center;
    }
}



@media (max-width: 300px) {
    .seo-second-section-text h2 {
        margin-top: 20px;
        font-size: 19px;
        font-weight: bold;
        white-space: wrap;
    }
}





/* ===============================
    3. Third Section CSS : SEO Line
================================== */


.seo-line {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
    position: relative;
    max-width: 1170px;
    margin: 0 auto;
}

.seo-line::before {
    content: "";
    position: absolute;
    top: 60%;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #ccc;
    z-index: -1;
}

.seo-image {
    background-color: #fff;
    padding: 0 10px;
    z-index: 1;
}

@media (max-width: 576px) {
    .seo-image {
        width: 35%;
        height: auto;
    }
}





/* =============================================
    Content Sections (Fourth, Fifth, Sixth)
================================================ */

.seo-fourth-section,
.seo-fifth-section,
.seo-sixth-section {
    position: relative;
    background-color: white;
    padding: 20px 0;
    margin-bottom: 15px;
}

.seo-fourth-section-header,
.seo-fifth-section-header,
.seo-sixth-section-header {
    text-align: center;
    margin-bottom: 20px;
}

.seo-fourth-section-header h2,
.seo-fifth-section-header h2,
.seo-sixth-section-header h2 {
    font-size: 40px;
    color: var(--primary-color);
    font-weight: bold;
}

.seo-fourth-section-container,
.seo-fifth-section-container,
.seo-sixth-section-container {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    max-width: 1170px;
    margin: 0 auto;
    background: white;
    border-radius: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
    overflow: hidden;
    height: 400px;
}

/* .rtl .seo-fourth-section-container,
.rtl .seo-fifth-section-container,
.rtl .seo-sixth-section-container {
    height: 400px;
} */



.seo-fourth-section-container.rtl,
.seo-fifth-section-container.rtl,
.seo-sixth-section-container.rtl {
    flex-direction: row-reverse;
}

.seo-fourth-section-text,
.seo-fifth-section-text,
.seo-sixth-section-text {
    flex: 1 1 60%;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    max-width: 55%;
    margin-right: 25px;
    margin-top: 20px;
}

.seo-fourth-section-text.text-right,
.seo-fifth-section-text.text-right,
.seo-sixth-section-text.text-right {
    text-align: right;
    align-items: flex-start;
}

.seo-fourth-section-text h3,
.seo-fifth-section-text h3,
.seo-sixth-section-text h3 {
    font-size: 35px;
    color: #000;
    margin-bottom: 20px;
    font-weight: 450;
}

.seo-fourth-section-text p,
.seo-fifth-section-text p,
.seo-sixth-section-text p {
    font-size: 19px;
    color: #000;
    text-align: left;
    font-weight: 400;
    line-height: 1.5;
}

.seo-fourth-section-text.text-right p,
.seo-fifth-section-text.text-right p,
.seo-sixth-section-text.text-right p {
    text-align: right;
}

.seo-fourth-section-image,
.seo-fifth-section-image,
.seo-sixth-section-image {
    flex: 0 1 40%;
    margin-left: 0;
    max-width: 100%;
}

.seo-fourth-section-image img,
.seo-fifth-section-image img,
.seo-sixth-section-image img {
    height: auto;
    max-width: 100%;
}



.seo-fourth-section-pattern,
.seo-fifth-section-pattern,
.seo-sixth-section-pattern {
    position: absolute;
    top: 0;
    right: 0;
    width: 170px;
    height: 100%;
    z-index: -1;
}


/********************* Responsive adjustments for SEO Sections *********************/
@media (max-width: 1200px) {



    .seo-fourth-section,
    .seo-fifth-section,
    .seo-sixth-section {
        padding: 30px 50px 30px 50px;
    }

    .seo-fourth-section-container,
    .seo-fifth-section-container,
    .seo-sixth-section-container {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-between;
        max-width: 1170px;
        margin: 0 auto;
        background: white;
        border-radius: 30px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        position: relative;
        z-index: 1;
        overflow: hidden;
        height: 400px;
        margin-left: 51px;
        margin-right: 51px;

    }


    .seo-second-section-container {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        max-width: 1170px;
        margin-left: 50px;
        margin-right: 50px;
    }
}

@media (max-width: 1100px) {

    .seo-fourth-section-container,
    .seo-fifth-section-container,
    .seo-sixth-section-container {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-between;
        max-width: 1170px;
        margin: 0 auto;
        background: white;
        border-radius: 30px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        position: relative;
        z-index: 1;
        overflow: hidden;
        height: 400px;
        margin-left: 40px;
        margin-right: 40px;

    }


}


@media (max-width: 998px) {

    .seo-fourth-section-container,
    .seo-fifth-section-container,
    .seo-sixth-section-container {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        max-width: 90%;
        height: auto;
    }

    .seo-fourth-section-image,
    .seo-fifth-section-image,
    .seo-sixth-section-image,
    .seo-fourth-section-text,
    .seo-fifth-section-text,
    .seo-sixth-section-text {
        flex: 1 1 100%;
        max-width: 100%;
        align-items: center;
    }

    .seo-fourth-section-text,
    .seo-fifth-section-text,
    .seo-sixth-section-text {
        padding-left: 0;
        text-align: center;
        margin-right: 0;
        margin-bottom: 10px;
    }

    .seo-fourth-section-text h3,
    .seo-fifth-section-text h3,
    .seo-sixth-section-text h3 {
        font-size: 22px;
    }

    .seo-fourth-section-text p,
    .seo-fifth-section-text p,
    .seo-sixth-section-text p {
        font-size: 18px;
        max-width: 100%;
        text-align: center;

    }

    .seo-fourth-section-image img,
    .seo-fifth-section-image img,
    .seo-sixth-section-image img {
        max-width: 50%;
    }

    .seo-fourth-section-pattern,
    .seo-fifth-section-pattern,
    .seo-sixth-section-pattern {
        width: 225px;
    }

    .seo-fourth-section-container.rtl,
    .seo-fifth-section-container.rtl,
    .seo-sixth-section-container.rtl {
        flex-direction: column;
    }

    .seo-fourth-section-text.text-right p,
    .seo-fifth-section-text.text-right p,
    .seo-sixth-section-text.text-right p {
        text-align: center;
    }

    .seo-fourth-section-text.text-right,
    .seo-fifth-section-text.text-right,
    .seo-sixth-section-text.text-right {
        text-align: center;
        align-items: center;
    }

    .seo-second-section-text.text-right p {
        text-align: center;
    }

    .seo-second-section-text.text-right {
        text-align: center;
        align-items: center;
    }

    .seo-fourth-section-header h2,
    .seo-fifth-section-header h2,
    .seo-sixth-section-header h2 {
        font-size: 30px;
        color: var(--primary-color);
        font-weight: bold;
    }

}

@media (max-width: 576px) {

    .seo-fourth-section,
    .seo-fifth-section,
    .seo-sixth-section {
        padding: 10px 0;
    }

    .seo-fourth-section-header h2,
    .seo-fifth-section-header h2,
    .seo-sixth-section-header h2 {
        font-size: 20px;
        color: var(--primary-color);
        font-weight: bold;
    }

    .seo-fourth-section-header h2,
    .seo-fifth-section-header h2,
    .seo-sixth-section-header h2 {
        font-size: 20px;
        white-space: wrap;
        margin-left: 30px;
        margin-right: 30px;


    }

    .seo-fourth-section-container,
    .seo-fifth-section-container,
    .seo-sixth-section-container {
        padding: 10px;
        max-width: 90%;
        background: none;
        height: auto;
    }

    .seo-fourth-section-text h3,
    .seo-fifth-section-text h3,
    .seo-sixth-section-text h3 {
        font-size: 20px;
    }



    .seo-fourth-section-text p,
    .seo-fifth-section-text p,
    .seo-sixth-section-text p {
        font-size: 15px;
        text-align: center;

    }

    .seo-fourth-section-image img,
    .seo-fifth-section-image img,
    .seo-sixth-section-image img {
        max-width: 80%;
    }

    .seo-fourth-section-pattern,
    .seo-fifth-section-pattern,
    .seo-sixth-section-pattern {
        width: 150px;
    }


    .seo-fourth-section-text.text-right,
    .seo-fifth-section-text.text-right,
    .seo-sixth-section-text.text-right {
        text-align: center;
        align-items: center;
    }

    .seo-fourth-section-text.text-right p,
    .seo-fifth-section-text.text-right p,
    .seo-sixth-section-text.text-right p {
        text-align: center;
    }


}





/* =========================
    7. 7.th Section CSS
============================ */

.seo-seventh-section {
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
}

.seo-seventh-section-container {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    max-width: 1170px;
    margin: 0 auto;
    background: #F1EEF6;
    border-radius: 30px;
    padding: 10px;
    height: 520px;
}

.seo-seventh-section-container.rtl {
    flex-direction: row-reverse;
}

.seo-seventh-section-text {
    flex: 2;
    padding-right: 20px;
    text-align: left;
    max-width: 50%;
    padding-left: 30px;
}

.seo-seventh-section-text.text-right {
    text-align: right;
    padding-right: 30px;
    padding-left: 20px;
}

.seo-seventh-section-text h2 {
    font-size: 40px;
    color: #000;
    margin-bottom: 20px;
    font-weight: 450;
}

.seo-seventh-section-text p {
    font-size: 22px;
    color: #000;
    line-height: 1.5;
    font-weight: 400;
}

.seo-seventh-section-right-images {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
    position: relative;
}

.seo-seventh-section-right-images img {
    max-width: 100%;
    border-radius: 10px;
    position: absolute;
}

.seo-seventh-section-right-images .bottom-image {
    top: -8px;
    right: -12px;
    max-width: 168%;
    border-radius: 30px;

}

.seo-seventh-section-right-images .top-image {
    top: -8px;
    right: -10px;
    max-width: 102%;
    border-radius: 30px;
}



/********************* Responsive adjustments for SEO 7.th Section *********************/

@media (max-width: 1185px) {

    .seo-seventh-section-text {
        max-width: 90%;
        padding: 5px;
    }

    .rtl .seo-seventh-section-text {
        max-width: 90%;
        padding: 5px;
    }

    .seo-seventh-section-text h2 {
        font-size: 24px;
        max-width: 90%;
        margin-top: 15px;
    }

    .seo-seventh-section-text p {
        font-size: 22px;
        max-width: 100%;
        margin-bottom: 15px;
    }

    .rtl .seo-seventh-section-text h2 {
        font-size: 24px;
        max-width: 90%;
        margin-top: 15px;
    }

    .rtl .seo-seventh-section-text p {
        font-size: 22px;
        max-width: 100%;
        margin-bottom: 15px;
    }

    .seo-seventh-section-right-images .bottom-image,
    .seo-seventh-section-right-images .top-image {
        display: none;
        width: 0;
        height: 0;
        margin: 0;
        padding: 0;
    }

    .seo-seventh-section-container {
        flex-direction: column;
        text-align: center;
        height: auto;
        justify-content: center;
        max-width: 100%;
        align-items: center;
        margin-left: 70px;
        margin-right: 70px;
    }

    .rtl .seo-seventh-section-container {
        flex-direction: column;
        text-align: center;
        height: auto;
        justify-content: center;
        max-width: 100%;
        align-items: center;
        margin-left: 70px;
        margin-right: 70px;
    }
}

@media (max-width: 860px) {
    .seo-seventh-section-text h2 {
        font-size: 22px;
        max-width: 90%;
        margin-left: -15px;
    }

    .seo-seventh-section-text p {
        font-size: 20px;
        max-width: 90%;
        margin-left: -15px;
    }

}

@media (max-width: 747px) {

    .seo-seventh-section {
        align-items: center;
        padding: 0;
    }

    .rtl .seo-seventh-section {
        align-items: center;
        padding: 0;
    }

    .seo-seventh-section-container {
        flex-direction: column;
        text-align: center;
        height: auto;
        justify-content: center;
        max-width: 100%;
        align-items: center;
        margin-left: 40px;
        margin-right: 40px;
    }

    .rtl .seo-seventh-section-container {
        flex-direction: column;
        text-align: center;
        height: auto;
        justify-content: center;
        max-width: 100%;
        align-items: center;
        margin-left: 40px;
        margin-right: 40px;
    }


    .seo-seventh-section-text {
        max-width: 100%;
        padding-right: 5px;
        padding-left: 5px;
        margin: 0 auto;
        text-align: center;
    }

    .rtl.seo-seventh-section-text {
        max-width: 100%;
        padding-right: 5px;
        padding-left: 5px;
        margin: 0 auto;
        text-align: center;
    }

    .seo-seventh-section-text.text-right {
        text-align: center;
    }

    .seo-seventh-section-text h2 {
        font-size: 20px;
        margin: 0;
        margin: 15px;
    }

    .rtl.seo-seventh-section-text h2 {
        font-size: 20px;
        margin: 0;
        margin: 15px;
    }

    .seo-seventh-section-text p {
        font-size: 14px;
        margin: 15px;
    }

    .rtl .seo-seventh-section-text p {
        font-size: 14px;
        margin: 15px;
    }
}
