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

/*Hero section*/
.web-development-hero {
    /* background: url("../images/webdev-imgs/webdevHeroImg.png") no-repeat left
        center; */
    background-size: contain;
    padding: 50px 20px;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-img {
    display: none;
    max-width: 100%;
    margin: 0 auto;
    width: 232px;
    height: auto;
    box-sizing: border-box;
}

/*Why Choose Us section*/
.web-why-choose-us {
    background: url("../images/webdev-imgs/why-choose-us-bg.png") no-repeat left
        center;
    background-size: contain;
    /* margin-bottom: 50px; */
}

/********************************************* Web Development Page Styles *********************************************************************/

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

/********************************************* Web Cards Section Styles *********************************************************************/
.web-cards-section {
    background: url("../images/webdev-imgs/web-cards-background-img.png")
        no-repeat right center;
    background-size: contain;
    padding: 50px 20px;
    width: 100%;
    text-align: center;
}

.section-title {
    font-size: 30px;
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
}

.section-subtitle {
    font-size: 22px;
    line-height: 1.6;
    color: var(--color-black);
    margin-bottom: 30px;
    text-align: center;
    font-weight: var(--font-weight-medium);
}

.card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    width: 100%;
    max-width: 1200px;
}

.card.reversed-card {
    flex-direction: row-reverse;
}

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

:root[dir="rtl"] .card-content {
    text-align: right;
}

.card-title {
    font-size: 30px;
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
    margin-bottom: 20px;
    white-space: nowrap;
}

.card-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
    text-align: left;
    line-height: 40px;
}

:root[dir="rtl"] .card-item {
    text-align: right;
}
:root[dir="rtl"] .web-support .card-text {
    text-align: right;
}
.list-icon-container {
    width: 24px;
    display: flex; /* Added flex display */
    align-items: center; /* Center icon vertically */
    justify-content: center; /* Center icon horizontally */
    margin-right: 10px;
}

.list-icon-container:dir(rtl) {
    margin-left: 10px;
    margin-right: 0;
}

.card-text {
    flex: 1;
    font-size: 20px;
    font-weight: 500;
}

.card-image {
    max-width: 40%;
}

.card-image img {
    width: 100%;
    height: auto;
}

/* Web Development Cards Section Responsiveness */
@media (max-width: 992px) {
    .web-development-hero {
        background: none;
        flex-direction: column-reverse;
        padding: 50px 20px;
        height: 57vh;
    }
    .web-development-hero .hero-img {
        display: block;
    }
}

@media (max-width: 1200px) {
    .web-cards-section .container {
        padding: 0 20px;
    }
    .card-content,
    .card-image {
        max-width: 100%;
    }

    .card {
        flex-direction: column;
    }

    .card.reversed-card {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 26px;
    }

    .section-subtitle {
        font-size: 20px;
        text-align: center;
    }

    .card-title {
        font-size: 28px;
    }

    .card-text {
        font-size: 18px;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 16px;
    }

    .section-subtitle {
        font-size: 16px;
        text-align: center;
    }

    .card-title {
        font-size: 24px;
    }

    .card-text {
        font-size: 16px;
    }
}
/********************************************* Web Development Support Section Styles *********************************************************************/

.web-support-title {
    font-size: 35px;
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
    margin-bottom: 20px;
}

.web-support-subtitle {
    font-size: 22px;
    color: var(--color-black);
    margin-bottom: 50px;
    font-weight: var(--font-weight-medium);
}

.web-support-cards {
    display: flex;
    justify-content: center;
}

.web-support-card {
    background: var(--color-white);
    border: 2px solid rgba(193, 181, 237, 0.35);
    border-radius: 17px;
    width: 373px;
    padding: 20px;
    text-align: left;
    margin-bottom: 20px;
    margin-right: 10px;
    margin-left: 10px;
}

.web-support-card-primary {
    background-image: var(--gradient-color);
    border: 2px solid rgba(193, 181, 237, 0.35);
    color: var(--color-white);
}

.web-support-card-primary .web-support-card-title,
.web-support-card-primary .card-text {
    color: var(--color-white);
}

.web-support-icon-title {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 10px;
}

.web-support-icon img {
    width: 72px;
    height: auto;
}

.web-support-card-title {
    font-size: 23px;
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
}

.web-support-card-primary .web-support-card-title {
    color: var(--color-white);
}

.web-support-card-list {
    margin-top: 10px;
}

.web-support .card-item {
    display: flex;
    align-items: flex-start; /* Center items vertically */
    margin-bottom: 20px;
    line-height: 25px;
}

.web-support .list-icon-container {
    width: 24px;
    display: flex; /* Added flex display */
    align-items: center; /* Center icon vertically */
    justify-content: center; /* Center icon horizontally */
    margin-right: 10px;
}

.web-support .list-icon-container:dir(rtl) {
    margin-left: 10px;
    margin-right: 0;
}

.web-support .card-text {
    flex: 1;
    font-size: 20px;
}

.web-support .list-icon {
    display: block;
    width: 100%;
}

/* Web Development Support Section Responsiveness */
@media (max-width: 1200px) {
    .web-support {
        min-height: auto;
    }
    .web-support-title {
        font-size: 30px;
    }

    .web-support-subtitle {
        font-size: 20px;
    }

    .web-support-card {
        max-width: 90%;
        margin-bottom: 20px;
    }
    .web-support-cards {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .web-support-title {
        font-size: 28px;
    }

    .web-support-subtitle {
        font-size: 18px;
    }

    .web-support-card-title {
        font-size: 20px;
    }

    .web-support .card-text {
        font-size: 16px;
    }
}

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

    .web-support-subtitle {
        font-size: 16px;
    }

    .web-support-card-title {
        font-size: 18px;
    }

    .web-support .card-text {
        font-size: 14px;
    }
}

/* Web Development Call to Action Section Styles */
.web-call-to-action {
    width: 100%;
    background-image: var(--gradient-color);
    padding: 50px 0;
    text-align: center;
    color: var(--color-white);
    box-sizing: border-box;
}

.cta-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cta-title {
    font-size: 35px;
    font-weight: var(--font-weight-bold);
    margin-bottom: 40px;
    text-align: center;
}

.cta-icons-wrapper {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    align-items: center;
    margin-bottom: 40px;
}

.cta-icons {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cta-icon-group {
    display: flex;
    align-items: center;
    width: 93px;
    height: auto;
    flex-direction: column;
}

.cta-icon img {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
}

.cta-icon-group p {
    text-align: center;
}

.cta-image {
    flex-grow: 1;
    text-align: center;
}

.cta-image img {
    width: 100%;
    max-width: 600px;
    height: auto;
}

/* Web Development Call to Action Section Responsiveness */
@media (max-width: 1200px) {
    .cta-title {
        font-size: 32px;
    }

    .cta-icon-group p {
        font-size: 16px;
    }

    .cta-icons-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .cta-icons {
        flex-direction: row;
        justify-content: center;
    }

    .cta-image {
        margin: 30px;
    }
}

@media (max-width: 768px) {
    .cta-title {
        font-size: 28px;
    }

    .cta-icon img {
        width: 40px;
        height: 40px;
    }

    .cta-icon-group p {
        font-size: 14px;
    }
    .web-development-hero {

    height: 72vh;

}
}

@media (max-width: 576px) {
    .cta-title {
        font-size: 20px;
    }

    .cta-icon img {
        width: 30px;
        height: 30px;
    }

    .cta-icon-group p {
        font-size: 12px;
        width: 50px;
    }
}
