/* =============================================
   EIFEC Contact — Frontend
   ============================================= */

/* ── Form wrapper ──────────────────────────── */
.efct-contact-form-wrap {
    max-width: 720px;
    margin: 0 auto;
    padding: 0;
}

.efct-form-title {
    font-size: 28px;
    color: #034c9d;
    margin: 0 0 8px;
    text-align: center;
    text-transform: capitalize;
    letter-spacing: 0.5px;
    font-weight: 700;
}

.efct-form-description {
    font-size: 14px;
    text-align: center;
    margin: 0 0 24px;
    line-height: 1.6;
}

/* ── Form styles ───────────────────────────── */
.efct-form-row {
    margin-bottom: 16px;
}

.efct-form-row label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    font-family: "Archivo", sans-serif;
    color: #333;
    margin-bottom: 5px;
}

.efct-form-row .req {
    color: #e53e3e;
}

.efct-form-row input,
.efct-form-row select,
.efct-form-row textarea {
    width: 100%;
    padding: 10px 14px;
    font-size: 14px;
    font-family: "inter", sans-serif;
    border: 1.5px solid #d5dce6;
    border-radius: 8px;
    background: #f8fafc;
    color: #333;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.efct-form-row input:focus,
.efct-form-row select:focus,
.efct-form-row textarea:focus {
    outline: none;
    border-color: #034c9d;
    box-shadow: 0 0 0 3px rgba(3,76,157,0.12);
    background: #fff;
}

.efct-form-row textarea {
    resize: vertical;
}

.efct-form-cols {
    display: flex;
    gap: 14px;
}

.efct-form-cols .efct-form-row {
    flex: 1;
}

/* ── Submit button ─────────────────────────── */
.efct-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 13px 20px;
    background: linear-gradient(135deg, #034c9d 0%, #012753 100%);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    font-family: "Archivo", sans-serif;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.2s;
    letter-spacing: 0.3px;
}

.efct-submit-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.efct-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* ── Spinner ───────────────────────────────── */
.efct-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: efctSpin 0.6s linear infinite;
    margin-right: 6px;
    vertical-align: middle;
}

@keyframes efctSpin {
    to { transform: rotate(360deg); }
}

/* ── Message box ───────────────────────────── */
.efct-message-box {
    margin-top: 14px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-family: "Archivo", sans-serif;
    text-align: center;
}

.efct-message-box.success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.efct-message-box.error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* ── Responsive ────────────────────────────── */
@media (max-width: 700px) {
    .efct-form-cols {
        flex-direction: column;
        gap: 0;
    }

    .efct-contact-form-wrap {
        padding: 0 10px;
    }
}
