/* =========================================
   CONTACT US PAGE - PT PURNAMA SIWI MANDIRI
   ========================================= */

/* --- 1. HERO SECTION (Bagian Atas) --- */
.contact-hero {
    background-color: #6C8EBF; /* Warna cadangan kalau gambar gagal dimuat */
    background-image: url('nama-file-gambar-kamu.jpg'); /* Jangan lupa sesuaikan nama filenya */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    text-align: center;
    padding: 80px 20px 150px; 
}

/* Tambahan agar teks tetap terbaca jelas di atas gambar */
.contact-hero h1 {
    font-size: 32px;
    letter-spacing: 2px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4);
}

.contact-hero p {
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
}

/* 4 Titik Putih di bawah judul */
.hero-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 25px;
}

.hero-dots span {
    width: 8px;
    height: 8px;
    background-color: white;
    border-radius: 50%;
}

.contact-hero p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 15px;
    line-height: 1.6;
    color: #eef4fc;
}


/* --- 2. CONTACT CARDS (4 Kotak Informasi di Tengah) --- */
.contact-cards {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: -80px; 
    position: relative;
    z-index: 10;
    padding: 0 20px;
}

/* Desain individual masing-masing kotak */
.c-card {
    background-color: white;
    padding: 40px 25px;
    flex: 1;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-radius: 5px;
}

.c-card i {
    font-size: 30px;
    color: #2B5490;
    margin-bottom: 20px;
}

.c-card h3 {
    font-size: 20px;
    color: #2B5490;
    margin-bottom: 15px;
}

.c-card p {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
}

.c-card a {
    color: #2B5490;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
}

.c-card a:hover {
    color: #6C8EBF;
}


/* --- 3. WRAPPER & FORM SECTION (Area Form Kirim Pesan) --- */
.contact-section {
    padding: 80px 20px;
    background-color: #f8fafc; 
    display: flex;
    justify-content: center;
}

/* Kotak Pembungkus Utama (Warna Putih) */
.contact-wrapper {
    display: flex;
    max-width: 1100px;
    width: 100%;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
    padding: 15px;
}

/* Kotak Khusus Form (Kiri) */
.contact-form-box {
    flex: 1.6; 
    padding: 40px 50px;
}

.contact-form-box h2 {
    color: #2B5490;
    font-size: 32px;
    margin-bottom: 10px;
}

.contact-form-box p {
    color: #64748b;
    font-size: 15px;
    margin-bottom: 40px;
    line-height: 1.6;
}

/* Baris inputan sejajar (Misal: First Name & Last Name) */
.form-row {
    display: flex;
    gap: 25px;
    margin-bottom: 25px;
}

.input-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.input-group label {
    font-size: 14px;
    color: #1e293b;
    font-weight: 700;
    margin-bottom: 10px;
}

/* Styling Input Text & Textarea */
.input-group input,
.input-group textarea {
    width: 100%;
    padding: 14px 20px;
    border: 1px solid #e2e8f0;
    border-radius: 30px; /* Bentuk membulat ala referensi */
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: all 0.3s ease;
}

.input-group textarea {
    border-radius: 20px;
    resize: vertical;
}

.input-group input:focus,
.input-group textarea:focus {
    border-color: #2B5490; /* Biru pas diklik */
    box-shadow: 0 0 0 3px rgba(43, 84, 144, 0.1);
}

/* Khusus Input No HP dengan Dropdown Kode Negara */
.phone-input {
    display: flex;
    border: 1px solid #e2e8f0;
    border-radius: 30px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.phone-input:focus-within {
    border-color: #2B5490;
    box-shadow: 0 0 0 3px rgba(43, 84, 144, 0.1);
}

.phone-input select {
    border: none;
    background: transparent;
    padding: 0 10px 0 20px;
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    outline: none;
    border-right: 1px solid #e2e8f0;
}

.phone-input input {
    border: none;
    border-radius: 0;
    padding-left: 15px;
}

.phone-input input:focus {
    box-shadow: none; /* Hilangin shadow dobel di input nomor */
}

/* Area Tombol Submit */
.submit-row {
    display: flex;
    justify-content: flex-end; /* Posisi tombol di kanan */
    margin-top: 30px;
}

.btn-submit {
    background-color: #2B5490;
    color: #ffffff;
    padding: 14px 40px;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background-color: #1e3a66;
    transform: translateY(-2px);
}


/* --- 4. MAP SECTION (Bagian Peta Google) --- */
.map-section {
    margin-top: 60px; /* Jarak dari batas bawah form ke peta */
    width: 100%;
}

.map-section iframe {
    display: block; /* Menghilangkan jeda putih misterius di bawah iframe peta */
}


/* --- 5. RESPONSIVE (Untuk Tampilan Layar HP) --- */
@media (max-width: 768px) {
    .contact-cards {
        flex-direction: column; /* Ubah kotak jadi atas-bawah di HP */
        margin-top: -40px;
    }
    
    .contact-hero {
        padding: 60px 20px 80px;
    }

    .form-row {
        flex-direction: column; /* Input form sejajar jadi atas-bawah di HP */
        gap: 15px;
    }
}