/* تحسينات قسم من نحن - Enhanced About Section Styles
   تنسيقات مخصصة لقسم من نحن وعرضه بشكل أكثر جاذبية
*/

/* قسم المقدمة */
.about-intro {
    position: relative;
    overflow: hidden;
    padding: 70px 0;
}

.about-intro-content {
    display: grid;
    grid-template-columns: minmax(300px, 1fr) minmax(400px, 1fr);
    gap: 50px;
    align-items: center;
}

/* صورة القسم */
.about-intro-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.about-intro-image::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 58, 120, 0.2) 0%, rgba(26, 91, 170, 0.1) 100%);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.about-intro-image:hover::before {
    opacity: 1;
}

.about-intro-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}

.about-intro-image:hover img {
    transform: scale(1.05);
}

/* نص القسم */
.about-intro-text h2 {
    font-size: 32px;
    color: #0a3a78;
    margin-bottom: 25px;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.about-intro-text h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 70px;
    height: 3px;
    background: linear-gradient(135deg, #0a3a78 0%, #1a5baa 100%);
}

.about-intro-text p {
    color: #555;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* قسم الرؤية والرسالة والقيم */
.about-vision-mission {
    background-color: #f9fafb;
    padding: 70px 0;
    position: relative;
    overflow: hidden;
}

.about-vision-mission::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/pattern-bg.png');
    background-size: cover;
    opacity: 0.04;
    z-index: 0;
}

.vm-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    position: relative;
    z-index: 1;
}

.vm-card {
    background: #fff;
    border-radius: 12px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.vm-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 40px rgba(10, 58, 120, 0.1);
}

.vm-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 0;
    background: linear-gradient(to bottom, #0a3a78, #1a5baa);
    transition: height 0.4s ease;
}

.vm-card:hover::before {
    height: 100%;
}

.vm-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0a3a78 0%, #1a5baa 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    box-shadow: 0 10px 20px rgba(10, 58, 120, 0.2);
    transition: all 0.3s ease;
}

.vm-card:hover .vm-icon {
    transform: scale(1.1);
}

.vm-icon i {
    font-size: 32px;
    color: #fff;
}

.vm-card h3 {
    font-size: 22px;
    color: #0a3a78;
    margin-bottom: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.vm-card:hover h3 {
    transform: translateX(10px);
}

.vm-card p {
    color: #555;
    font-size: 15px;
    line-height: 1.7;
}

/* قسم الفريق */
.team-section {
    padding: 70px 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.team-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 40px rgba(10, 58, 120, 0.1);
}

.team-image {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.team-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.7) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.team-card:hover .team-image::before {
    opacity: 1;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.team-card:hover .team-image img {
    transform: scale(1.08);
}

.team-social {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 15px 0;
    background: rgba(10, 58, 120, 0.8);
    transition: bottom 0.3s ease;
    z-index: 2;
}

.team-card:hover .team-social {
    bottom: 0;
}

.team-social a {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s ease;
}

.team-social a:hover {
    background: #fff;
    color: #0a3a78;
    transform: translateY(-5px);
}

.team-content {
    padding: 25px;
    text-align: center;
}

.team-content h3 {
    font-size: 20px;
    color: #0a3a78;
    margin-bottom: 5px;
    font-weight: 600;
}

.team-position {
    color: #0a3a78;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 15px;
}

.team-bio {
    color: #555;
    font-size: 14px;
    line-height: 1.6;
}

/* تنسيقات للشاشات الصغيرة */
@media (max-width: 992px) {
    .about-intro-content {
        grid-template-columns: 1fr;
    }
    
    .about-intro-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .about-intro,
    .about-vision-mission,
    .team-section {
        padding: 50px 0;
    }
    
    .about-intro-text h2 {
        font-size: 28px;
    }
    
    .vm-cards,
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .vm-card {
        padding: 25px 20px;
    }
    
    .vm-icon {
        width: 70px;
        height: 70px;
    }
    
    .vm-icon i {
        font-size: 28px;
    }
}
