.thank-you-section {
    background-color: #959BCD;
    min-height: 100vh;
    overflow: hidden;
}

    .thank-you-section .contact-main {
        display: grid;
        position: relative;
        width: 100%;
        gap: 0;
        grid-template-columns: 1fr 1fr;
        padding-top: 7.778vw;
        grid-template-rows: 40px 8.806vw 660px;
    }

    .thank-you-section .contact-breadcrumb {
        grid-column-start: 1;
        grid-column-end: 3;
        grid-row-start: 1;
        grid-row-end: 2;
        display: flex;
    }

        .thank-you-section .contact-breadcrumb .breadcrumbs-2024 {
            background: rgba(97, 104, 151, 0.50);
        }


    .thank-you-section .contact-title {
        grid-column-start: 1;
        grid-column-end: 3;
        grid-row-start: 2;
        grid-row-end: 3;
        display: flex;
        align-items: end;
        padding-left: 1.8%;
        padding-top: 10%;
    }

    .thank-you-section .contact-title-text {
        font-size: 6.806vw;
        font-style: normal;
        font-weight: 900;
        line-height: 110%;
        letter-spacing: 1.96px;
        text-transform: lowercase;
    }

    .thank-you-section .contact-detail {
        grid-column-start: 1;
        grid-column-end: 2;
        grid-row-start: 3;
        grid-row-end: 4;
        height: 100%;
        display: flex;
        flex-direction: column;
        padding-left: 3.8%;
    }


    .thank-you-section .text {
        color: var(--tinyscholars-light-cream);
        font-family: 'AVENIR-MEDIUM' !important;
        font-size: 1.25vw !important;
        font-style: normal;
        font-weight: 400;
        line-height: 180%;
    }

    .thank-you-section .left-section {
        display: flex;
        flex-direction: column;
        gap: 40px;
        padding-left: 3.4%;
    }

        .thank-you-section .left-section h3 {
            color: var(--tinyscholars-light-cream);
            font-size: 2.778vw !important;
            line-height: 110%;
            letter-spacing: 0.8px;
            margin-top: 40px;
        }

    .thank-you-section .left-section a {
        border-radius: 40px;
        border: 2px solid #FCF4E7;
        background: #FCF4E7;
        color: #959BCD;
        text-align: center;
        font-family: "MontserratAlternates-Bold";
        font-size: 20px;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
        padding: 17px 36px;
        text-decoration: none;
        cursor: pointer;
        width: fit-content;
    }

        .thank-you-section .left-section a:hover {
            background: #959BCD;
            color: #FCF4E7;
        }


    .thank-you-section .right-section {
        position: relative;
    }

        .thank-you-section .right-section img {
            /*            width: 58.194vw;
            height: 39.931vw;
            position: absolute;
            bottom: 0;
            right: -50px;
            object-fit: cover;*/
            width: 50vw;
            object-fit: cover;
            position: absolute;
            bottom: -12%;
            object-fit: cover;
        }


@media (max-width: 1440px) {
    .thank-you-section .right-section img {
        width: 839px;
    }

    .thank-you-section .left-section h3 {
        font-size: 40px !important;
    }

    .thank-you-section .detail-text {
        font-size: 22px !important;
    }
}

@media (max-width: 1240px) {
    .thank-you-section .contact-main {
        display: flex;
        flex-direction: column;
        padding-top: 120px;
    }

    .thank-you-section .contact-breadcrumb {
        order: 1;
    }

    .thank-you-section .contact-title {
        order: 2;
        padding-top: 3%;
    }

    .thank-you-section .left-section {
        order: 3;
        padding-left: 1.4%;
    }

        .thank-you-section .left-section h3 {
            margin-top: 20px;
        }

        .thank-you-section .right-section {
            order: 4;
        }
            .thank-you-section .right-section img {
                width: 818px;
                right: -3%;
                bottom: unset;
            }

            .footer-main {
                z-index: 1;
                position: relative;
            }
}

@media (max-width: 834px) {
    .thank-you-section .contact-main {
        display: flex;
        flex-direction: column;
        min-height: 86vh !important;
        padding-top: 110px;
        padding-bottom: 30px;
    }

    .thank-you-section .contact-breadcrumb {
        order: 2;
        /*padding-top: 20px;*/
    }

    .thank-you-section .contact-title {
        order: 1;
        align-self: unset;
        padding-top: 0px !important;
        padding-left: 0px !important;
    }

    .thank-you-section .left-section h3 {
        font-size: 30px !important;
    }

    .thank-you-section .right-section img {
        top: 40px;
        width: 700px;
    }

    .thank-you-section .contact-title-text {
        font-size: 70px !important;
    }

    .thank-you-section .text {
        font-size: 16px !important;
    }

    .thank-you-section .detail-text {
        font-size: 18px !important;
    }

    .thank-you-section .popup-title {
        font-size: 35px !important;
    }

    .thank-you-section .detail-text-title {
        width: 100%;
        font-size: 30px !important;
    }

    .thank-you-section .detail-text {
        width: 110%;
    }

    .thank-you-section .popup-text {
        font-size: 18px !important;
    }

    .thank-you-section .left-section {
        gap: 30px;
    }
}

@media (max-width: 650px) {
    .thank-you-section .right-section img {
        top: 80px;
        width: 620px;
    }
}

@media (max-width: 500px) {
    .thank-you-section .right-section img {
        right: unset;
    }
}

@media (max-width: 390px) {
    .thank-you-section {
        padding-right: 24px;
        padding-left: 24px;
    }

    .thank-you-section .contact-title-text {
        font-size: 14.385vw !important;
    }

    .thank-you-section .left-section h3 {
        font-size: 7.692vw !important;
    }
}

@media (max-width: 360px) {
    .thank-you-section .right-section img {
        width: 400px;
        top: 120px;
    }

    .thank-you-section {
        min-height: 90vh;
    }
}
