/* 
 * OX CHART - تنسيقات الأقسام الإضافية
 * التوصيات المخصصة وخريطة الطريق
 */

/* قسم التوصيات المخصصة */
.custom-recommendations {
    padding: 80px 0;
    background-color: var(--gray-100);
    position: relative;
}

.section-description {
    max-width: 800px;
    margin: 0 auto 40px;
}

.center-text {
    text-align: center;
    font-size: 1.1rem;
    color: var(--gray-600);
}

.recommendations-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin: 50px 0;
}

.feature-block {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 30px;
    width: calc(50% - 45px);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 240px;
    display: flex;
    flex-direction: column;
}

.feature-block:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon i {
    font-size: 24px;
    color: white;
}

.feature-block h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.feature-block p {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.6;
    flex-grow: 1;
}

.cta-container {
    text-align: center;
    margin-top: 40px;
}

.cta-button {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.cta-button i {
    margin-right: 10px;
}

/* قسم خريطة الطريق */
.roadmap {
    padding: 100px 0;
    background-color: var(--light-color);
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 60px auto 0;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--primary-light);
    top: 0;
    bottom: 0;
    right: 50%;
    margin-right: -2px;
    border-radius: 4px;
}

.timeline-item {
    position: relative;
    margin-bottom: 80px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-point {
    position: absolute;
    width: 20px;
    height: 20px;
    right: 50%;
    margin-right: -10px;
    border-radius: 50%;
    background-color: var(--primary-color);
    z-index: 1;
    box-shadow: 0 0 0 4px var(--primary-light);
}

.timeline-content {
    position: relative;
    width: 45%;
    background-color: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: auto;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: auto;
}

.timeline-date {
    display: inline-block;
    padding: 5px 15px;
    background-color: var(--primary-light);
    color: var(--primary-dark);
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.timeline-title {
    color: var(--dark-color);
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.timeline-features {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.timeline-features li {
    padding: 8px 0;
    position: relative;
    padding-right: 25px;
    color: var(--gray-600);
}

.timeline-features li::before {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--success-color);
    position: absolute;
    right: 0;
    top: 9px;
}

/* التوافق مع الأجهزة المحمولة */
@media (max-width: 992px) {
    .feature-block {
        width: 100%;
    }
    
    .timeline::before {
        right: 30px;
    }
    
    .timeline-point {
        right: 30px;
        margin-right: 0;
    }
    
    .timeline-content {
        width: calc(100% - 80px);
        margin-right: 80px !important;
        margin-left: 0 !important;
    }
}

@media (max-width: 576px) {
    .timeline-content {
        padding: 20px;
    }
    
    .cta-button {
        width: 100%;
    }
}
