/* ================= CONTACT PAGE ================= */

.sample-section {

    width: 100%;

    min-height: 650px;

    background: linear-gradient(
        to bottom,
        #ffffff 0%,
        #fffef8 20%,
        #fbf8e9 55%,
        #fbf8e9 100%
    );

    display: flex;

    justify-content: center;

    align-items: flex-start;

    padding: 75px 80px;

    box-sizing: border-box;

    gap: 80px;
}


.sample-left {

    width: 55%;
}


.sample-left h2 {

    margin: 0;

    font-family: "Manrope", sans-serif;

    font-size: 36px;

    font-weight: 600;

    color: #404040;
}


.sample-left p {

    width: 600px;

    margin-top: 75px;

    font-family: "Inter", sans-serif;

    font-size: 16px;

    line-height: 1.4;

    color: #34485a;
}


.sample-image {

    width: 530px;

    margin-top: 65px;
}


.sample-image img {

    width: 100%;

    height: auto;

    display: block;

    opacity: 0.5;
}


.sample-form-card {

    width: 520px;

    background: white;

    border: 1px solid #6f8d61;

    border-radius: 20px;

    padding: 55px 48px;

    box-sizing: border-box;
}


.sample-form-card form {

    display: flex;

    flex-direction: column;
}


.sample-form-card label {

    margin-bottom: 16px;

    font-family: "Inter", sans-serif;

    font-size: 16px;

    font-weight: 500;

    color: #404040;
}


.sample-form-card input,
.sample-form-card select,
.sample-form-card textarea {

    width: 100%;

    box-sizing: border-box;

    background: #f5f5f5;

    border: 1px solid #e5e5e5;

    border-radius: 12px;

    padding: 20px 16px;

    font-family: "Inter", sans-serif;

    font-size: 16px;

    outline: none;
}


.sample-form-card input,
.sample-form-card select {

    height: 55px;

    margin-bottom: 42px;
}


.sample-form-card textarea {

    height: 125px;

    resize: none;

    margin-bottom: 38px;
}


.sample-form-card button {

    width: 100%;

    height: 60px;

    border: none;

    border-radius: 12px;

    background: #6f8d61;

    color: white;

    font-family: "Inter", sans-serif;

    font-size: 16px;

    cursor: pointer;

    transition: background 0.3s ease;
}


.sample-form-card button:hover {

    background: #355f2a;
}


/* ================= CONTACT SPACING ================= */

.sample-section {

    display: flex !important;

    justify-content: center !important;

    align-items: flex-start;

    gap: 80px !important;

    padding-left: 80px !important;

    padding-right: 80px !important;
}


.sample-left {

    width: 520px !important;

    flex-shrink: 0 !important;
}


.sample-form-card {

    width: 520px !important;

    flex-shrink: 0 !important;

    margin-left: 0 !important;
}


/* =========================================================
   CONTACT PAGE - MOBILE RESPONSIVE
   ========================================================= */

@media screen and (max-width: 600px) {

    /* Main section becomes vertical */

    .sample-section {

        display: flex !important;

        flex-direction: column !important;

        width: 100% !important;

        min-height: auto !important;

        height: auto !important;

        gap: 40px !important;

        padding: 40px 16px 50px !important;

        align-items: center !important;

        justify-content: flex-start !important;

        box-sizing: border-box !important;
    }


    /* LEFT CONTENT */

    .sample-left {

        width: 100% !important;

        max-width: 500px !important;

        flex: 0 0 auto !important;

        flex-shrink: 1 !important;
    }


    /* Heading */

    .sample-left h2 {

        font-size: 27px !important;

        line-height: 1.2 !important;
    }


    /* Paragraph */

    .sample-left p {

        width: 100% !important;

        max-width: 100% !important;

        margin-top: 25px !important;

        font-size: 14px !important;

        line-height: 1.5 !important;
    }


    /* IMAGE */

    .sample-image {

        width: 100% !important;

        max-width: 450px !important;

        margin: 25px auto 0 !important;
    }


    .sample-image img {

        width: 100% !important;

        height: auto !important;

        display: block !important;
    }


    /* FORM */

    .sample-form-card {

        width: 100% !important;

        max-width: 500px !important;

        margin: 0 !important;

        flex: 0 0 auto !important;

        flex-shrink: 1 !important;

        padding: 30px 20px !important;

        box-sizing: border-box !important;
    }


    /* FORM FIELDS */

    .sample-form-card input,
    .sample-form-card select,
    .sample-form-card textarea {

        width: 100% !important;

        box-sizing: border-box !important;
    }


    .sample-form-card input,
    .sample-form-card select {

        height: 48px !important;

        margin-bottom: 24px !important;
    }


    .sample-form-card textarea {

        height: 100px !important;

        margin-bottom: 24px !important;
    }


    .sample-form-card button {

        width: 100% !important;

        height: 50px !important;
    }
}


/* =========================================================
   VERY SMALL PHONES
   ========================================================= */

@media screen and (max-width: 380px) {

    .sample-section {

        padding: 30px 12px 45px !important;

        gap: 30px !important;
    }


    .sample-left h2 {

        font-size: 24px !important;
    }


    .sample-left p {

        font-size: 13px !important;
    }


    .sample-form-card {

        padding: 25px 16px !important;
    }
}

/* ================= REQUIRED FIELD ================= */

.required {
    color: #c94a4a;
    font-weight: 600;
}


/* ================= DISABLED SUBMIT ================= */

.sample-form-card button:disabled {
    background-color: #b8c4b2;
    color: #ffffff;
    cursor: not-allowed;
    opacity: 0.8;
}

.sample-form-card button:not(:disabled) {
    background-color: #6f8d61;
    cursor: pointer;
}

/* ================= LOCATION DROPDOWN FIX ================= */

.sample-form-card select {
    width: 100% !important;
    height: 55px !important;
    padding: 0 12px !important;
    font-size: 16px !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
}


/* Mobile */
@media screen and (max-width: 600px) {

    .sample-form-card select {
        width: 100% !important;
        height: 48px !important;
        padding: 0 40px 0 16px !important;
        font-size: 14px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

}