.card-container-services {
    border-radius: 0;
    box-shadow: none;
    padding: 0 100px;
    width: auto;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    margin-left: auto;
    margin-right: auto;
}


.services-card-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    z-index: 1;
}

.services-card-image img {
    width: 190%;
    position: relative;
    left: 25%;
    max-width: none;
    height: auto;
    margin-top: 0;
    margin-right: 0;
}

.service-title {
    font-size: 32px;
    line-height: 45px;
    font-weight: 600;
    /* background: linear-gradient(90deg, #FD933D 38.46%, #8464E3 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent; */
    color: var(--primary-orange);
    width: fit-content;
    margin: 0 auto;

}

.functions-grid {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.function-card h3 {
    font-size: 15px;
    font-weight: 500;
    line-height: 100%;
}

.function-card p {
    font-size: 13px;
    font-weight: 400;
    line-height: 20px;
}

.function-grid-r1 {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 0 170px;
    width: 100%;
    margin: 0;
    padding-bottom: 15px
}

.side-line-image {
    position: absolute;
    left: -0.1%;
    top: -18%;
    bottom: 0;
    height: 127%;
    width: auto;
    object-fit: contain;
    pointer-events: none;
}

.grid-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    /* padding-left: 16px; */
}

.expert-team-section {
    background: url(../../images/dev-proc-img.png);
    background-repeat: no-repeat;
    background-position: bottom right;
    background-size: 151px;
    padding: 0 170px;
    padding-bottom: 230px;
}

.expert-team-card {
    background-color: #fff7f1;
    border: 1px solid #ffe8d8;
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    padding-top: 20px;
    margin-bottom: 90px;
}

.expert-team-content {
    flex: 1;
    max-width: 550px;
    z-index: 2;
    padding-left: 30px;
}

h2 span {
    /* background: linear-gradient(90deg, #FD933D 26.92%, #8464E3 49.52%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent; */
    color: var(--primary-orange);
}

.expert-team-title {
    font-size: 32px;
    font-weight: 600;
    line-height: 42px;
    color: #1a1a1a;
    margin-bottom: 24px;
    width: 400px;
}

.expert-team-subtext {
    font-size: 13px;
    font-weight: 400;
    color: #4a4a4a;
    line-height: 20px;
    margin-bottom: 35px;
}

.image-lg {
    display: block;
}

.image-sm {
    display: none;
}

.expert-team-btn {
    display: inline-block;
    padding: 14px 40px;
    border: 1px solid var(--main-color);
    border-radius: 50px;
    color: var(--main-color);
    text-decoration: none;
    font-weight: 600;
    background: #ffffff;
    transition: all 0.3s ease;
}

.expert-team-btn:hover {
    background-color: var(--main-color);
    color: #ffffff;
}

.expert-team-illustration {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.expert-team-img {
    max-width: 100%;
    height: auto;
}

.dev-proc-section {
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    display: flex;
    padding: 0 170px;
    margin-top: -230px;
}

.dev-proc-header {
    margin-bottom: 80px;
}

.dev-proc-main-title {
    font-size: 32px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 45px;
    margin-bottom: 20px;
}

/* .dev-proc-gradient-text {
    background: linear-gradient(90deg, #f49b56 0%, #d88981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
} */

.dev-proc-intro {
    font-size: 18px;
    color: #444;
    line-height: 26px;
    font-weight: 400;
}

.step-two {
    padding-top: 19%;
}

.step-three {
    padding-top: 38%;
}

.dev-proc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    position: relative;
}


.dev-proc-col {
    position: relative;
    border-left: 1px dashed #e0e0e0;
}

.dev-proc-img {
    position: absolute;
    right: 0;
    top: 305%;
    transform: translateY(-50%);
    z-index: 1;
    height: 40%;
    width: 11%;
}

.dev-proc-stage-box {
    position: relative;
    margin-bottom: 30px;
    min-height: 100px;
}

.stage-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.stage-box-content {
    position: relative;
    z-index: 1;
    padding: 18px 60px 18px 22px;
}

.dev-proc-stage-box h3 {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 8px;
    color: #1a1a1a;
    line-height: 100%;
}

.dev-proc-stage-box p {
    font-size: 12px;
    font-weight: 400;
    color: #666;
    line-height: 18px;
    margin: 0;
}

.dev-proc-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.dev-proc-tag {
    display: flex;
    align-items: center;
    background-color: #fff7f2;
    border: 1px solid #ffd8c0;
    border-radius: 12px;
    padding: 10px 16px;
    font-size: 12px;
    color: #333;
    width: fit-content;
    ;
    margin-bottom: 16px;
    white-space: nowrap;
    line-height: 18px;
    font-weight: 400;
    ;
}

.dev-icon {
    content: url('../../icons/dev-icon.png');
    width: 22px;
    height: 22px;
    margin-right: 10px;
    flex-shrink: 0;
}

.step-one .indent-1 {
    margin-left: 20px;
}

/* .indent-1 {
    margin-left: 30px;
} */

.indent-2 {
    margin-left: 26px;
}

.indent-3 {
    margin-left: 60px;
}

.services-wrapper {
    flex-direction: column;
    margin-top: 10px;
}

.service-img {
    height: auto;
    display: block;
    margin: 0 auto;
}

.service-contact-section {
    background: linear-gradient(180deg, #FFFDFB 3.09%, #FED6B5 63.31%, #FEC291 99.97%, #FDAA67 122.23%, rgba(253, 147, 61, 0.85) 139.25%);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    margin-bottom: 0;
    padding: 0;
    display: flex;
}

.service-contact-card {
    padding-left: 170px;
}

.service-image {
    padding-top: 2%;
}

.service-image img {
    width: 100%;
}

.contact-links {
    width: auto;
    flex-direction: row-reverse;
    margin-top: 30px;
    gap: 25px;
}

.contact-btn {
    background: var(--main-color) !important;
}

.card-content-services {
    flex: 1;
    z-index: 2;
    padding: 40px;
}

.card-content-services h1 {
    width: 100%;
    font-size: 30px;
    font-weight: 600;
    line-height: 38px;
}

.card-content-services p {
    width: 100%;
    font-weight: 400;
    font-size: 18px;
    line-height: 27px;
    color: #535252;
}

.cta-button-services {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    /* background: linear-gradient(93.05deg, #FD933D -28.43%, #F59048 12.41%, #DB866B 54.79%, #8464E3 149.49%); */
    background: var(--main-color);
    color: white;
    padding: 18px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s ease;
    margin-top: 20px;
}

.cta-button-services:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.div-pc {
    display: block;
}

.div-mob {
    display: none;
}


.cf-app-highlight-section {
    margin: 60px 170px;
    margin-top: 0;
}

.cf-app-highlight-card {
    display: flex;
    align-items: center;
    background: #ffffff;
    /* border: 1px solid #f9a05a; */
    border-radius: 40px;
    /* padding: 60px; */
    gap: 40px;
    overflow: hidden;
    /* box-shadow: 0 10px 30px rgba(0,0,0,0.05); */
    flex-direction: row-reverse;

}

.cf-app-highlight-content {
    flex: 1;
}

.cf-app-tag {
    color: #f9a05a;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 15px;
    display: block;
}

.cf-app-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #000;
}

.cf-gradient-text {
    background: linear-gradient(90deg, #f9a05a 0%, #ba86bf 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cf-app-desc {
    color: #535252;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.cf-app-btn {
    display: inline-block;
    padding: 15px 35px;
    background: linear-gradient(90deg, #f9a05a 0%, #ba86bf 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.3s ease;
}

.cf-app-btn:hover { transform: translateY(-3px); }

.cf-app-highlight-visual {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cf-app-accent-bg {
    position: absolute;
    width: 80%;
    height: 110%;
    background: #f9a05a;
    border-radius: 30px;
    transform: rotate(-3deg);
    z-index: 1;
}

.cf-app-mockup {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 450px;
    border-radius: 20px;
}

@media (min-width: 1400px) {
    .dev-proc-stage-box {
        min-height: 155px;
    }

    .stage-box-content {
        padding: 49px 60px 49px 22px;
    }
}

@media (min-width: 991px) and (max-width: 1399px) {

    .service-card-image {
        justify-content: flex-end;
    }

    .services-card-image img {
        width: 314%;
        left: 60%;
        margin-top: -16px;
        margin-right: 0;
    }

    .dev-proc-section {
        padding: 0 100px;
        margin-top: -153px;
    }

    .dev-proc-container {
        width: 100%;
        margin: 0 auto;
    }

    .stage-box-content {
        padding: 18px;
    }

    .function-grid-r1 {
        padding: 0 100px;
    }

    .side-line-image {
        top: 10%;
        bottom: 0;
        height: 76%;
    }

    .expert-team-section {
        padding: 0 100px;
        padding-bottom: 110px;
        background-size: 110px;
    }

    .service-contact-card {
        padding-left: 100px;
    }

    .cf-app-highlight-section {
        margin: 60px 80px;
    }

}

@media (min-width: 768px) and (max-width: 990px) {
    .services-card-image img {
        width: auto;
        left: 0%;
    }

    .card-content-services {
        max-width: none;
        padding: 0 50px;
    }

    .expert-team-content {
        max-width: none;
        width: 100%;
        padding: 0 50px;
        margin-left: 0px !important;
    }

    .expert-team-section {
        padding: 0 50px;
        padding-bottom: 80px;
        background-size: 85px;
    }

    .expert-team-content {
        padding-bottom: 20px;
    }

    .service-contact-card {
        padding-left: 50px;
    }

    .dev-proc-container {
        width: 100%;
        margin: 0 auto;
    }

    .hero-section {
        padding-top: 0px;
    }

    .card-container-services {
        width: 100%;
        padding: 0 50px;
    }

    .dev-proc-grid {
        display: flex;
        flex-direction: column;
        width: 60%;
        margin: 0 auto;
    }

    .indent-1 {
        margin-left: 0;
    }

    .step-one,
    .step-two,
    .step-three {
        padding-top: 0;
    }

    .dev-proc-section {
        padding: 0 50px;
        padding-bottom: 30px;
        margin-top: -110px;
    }

    .dev-proc-tag {
        border: 1px dashed #FFD2AD;
        width: 245px;
    }

    .stage-box-content {
        padding: 46px 60px 42px 40px;
    }

    .function-grid-r1 {
        padding: 0 50px;
    }

    .card-container-services {
        display: flex;
        flex-direction: column-reverse;
    }

    .div-pc {
        display: none;
    }

    .div-mob {
        display: block;
    }

    .cf-app-highlight-section {
        margin: 50px 40px;
    }

    .cf-app-highlight-card {
        padding: 40px;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .services-card-image img {
        left: 0%;
        width: 100%;
    }

    .card-container-services {
        padding: 0 20px;
        display: flex;
        flex-direction: column-reverse;
    }

    .dev-proc-col {
        border-left: none;
    }

    .card-content-services {
        padding: 11px;
        margin-right: auto;
    }

    .card-content-services h1 {
        font-size: 22px;
        font-weight: 600;
        line-height: 28px;
    }

    .card-content-services p {
        font-size: 12px;
        width: 100%;
    }

    .function-card {
        min-width: 350px;
    }

    .step-one,
    .step-two,
    .step-three {
        padding-top: 0;
    }

    .image-lg {
        display: none;
    }

    .image-sm {
        display: block;
    }

    .function-grid-r1 {
        padding: 0 0;
        padding-bottom: 10px;
    }

    .functions-grid {
        padding: 0 20px;
    }

    .service-title {
        font-size: 22px;
        line-height: 35px;
        font-weight: 600;
    }

    .dev-proc-section {
        padding: 0 20px;
        margin-top: -70px;
    }


    .functions-subtitle {
        font-size: 13px;
        font-weight: 400;
    }

    .indent-2 {
        margin-left: 23px;
    }

    .side-line-image {
        top: 30%;
        bottom: 0;
        height: 45%;
    }

    .expert-team-card {
        display: flex;
        flex-direction: column;
        padding-top: 30px;
    }

    .expert-team-content {
        /* margin-left: 50px; */
        width: 100%;
        max-width: none;
    }

    .expert-team-section {
        padding: 0 20px;
        padding-bottom: 90px;
        background-size: 70px;
    }

    .expert-team-title {
        font-size: 22px;
        width: 215px;
        line-height: 30px;
    }

    .expert-team-subtext {
        width: 320px;
    }

    .expert-team-btn {
        padding: 5px 30px;
        font-size: 13px;
    }

    .service-contact-card {
        padding-left: 0;
        padding: 0 20px;
        width: 100%;
    }

    .service-contact-section {
        flex-direction: column;
    }

    .dev-proc-grid {
        display: flex;
        flex-direction: column;
    }

    .dev-proc-main-title {
        font-size: 22px;
        line-height: 30px;
    }

    .dev-proc-intro {
        font-size: 12px;
        line-height: 20px;
    }

    .dev-proc-img {
        top: 350%;
        height: 43%;
        width: auto;
    }

    .div-pc {
        display: none;
    }

    .div-mob {
        display: block;
    }

    .cf-app-highlight-section {
        margin: 40px 20px;
    }

        .cf-app-highlight-section {
        margin: 40px 15px;
    }

    .cf-app-highlight-card {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
        border-radius: 25px;
    }

    .cf-app-highlight-visual {
        order: -1;
        /* Moves image above text */
        margin-bottom: 30px;
    }

    .cf-app-accent-bg {
        width: 100%;
        height: 100%;
    }
}