/* ========================================
   THANK YOU SECTION
======================================== */

.thankyou-section {
    width: 100%;

    min-height: 100vh;

    padding: 40px 0;

    background: #f3f3f3;

    display: flex;

    align-items: center;

    overflow: hidden;
}


/* ========================================
   CONTAINER
======================================== */

.thankyou-container {
    width: 100%;

    max-width: 1300px;

    margin: 0 auto;

    padding: 0 30px;

    box-sizing: border-box;
}


/* ========================================
   MAIN GRID
======================================== */

.thankyou-grid {
    display: grid;

    grid-template-columns: 1fr;

    gap: 50px;

    align-items: center;
}


/* ========================================
   THANK YOU MESSAGE AREA
======================================== */

.thankyou-message-area {
    width: 100%;

    display: flex;

    align-items: center;

    justify-content: center;
}


/* ========================================
   THANK YOU CARD
======================================== */

.thankyou-card {
    width: 100%;

    max-width: 480px;

    min-height: 300px;

    padding: 45px 30px;

    box-sizing: border-box;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

    background: #ffffff;

    border: 2px solid #f2b07e;

    border-radius: 16px;

    box-shadow:
        0 15px 40px rgba(40, 45, 52, 0.06);
}



/* ========================================
   THANK YOU ICON
======================================== */

.thankyou-icon {
    width: 140px;
    height: 140px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 15px;

    overflow: hidden;
}


/* THANK YOU ICON IMAGE */

.thankyou-icon img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: contain;
}

/* ========================================
   THANK YOU TITLE
======================================== */

.thankyou-card h1 {
    margin: 0 0 12px;

    color: #2b3038;

    font-size: clamp(28px, 4vw, 38px);

    font-weight: 700;

    line-height: 1.2;
}


/* ========================================
   THANK YOU DESCRIPTION
======================================== */

.thankyou-card p {
    max-width: 320px;

    margin: 0;

    color: #7a8087;

    font-size: 13px;

    line-height: 1.7;
}


/* ========================================
   BACK BUTTON
======================================== */

.thankyou-btn {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    margin-top: 25px;

    padding: 12px 24px;

    border-radius: 7px;

    background: #f47721;

    color: #ffffff;

    text-decoration: none;

    font-size: 13px;

    font-weight: 600;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;
}


.thankyou-btn:hover {
    background: #e76612;

    transform: translateY(-2px);

    box-shadow:
        0 10px 20px rgba(232, 119, 34, 0.2);
}


/* ========================================
   CONTACT AREA
======================================== */

.thankyou-contact-area {
    width: 100%;

    min-width: 0;
}


/* ========================================
   CONTACT HEADING
======================================== */

.thankyou-heading {
    margin-bottom: 25px;
}


.thankyou-label {
    display: inline-block;

    margin-bottom: 7px;

    color: #df7023;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 1.8px;

    text-transform: uppercase;
}


.thankyou-heading h2 {
    margin: 0;

    color: #2b3038;

    font-size: clamp(26px, 4vw, 34px);

    font-weight: 700;

    line-height: 1.25;
}


/* ========================================
   CONTACT DETAILS
======================================== */

.thankyou-contact-details {
    display: flex;

    flex-direction: column;

    gap: 18px;

    margin-bottom: 30px;
}


/* ========================================
   CONTACT DETAIL
======================================== */

.thankyou-contact-detail {
    display: flex;

    align-items: flex-start;

    gap: 14px;
}


/* ========================================
   CONTACT ICON
======================================== */

.thankyou-contact-icon {
    width: 42px;

    height: 42px;

    flex-shrink: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    font-size: 16px;
}


/* Location */

.location-icon {
    background: #fdecef;

    color: #e45454;
}


/* Phone */

.phone-icon {
    background: #fdeaf1;

    color: #d5447d;
}


/* Email */

.email-icon {
    background: #e8f4f9;

    color: #287da5;
}


/* Hours */

.hours-icon {
    background: #eef1f3;

    color: #56616b;
}


/* ========================================
   CONTACT CONTENT
======================================== */

.thankyou-detail-content {
    min-width: 0;
}


.thankyou-detail-content h4 {
    margin: 0 0 5px;

    color: #333840;

    font-size: 13px;

    font-weight: 600;
}


.thankyou-detail-content p,
.thankyou-detail-content a {
    margin: 0;

    color: #747a82;

    font-size: 12px;

    line-height: 1.6;

    text-decoration: none;
}


.thankyou-detail-content a:hover {
    color: #e87722;
}


/* ========================================
   MAP
======================================== */

.thankyou-map {
    width: 100%;

    height: 260px;

    overflow: hidden;

    border-radius: 10px;

    background: #e5e5e5;
}


.thankyou-map iframe {
    width: 100%;

    height: 100%;

    display: block;

    border: none;
}


/* ========================================
   TABLET
======================================== */

@media (min-width: 600px) {

    .thankyou-container {
        padding: 0 40px;
    }


    .thankyou-card {
        min-height: 320px;
    }


    .thankyou-map {
        height: 300px;
    }

}


/* ========================================
   DESKTOP
======================================== */

@media (min-width: 1024px) {

    .thankyou-section {
        padding: 30px 0;
    }


    .thankyou-container {
        max-width: 1400px;

        padding: 0 60px;
    }


    .thankyou-grid {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(0, 1fr);

        gap: 80px;

        align-items: center;
    }


    .thankyou-card {
        max-width: 500px;

        min-height: 330px;
    }


    .thankyou-map {
        height: 260px;
    }

}


/* ========================================
   LARGE DESKTOP
======================================== */

@media (min-width: 1400px) {

    .thankyou-container {
        max-width: 1500px;

        padding: 0 80px;
    }


    .thankyou-grid {
        gap: 110px;
    }


    .thankyou-map {
        height: 300px;
    }

}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 599px) {

    .thankyou-section {
        min-height: auto;

        padding: 60px 0;
    }


    .thankyou-container {
        padding: 0 20px;
    }


    .thankyou-grid {
        gap: 55px;
    }


    .thankyou-card {
        min-height: 280px;

        padding: 35px 20px;
    }


    .thankyou-icon {
        font-size: 36px;
    }


    .thankyou-map {
        height: 230px;
    }

}


/* ========================================
   SMALL MOBILE
======================================== */

@media (max-width: 380px) {

    .thankyou-container {
        padding: 0 15px;
    }


    .thankyou-card {
        padding: 30px 15px;

        min-height: 260px;
    }


    .thankyou-contact-detail {
        gap: 12px;
    }


    .thankyou-contact-icon {
        width: 38px;

        height: 38px;
    }


    .thankyou-map {
        height: 210px;
    }

}