<!DOCTYPE html>
<html lang="ar" dir="rtl">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>نموذج تجريبي</title>
<style>
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background: #f0f4f8;
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
padding: 20px;
}
.card {
background: white;
border-radius: 16px;
padding: 40px;
width: 100%;
max-width: 480px;
box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}
h2 {
color: #1a202c;
margin-bottom: 8px;
font-size: 1.5rem;
}
p.subtitle {
color: #718096;
margin-bottom: 32px;
font-size: 0.95rem;
}
.form-group {
margin-bottom: 20px;
}
label {
display: block;
margin-bottom: 6px;
font-weight: 600;
color: #2d3748;
font-size: 0.9rem;
}
input, select, textarea {
width: 100%;
padding: 12px 16px;
border: 2px solid #e2e8f0;
border-radius: 10px;
font-size: 0.95rem;
color: #2d3748;
transition: border-color 0.2s;
outline: none;
font-family: inherit;
}
input:focus, select:focus, textarea:focus {
border-color: #667eea;
}
textarea {
resize: vertical;
min-height: 100px;
}
.btn {
width: 100%;
padding: 14px;
background: linear-gradient(135deg, #667eea, #764ba2);
color: white;
border: none;
border-radius: 10px;
font-size: 1rem;
font-weight: 600;
cursor: pointer;
transition: opacity 0.2s, transform 0.1s;
margin-top: 8px;
font-family: inherit;
}
.btn:hover { opacity: 0.92; }
.btn:active { transform: scale(0.98); }
.success {
display: none;
background: #f0fff4;
border: 2px solid #68d391;
border-radius: 10px;
padding: 16px;
text-align: center;
color: #276749;
font-weight: 600;
margin-top: 20px;
}
</style>
</head>
<body>
<div class="card">
<h2>📋 نموذج التواصل</h2>
<p class="subtitle">املأ البيانات أدناه وسنتواصل معك قريباً</p>
<div class="form-group">
<label>الاسم الكامل</label>
<input type="text" placeholder="أدخل اسمك هنا">
</div>
<div class="form-group">
<label>البريد الإلكتروني</label>
<input type="email" placeholder="example@email.com">
</div>
<div class="form-group">
<label>الموضوع</label>
<select>
<option value="">اختر الموضوع</option>
<option>استفسار عام</option>
<option>دعم فني</option>
<option>اقتراح</option>
<option>شكوى</option>
</select>
</div>
<div class="form-group">
<label>الرسالة</label>
<textarea placeholder="اكتب رسالتك هنا..."></textarea>
</div>
<button class="btn" onclick="submitForm()">إرسال النموذج ✉️</button>
<div class="success" id="successMsg">
✅ تم إرسال النموذج بنجاح! سنتواصل معك قريباً.
</div>
</div>
<script>
function submitForm() {
const msg = document.getElementById('successMsg');
msg.style.display = 'block';
setTimeout(() => msg.style.display = 'none', 4000);
}
</script>
</body>
</html>