:root {
    --second-family: 'Plus Jakarta Sans', sans-serif;
    --body-font: 'DM Sans', sans-serif;
    --color-text-text-950: #0f172a;
    --color-text-text-450: #64748b;
    --primary: #4FB893;
    --color-neutral-neutral-800: #262626;
    --color-badge-bg: #D8F3E5;
    --color-badge-text: #0f3f2e;
}

body{
      background-color: #FFFFFF;
      color: var(--text-950);
      font-family: var(--body-font);
      margin: 0;
      overflow-x: hidden;
    }

.info-box {
    display: inline-block;
    background-color: var(--color-badge-bg);
    color: var(--color-badge-text);
    font-weight: 600;
    font-size: 1rem;
    padding: 0.375rem 0.875rem;
    border-radius: 0.3125rem;
    margin-bottom: 0.5rem;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.contact-section {
    width: 100%;
    padding: 4rem 0 3rem 0;
    background: #ffffff;
    font-family: var(--body-font);
    box-sizing: border-box;
}

.contact-containers {
    background: #ffffff;
    max-width: 88.75rem;
    margin: 0 auto;
    padding: 0 1.25rem;
    box-sizing: border-box;
}

.section-header {
    width: 100%;
    text-align: left;
    margin-bottom: 2.5rem;
}

.section-header .info-box {
    margin-bottom: 0.75rem;
}

.section-header h2 {
    font-family: var(--second-family);
    font-weight: 700;
    font-size: 2.375rem;
    /* font-size: 42; */
    line-height: 1.2;
    color: #292929;
    margin: 0;
    padding-top: 0;
    text-align: left;
}

.section-header h2 br {
    display: none;
}

.flex-containerst {
    background: #ffffff;
    display: flex;
    gap: 2.5rem;
    align-items: flex-start;
    position: relative;
}

.left-side {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    padding-top: 0;
    text-align: left;
    width: 100%;
    min-width: 0;
}

form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

input.form-control,
textarea.form-control {
    border: 1px solid var(--color-neutral-neutral-800);
    border-radius: 1rem;
    padding: 1rem;
    font-size: 1rem;
    color: #1e293b;
    background-color: transparent;
    outline: none;
    box-sizing: border-box;
    text-align: left;
    width: 100%;
    font-family: var(--body-font);
}

input.form-control {
    height: 3.4375rem;
}

textarea.form-control {
    height: 7.5rem;
    resize: none;
}

input.form-control:hover,
textarea.form-control:hover,
input.form-control:focus,
textarea.form-control:focus {
    border-color: var(--color-neutral-neutral-800);
    background-color: transparent;
    box-shadow: none;
    outline: none;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

button.submit-btn {
    background: var(--primary);
    color: #fff;
    font-weight: 500;
    font-size: 1.3125rem;
    line-height: 1.3;
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    border: none;
    cursor: pointer;
    width: 13.5rem;
    height: 3rem;
    transition: background-color 0.3s ease;
    margin-top: 0.5rem;
    text-align: center;
    box-sizing: border-box;
    font-family: var(--body-font);
    width: 216px;
    height: 55px;
    display: inline-block;

    /* Ukuran konsisten & selalu rata kiri */
}

button.submit-btn:hover {
    background: #45a382;
}

.right-side {
    flex: 1.3;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    min-width: 0;
}

.img-wrapper {
    width: 100%;
    aspect-ratio: 4 / 3;
    display: flex;
    justify-content: center;
    align-items: center;
}

.img-wrapper img {
    width: 337.62px;
    height: 331.15px;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0.5rem;
    display: block;
    max-width: 68%;
}

/* Desktop */
@media (min-width: 64.0625rem) {


    .section-header {
        text-align: left;
        margin-top: -0.9375rem;
    }

    .left-side {
        margin-top: -1.25rem;
    }

    .right-side .img-wrapper {
        margin-top: -9.375rem;
    }
}

/* Tablet */
@media (max-width: 64rem) {
    .contact-containers {
        padding: 0 1.5rem;
    }

    .section-header {
        text-align: left;
        margin-bottom: 1.5rem;
    }

    .section-header h2 {
        font-size: 2.25rem;
    }

    .flex-containerst {
        flex-direction: column;
        gap: 1.25rem;
    }

    .right-side {
        order: 1;
        width: 100%;
        margin: 0;
    }

    .left-side {
        order: 2;
        width: 100%;
        margin-top: 1rem;
    }
}

/* === Mobile khusus (gambar di atas, form di bawah) === */
@media (max-width: 768px) {
    .flex-containerst {
        display: flex;
        flex-direction: column;
        gap: 0px;
    }
    .contact-section {
        width: 100%;
        padding: 0.5rem 0 3rem 0;
        background: #ffffff;
        font-family: var(--body-font);
        box-sizing: border-box;
    }

    .img-wrapper img {
        width: 339px;
        height: 332px;
        width: 100%;
        height: 100%;
        object-fit: contain;
        border-radius: 0.5rem;
        display: block;
        max-width: 68%;
    }

    /* Gambar dulu */
    .right-side {
        order: -1 !important;
        width: 100%;
        /* margin: 0 auto; */
    }

    /* Form setelah gambar */
    .left-side {
        order: 0 !important;
        width: 100%;
    }

    form {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    /* Nama tetap full */
    #name {
        grid-column: 1 / -1;
        width: 100%;
    }

    /* Email & phone sejajar */
    .form-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
        width: 100%;
    }

    /* Textarea full */
    #message {
        width: 100%;
    }

    /* Button di tengah */
    .submit-btn {
        width: 100%;
        width: 216px;
        height: 55px;
        max-width: 344px;
        margin: 0;
    }
}
/* Small Mobile */
@media (max-width: 30rem) {
    .contact-containers {
        padding: 0 0.5rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .section-header h2 br {
        display: block;
    }

    input.form-control,
    textarea.form-control {
        font-size: 0.875rem;
        padding: 0.75rem;
    }

    button.submit-btn {
        width: 100%;
        max-width: 13.5rem;
    }
}