/* ============================================
   AQM BD - Contact Page Styles
   Extracted from contact.php
   ============================================ */

:root {
    --primary: #1a237e;
    --primary-light: #3949ab;
    --primary-dark: #0d1452;
    --accent: #ff6f00;
    --accent-light: #ff8f00;
    --success: #2e7d32;
    --bg: #f4f6f9;
    --card-bg: #ffffff;
    --text: #1a1a2e;
    --text-light: #6b7280;
    --border: #e5e7eb;
    --radius: 10px;
    --shadow: 0 2px 12px rgba(0,0,0,0.08);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', 'Segoe UI', system-ui, sans-serif; font-size: 14px; line-height: 1.6; color: var(--text); background: var(--bg); }

.top-bar { background: var(--primary-dark); padding: 8px 30px; display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: rgba(255,255,255,0.8); }
.top-bar a { color: #ffd54f; text-decoration: none; font-weight: 600; }
.header { background: var(--primary); padding: 18px 30px; }
.header-inner { max-width: 1600px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.logo { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.logo img { height: 50px; border-radius: 8px; }
.logo-text { color: #fff; }
.logo-title { font-size: 24px; font-weight: 800; letter-spacing: 3px; }
.logo-sub { font-size: 11px; color: rgba(255,255,255,0.7); letter-spacing: 1px; }
.container-link { display: flex; align-items: center; gap: 8px; padding: 10px 20px; background: var(--accent); border-radius: 8px; color: #fff; text-decoration: none; font-weight: 700; font-size: 13px; position: relative; }
.container-badge { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; background: #f44336; color: #fff; border-radius: 50%; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; }

.nav { background: #fff; border-bottom: 2px solid var(--border); padding: 0 30px; display: flex; align-items: center; gap: 0; overflow-x: auto; }
.nav-link { padding: 14px 24px; color: var(--text-light); text-decoration: none; font-weight: 600; font-size: 13px; border-bottom: 3px solid transparent; white-space: nowrap; transition: all 0.2s; }
.nav-link:hover { color: var(--primary); background: #f8f9ff; }
.nav-link.active { color: var(--primary); border-bottom-color: var(--accent); font-weight: 700; }

.main { max-width: 900px; margin: 0 auto; padding: 40px 30px; }

.page-title { font-size: 28px; font-weight: 800; color: var(--primary); margin-bottom: 8px; }
.page-subtitle { font-size: 15px; color: var(--text-light); margin-bottom: 30px; line-height: 1.7; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }

.form-card { background: var(--card-bg); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--border); padding: 30px; }
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 12px; font-weight: 700; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 6px; }
.form-input, .form-textarea, .form-select { width: 100%; padding: 10px 14px; border: 2px solid var(--border); border-radius: 6px; font-size: 14px; color: var(--text); font-family: inherit; transition: border-color 0.2s; }
.form-input:focus, .form-textarea:focus, .form-select:focus { outline: none; border-color: var(--primary); }
.form-textarea { min-height: 140px; resize: vertical; }
.required { color: #e53935; }

.btn-submit { padding: 14px 32px; background: var(--primary); color: #fff; border: none; border-radius: 6px; font-size: 14px; font-weight: 700; cursor: pointer; transition: background 0.2s; width: 100%; }
.btn-submit:hover { background: var(--primary-light); }

.info-card { background: var(--card-bg); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--border); padding: 30px; }
.info-section { margin-bottom: 24px; }
.info-section:last-child { margin-bottom: 0; }
.info-title { font-size: 14px; font-weight: 700; color: var(--primary); margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.info-text { font-size: 13px; color: var(--text-light); line-height: 1.7; }
.info-text a { color: var(--primary); text-decoration: none; font-weight: 600; }
.info-text a:hover { text-decoration: underline; }

.alert { padding: 14px 20px; border-radius: 6px; margin-bottom: 24px; font-weight: 600; font-size: 13px; }
.alert-success { background: #e8f5e9; color: #2e7d32; border: 1px solid #c8e6c9; }
.alert-error { background: #ffebee; color: #c62828; border: 1px solid #ffcdd2; }

.footer { background: var(--primary-dark); color: rgba(255,255,255,0.7); padding: 30px; text-align: center; font-size: 12px; margin-top: 60px; }
.footer a { color: #ffd54f; text-decoration: none; }
.footer p + p { margin-top: 8px; }

@media (max-width: 768px) {
    .contact-grid { grid-template-columns: 1fr; }
    .header-inner { flex-direction: column; gap: 12px; }
    .main { padding: 24px 16px; }
}
