/* ==============================
   تنسيقات قسم من نحن المحسّن
   ============================== */

/* خلفية القسم */
.about {
    background: linear-gradient(135deg, var(--white) 0%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -15%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(245, 166, 35, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatSlow 20s ease-in-out infinite;
}

.about::after {
    content: '';
    position: absolute;
    bottom: -25%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(46, 74, 98, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatSlow 15s ease-in-out infinite reverse;
}

@keyframes floatSlow {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, -30px); }
}

/* المحتوى المحسّن */
.about-content-enhanced {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* قسم النص */
.about-text-enhanced {
    position: relative;
}

.about-text-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    right: -30px;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, var(--accent-color), var(--primary-color));
    border-radius: 3px;
}

.about-title-enhanced {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.2;
    position: relative;
}

.about-title-enhanced::after {
    content: '';
    position: absolute;
    bottom: -15px;
    right: 0;
    width: 120px;
    height: 5px;
    background: linear-gradient(90deg, var(--accent-color), transparent);
    border-radius: 3px;
}

.about-subtitle {
    font-size: 1.3rem;
    color: var(--accent-color);
    font-weight: 700;
    margin-bottom: 30px;
}

.about-description-enhanced {
    font-size: 1.15rem;
    line-height: 2;
    color: var(--text-secondary);
    margin-bottom: 20px;
    text-align: justify;
}

.about-description-enhanced:last-of-type {
    margin-bottom: 40px;
}

/* قائمة المميزات */
.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: linear-gradient(135deg, rgba(245, 166, 35, 0.08), rgba(245, 166, 35, 0.03));
    border-radius: 15px;
    border-right: 3px solid var(--accent-color);
    transition: all 0.4s ease;
}

.feature-item:hover {
    transform: translateX(-10px);
    background: linear-gradient(135deg, rgba(245, 166, 35, 0.15), rgba(245, 166, 35, 0.05));
    box-shadow: 0 8px 25px rgba(245, 166, 35, 0.2);
}

.feature-item i {
    font-size: 28px;
    color: var(--accent-color);
    min-width: 35px;
}

.feature-item span {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--primary-color);
}

/* أزرار */
.about-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.about-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 35px;
    background: linear-gradient(135deg, var(--accent-color), #D98E19);
    color: var(--white);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 25px rgba(245, 166, 35, 0.35);
    position: relative;
    overflow: hidden;
}

.about-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.about-btn:hover::before {
    left: 100%;
}

.about-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(245, 166, 35, 0.5);
}

.about-btn i {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.about-btn:hover i {
    transform: translateX(-5px);
}

.about-btn.secondary {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    box-shadow: none;
}

.about-btn.secondary:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* قسم الإحصائيات */
.about-stats-enhanced {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.stat-card-enhanced {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.stat-card-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s ease;
}

.stat-card-enhanced:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.stat-card-enhanced::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(245, 166, 35, 0.05), rgba(46, 74, 98, 0.03));
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: 0;
}

.stat-card-enhanced:hover::after {
    width: 400px;
    height: 400px;
}

.stat-card-enhanced:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 60px rgba(245, 166, 35, 0.25);
}

.stat-icon-enhanced {
    width: 90px;
    height: 90px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--accent-color), #D98E19);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: var(--white);
    box-shadow: 0 10px 30px rgba(245, 166, 35, 0.4);
    transition: all 0.5s ease;
    position: relative;
    z-index: 2;
}

.stat-card-enhanced:hover .stat-icon-enhanced {
    transform: rotateY(360deg) scale(1.1);
}

.stat-number-enhanced {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
}

.stat-label-enhanced {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 600;
    position: relative;
    z-index: 2;
}

.stat-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 10px;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

/* صورة أو فيديو */
.about-visual {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 60px rgba(0, 0, 0, 0.15);
}

.about-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.about-visual-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(46, 74, 98, 0.8), rgba(245, 166, 35, 0.6));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.about-visual:hover .about-visual-overlay {
    opacity: 1;
}

.play-button {
    width: 80px;
    height: 80px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: var(--accent-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-button:hover {
    transform: scale(1.2);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.5);
}

/* نمط بديل - Grid 3 أعمدة */
.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

/* التصميم المتجاوب */
@media (max-width: 1200px) {
    .about-content-enhanced {
        gap: 60px;
    }
    
    .about-title-enhanced {
        font-size: 2.5rem;
    }
}

@media (max-width: 992px) {
    .about-content-enhanced {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .about-text-enhanced::before {
        display: none;
    }
    
    .about-stats-enhanced {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .about-title-enhanced {
        font-size: 2rem;
    }
    
    .about-subtitle {
        font-size: 1.1rem;
    }
    
    .about-description-enhanced {
        font-size: 1rem;
    }
    
    .about-stats-enhanced {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .stat-card-enhanced {
        padding: 30px 20px;
    }
    
    .stat-icon-enhanced {
        width: 70px;
        height: 70px;
        font-size: 32px;
    }
    
    .stat-number-enhanced {
        font-size: 2.5rem;
    }
    
    .about-buttons {
        flex-direction: column;
    }
    
    .about-btn {
        width: 100%;
        justify-content: center;
    }
    
    .about-image {
        height: 350px;
    }
}

@media (max-width: 480px) {
    .about-title-enhanced {
        font-size: 1.7rem;
    }
    
    .stat-number-enhanced {
        font-size: 2rem;
    }
    
    .stat-label-enhanced {
        font-size: 1rem;
    }
    
    .about-image {
        height: 280px;
    }
}
