/* ========================================
   ABOUT PAGE STYLES - VERSION FRANÇAISE (LTR)
   ======================================== */

.about-section {
    padding: 40px 0;
    background: var(--light-bg);
}

.about-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section Header Center */
.section-header-center {
    text-align: center;
    margin-bottom: 40px;
}

.section-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(254, 195, 65, 0.15);
    color: var(--secondary);
    font-size: 13px;
    font-weight: 600;
    border-radius: 30px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-header-center h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--dark);
    margin: 0;
}

/* ============================================
   HERO SECTION
   ============================================ */

.about-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
}

.about-badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--primary);
    color: var(--dark);
    font-size: 13px;
    font-weight: 600;
    border-radius: 30px;
    margin-bottom: 20px;
}

.about-hero-content h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--dark);
    margin: 0 0 20px 0;
    line-height: 1.3;
}

.about-hero-content p {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin: 0;
}

.about-hero-image {
    position: relative;
}

.about-hero-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 12px;
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--secondary);
    color: #fff;
    padding: 20px 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(198, 0, 19, 0.3);
}

.experience-badge .years {
    display: block;
    font-size: 42px;
    font-weight: 800;
    line-height: 1;
}

.experience-badge .text {
    display: block;
    font-size: 13px;
    margin-top: 5px;
    opacity: 0.9;
}

/* ============================================
   STATISTIQUES
   ============================================ */

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 60px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, #e5b039 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon i {
    font-size: 24px;
    color: var(--dark);
}

.stat-content {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 28px;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

/* ============================================
   NOTRE HISTOIRE
   ============================================ */

.about-story {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.story-text p {
    font-size: 15px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
}

.story-text p:last-child {
    margin-bottom: 0;
}

.story-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
}

/* ============================================
   NOS VALEURS
   ============================================ */

.about-values {
    margin-bottom: 60px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.value-card {
    background: #fff;
    padding: 30px 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    border: 2px solid transparent;
}

.value-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.value-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary) 0%, #e5b039 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.value-icon i {
    font-size: 28px;
    color: var(--dark);
}

.value-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin: 0 0 10px 0;
}

.value-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   POURQUOI NOUS CHOISIR
   ============================================ */

.about-why {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 60px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
}

.why-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--dark);
    margin: 0 0 15px 0;
}

.why-description {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 25px;
}

.why-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.why-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.why-list li:last-child {
    border-bottom: none;
}

.why-list li i {
    color: var(--success);
    font-size: 18px;
    flex-shrink: 0;
}

.why-list li span {
    font-size: 15px;
    color: #555;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 30px;
    background: linear-gradient(135deg, var(--secondary) 0%, #a00010 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(198, 0, 19, 0.3);
}

.why-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
}

/* ============================================
   NOTRE ÉQUIPE
   ============================================ */

.about-team {
    margin-bottom: 60px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

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

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.team-photo img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.team-info {
    padding: 20px;
    text-align: center;
}

.team-info h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin: 0 0 5px 0;
}

.team-role {
    font-size: 14px;
    color: var(--secondary);
    font-weight: 500;
}

/* ============================================
   CTA SECTION
   ============================================ */

.about-cta {
    background: linear-gradient(135deg, var(--dark) 0%, #1a252f 100%);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
}

.cta-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 15px 0;
}

.cta-content p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 30px 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 35px;
    background: var(--primary);
    color: var(--dark);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s;
}

.btn-cta-primary:hover { 
    transform: translateY(-2px);
}

.btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 35px;
    background: var(--secondary);
    color: #fff;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s;
}

.btn-cta-secondary:hover { 
    transform: translateY(-2px);
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 1024px) {
    .about-hero {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px;
    }

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

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .story-content {
        grid-template-columns: 1fr;
    }

    .about-why {
        grid-template-columns: 1fr;
        padding: 30px;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .section-header-center h2 {
        font-size: 26px;
    }

    .about-hero-content h2 {
        font-size: 28px;
    }

    .about-hero-image img {
        height: 280px;
    }

    .experience-badge {
        bottom: -15px;
        left: -10px;
        padding: 15px 20px;
    }

    .experience-badge .years {
        font-size: 32px;
    }

    .about-stats {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

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

    .stat-number {
        font-size: 24px;
    }

    .about-story {
        padding: 30px 20px;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .about-cta {
        padding: 40px 20px;
    }

    .cta-content h2 {
        font-size: 24px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn-cta-primary,
    .btn-cta-secondary {
        width: 100%;
        justify-content: center;
    }
}

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

    .stat-item {
        flex-direction: column;
        text-align: center;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }
}


/* ========================================
   RTL SUPPORT - ARABIC VERSION
   ======================================== */

html[dir="rtl"] .about-section {
    direction: rtl;
    text-align: right;
}

/* Hero RTL */
html[dir="rtl"] .about-hero {
    direction: rtl;
}

html[dir="rtl"] .experience-badge {
    left: auto;
    right: -20px;
}

/* Stats RTL */
 

html[dir="rtl"] .stat-content {
    text-align: right;
}

/* Story RTL */
html[dir="rtl"] .story-content {
    direction: rtl;
}

html[dir="rtl"] .story-text {
    text-align: right;
}

/* Values RTL */
html[dir="rtl"] .value-card {
    text-align: center;
}

/* Why RTL */
html[dir="rtl"] .about-why {
    direction: rtl;
}

html[dir="rtl"] .why-content {
    text-align: right;
}

 

html[dir="rtl"] .why-list li i {
    margin-left: 0;
    margin-right: 0;
}

/* Team RTL */
html[dir="rtl"] .team-info {
    text-align: center;
}

/* CTA RTL */
 

html[dir="rtl"] .btn-cta-primary,
html[dir="rtl"] .btn-cta-secondary,
 

/* Responsive RTL */
@media (max-width: 768px) {
    html[dir="rtl"] .experience-badge {
        right: -10px;
    }

    html[dir="rtl"] .cta-buttons {
        flex-direction: column;
    }
}
