:root {
    --primary-color: #0a192f; /* Deep Navy */
    --secondary-color: #ffd700; /* Gold */
    --text-color: #333;
    --light-bg: #f5f7fa;
    --white: #ffffff;
    --font-family: 'Cairo', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family);
    background-color: var(--light-bg);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #112240 100%);
    color: var(--white);
    padding: 80px 0 120px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(var(--secondary-color) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.1;
    pointer-events: none;
}

.hero-section h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.subtitle {
    font-size: 1.5rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

/* Form Section */
.form-section {
    margin-top: -60px;
    padding-bottom: 80px;
    position: relative;
    z-index: 10;
}

.form-card {
    background: var(--white);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    max-width: 600px;
    margin: 0 auto;
    border-top: 5px solid var(--secondary-color);
}

.form-card h2 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e4e8;
    border-radius: 8px;
    font-family: var(--font-family);
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--secondary-color);
    outline: none;
}

/* Specific styling for intl-tel-input to match RTL and layout */
.iti {
    width: 100%;
    direction: ltr; /* Phone numbers are LTR even in Arabic context usually, but let's test */
}
.iti__country-list {
    text-align: left;
}

.submit-btn {
    width: 100%;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    padding: 15px;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s, background-color 0.2s;
    font-family: var(--font-family);
}

.submit-btn:hover {
    background-color: #0f2d52;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    .subtitle {
        font-size: 1.1rem;
    }
    .form-card {
        padding: 25px;
    }
}
/* منع التمرير الأفقي بشكل كامل على مستوى الصفحة */
html, body {
    max-width: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

/* إجبار جميع العناصر على احتساب العرض داخل الحدود */
* {
    box-sizing: border-box;
}

/* إصلاح مشكلة مكتبة رقم الهاتف في الأنظمة المستجيبة */
.iti {
    display: block !important; /* لضمان أخذ الحقل للعرض الكامل */
    width: 100%;
}

/* التأكد من أن العناصر الزخرفية لا تخرج عن حدود الشاشة */
.hero-decorative {
    max-width: 100%;
}

.container {
    width: 100%;
    max-width: 1200px; /* أو حسب تصميمك */
    margin-right: auto;
    margin-left: auto;
    padding-right: 15px;
    padding-left: 15px;
}