/* تنسيق نموذج الاتصال */
.contact {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--light-gray) 0%, #ffffff 100%);
}

/* تأكد من وراثة إعدادات الخط الحديثة داخل ملف النماذج */
.contact, .contact * {
    -webkit-font-feature-settings: "liga" 1, "kern" 1, "calt" 1, "clig" 1;
    -moz-font-feature-settings: "liga" 1, "kern" 1, "calt" 1, "clig" 1;
    font-feature-settings: "liga" 1, "kern" 1, "calt" 1, "clig" 1;
    font-variant-ligatures: common-ligatures contextual;
    font-family: inherit;
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
    position: relative;
}

.contact h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
}

.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-form {
    padding: 2rem;
    border-radius: 10px;
    background: #ffffff;
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid #e1e1e1;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.1);
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #aaa;
}

.form-group label {
    position: absolute;
    top: -10px;
    right: 10px;
    background: var(--white);
    padding: 0 10px;
    font-size: 0.9rem;
    color: var(--accent-color);
    font-weight: 600;
}

/* زر الإرسال */
.submit-btn {
    background: #3498db; /* لون أزرق جميل */
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    width: 100%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.submit-btn:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn i {
    font-size: 1.2rem;
}

/* معلومات الاتصال */
.contact-info {
    padding: 2rem;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    border-radius: 10px;
    color: white;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.info-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(-5px);
}

.info-item i {
    font-size: 1.5rem;
    color: white;
}

.info-item p {
    font-size: 1rem;
    margin: 0;
}

/* التجاوب مع الشاشات الصغيرة */
@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1rem;
    }

    .contact-form {
        padding: 1rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.8rem 1rem;
    }

    .submit-btn {
        padding: 0.8rem 1.5rem;
    }
}