.contact-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}


.contact-container {
    position: absolute;
    top: 20%;
    left: 5%;
    width: 90%;
    height: 70%;
    border-radius: 30px 30px 0 30px; /* hanya pojok kanan bawah */
    background: #1d1d1b;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px 48px;
}

/* Two columns */
.contact-left,
.contact-right {
    position: relative;
    height: 100%;
}

.contact-left {
    flex: 0 0 48%;
    color: #f3f4f6;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 32px;
}

.contact-right { flex: 0 0 48%; display: flex; align-items: center; justify-content: center; padding-left: 32px; }

/* Center divider not touching the top (gap at top) */
.contact-container::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 56px; /* gap from the top */
    bottom: 0px;
    width: 2px;
    background: #3f3f46;
}

/* Thin horizontal line near the top (like screenshot) */
.contact-container::after {
    content: "";
    position: absolute;
    left: 48px;
    right: 46%;
    top: 38px;
    height: 2px;
    background: #3f3f46;
}

.contact-logo {
    top: 20%;
    position: absolute;
    left: 4.95%;
    z-index: 10;
}

.contact-logo-blue {
    width: 310px;
    height: 108px;
    top: 20%;
    position: absolute;
    left: 5%;
    z-index: 10;
}

.contact-text p { 
    color: #e5e7eb; 
    margin: 10px 0; 
    line-height: 1.5; 
    font-size: 16px; 
}

/* Left content styles */
.contact-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin: 14px 0;
}

.contact-item i {
    font-size: 18px;
    color: #60a5fa;
    margin-top: 3px;
}

.contact-item-text h5 {
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 4px 0;
    color: #e5e7eb;
}

.contact-item-text p {
    font-size: 14px;
    margin: 0;
    color: #cbd5e1;
}

.social-icons {
    display: flex;
    gap: 12px;
    margin-top: 18px;
}

.social-icons a { width: 48px; height: 48px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #e5e7eb; text-decoration: none; transition: transform .2s ease, background .2s ease, color .2s ease; border:1px solid #6b7280; background: transparent; font-size: 18px; }

.social-icons a:hover { 
    transform: translateY(-2px);
    background: #2a2a28;
}

/* Map */
.map-wrapper { width: 100%; height: 100%; border-radius: 18px 18px 0 18px;  overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.map-wrapper iframe { width: 100%; height: 100%; border: 0; filter: grayscale(10%) contrast(95%); }

/* Copyright */
.contact-copy { color: #cbd5e1; margin-top: 22px; font-size: 14px; }

/* Responsive */
@media (max-width: 992px) {
    .contact-container {
        flex-direction: column;
        padding: 28px;
    }
    .contact-container::before { display: none; }
    .contact-container::after { left: 28px; right: 28px; }
    .contact-left,
    .contact-right { flex: 0 0 auto; width: 100%; height: auto; padding: 0; }
    .contact-right { margin-top: 20px; }
    .map-wrapper { height: 320px; }
}

.contact-container-blue {
    position: absolute;
    top: 23%;
    left: 7%;
    width: 90%;
    height: 70%;
    border-radius: 0 0 0 0; /* hanya pojok kanan bawah */
    clip-path: polygon(100% 0, 100% 80%, 90% 100%, 0 100%, 0 0);
    background: linear-gradient(135deg, #0052cc, #263238);
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px 48px;
}

@media (max-width: 992px) {
    .contact-section {
        /* Biarkan section tumbuh sesuai konten, beri padding */
        min-height: auto;
        height: auto;
        padding: 80px 20px;
        align-items: flex-start; /* Konten mulai dari atas */
    }

    .contact-container {
        /* Ubah dari absolute ke relative agar mengikuti alur dokumen */
        position: relative;
        flex-direction: column;
        padding: 28px;
        /* Hapus properti positioning & sizing absolut */
        top: auto;
        left: auto;
        width: 100%;
        height: auto;
    }

    /* SEMBUNYIKAN SEMUA ELEMEN DEKORATIF DI MOBILE */
    .contact-container-blue,
    .contact-logo,
    .contact-logo-blue {
        display: none;
    }
    
    /* Hapus garis pemisah vertikal */
    .contact-container::before {
        display: none;
    }

    /* Atur ulang garis horizontal agar penuh */
    .contact-container::after {
        left: 28px;
        right: 28px;
        top: 20px; /* Sesuaikan posisi */
    }

    .contact-left,
    .contact-right {
        flex: 0 0 auto;
        width: 100%;
        height: auto;
        padding: 0;
    }
    
    .contact-text {
        padding-top: 30px; /* Atur ulang padding karena logo hilang */
    }

    .contact-right {
        margin-top: 30px;
    }

    .map-wrapper {
        height: 320px;
    }
}