/* ==================Form Section================== */
.form-section {
    max-width: 1240px;
    width: 100%;
    margin: 100px auto;
    display: flex;
    border-radius: 24px;
    overflow: hidden;
    background: #FFFFFF;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.form-left {
    width: 50%;
    background: linear-gradient(180deg, #0A2F2F 0%, #1B6F6F 100%);

    padding: 48px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.form-description {
    font-weight: 500;
    font-size: 26px;
    line-height: 1.35;
    text-transform: none;

    width: 480px;
    margin-bottom: 36px;

    color: #FFFFFF;
}

.reach-out-btn {
    width: 200px;
    height: 44px;
    background: #FFFFFF;
    border: none;
    font-size: 18px;
    font-weight: 500;

    border-radius: 30px;
}

.form-or {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.219em;
    letter-spacing: 1%;
    text-transform: uppercase;
    color: #FFFFFF;
    margin-bottom: 39px;
    margin: 24px 0;
}

.fill-form-btn {
    width: 162px;
    height: 29px;
    background: transparent;
    border: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 1.219em;
    letter-spacing: 1%;
    text-transform: uppercase;
    color: #FFFFFF;
    cursor: pointer;
    margin-bottom: 180px;
}

.form-image {
    width: 120px;
    height: auto;
    opacity: 0.35;
}

.form-image img {
    width: 100%;
    height: auto;
}

.form-right {
    width: 50%;
    background: #F6FAFA;
    position: relative;
    padding: 48px 64px;
}
.form-right::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10%;
    height: 80%;
    width: 1px;

    background: rgba(10, 47, 47, 0.15);
}
.form-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 36px;
    line-height: 1.219em;
    letter-spacing: 1%;
    text-transform: uppercase;
    color: #0A2F2F;
    width: 100px;
    height: 44px;
    margin-bottom: 29px;
    text-align: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.form-group {
    width: 508px;
    height: 62px;
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 3px;
    display: flex;
    flex-direction: column;
}

.form-label {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 22px;
    line-height: 1.219em;
    letter-spacing: 1%;
    text-transform: uppercase;
    color: #0A2F2F;
    margin-bottom: 4px;
}

.form-input {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 12px;
    line-height: 1.219em;
    letter-spacing: 1%;
    text-transform: uppercase;
    color: #3F5F5F;
    background: transparent;
    border: none;
    outline: none;
    padding: 5px;
}

.submit-btn {
    width: 288px;
    height: 61px;
    background: #1B6F6F;
    border: 1px solid;
    border-radius: 40px;
    box-shadow: 0px 6px 10px 0px rgba(0, 0, 0, 0.2);
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 28px;
    line-height: 1.219em;
    letter-spacing: 1%;
    text-transform: uppercase;
    color: #FFFFFF;
    cursor: pointer;
    margin: 37px 0 0 165px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

button {
    font-family: inherit;
}
.form-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2399A3A4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 14px;
    cursor: pointer;
}

/* ==============Tablet Responsive============== */
@media (max-width: 768px) {

    .form-section {
        max-width: 720px;
        margin: 60px auto;
    }

    .form-left,
    .form-right {
        padding: 32px;
    }

    .form-description {
        font-size: 20px;
        width: 100%;
        text-align: center;
    }

    .reach-out-btn {
        width: 180px;
        height: 40px;
        font-size: 16px;
    }

    .fill-form-btn {
        font-size: 16px;
        margin-bottom: 100px;
    }

    .form-title {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .form-group {
        width: 100%;
        height: auto;
    }

    .form-label {
        font-size: 18px;
    }

    .form-input {
        font-size: 11px;
    }

    .submit-btn {
        width: 240px;
        height: 52px;
        font-size: 22px;
        margin: 30px auto 0;
    }
}
/* ==============Mobile Responsive============== */
@media (max-width: 400px) {

    /* Prevent horizontal overflow (Chrome fix) */
    html, body {
        width: 100%;
        overflow-x: hidden;
    }

    .form-section {
        flex-direction: column;
        margin: 24px auto;
        padding: 0;
        width: calc(100% - 24px);
        max-width: 360px;
        border-radius: 20px;
        align-items: center;
        justify-content: center;
    }

    .form-left {
        display: none;
    }

    .form-right {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        padding: 24px 16px;
    }

    .form-right::before {
        display: none;
    }

    .form-title {
        font-size: 22px;
        text-align: center;
        width: 100%;
        margin-bottom: 20px;
    }

    .contact-form {
        gap: 18px;
        width: 100%;
    }

    .form-group {
        width: 100%;
    }

    .form-label {
        font-size: 14px;
    }

    .form-input {
        width: 100%;
        font-size: 12px;
        padding: 10px 12px;
    }

    .submit-btn {
        display: block;
        width: 160px;
        height: 46px;
        font-size: 18px;
        margin: 24px auto 0;
    }
}
/* ================= SUBMIT LOADER (GLOBAL) ================= */

button[type="submit"].loading,
.submit-btn.loading {
    pointer-events: none;
    opacity: 0.85;
    position: relative;
}

button[type="submit"].loading::after,
.submit-btn.loading::after {
    content: "";
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: #ffffff;
    border-radius: 50%;
    display: inline-block;
    margin-left: 10px;
    vertical-align: middle;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ==================End of Form Section================== */