/********************************************* Mobile Development Hero Section Styles coming from a component *********************************************************************/
@import url("hero.css");
@import url("why-choose-us.css");

/* Mobile Development Hero Section */
.mobile-development-hero {
    /* background: url("../images/mobiledev-imgs/mobiledevHeroImg.png") no-repeat
        left center; */
    background-size: contain;
    padding: 50px 20px;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

/* Hide hero image on larger screens */
.mobile-development-hero .hero-img {
    display: none;
}
/* .mobile-development-hero .hero-title {
    white-space: nowrap;
} */
/* Show hero image and hide background on smaller screens */
@media (max-width: 992px) {
    .mobile-development-hero {
        background: none;
        flex-direction: column-reverse;
          height: 56vh;
    }

    .mobile-development-hero .hero-img {
        display: block;
        max-width: 100%;
        margin: 0 auto;
    }
}
@media (max-width: 768px) {
    .mobile-development-hero {
          height: 72vh;
    }
}
/*Why Choose Us section*/
.mobile-why-choose-us {
    position: relative;
    padding: 30px 20px 0;
}

/********************************************* Mobile Development Page Styles *********************************************************************/

.mobile-development-page {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/********************************************* Mobile Development Features Section Styles *********************************************************************/
.mobile-features {
    padding: 50px 20px 0;
    background: url("../images/mobiledev-imgs/mobile-features-background-img.png")
        no-repeat center center;
    background-size: contain;
    position: relative;
}

.mobile-features-header {
    text-align: center;
    margin-bottom: 20px;
}
.mobile-features-title {
    font-size: 40px;
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 10px;
}

.mobile-features-subtitle {
    font-size: 22px;
    line-height: 1.6;
    color: var(--color-black);
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-weight: var(--font-weight-medium);
}

.mobile-features-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    padding: 20px;
}
.mobile-feature-text {
    font-size: 20px;
    font-weight: 500;
}
[dir="rtl"] .mobile-feature-text {
    padding-right: 10px;
}
.mobile-features-left,
.mobile-features-right {
    flex: 1;
    display: flex;
    justify-content: center;
}

.mobile-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-features-list li {
    font-size: 18px;
    line-height: 1.6;
    color: var(--color-black);
    margin-bottom: 100px;
    display: flex;
    align-items: center;
}

.mobile-feature-icon {
    margin-right: 10%;
}

.mobile-features-center {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mobile-features-center img {
    max-width: 75%;
    height: auto;
    margin-bottom: 70px;
}

/* Mobile Development Features Section Responsiveness */
@media (max-width: 1200px) {
    .mobile-features-title {
        font-size: 34px;
    }

    .mobile-features-subtitle {
        font-size: 20px;
    }

    .mobile-features-list li {
        margin-bottom: 80px;
    }
}

@media (max-width: 1024px) {
    .mobile-features-title {
        font-size: 32px;
    }

    .mobile-features-subtitle {
        font-size: 20px;
    }

    .mobile-features-list li {
        margin-bottom: 70px;
    }
}

@media (max-width: 768px) {
    .mobile-features-left,
    .mobile-features-right {
        justify-content: center;
        margin-bottom: 20px;
    }

    .mobile-features-title {
        font-size: 28px;
    }

    .mobile-features-subtitle {
        font-size: 16px;
    }

    .mobile-features-list li {
        margin-bottom: 60px;
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .mobile-features-title {
        font-size: 24px;
    }

    .mobile-features-subtitle {
        font-size: 16px;
    }

    .mobile-features-list li {
        margin-bottom: 50px;
        font-size: 14px;
    }
    .mobile-features-center img {
        display: none;
    }
    .mobile-feature-icon img {
        width: 35px;
    }
}

@media (max-width: 480px) {
    .mobile-features-title {
        font-size: 24px;
    }

    .mobile-features-subtitle {
        font-size: 16px;
        margin: 0;
    }

    .mobile-features-list li {
        margin-bottom: 40px;
        font-size: 12px;
    }

    .mobile-features-center img {
        display: none;
    }
    .mobile-feature-text {
        font-size: 16px;
    }
}

/********************************************* Mobile Development Support Section Styles *********************************************************************/
.mobile-support {
    position: relative;
    padding: 0 20px;
    color: var(--primary-color);
}

.mobile-background-shadow-1,
.mobile-background-shadow-2 {
    position: absolute;
    background: radial-gradient(
        50% 50% at 50% 50%,
        rgba(175, 109, 234, 0.58) 0%,
        rgba(175, 109, 234, 0) 100%
    );
    filter: blur(54px);
    z-index: -1;
}

.mobile-background-shadow-1 {
    width: 574px;
    height: 524px;
    left: -50px;
    top: 100px;
}

.mobile-background-shadow-2 {
    width: 495px;
    height: 381px;
    left: 200px;
}

.mobile-support-section-title {
    font-weight: var(--font-weight-bold);
    font-size: 35px;
    line-height: 61px;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-align: center;
}

.mobile-support-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    flex-wrap: wrap;
    text-align: left;
}

.mobile-support-content-image-container {
    margin-left: 25%;
    text-align: center;
}
.mobile-support-content-image-container img {
    width: 200px;
}

.mobile-accordion-container {
    flex: 1;
    padding-left: 20px;
}

.accordion {
    width: 100%;
}

.accordion-item {
    margin-bottom: 20px;
}

.accordion-header {
    cursor: pointer;
    padding: 10px;
    font-size: 16px;
    font-weight: 700;
    background-color: transparent;
    border-left: 3px solid #ddd;
    position: relative;
    transition: color 0.3s ease, border-left 0.3s ease;
}

.accordion-header:hover {
    color: var(--primary-color);
}

.accordion-item.open .accordion-header {
    border-left: 3px solid var(--primary-color);
    color: var(--primary-color);
}

.accordion-content {
    display: none;
    padding: 10px;
    border-left: 3px solid #ddd;
    transition: max-height 0.3s ease, padding 0.3s ease;
    max-height: 0;
    overflow: hidden;
}

.accordion-item.open .accordion-content {
    display: block;
    border-left: 3px solid var(--primary-color);
    max-height: 500px; /* Adjust according to your content */
    padding: 10px;
    transition: max-height 0.3s ease, padding 0.3s ease;
}
/* RTL Support */
[dir="rtl"] .accordion-header {
    border-left: none;
    border-right: 3px solid #ddd;
}

[dir="rtl"] .accordion-item.open .accordion-header {
    border-left: none;
    border-right: 3px solid var(--primary-color);
}

[dir="rtl"] .accordion-content {
    border-left: none;
    border-right: 3px solid #ddd;
}

[dir="rtl"] .accordion-item.open .accordion-content {
    border-left: none;
    border-right: 3px solid var(--primary-color);
}

/* Ensure text aligns correctly in RTL */
[dir="rtl"] .mobile-support-content {
    text-align: right;
}

[dir="rtl"] .mobile-support-content-image-container {
    margin-left: 0;
    margin-right: 30%;
}
/* Mobile Development Support Section Responsiveness */
@media (max-width: 1200px) {
    .mobile-support-section-title {
        font-size: 35px;
        line-height: 50px;
    }
}

@media (max-width: 992px) {
    .mobile-support-section-title {
        font-size: 35px;
        line-height: 45px;
    }

    .mobile-accordion-container {
        width: 100%;
        padding-left: 0;
    }

    [dir="rtl"] .mobile-support-content-image-container {
        margin-right: 20%;
    }
}

@media (max-width: 768px) {
    .mobile-support-section-title {
        font-size: 32px;
        line-height: 40px;
        text-align: center;
    }

    .mobile-support-content-image-container {
        margin: 0 auto;
    }

    .mobile-accordion-container {
        width: 100%;
        padding-left: 0;
    }

    [dir="rtl"] .mobile-support-content-image-container {
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .mobile-support-section-title {
        font-size: 28px;
        line-height: 35px;
        text-align: center;
    }

    .accordion-header {
        font-size: 16px;
    }

    .accordion-content {
        font-size: 14px;
    }

    .mobile-accordion-container {
        width: 100%;
        margin-top: 10%;
    }
    .mobile-support-content-image-container {
        display: none;
    }
}
/****************************************** Mobile Development Call-to-Action Section Styles ***********************************************/
.mobile-call-to-action {
    width: 100%; /* Ensure the section takes the full width */
    background-image: var(--gradient-color);
    color: white;
    /* padding: 50px 0; */
    text-align: left;
}

.mobile-call-to-action .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}
.mobile-support-section-subtext {
    font-size: 22px;
    color: var(--color-black);
    text-align: center;
    margin-top: 10px;
    max-width: 800px;
    margin: 0 auto;
    font-weight: var(--font-weight-medium);
}
.mobile-support-title {
    text-align: center;
    margin-bottom: 20px;
}

.mobile-call-to-action .mobile-cta-content {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    align-content: stretch;
    flex-wrap: nowrap;
}

.mobile-call-to-action .mobile-cta-text {
    flex: 1;
    max-width: 50%;
}
[dir="rtl"] .mobile-call-to-action .mobile-cta-text {
    text-align: right;
}
.mobile-call-to-action .mobile-cta-text h2 {
    font-size: 30px;
    margin-bottom: 10px;
}

.mobile-call-to-action .mobile-cta-text p {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 500px;
}

.mobile-call-to-action .mobile-cta-images {
    flex: 1;
    max-width: 50%;
    text-align: right;
}

.mobile-call-to-action .mobile-cta-images img {
    max-width: 100%;
    height: auto;
    margin-top: 16px;
    margin-bottom: -10px;

}

/*  Mobile Development Call-to-Action Responsiveness */
@media (max-width: 768px) {
    .mobile-call-to-action .mobile-cta-content {
        flex-direction: column;
        padding: 30px;
    }
    [dir="rtl"] .mobile-call-to-action .mobile-cta-text {
        text-align: center; /* Ensure text is centered for RTL */
    }
    .mobile-support-section-subtext {
        font-size: 16px;
    }
    .mobile-call-to-action .mobile-cta-text,
    .mobile-call-to-action .mobile-cta-images {
        max-width: 100%;
        text-align: center;
    }

    .mobile-call-to-action .mobile-cta-images img {
        display: none;
    }
}
@media (max-width: 480px) {
    .mobile-call-to-action .mobile-cta-text h2 {
        font-size: 25px;
    }
    .mobile-call-to-action .mobile-cta-text p {
        font-size: 16px;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .mobile-call-to-action .mobile-cta-text h2 {
        font-size: 26px;
        margin-bottom: 0;
    }
}
