/* --- إعدادات عامة للنموذج 2 --- */
.contact-page-wrapper.model-2 {
    background-color: #f4f7f6;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}
/* ستايل العنوان بخلفية صورة */
.page-header {
    padding: 5rem 0;
    position: relative;
    text-align: center;
    background-size: cover;
    background-position: center;
    color: white;
}
.page-header .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(29, 38, 50, 0.7); /* لون غامق من الهيدر */
}
.page-header .container {
    position: relative;
    z-index: 2;
}
.page-header h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}
.page-header p {
    font-size: 1.25rem;
    opacity: 0.9;
}

/* --- تصميم بطاقات التواصل --- */
.contact-cards-section {
    padding: 4rem 0;
    /* نجعل البطاقات تطفو فوق الهيدر قليلاً */
    margin-top: -80px;
    position: relative;
    z-index: 3;
}
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.contact-card {
    background: #fff;
    border-radius: 15px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    border-top: 5px solid transparent;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    /* للأنيميشن: نبدأ شفاف ومتحرك للأسفل */
    opacity: 0;
    transform: translateY(50px);
}
.contact-card:hover {
    transform: translateY(-15px) !important; /* !important لتجاوز ستايل GSAP */
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    border-top-color: #de852f;
}
.contact-card-icon {
    font-size: 3rem;
    color: #de852f;
    margin-bottom: 1.5rem;
}
.contact-card h3 {
    font-size: 1.5rem;
    color: #1d2632;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.contact-card p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
}
.contact-card .contact-detail {
    display: block;
    font-size: 1.1rem;
    color: #333;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}
.card-btn {
    display: inline-block;
    background: #de852f;
    color: white;
    padding: 0.7rem 1.8rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}
.card-btn:hover {
    background: #c97121;
    box-shadow: 0 5px 15px #de852f55;
    transform: scale(1.05);
}

/* --- قسم الخريطة والفورم --- */
#map-form-section {
    padding: 3rem 0 5rem 0;
}
.section-title {
    text-align: center;
    margin-bottom: 3rem;
}
.section-title h2 {
    font-size: 2.5rem;
    color: #1d2632;
    font-weight: 800;
}
.map-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: stretch;
}
.map-wrapper {
    min-height: 450px;
    opacity: 0; /* للأنيميشن */
}
.form-wrapper {
    background: #fff;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    opacity: 0; /* للأنيميشن */
}
.contact-form-stacked .form-group {
    margin-bottom: 1.5rem;
}
.contact-form-stacked input,
.contact-form-stacked textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #f9f9f9;
    font-family: 'Tajawal', sans-serif;
    font-size: 1rem;
}
.contact-form-stacked input::placeholder,
.contact-form-stacked textarea::placeholder {
    color: #999;
}
.contact-form-stacked input:focus,
.contact-form-stacked textarea:focus {
    outline: none;
    border-color: #de852f;
    background: #fff;
}
.submit-btn-full {
    width: 100%;
    background-color: #de852f;
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: 'Tajawal', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
}
.submit-btn-full:hover {
    background-color: #c97121;
    transform: translateY(-2px);
}

/* تصميم متجاوب (Responsive) */
@media (max-width: 992px) {
    .map-form-grid {
        grid-template-columns: 1fr;
    }
}