/* نفس متغيرات الألوان المستخدمة سابقاً */
:root {
    --primary-color: #0f172a;
    --accent-color: #3b82f6;
    --text-dark: #1e293b;
    --text-gray: #64748b;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --radius-lg: 20px;
    --shadow-card: 0 10px 40px -10px rgba(0,0,0,0.08);
}

/* تخطيط الصفحة */
.agent-profile-grid {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 40px;
    padding-bottom: 80px;
}

/* الشريط الجانبي */
.agent-card-sticky {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(0,0,0,0.04);
    position: sticky;
    top: 20px;
}

.profile-image {
    /* تم التعديل هنا: تكبير حجم الصورة */
    width: 220px; 
    height: 220px; 
    margin: 0 auto 20px;
    border-radius: 50%; 
    overflow: hidden; 
    border: 6px solid #f1f5f9; /* زيادة سمك الإطار قليلاً */
    box-shadow: 0 5px 15px rgba(0,0,0,0.1); /* إضافة ظل خفيف للصورة */
}
.profile-image img { width: 100%; height: 100%; object-fit: cover; }

.profile-name { font-size: 1.6rem; font-weight: 800; color: var(--primary-color); margin: 0 0 5px; }
.profile-role { display: inline-block; background: #eff6ff; color: var(--accent-color); padding: 5px 15px; border-radius: 20px; font-size: 0.9rem; font-weight: 600; margin-bottom: 20px; }

.profile-stats { border-top: 1px solid #eee; border-bottom: 1px solid #eee; padding: 15px 0; margin-bottom: 25px; }
.stat-item { display: flex; flex-direction: column; }
.stat-item .count { font-size: 1.5rem; font-weight: 800; color: var(--text-dark); }
.stat-item .label { font-size: 0.9rem; color: var(--text-gray); }

/* قائمة التواصل */
.contact-list h3 { font-size: 1rem; color: var(--text-gray); margin-bottom: 15px; text-align: right; }
.contact-item { display: flex; gap: 10px; margin-bottom: 10px; }

.btn-contact {
    flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 10px; border-radius: 12px; text-decoration: none; font-weight: 600; transition: 0.3s;
}
.btn-contact.call { background: var(--primary-color); color: white; }
.btn-contact.call:hover { background: #334155; }

.btn-icon {
    width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
    border-radius: 12px; font-size: 1.2rem; text-decoration: none; transition: 0.3s;
}
.btn-icon.whatsapp { background: #dcfce7; color: #25d366; }
.btn-icon.whatsapp:hover { background: #25d366; color: white; }

/* المحتوى الرئيسي */
.content-block { background: var(--white); border-radius: var(--radius-lg); padding: 30px; margin-bottom: 30px; box-shadow: var(--shadow-card); }
.content-block h3 { margin-top: 0; font-size: 1.4rem; color: var(--primary-color); margin-bottom: 15px; }

/* تنسيق النص للنبذة التعريفية */
.bio-text { 
    color: var(--text-gray); 
    line-height: 1.8; 
    font-size: 1.05rem; 
}
/* تنسيقات إضافية للتأكد من ظهور عناصر HTML المدخلة بشكل جيد */
.bio-text strong, .bio-text b { font-weight: 700; color: var(--text-dark); }
.bio-text ul, .bio-text ol { margin-right: 20px; margin-bottom: 15px; }
.bio-text p { margin-bottom: 15px; }

.section-head-simple { display: flex; align-items: center; gap: 15px; margin-bottom: 25px; }
.section-head-simple .line { flex: 1; height: 2px; background: #f1f5f9; }

/* شبكة العقارات */
.property-grid-simple { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 25px; }
.empty-state { text-align: center; padding: 40px; color: var(--text-gray); }
.empty-state i { font-size: 3rem; margin-bottom: 15px; opacity: 0.5; }

/* الهيرو والأنيميشن (نفس الكود السابق) */
.agent-hero { background: linear-gradient(135deg, #1d3557, #264653); padding: 100px 0 80px; color: white; border-radius: 0 0 40px 40px; margin-bottom: 3rem; text-align: center; }
.hero-badge { display: inline-flex; background: rgba(255,255,255,0.15); padding: 5px 15px; border-radius: 20px; margin-bottom: 15px; font-weight: bold; }
.agent-hero h1 { font-size: 2.5rem; margin: 0 0 10px; }
.fade-in { animation: fadeIn 0.8s ease forwards; opacity: 0; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* التجاوب */
@media (max-width: 992px) {
    .agent-profile-grid { grid-template-columns: 1fr; }
    .agent-card-sticky { position: static; }
}
