/* ═══════════════════════════════════════
   CONTACT US — info kontak + form pesan
   (mengikuti pattern & style halaman lain)
═══════════════════════════════════════ */
/* Section memakai .portofolio-section (background page-bg-new + gradient,
   full-bleed, padding) dari portofolio.css — konsisten dengan halaman lain. */
.contact-section {
}

/* ── LAYOUT 2 KOLOM: kiri info + kanan form ── */
.contact-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: clamp(24px, 3vw, 40px);
    align-items: stretch;
    margin-bottom: clamp(40px, 6vw, 64px);
}

/* ── GRID INFO KONTAK (kiri) ── */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.contact-info-card {
    background: #fff;
    border-radius: 18px;
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    padding: 26px 24px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(37, 99, 235, 0.12);
    border-color: rgba(37, 99, 235, 0.25);
}

.contact-info-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
    color: #fff;
    font-size: 1.3rem;
}

.contact-info-title {
    font-family: 'Sora', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #0b1f3a;
    margin: 0 0 8px;
}

.contact-info-text {
    font-size: 0.88rem;
    color: #5b6b76;
    line-height: 1.7;
    margin: 0;
}

.contact-info-text a {
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
}

.contact-info-text a:hover {
    text-decoration: underline;
}

/* ── FORM (kanan) ── */
.contact-form-card {
    background: #fff;
    border-radius: 18px;
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    padding: 18px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.contact-form {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.contact-form-head {
    text-align: center;
    margin-bottom: 8px;
}

.contact-form-title {
    font-family: 'Sora', sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    color: #0b1f3a;
    margin: 0 0 4px;
}

.contact-form-sub {
    font-size: 0.85rem;
    color: #7a8fa6;
    margin: 0;
}

.contact-alert {
    border-radius: 12px;
    padding: 13px 16px;
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.contact-alert-success {
    background: #dcfce7;
    color: #166534;
}

.contact-alert-error {
    background: #fee2e2;
    color: #991b1b;
}

.contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.contact-field {
    margin-bottom: 8px;
}

.contact-field label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    color: #334155;
    margin-bottom: 4px;
}

.contact-field label span {
    color: #2563eb;
}

.contact-field input,
.contact-field textarea {
    width: 100%;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    padding: 9px 13px;
    font-family: inherit;
    font-size: 0.88rem;
    color: #0b1f3a;
    background: #fbfdff;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.contact-field textarea {
    resize: vertical;
    line-height: 1.7;
}

.contact-field input:focus,
.contact-field textarea:focus {
    border-color: rgba(37, 99, 235, 0.5);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.08);
    background: #fff;
}

.contact-field-err {
    display: block;
    color: #dc2626;
    font-size: 0.75rem;
    margin-top: 5px;
}

.contact-submit {
    align-items: center;
    gap: 8px;
    margin-top: auto;
    border: 0;
    border-radius: 999px;
    padding: 11px 30px;
    /* Pakai background-color solid + !important —
       tailwind preflight mereset background pada elemen <button>. */
    background-color: #2563eb !important;
    color: #fff;
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.28);
    transition: transform 0.2s, box-shadow 0.2s;
}

.contact-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.35);
    background-color: #1d4ed8;
}

@media (max-width: 992px) {
    .contact-main {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .contact-info-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}
