.thank-you {
    position: relative;
    overflow: hidden;
    min-height: 515px;
    padding: 0;
}

.thank-you .container {
    position: static;
    min-height: 515px;
}

.thank-you .container::before {
    content: '';
    position: absolute;
    z-index: 1;
    top: 56px;
    left: 42.5%;
    width: 150px;
    height: 360px;
    background-image: radial-gradient(circle, #0F697D 1.4px, transparent 1.5px);
    background-size: 22px 22px;
    background-repeat: repeat;
    opacity: 0.5;
    pointer-events: none;
}

.thank-you-left {
    position: relative;
    z-index: 3;
    width: 38%;
    max-width: 520px;
    padding: 70px 0 50px;
}

.thank-you-title {
    color: #0F697D;
    font-size: 16px;
    padding-left: 25px;
    position: relative;
    font-weight: 600;
    text-transform: uppercase;
}

.thank-you-title::before {
    content: '';
    position: absolute;
    left: 0;
    border-radius: 100%;
    background-color: #0F697D;
    width: 10px;
    height: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.thank-you-subtitle {
    margin-top: 50px;
    color: #0F697D;
    font-size: 58px;
    line-height: 1.08;
    text-transform: uppercase;
    font-weight: 600;
}

.thank-you-description {
    margin-top: 20px;
    font-size: 16px;
    line-height: 1.35;
    font-weight: 600;
}

.thank-you-exp {
    margin-top: 30px;
    display: flex;
    align-items: center;
    gap: 40px;
}

.exp-icon {
    flex: 0 0 auto;
}

.exp-icon img {
    display: block;
    width: 72px;
    height: 72px;
}

.exp-text {
    position: relative;
}

.exp-text::before {
    content: '';
    width: 2px;
    height: 100%;
    background-color: #cccccc;
    position: absolute;
    left: -20px;
}

.exp-text>div {
    text-transform: uppercase;
    font-size: 20px;
    line-height: 1.2;
    font-weight: 600;
}

.exp-text>div:first-child {
    color: #0F697D;
}

.thank-you-right {
    position: absolute;
    z-index: 2;
    top: 0;
    right: 0;
    bottom: 0;
    width: 54vw;
    height: 100%;
    overflow: hidden;
}

.thank-you-right::before {
    content: '';
    position: absolute;
    z-index: 2;
    left: 18%;
    bottom: 0;
    width: 34%;
    height: 48%;
    background: radial-gradient(ellipse at 50% 55%, rgba(48, 68, 72, 0.12) 0%, rgba(48, 68, 72, 0.07) 28%, rgba(48, 68, 72, 0.025) 50%, transparent 72%);
    filter: blur(8px);
    opacity: 0.8;
    pointer-events: none;
}

.thank-you-right img {
    display: block;
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left center;
}

.what-next .icon {
    width: 80px;
    height: 80px;
    border: 2px solid #cccccc;
    border-radius: 50%;
    padding: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.what-next .icon>svg {
    width: 50px;
    height: 50px;
}

.what-next {
    padding: 52px 0 78px;
    background-color: #ffffff;
}

.what-next-heading {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 50px;
}

.what-next-heading h2 {
    display: flex;
    align-items: center;
    gap: 18px;
    flex: 0 0 auto;
    margin: 0;
    color: #0F697D;
    font-size: 20px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.what-next-heading h2::after {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #f4a78f;
}

.what-next-heading::after {
    content: '';
    flex: 1 1 auto;
    height: 2px;
    background-color: #0F697D;
}

.what-next-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 72px;
}

.what-next-step {
    position: relative;
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    align-items: start;
    gap: 22px;
    min-width: 0;
}

.what-next-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 38px;
    right: -52px;
    width: 50px;
    height: 18px;
    background-color: #0F697D;
    clip-path: polygon(
        0 44%,
        calc(100% - 12px) 44%,
        calc(100% - 12px) 0,
        100% 50%,
        calc(100% - 12px) 100%,
        calc(100% - 12px) 56%,
        0 56%
    );
}

.what-next-title {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    margin-bottom: 18px;
    color: #222222;
    font-size: 15px;
    line-height: 1.45;
    font-weight: 700;
}

.what-next-title span {
    color: #0F697D;
    font-size: 34px;
    line-height: 1;
    font-weight: 700;
}

.what-next-content p {
    margin: 0;
    color: #222222;
    font-size: 15px;
    line-height: 1.55;
    font-weight: 500;
}

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

    .thank-you .container,
    .what-next .container {
        padding: 0 1%;
    }
}

@media screen and (max-width: 1275px) {
    .thank-you {
        min-height: 480px;
    }

    .thank-you .container {
        min-height: 480px;
    }

    .thank-you .container::before {
        top: 48px;
        left: 44%;
        width: 120px;
        height: 310px;
        background-size: 20px 20px;
    }

    .thank-you-left {
        width: 42%;
        padding: 60px 0 45px;
    }

    .thank-you-subtitle {
        font-size: 48px;
    }

    .thank-you-right {
        width: 56vw;
    }

    .what-next-steps {
        gap: 48px;
    }

    .what-next-step {
        grid-template-columns: 80px minmax(0, 1fr);
        gap: 18px;
    }

    .what-next-step:not(:last-child)::after {
        right: -38px;
    }

    .what-next-title {
        grid-template-columns: 44px minmax(0, 1fr);
        gap: 10px;
        font-size: 14px;
    }

    .what-next-title span {
        font-size: 30px;
    }

    .what-next-content p {
        font-size: 14px;
    }
}

@media screen and (max-width: 1024px) {
    .thank-you {
        margin-top: 100px;
    }
}

@media screen and (max-width: 991px) {
    .thank-you {
        min-height: 420px;
    }

    .thank-you .container {
        min-height: 420px;
    }

    .thank-you .container::before {
        top: 42px;
        left: 48%;
        width: 90px;
        height: 250px;
        background-size: 18px 18px;
        opacity: 0.4;
    }

    .thank-you-left {
        width: 48%;
        padding: 50px 0 40px;
    }

    .thank-you-subtitle {
        margin-top: 36px;
        font-size: 38px;
    }

    .thank-you-right {
        width: 50vw;
    }

    .thank-you-right::before {
        opacity: 0.75;
    }

    .what-next {
        padding: 46px 0 64px;
    }

    .what-next-heading {
        margin-bottom: 36px;
    }

    .what-next-steps {
        grid-template-columns: minmax(0, 1fr);
        gap: 58px;
        max-width: 560px;
    }

    .what-next-step {
        grid-template-columns: 84px minmax(0, 1fr);
        gap: 22px;
    }

    .what-next-step:not(:last-child)::after {
        top: auto;
        right: auto;
        bottom: -33px;
        left: 17px;
        width: 50px;
        height: 18px;
        transform: rotate(90deg);
    }
}

@media screen and (max-width: 767px) {
    .thank-you {
        min-height: 0;
    }

    .thank-you .container {
        position: relative;
        min-height: 0;
    }

    .thank-you .container::before {
        display: none;
    }

    .thank-you-left {
        width: 100%;
        max-width: none;
        padding: 40px 0 0;
    }

    .thank-you-subtitle {
        margin-top: 28px;
        font-size: 34px;
    }

    .thank-you-description {
        max-width: 520px;
    }

    .thank-you-right {
        position: relative;
        right: auto;
        bottom: auto;
        width: calc(100% + 30px);
        height: 320px;
        margin: 30px -15px 0 0;
    }

    .thank-you-right::before {
        display: none;
    }

    .thank-you-right img {
        object-position: center center;
    }

    .thank-you-left {
        position: static;
    }

    .thank-you-exp {
        position: absolute;
        bottom: 5px;
        left: 1%;
    }
}

@media screen and (max-width: 600px) {
    .thank-you {
        margin-top: 120px;
    }

    .thank-you-exp {
        gap: 20px;
    }

    .exp-text::before {
        left: -10px;
    }

    .exp-text>div {
        font-size: 16px;
    }

    .exp-icon img {
        width: 55px;
        height: 55px;
    }
}

@media screen and (max-width: 480px) {
    .thank-you-subtitle {
        font-size: 30px;
    }

    .thank-you-right {
        height: 260px;
    }

    .what-next {
        padding: 38px 0 54px;
    }

    .what-next-heading {
        gap: 12px;
        margin-bottom: 30px;
    }

    .what-next-heading h2 {
        gap: 12px;
        font-size: 18px;
        letter-spacing: 0.5px;
    }

    .what-next-step {
        grid-template-columns: 72px minmax(0, 1fr);
        gap: 16px;
    }

    .what-next-step:not(:last-child)::after {
        left: 11px;
    }

    .what-next-title {
        grid-template-columns: 40px minmax(0, 1fr);
        font-size: 14px;
    }

    .what-next-title span {
        font-size: 28px;
    }

    .what-next-content p {
        font-size: 14px;
    }

    .what-next .icon {
        width: 72px;
        height: 72px;
    }

    .what-next .icon>svg {
        width: 44px;
        height: 44px;
    }
}
