/* Home Professional Styles - تحسينات احترافية للصفحة الرئيسية */

/* ========== Stats Section - قسم الإحصائيات ========== */
.stats-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="%23e2e8f0" opacity="0.5"/><circle cx="25" cy="25" r="0.5" fill="%23cbd5e1" opacity="0.7"/><circle cx="75" cy="75" r="0.8" fill="%23cbd5e1" opacity="0.6"/></svg>') repeat;
    opacity: 0.3;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 2;
}

.stat-item {
    text-align: center;
    padding: 40px 30px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(46, 0, 86, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2e0056, #57078d, #6b01df);
    border-radius: 20px 20px 0 0;
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(46, 0, 86, 0.15);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: #2e0056;
    margin-bottom: 10px;
    line-height: 1;
    background: linear-gradient(135deg, #2e0056, #57078d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 1.1rem;
    color: #64748b;
    font-weight: 600;
    margin-top: 15px;
}

/* ========== About Section - قسم من نحن ========== */
.about-section {
    padding: 100px 0;
    background: white;
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(46, 0, 86, 0.03) 50%, transparent 100%);
    pointer-events: none;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
}

.section-badge {
    display: inline-block;
    padding: 8px 24px;
    background: linear-gradient(135deg, #2e0056, #57078d);
    color: white;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(46, 0, 86, 0.3);
}

.section-title {
    font-size: 2.5rem;
    color: #2e0056;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.about-text h3 {
    font-size: 1.5rem;
    color: #2e0056;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
}

.about-text h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #57078d, #6b01df);
    border-radius: 2px;
}

.about-text p {
    font-size: 1.1rem;
    color: #475569;
    line-height: 1.8;
    margin-bottom: 30px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
}

.about-features .feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: #f8fafc;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.about-features .feature-item:hover {
    background: rgba(46, 0, 86, 0.05);
    transform: translateX(5px);
}

.about-features .feature-item i {
    color: #22c55e;
    font-size: 1.2rem;
}

.about-features .feature-item span {
    color: #475569;
    font-weight: 500;
    font-size: 0.95rem;
}

.about-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #2e0056 0%, #57078d 50%, #6b01df 100%);
    border-radius: 30px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px rgba(46, 0, 86, 0.3);
}

.about-image::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
}

.experience-badge {
    text-align: center;
    color: white;
}

.experience-badge .number {
    font-size: 4rem;
    font-weight: 800;
    display: block;
    line-height: 1;
    margin-bottom: 10px;
}

.experience-badge .text {
    font-size: 1.2rem;
    font-weight: 600;
    opacity: 0.9;
}

/* ========== Responsive Design ========== */
@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }

    .about-visual {
        order: -1;
    }

    .about-image {
        width: 300px;
        height: 300px;
    }

    .experience-badge .number {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .stats-section {
        padding: 60px 0;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .stat-item {
        padding: 30px 20px;
    }

    .stat-number {
        font-size: 2.8rem;
    }

    .about-section {
        padding: 80px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1.1rem;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .about-image {
        width: 250px;
        height: 250px;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .stat-item {
        padding: 25px 15px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .section-header {
        margin-bottom: 50px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .about-text h3 {
        font-size: 1.3rem;
    }

    .about-text p {
        font-size: 1rem;
    }

    .about-image {
        width: 200px;
        height: 200px;
    }

    .experience-badge .number {
        font-size: 2.5rem;
    }

    .experience-badge .text {
        font-size: 1rem;
    }
}
