/* ===========================================
   فرم تماس با ما
   =========================================== */
.contact-form-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
	padding: 2rem;
}

/* فرم سمت راست */
.contact-form-container {
    flex: 2;
    min-width: 280px;
}
.btn-text {
    font-family: 'iransans';
}
.contact-form-header {
    margin-bottom: 25px;
    text-align: center;
}

.contact-form-header h3 {
    font-size: 24px;
    color: #2271b1;
    margin-bottom: 10px;
}

.contact-form-header p {
    color: #666;
    font-size: 14px;
}

/* فرم */
.contact-form {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
}

.form-group {
    flex: 1;
    min-width: 200px;
}

.form-group.full-width {
    width: 100%;
    flex: 100%;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
    font-size: 14px;
}

.required {
    color: #dc3545;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-control:focus {
    outline: none;
    border-color: #2271b1;
    box-shadow: 0 0 0 3px rgba(34, 113, 177, 0.1);
}

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

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'><polyline points='6 9 12 15 18 9'/></svg>");
    background-repeat: no-repeat;
    background-position: left 15px center;
}

/* کپچا */
.captcha-group {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
}

.captcha-group label {
    font-weight: bold;
    color: #333;
}

#captcha_question {
    color: #2271b1;
    font-size: 18px;
}

.captcha-input {
    width: 150px;
    margin-top: 10px;
}

/* دکمه ارسال */
.submit-btn {
    background: #2271b1;
    color: white;
    border: none;
    padding: 14px 30px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.submit-btn:hover {
    background: #135e96;
    transform: translateY(-2px);
}

.submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

/* پیام خطا */
.error-message {
    color: #dc3545;
    font-size: 12px;
    display: block;
    margin-top: 5px;
}

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

/* پیام سراسری */
.form-message {
    margin-top: 20px;
    padding: 12px 15px;
    border-radius: 10px;
    text-align: center;
    font-weight: 500;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* اطلاعات تماس کناری */
.contact-info-sidebar {
    flex: 1;
    min-width: 250px;
    background: #f8f9fa;
    border-radius: 16px;
    padding: 20px;
	height: max-content;
}

.info-card {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #e9ecef;
}

.info-card:last-child {
    border-bottom: none;
}

.info-icon {
    font-size: 28px;
    min-width: 45px;
}

.info-content h4 {
    margin: 0 0 5px 0;
    font-size: 16px;
    color: #333;
}

.info-content p {
    margin: 0;
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .contact-form-wrapper {
        padding: 20px;
        flex-direction: column;
    }
    
    .form-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .contact-info-sidebar {
        margin-top: 10px;
    }
    
    .info-card {
        padding: 12px 0;
    }
}

@media (max-width: 480px) {
    .contact-form-wrapper {
        padding: 15px;
    }
    
    .submit-btn {
        padding: 12px 20px;
        font-size: 14px;
    }
}