/* ========================================================= */
/* CONTACT PAGE - PREMIUM DESIGN                             */
/* ========================================================= */

/* 1. الهيرو */
.contact-hero {
    background: #f0f9ff;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(14, 165, 233, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(59, 130, 246, 0.15) 0%, transparent 40%);
    padding: 80px 20px 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    color: #0f172a;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.contact-hero p {
    font-size: 1.2rem;
    color: #475569;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* 2. شبكة معلومات الاتصال */
.contact-info-section {
    max-width: 1100px;
    margin: -50px auto 60px;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    perspective: 1000px;
}

.contact-info-card {
    background: #fff;
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
    border-top: 4px solid #0ea5e9;
    transform-style: preserve-3d;
}

.contact-info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(14, 165, 233, 0.15);
}

.contact-icon {
    width: 60px; height: 60px;
    background: rgba(14, 165, 233, 0.1);
    color: #0ea5e9;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 15px;
    transition: all 0.4s ease;
}

.contact-info-card:hover .contact-icon {
    background: linear-gradient(135deg, #0ea5e9, #3b82f6);
    color: #fff;
    transform: rotate(5deg) scale(1.1);
}

.contact-info-card h3 {
    font-size: 1.2rem;
    color: #0f172a;
    margin-bottom: 8px;
}

.contact-info-card p, .contact-info-card a {
    color: #64748b;
    font-size: 0.95rem;
    text-decoration: none;
    display: block;
}

.contact-info-card a:hover { color: #0ea5e9; }

@media (max-width: 992px) { .contact-info-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .contact-info-grid { grid-template-columns: 1fr; } }

/* 3. قسم النموذج والخريطة */
.contact-main-section {
    max-width: 1100px;
    margin: 0 auto 100px;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: stretch;
}

/* نموذج الاتصال (زجاجي) */
.contact-form-wrapper {
    background: #fff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
    border: 1px solid #e2e8f0;
}

.contact-form-wrapper h2 {
    font-size: 1.8rem;
    color: #0f172a;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: #334155;
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8fafc;
}

.form-control:focus {
    outline: none;
    border-color: #0ea5e9;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.contact-submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    background: linear-gradient(135deg, #0ea5e9 0%, #3b82f6 100%);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.3);
    width: 100%;
    justify-content: center;
}

.contact-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(14, 165, 233, 0.5);
}

/* الخريطة (وهمية) */
.contact-map-wrapper {
    background: #e2e8f0;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.05);
}

/* نمط خلفية خريطة وهمية */
.contact-map-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(90deg, rgba(255,255,255,0.4) 1px, transparent 1px) 0 0 / 40px 40px,
        linear-gradient(0deg, rgba(255,255,255,0.4) 1px, transparent 1px) 0 0 / 40px 40px,
        #cbd5e1;
    z-index: 1;
}

.map-pin {
    position: relative;
    z-index: 2;
    width: 60px; height: 60px;
    background: #0ea5e9;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(14, 165, 233, 0.4);
    animation: bounce 2s infinite;
}

.map-pin i {
    transform: rotate(45deg);
    color: #fff;
    font-size: 1.5rem;
}

@keyframes bounce {
    0%, 100% { transform: rotate(-45deg) translateY(0); }
    50% { transform: rotate(-45deg) translateY(-15px); }
}

@media (max-width: 900px) {
    .contact-main-section { grid-template-columns: 1fr; }
    .contact-map-wrapper { min-height: 300px; }
}