/* Qui Sommes-Nous Page - Modern Design */

.about-page {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.about-header {
    text-align: center;
    margin-bottom: 60px;
    animation: fadeInDown 0.8s ease;
}

.about-header h2 {
    font-size: 42px;
    font-weight: 700;
    color: #2C3E50;
    margin-bottom: 20px;
}

.about-header h2 .highlight {
    color: #8B1538;
    position: relative;
    display: inline-block;
}

.about-header h2 .highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #8B1538 0%, #A91D4A 100%);
    border-radius: 2px;
}

.about-header .subtitle {
    font-size: 18px;
    color: #6c757d;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

.about-intro {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 50px;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.about-intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #8B1538 0%, #A91D4A 100%);
}

.about-intro-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #8B1538, #A91D4A);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    box-shadow: 0 8px 20px rgba(139, 21, 56, 0.3);
    animation: iconPulse 2s infinite;
}

.about-intro-icon i {
    font-size: 36px;
    color: white;
}

.about-intro h3 {
    font-size: 28px;
    font-weight: 700;
    color: #2C3E50;
    text-align: center;
    margin-bottom: 20px;
}

.about-intro p {
    font-size: 16px;
    line-height: 1.8;
    color: #495057;
    text-align: justify;
}

.about-intro strong {
    color: #8B1538;
    font-weight: 600;
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.service-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease both;
}

.service-card:nth-child(1) {
    animation-delay: 0.3s;
}

.service-card:nth-child(2) {
    animation-delay: 0.4s;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #8B1538 0%, #A91D4A 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(139, 21, 56, 0.15);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.service-card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #8B1538, #A91D4A);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
    transition: all 0.3s ease;
    position: relative;
}

.service-card:hover .service-card-icon {
    transform: rotate(5deg) scale(1.05);
}

.service-card-icon i {
    font-size: 32px;
    color: white;
}

.service-card-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    color: #8B1538;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.service-card-title h4 {
    font-size: 24px;
    font-weight: 700;
    color: #2C3E50;
    margin: 0;
}

.service-card-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-card-content li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 15px;
    font-size: 15px;
    line-height: 1.6;
    color: #495057;
}

.service-card-content li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, rgba(139, 21, 56, 0.1), rgba(169, 29, 74, 0.1));
    border-radius: 50%;
    color: #8B1538;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card-content li:last-child {
    margin-bottom: 0;
}

.legal-section {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease 0.5s both;
}

.legal-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #8B1538 0%, #A91D4A 100%);
}

.legal-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(139, 21, 56, 0.1), rgba(169, 29, 74, 0.1));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.legal-icon i {
    font-size: 28px;
    color: #8B1538;
}

.legal-section h4 {
    font-size: 22px;
    font-weight: 700;
    color: #2C3E50;
    margin-bottom: 20px;
}

.legal-section p {
    font-size: 15px;
    line-height: 1.8;
    color: #495057;
    text-align: justify;
    margin: 0;
}

.legal-section strong {
    color: #8B1538;
    font-weight: 600;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes iconPulse {
    0%, 100% {
        box-shadow: 0 8px 20px rgba(139, 21, 56, 0.3);
    }
    50% {
        box-shadow: 0 8px 30px rgba(139, 21, 56, 0.5);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-header h2 {
        font-size: 36px;
    }
    
    .service-cards {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .about-intro,
    .service-card,
    .legal-section {
        padding: 30px 25px;
    }
}

@media (max-width: 768px) {
    .about-page {
        padding: 40px 0;
    }
    
    .about-header {
        margin-bottom: 40px;
    }
    
    .about-header h2 {
        font-size: 30px;
    }
    
    .about-header .subtitle {
        font-size: 16px;
    }
    
    .about-intro h3 {
        font-size: 24px;
    }
    
    .service-card-header {
        flex-direction: column;
        text-align: center;
    }
    
    .service-card-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .service-card-title h4 {
        font-size: 20px;
    }
    
    .service-card-content li {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .about-intro,
    .service-card,
    .legal-section {
        padding: 25px 20px;
    }
    
    .about-header h2 {
        font-size: 26px;
    }
    
    .about-intro-icon {
        width: 70px;
        height: 70px;
    }
    
    .about-intro-icon i {
        font-size: 32px;
    }
    
    .service-card-icon {
        width: 60px;
        height: 60px;
    }
    
    .service-card-icon i {
        font-size: 28px;
    }
}
