.contact-section {
    position: relative;
    height: 100vh;
}

.contact-container {
    color: #2E8B57;
    display: flex;
    gap: 5rem;
    /* Reduced from 7rem */
    padding: 0 0 0 6em;
    font-family: 'Inter', sans-serif;
    align-items: center;
    width: 100%;
    height: 100%;
    /* Match parent */
}

.contact-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 520px;
}

.contact-card {
    background: #fff;
    border-radius: 12px;
    border: 5px solid #2E8B57;
    padding: 2rem;
    gap: 15px;
    width: 550px;
    text-align: justify;
    display: flex;
    flex-direction: column;
}

.contact-card h1 {
    text-align: center;
}

.illustration-container {
    position: relative;
    width: 100%;
}

.illustration-container img {
    transform: scaleX(-1);
    width: 100%;
    height: auto;
}

.social-icons {
    display: flex;
    gap: 4rem;
    margin-top: 1.5rem;
}

.social-icon {
    width: 80px;
    height: 80px;
    background: #2E8B57;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-icon svg {
    width: 50px;
    height: 50px;
    fill: white;
}

.form-input {
    width: 100%;
    /* Sesuaikan dengan lebar yang ada */
    padding: 0.5rem 1rem;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    font-size: 0.875rem;
    background-color: #DBEFDC;
    resize: vertical;
    /* Hanya izinkan resize secara vertikal */
    max-width: 100%;
    /* Batasi agar tidak melebihi lebar kontainer */
    box-sizing: border-box;
    /* Agar padding tidak mempengaruhi ukuran */
}

.form-label {
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    /* Jarak antar elemen di dalam form */
}

.buttton-contact {
    margin-left: auto;
    background-color: #DBEFDC;
    /* Warna background */
    color: #2E8B57;
    /* Warna teks */
    padding: 0.5rem 1rem;
    /* Spasi di dalam tombol */
    border: none;
    /* Menghilangkan border */
    border-radius: 8px;
    /* Sudut rounded */
    cursor: pointer;
    /* Ubah kursor menjadi pointer saat hover */
    transition: background-color 0.3s ease, color 0.3s ease;
    /* Animasi transisi */
}

/* Hover effect */
.buttton-contact:hover {
    background-color: #C4E6C8;
    /* Warna background saat hover */
    color: #2E8B57;
    /* Warna teks saat hover */
    transition-delay: 0s !important;
}

/* Fokus untuk aksesibilitas */
.buttton-contact:focus {
    outline: 2px solid #2E8B57;
    /* Garis fokus */
    outline-offset: 2px;
    /* Jarak outline dari tombol */
}

.text-link {
    color: #2E8B57;
    font-weight: 600;
}

/* Responsive adjustments */
@media (max-width: 968px) {
    .contact-section {
        height: 100vh;
        background-color: #E8F5E9;
        position: relative;
        overflow: hidden;
    }

    .contact-container {
        flex-direction: column;
        padding: 2rem 1.5rem;
        gap: 2rem;
        align-items: center;
        justify-content: flex-start;
        height: 100%;
    }

    .contact-left {
        width: 100%;
        max-width: 100%;
        order: 2;
    }

    .illustration-container {
        max-width: 150px;
        margin: 0 auto 1rem;
        order: 1;
    }

    .illustration-container img {
        transform: scaleX(1);
    }

    .contact-card {
        width: 100%;
        max-width: 340px;
        margin: 0 auto;
        padding: 1.5rem;
        border: 4px solid #2E7D32;
        border-radius: 20px;
        position: static;
        left: auto;
        transform: none;
    }

    .contact-card h1 {
        font-size: 1.4rem;
        margin-bottom: 0.5rem;
    }

    .contact-card p {
        font-size: 0.8rem;
        text-align: center;
        margin-bottom: 1rem;
    }

    .form-input {
        padding: 0.8rem;
        font-size: 0.85rem;
        background-color: #D4E7D7;
        border: none;
        border-radius: 10px;
    }

    .form-input::placeholder {
        color: #2E7D32;
        opacity: 0.5;
    }

    .buttton-contact {
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
        background-color: #D4E7D7;
        border-radius: 10px;
    }

    .text-link {
        font-size: 0.85rem;
    }

    .social-icons {
        display: none;
    }

    /* Mobile navigation (single back button) */
    .mobile-nav-single {
        display: flex;
        justify-content: center;
        margin-top: auto;
        padding-bottom: 1rem;
    }

    .btn-nav-mobile-single {
        background-color: #2E7D32;
        color: white;
        padding: 10px 20px;
        border-radius: 25px;
        font-size: 0.85rem;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 5px;
    }
}