.cnc-thankyou-section.cnc-thankyou-section-layout4 {
    padding: 100px 0;
}

.cnc-thankyou-section.cnc-thankyou-section-layout4 .container {
    max-width: 1430px;
    margin: 0 auto;
    padding: 0 15px;
    width: 100%;
    box-sizing: border-box;
}

.cnc-thankyou-section.cnc-thankyou-section-layout4 .thankyou-wrapper {
    text-align: center;
    max-width: 603px;
    width: 100%;
    box-sizing: border-box;
    margin: 0 auto;
    padding: 88px 88px 285px;
    position: relative;
    z-index: 1;
}

.cnc-thankyou-section.cnc-thankyou-section-layout4 .thankyou-wrapper .thankyou-bg-image {
    position: absolute;
    width: 100%;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
    top: 0;
}

.cnc-thankyou-section.cnc-thankyou-section-layout4 .thankyou-wrapper .content {
    overflow-y: auto;
    max-height: 212px;
    padding-right: 10px;
}

.cnc-thankyou-section.cnc-thankyou-section-layout4 .thankyou-wrapper .content::-webkit-scrollbar {
    width: 4px;
    background-color: #E6F2FF;
    border-radius: 10px;
}

.cnc-thankyou-section.cnc-thankyou-section-layout4 .thankyou-wrapper .content::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    background-color: #E6F2FF;
}

.cnc-thankyou-section.cnc-thankyou-section-layout4 .thankyou-wrapper .content::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
    background-color: #005BC5;
}

.cnc-thankyou-section.cnc-thankyou-section-layout4 .thankyou-wrapper :is(h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6) {
    color: #005BC5;
    font-size: 48px;
    font-weight: 700;
    line-height: normal;
    margin: 0;
}

.cnc-thankyou-section.cnc-thankyou-section-layout4 .thankyou-wrapper .info {
    margin-bottom: 30px;
}

.cnc-thankyou-section.cnc-thankyou-section-layout4 .thankyou-wrapper .info :is(p) {
    color: #323232;
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
    margin: 0;
}

.cnc-thankyou-section.cnc-thankyou-section-layout4 .thankyou-wrapper :is(h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6):not(:last-child),
.cnc-thankyou-section.cnc-thankyou-section-layout4 .thankyou-wrapper .info :is(p):not(:last-child) {
    margin: 0 0 10px;
}

.cnc-thankyou-section.cnc-thankyou-section-layout4 .thankyou-wrapper .btn {
    display: inline-flex;
    align-items: center;
    background-color: #005AC3;
    color: #fff;
    font-weight: 400;
    padding: 14px 35px 14px 35px;
    border-radius: 5px;
    font-size: 20px;
    transition: all 0.3s ease-in-out;
    position: relative;
    line-height: normal;
    text-decoration: none;
    width: fit-content;
}

.cnc-thankyou-section.cnc-thankyou-section-layout4 .thankyou-wrapper .btn .arrow {
    margin-left: 15px;
    transition: all 0.3s ease-in-out;
    position: relative;
    left: 0;
    width: 20px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.cnc-thankyou-section.cnc-thankyou-section-layout4 .thankyou-wrapper .btn .arrow img {
    max-width: 100%;
}

.cnc-thankyou-section.cnc-thankyou-section-layout4 .thankyou-wrapper .btn .arrow i,
.cnc-thankyou-section.cnc-thankyou-section-layout4 .thankyou-wrapper .btn .arrow svg {
    width: 100%;
    height: 100%;
}

.cnc-thankyou-section.cnc-thankyou-section-layout4 .thankyou-wrapper .btn:hover,
.cnc-thankyou-section.cnc-thankyou-section-layout4 .thankyou-wrapper .btn:focus {
    background-color: #02357e;
}

.cnc-thankyou-section.cnc-thankyou-section-layout4 .thankyou-wrapper .btn:hover .arrow {
    left: 5px;
}

@media (max-width:1024px) {
    .cnc-thankyou-section.cnc-thankyou-section-layout4 {
        padding: 50px 0;
    }

    .cnc-thankyou-section.cnc-thankyou-section-layout4 .thankyou-wrapper :is(h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6) {
        font-size: 40px;
    }

    .cnc-thankyou-section.cnc-thankyou-section-layout4 .thankyou-wrapper .info :is(p) {
        font-size: 15px;
    }

    .cnc-thankyou-section.cnc-thankyou-section-layout4 .thankyou-wrapper .btn {
        font-size: 18px;
    }
}

@media (max-width:767px) {
    .cnc-thankyou-section.cnc-thankyou-section-layout4 {
        padding: 30px 0;
    }

    .cnc-thankyou-section.cnc-thankyou-section-layout4 .thankyou-wrapper {
        padding: 0;
    }

    .cnc-thankyou-section.cnc-thankyou-section-layout4 .thankyou-wrapper .thankyou-bg-image {
        display: none;
    }

    .cnc-thankyou-section.cnc-thankyou-section-layout4 .thankyou-wrapper .content {
        overflow-y: visible;
        max-height: max-content;
    }

    .cnc-thankyou-section.cnc-thankyou-section-layout4 .thankyou-wrapper :is(h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6) {
        font-size: 30px;
    }

    .cnc-thankyou-section.cnc-thankyou-section-layout4 .thankyou-wrapper .info :is(p) {
        font-size: 14px;
    }

    .cnc-thankyou-section.cnc-thankyou-section-layout4 .thankyou-wrapper .btn {
        font-size: 16px;
    }
}