:root {
    --primary-font: 'Wondra';
    --secondary-font: "Inter", sans-serif;
    --primary-color: rgba(231, 25, 80, 1);
    --secondary-color: rgba(38, 34, 35, 1);
    --white: #ffffff;
}

/* Service section start */
.service {
    padding: clamp(48px, 7.031vw, 135px) 0 clamp(32px, 5.208vw, 100px);
}

.service .heading {
    max-width: 1086px;
    margin: 0 auto;
    text-align: center;
    margin-bottom: clamp(32px, 5.208vw, 100px);
}

.service .heading p {
    font-size: clamp(14px, 1.25vw, 24px);
    margin-top: clamp(8px, 1.25vw, 24px);
}

.service-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 32px;
}

.service-box .inner-box {
    padding: clamp(55px, 3.854vw, 74px) clamp(16px, 1.563vw, 30px) clamp(16px, 1.563vw, 30px);
    border-radius: 16px;
    min-height: 27.292vw;
    width: calc(33.33% - 22px);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-box .inner-box::after {
    position: absolute;
    content: '';
    right: -28px;
    top: 50%;
    transform: translateY(-50%);
    background-image: url('../images/Arrow.svg');
    background-size: 22px 12px;
    object-fit: contain;
    width: 22px;
    height: 12px;
    background-repeat: no-repeat;
}

.service-box .inner-box:last-child::after {
    display: none;
}

.service-box .inner-box.box-3::after {
    left: 50%;
    right: auto;
    top: auto;
    bottom: -20px;
    transform: translateX(-50%) rotate(90deg);
}

.service-box .inner-box.box-3{
    padding-bottom:0;
}

.service-box .inner-box.box-4::after {
    right: auto;
    left: -28px;
    transform: rotate(180deg);
}

.service-box .inner-box .steps {
    background-color: var(--white);
    border-radius: 0 0 8px 8px;
    padding: 8px clamp(8px, 1.25vw, 24px);
    font-size: clamp(12px, 0.833vw, 16px);
    font-weight: 600;
    line-height: 150%;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    text-transform: uppercase;
}

.service-box .inner-box .h4 {
    color: var(--white);
}

.service-box .inner-box p {
    color: var(--white);
    margin-bottom:32px;
    font-size: clamp(14px, 1.042vw, 20px);
    line-height: 200%;
    width: 21.875vw;
    max-width: 420px;
}

.service-box .inner-box img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.service-box .inner-box.box-4 {
    background-image: url('../images/namechange-box.png');
    background-position: bottom right;
    background-repeat: no-repeat;
    position: relative;
    z-index: 1;
    order: 5;
    background-size: 50%;
}

.service-box .inner-box.box-4::before {
    content: '';
    position: absolute;
    background-image: url(../images/Vector-5.svg);
    background-position: left;
    background-repeat: no-repeat;
    z-index: -1;
    right: 0;
    top: 0;
    bottom: 0;
    left: 76px;
}

.service-box .inner-box.double {
    width: calc(66.66% - 11px);
}

.service-box .inner-box.box-5 {
    background-image: url('../images/how-it-works-banner-5.png');
    background-position: left;
    background-repeat: no-repeat;
    background-size: cover;
}

.service-box .inner-box .images {
    position: relative;
}

.service-box .inner-box img.arrow {
    position: absolute;
    top: 1.823vw;
    right: 3.646vw;
    width: clamp(16px, 1.563vw, 30px);
    height: auto;
    filter: drop-shadow(-3px -4px 5px white);
}

.service-box .red .steps {
    color: var(--primary-color);
}

.service-box .light-purple .steps {
    color: rgba(130, 59, 114, 1);
}

.service-box .sky .steps {
    color: rgba(97, 199, 199, 1);
}

.service-box .yellow .steps {
    color: rgba(240, 182, 95, 1);
}

.service-box .light-brown .steps {
    color: rgba(177, 88, 101, 1);
}

/* Service section end */

@media only screen and (min-width: 1921px) {
    .service-box .inner-box {
        min-height: 524px;
    }
}

@media only screen and (max-width: 1199px) {
    .service-box .inner-box p {
        line-height: 170%;
    }

    .service-box {
        gap: 24px;
    }

    .service-box .inner-box {
        width: calc(33.33% - 16px);
    }

    .service-box .inner-box.double {
        width: calc(66.66% - 8px);
    }

    .service-box .inner-box img.arrow {
        top: 2.2vw;
        right: 4.646vw;
    }

    .service-box .inner-box::after {
        right: -25px;
        background-size: 18px 12px;
    }

    .service-box .inner-box.box-4::after {
        left: -25px;
    }
}

@media only screen and (max-width: 991px) {
    .service-box .inner-box img.arrow {
        top: 1.6vw;
        right: 3.646vw;
    }
}

@media only screen and (max-width: 767px) {

    .service-box .inner-box,
    .service-box .inner-box.double {
        width: 100%;
        min-height: 360px;
        order: 4;
    }

    .service-box .inner-box p {
        width: 100%;
        max-width: 100%;
        margin-bottom: 24px
    }

    .service-box .inner-box img.arrow {
        top: 6.6vw;
        right: 15.646vw;
    }

    .service-box .inner-box::after,
    .service-box .inner-box.box-4::after {
        right: auto;
        bottom: -20px;
        top: auto;
        transform: translateX(-50%) rotate(90deg);
        left: 50%;
    }
     .service-box .inner-box.box-4{
        background-size:86%;
        min-height: 435px;
    }
}
section.service.how-it-works h2.h3, section.service.how-it-works p {
    color: #fff;
}