@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700&display=swap");

:root {
    --primary: #ff7a00;
    --primary-light: #fff3e7;
    --text-dark: #2a1608;
    --text-body: #74696B;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Manrope", sans-serif;
    background: #f7f8fc;
    color: var(--text-body);
    overflow-x: hidden;
}

/* Header */

.form-header {
    padding: 20px 110px;
    background: #fff;
    box-shadow: 0 10px 25px rgba(0,0,0,.05);
}

.form_footer {
    background: #262626;
    padding: 20px 110px;
}

/* Wrapper */

.thank-you-wrapper {
    width: 100%;
    padding: 120px 20px 60px!important;
}

.thank-you-page {
    max-width: 1400px;
    margin: 0 auto;
    padding: 50px;
    background: #fff;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,.08);
}

/* Decorative circles */

.bg-shape {
    position: absolute;
    background: var(--primary-light);
    border-radius: 50%;
    z-index: 0;
}

.top-left {
    width: 260px;
    height: 260px;
    top: -130px;
    left: -130px;
}

.top-right {
    width: 260px;
    height: 260px;
    top: -130px;
    right: -130px;
}

/* Sections */

.header-section,
.content-grid,
.bottom-grid {
    position: relative;
    z-index: 2;
}

/* Header */

.header-section {
    display: flex;
    align-items: center;
    gap: 35px;
    margin-bottom: 50px;
}

.success-icon {
    width: 120px;
    height: 120px;
    min-width: 120px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 25px rgba(255,122,0,.25);
}

.success-icon span {
    color: #fff;
    font-size: 56px;
    font-weight: 700;
}

.header-content h1 {
    font-size: 58px;
    line-height: 1.1;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.header-content h2 {
    font-size: 34px;
    color: var(--primary);
    margin-bottom: 20px;
    font-weight: 700;
}

.para-01 {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 10px;
}

/* Main Grid */

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
    align-items: stretch;
}

.info-card,
.contact-card {
    background: #fff;
    border: 1px solid #ffe2c6;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 6px 20px rgba(0,0,0,.04);
    height: 100%;
}

.info-card h3,
.contact-card h3 {
    font-size: 28px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 25px;
}

.contact-card h3 {
    color: var(--primary);
}

/* Timeline */

.timeline {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.timeline-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.dot {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 5px;
    font-weight: 700;
}

.timeline-item p {
    margin: 0;
}

/* Contact */

.contact-card hr {
    border: none;
    border-top: 1px solid #e5e5e5;
    margin: 20px 0;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 17px;
    margin-bottom: 18px;
    color: #444;
}

/* Bottom Section */

.bottom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 260px;
    gap: 20px;
}

.small-card {
    background: #fff6ef;
    border-radius: 18px;
    padding: 22px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.response-card {
    background: #f2faf3;
}

.response-card strong {
    display: block;
    margin-top: 5px;
    color: #2e7d32;
}

.icon {
    font-size: 28px;
}

.button-card {
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: #fff;
    text-decoration: none;
    padding: 16px 50px;
    border-radius: 50px;
    font-size: 17px;
    font-weight: 600;
    transition: .3s;
}

.close-btn:hover {
    background: #ea6f00;
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
}

/* Tablet */

@media (max-width: 991px) {

    .thank-you-page {
        padding: 30px;
    }

    .header-section {
        flex-direction: column;
        text-align: center;
    }

    .header-content h1 {
        font-size: 42px;
    }

    .header-content h2 {
        font-size: 28px;
    }

    .content-grid,
    .bottom-grid {
        grid-template-columns: 1fr;
    }

    .button-card {
        justify-content: stretch;
    }

    .close-btn {
        width: 100%;
    }
}

/* Mobile */

@media (max-width: 576px) {

    .thank-you-wrapper {
        padding: 15px;
    }

    .thank-you-page {
        padding: 20px;
        border-radius: 16px;
    }

    .success-icon {
        width: 90px;
        height: 90px;
        min-width: 90px;
    }

    .success-icon span {
        font-size: 42px;
    }

    .header-content h1 {
        font-size: 34px;
    }

    .header-content h2 {
        font-size: 22px;
    }

    .info-card,
    .contact-card {
        padding: 20px;
    }

    .info-card h3,
    .contact-card h3 {
        font-size: 22px;
    }

    .dot {
        width: 28px;
        height: 28px;
        min-width: 28px;
        font-size: 12px;
    }

    .para-01 {
        font-size: 14px;
    }

    .contact-item {
        font-size: 15px;
    }

    .thank-you-wrapper {
        padding: 120px 20px 60px!important;
    }
}
