/* ============================================
   CONTACT PAGE - Math CAPTCHA
   ============================================ */

/* ===== CONTACT SECTION ===== */
.contact-section {
    padding: 60px 0 80px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

/* ===== CONTACT INFO ===== */
.contact-info h2 {
    font-size: 1.8rem;
    color: var(--text-light, #e8edf3);
    margin-bottom: 4px;
}

.contact-tagline {
    color: var(--text-muted, #8aa3c0);
    font-size: 0.95rem;
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.office-block {
    margin-bottom: 28px;
}

.office-block h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gold, #e9af00);
    margin-bottom: 6px;
}

.office-block p {
    color: var(--text-muted, #8aa3c0);
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.office-block .office-phone a {
    color: var(--text-light, #e8edf3);
    text-decoration: none;
    transition: color 0.3s;
}

.office-block .office-phone a:hover {
    color: var(--gold, #e9af00);
}

.office-hours {
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.06);
    color: var(--text-muted, #8aa3c0);
    font-size: 0.9rem;
}

.office-hours strong {
    color: var(--text-light, #e8edf3);
}

/* ===== FORM CARD ===== */
.form-card {
    background: var(--dark-card, #162d4a);
    border-radius: var(--radius, 12px);
    padding: 40px 35px;
    border: 1px solid rgba(255,255,255,0.06);
}

.form-card h2 {
    font-size: 1.5rem;
    color: var(--text-light, #e8edf3);
    margin-bottom: 4px;
}

.form-subtitle {
    color: var(--text-muted, #8aa3c0);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

/* ===== HONEYPOT ===== */
.honeypot-field {
    position: absolute;
    left: -9999px;
    top: -9999px;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

/* ===== FORM GROUPS ===== */
.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    color: var(--text-light, #e8edf3);
    font-weight: 500;
    font-size: 0.85rem;
    margin-bottom: 4px;
}

.form-group .required {
    color: #f44336;
}

.form-group .optional {
    color: var(--text-muted, #8aa3c0);
    font-weight: 400;
    font-size: 0.8rem;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    background: var(--dark-bg, #0a1a2b);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    color: var(--text-light, #e8edf3);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--gold, #e9af00);
    outline: none;
    box-shadow: 0 0 0 3px rgba(233, 175, 0, 0.08);
}

.form-control.error {
    border-color: #f44336;
}

.form-control.error:focus {
    box-shadow: 0 0 0 3px rgba(244, 67, 54, 0.08);
}

.form-control::placeholder {
    color: var(--text-muted, #8aa3c0);
    opacity: 0.4;
}

textarea.form-control {
    resize: vertical;
    min-height: 110px;
}

.error-text {
    display: block;
    color: #f44336;
    font-size: 0.8rem;
    margin-top: 4px;
}

/* ===== MATH CAPTCHA ===== */
.captcha-group {
    margin: 20px 0 18px;
    padding: 15px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.captcha-question {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-light, #e8edf3);
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.captcha-hint {
    font-size: 0.75rem;
    color: var(--text-muted, #8aa3c0);
    font-weight: 400;
    opacity: 0.6;
}

.captcha-input-wrapper {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.captcha-input {
    max-width: 120px;
}

.captcha-refresh {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    color: var(--text-muted, #8aa3c0);
    padding: 10px 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-family: inherit;
}

.captcha-refresh:hover {
    background: rgba(255,255,255,0.1);
    color: var(--gold, #e9af00);
    border-color: var(--gold, #e9af00);
}

/* ===== SUBMIT BUTTON ===== */
.btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 44px;
    width: 100%;
    justify-content: center;
    font-size: 1rem;
    font-weight: 600;
    background: var(--gold, #e9af00);
    color: var(--dark-bg, #0a1a2b);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.btn-submit:hover {
    background: var(--gold-light, #f5d742);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(233, 175, 0, 0.2);
}

/* ===== ALERT ===== */
.alert {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 24px;
}

.alert i {
    font-size: 1.3rem;
    margin-top: 2px;
}

.alert-success {
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.15);
    color: #4CAF50;
}

.alert-success strong {
    display: block;
    color: #4CAF50;
    font-weight: 600;
}

.alert-success p {
    color: var(--text-muted, #8aa3c0);
    margin: 0;
    font-size: 0.9rem;
}

.alert-error {
    background: rgba(244, 67, 54, 0.1);
    border: 1px solid rgba(244, 67, 54, 0.15);
    color: #f44336;
}

.alert-error strong {
    display: block;
    color: #f44336;
    font-weight: 600;
}

.alert-error p {
    color: var(--text-muted, #8aa3c0);
    margin: 0;
    font-size: 0.9rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .form-card {
        padding: 30px 25px;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 40px 0 60px;
    }
    
    .contact-info h2 {
        font-size: 1.5rem;
    }
    
    .form-card {
        padding: 24px 18px;
    }
    
    .form-card h2 {
        font-size: 1.3rem;
    }
    
    .btn-submit {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    
    .captcha-input {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .contact-grid {
        gap: 30px;
    }
    
    .form-card {
        padding: 18px 14px;
    }
    
    .contact-info h2 {
        font-size: 1.3rem;
    }
    
    .office-block h3 {
        font-size: 0.9rem;
    }
    
    .office-block p {
        font-size: 0.85rem;
    }
    
    .captcha-question {
        font-size: 1rem;
    }
}