:root {
    --ty-ink: #061d35;
    --ty-gold: #f2ad29;
    --ty-sand: #f7f1e6;
    --ty-muted: #65717d
}

.thank-you-section {
    position: relative;
    padding: 145px 0 105px;
    overflow: hidden;
    background: linear-gradient(135deg, #fbf8f2 0%, #f4ecdc 100%)
}

.thank-you-section:before {
    content: "";
    position: absolute;
    width: 430px;
    height: 430px;
    right: -170px;
    top: -190px;
    border: 1px solid rgba(6, 29, 53, .12);
    border-radius: 50%;
    box-shadow: 0 0 0 55px rgba(242, 173, 41, .05), 0 0 0 110px rgba(6, 29, 53, .025)
}

.thank-you-content {
    position: relative;
    z-index: 2;
    max-width: 640px
}

.thank-you-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 30px;
    padding: 8px 14px;
    border: 1px solid rgba(6, 29, 53, .12);
    border-radius: 999px;
    background: rgba(255, 255, 255, .62);
    color: var(--ty-ink);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: 1.4px;
    text-transform: uppercase
}

.thank-you-kicker:before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--ty-gold);
    box-shadow: 0 0 0 5px rgba(242, 173, 41, .16)
}

.success-mark {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    margin-bottom: 22px;
    border-radius: 20px;
    background: var(--ty-ink);
    color: var(--ty-gold);
    font-size: 25px;
    transform: rotate(-4deg);
    box-shadow: 10px 10px 0 var(--ty-gold)
}

.thank-you-content h1 {
    margin: 0;
    color: var(--ty-ink);
    font-size: clamp(3.6rem, 7vw, 6.6rem);
    font-weight: 800;
    line-height: .94;
    letter-spacing: -4px
}

.thank-you-content h2 {
    max-width: 570px;
    margin: 20px 0 16px;
    color: var(--ty-ink);
    font-size: clamp(1.25rem, 2vw, 1.65rem);
    font-weight: 700;
    line-height: 1.4
}

.thank-you-content>p {
    max-width: 550px;
    margin: 0;
    color: var(--ty-muted);
    font-size: 1rem;
    line-height: 1.8
}

.thank-you-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 31px
}

.ty-btn {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 24px;
    border: 1px solid var(--ty-ink);
    border-radius: 999px;
    font-size: .88rem;
    font-weight: 800;
    text-decoration: none;
    transition: transform .25s, box-shadow .25s, background .25s
}

.ty-btn:hover {
    transform: translateY(-3px)
}

.ty-btn--primary {
    background: var(--ty-ink);
    color: #fff;
    box-shadow: 0 10px 25px rgba(6, 29, 53, .16)
}

.ty-btn--primary i {
    color: var(--ty-gold)
}

.ty-btn--primary:hover {
    background: #0b2d4d;
    color: #fff
}

.ty-btn--secondary {
    background: rgba(255, 255, 255, .55);
    color: var(--ty-ink)
}

.ty-btn--secondary:hover {
    border-color: var(--ty-gold);
    color: var(--ty-ink)
}

.thank-you-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    margin-top: 27px;
    padding-top: 22px;
    border-top: 1px solid rgba(6, 29, 53, .12)
}

.thank-you-contact a {
    color: var(--ty-muted);
    font-size: .86rem;
    text-decoration: none
}

.thank-you-contact i {
    margin-right: 7px;
    color: #b27600
}

.thank-you-image {
    position: relative;
    padding: 22px 0 0 22px
}

.thank-you-image:before {
    content: "";
    position: absolute;
    inset: 0 45px 45px 0;
    border-radius: 180px 26px 180px 26px;
    background: var(--ty-gold)
}

.thank-you-image:after {
    content: "EGYPT";
    position: absolute;
    right: -42px;
    top: 50%;
    z-index: 2;
    color: rgba(6, 29, 53, .09);
    font-size: 4.4rem;
    font-weight: 900;
    letter-spacing: 12px;
    transform: rotate(90deg) translateX(50%);
    transform-origin: right center
}

.thank-you-image img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 535px;
    display: block;
    border-radius: 160px 24px 160px 24px;
    object-fit: cover;
    box-shadow: 0 25px 55px rgba(6, 29, 53, .18)
}

.thank-you-image__badge {
    position: absolute;
    z-index: 3;
    left: -16px;
    bottom: 60px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 19px;
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 18px;
    background: rgba(255, 255, 255, .88);
    backdrop-filter: blur(12px);
    box-shadow: 0 15px 35px rgba(6, 29, 53, .13);
    color: var(--ty-ink);
    font-weight: 800
}

.thank-you-image__badge i {
    width: 35px;
    height: 35px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: var(--ty-gold);
    color: var(--ty-ink)
}

.thank-you-image__badge span,
.thank-you-image__badge small {
    display: block
}

.thank-you-image__badge small {
    color: #7a8490;
    font-size: .65rem;
    text-transform: uppercase;
    letter-spacing: 1px
}

@media(max-width: 991px) {
    .thank-you-section {
        padding: 65px 0 90px
    }

    .thank-you-image {
        max-width: 650px;
        margin-top: 20px
    }

    .thank-you-image:after {
        display: none
    }

    .thank-you-image img {
        height: 440px
    }
}

@media(max-width: 576px) {
    .thank-you-section {
        padding: 45px 0 70px
    }

    .thank-you-content h1 {
        letter-spacing: -2px
    }

    .thank-you-actions,
    .ty-btn {
        width: 100%
    }

    .thank-you-contact {
        flex-direction: column
    }

    .thank-you-image {
        padding: 12px 0 0 12px
    }

    .thank-you-image:before {
        inset: 0 18px 18px 0
    }

    .thank-you-image img {
        height: 330px;
        border-radius: 90px 20px 90px 20px
    }

    .thank-you-image__badge {
        left: 8px;
        bottom: 32px
    }
}