/* Styles spécifiques pour la page À Propos */

/* Timeline */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0.5rem;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-color));
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 2.5rem;
}

.timeline-marker {
    position: absolute;
    left: -1.75rem;
    top: 0.5rem;
    width: 1.5rem;
    height: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-color));
    border-radius: 50%;
    border: 4px solid var(--white);
    box-shadow: 
        0 0 0 3px var(--primary-color),
        0 4px 12px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.timeline-marker i {
    font-size: 0.8rem;
    color: var(--white);
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.3));
}

.timeline-item:hover .timeline-marker {
    transform: scale(1.2);
    box-shadow: 
        0 0 0 3px var(--primary-color),
        0 6px 20px rgba(0,0,0,0.25);
}

.timeline-content {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 
        0 8px 25px rgba(0,0,0,0.1),
        0 0 0 1px rgba(255,255,255,0.8) inset;
    transition: all 0.3s ease;
    border: 1px solid rgba(var(--primary-color-rgb), 0.1);
}

.timeline-item:hover .timeline-content {
    transform: translateX(10px);
    box-shadow: 
        0 12px 35px rgba(0,0,0,0.15),
        0 0 0 1px rgba(255,255,255,0.9) inset;
}

.timeline-content h5 {
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.timeline-content h5 i {
    font-size: 1rem;
}

.timeline-content p {
    color: var(--gray-600);
    margin: 0;
    line-height: 1.6;
}

/* About Images */
.about-image {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.about-image img {
    transition: all 0.5s ease;
}

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

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(var(--primary-color-rgb), 0.9), rgba(var(--primary-color-rgb), 0.8));
    color: white;
    padding: 2rem;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.about-image:hover .image-overlay {
    transform: translateY(0);
}

.overlay-content h4 {
    margin-bottom: 0.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.overlay-content p {
    margin: 0;
    opacity: 0.9;
}

/* Value Cards */
.value-card {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border-radius: 25px;
    padding: 2.5rem 2rem;
    box-shadow: 
        0 15px 35px rgba(0,0,0,0.1),
        0 0 0 1px rgba(255,255,255,0.8) inset;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.value-card:hover::before {
    transform: scaleX(1);
}

.value-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 
        0 25px 50px rgba(0,0,0,0.15),
        0 0 0 1px rgba(255,255,255,0.9) inset;
}

.value-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    box-shadow: 
        0 15px 35px rgba(0,0,0,0.2),
        0 0 0 1px rgba(255,255,255,0.3) inset;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.value-card:hover .value-icon {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 
        0 20px 45px rgba(0,0,0,0.25),
        0 0 0 1px rgba(255,255,255,0.4) inset;
}

.value-icon i {
    font-size: 2.2rem;
    color: white;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
    transition: transform 0.3s ease;
}

.value-card:hover .value-icon i {
    transform: scale(1.1);
}

.value-card h4 {
    color: var(--gray-900);
    margin-bottom: 1.5rem;
    font-weight: 700;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.value-card h4 i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.value-card p {
    color: var(--gray-600);
    margin: 0;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Mission Points */
.mission-points {
    margin-top: 2rem;
}

.mission-point {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(145deg, rgba(var(--primary-color-rgb), 0.05), rgba(var(--primary-color-rgb), 0.05));
    border-radius: 12px;
    border: 1px solid rgba(var(--primary-color-rgb), 0.1);
    transition: all 0.3s ease;
}

.mission-point:hover {
    transform: translateX(10px);
    background: linear-gradient(145deg, rgba(var(--primary-color-rgb), 0.08), rgba(var(--primary-color-rgb), 0.08));
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.mission-point i:first-child {
    font-size: 1.25rem;
    flex-shrink: 0;
    color: var(--primary-color);
}

.mission-point span {
    color: var(--gray-700);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mission-point span i {
    color: var(--primary-color);
    font-size: 1rem;
}

/* Certification Cards */
.certification-card {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    box-shadow: 
        0 15px 35px rgba(0,0,0,0.1),
        0 0 0 1px rgba(255,255,255,0.8) inset;
    height: 100%;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.certification-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.certification-card:hover::before {
    transform: scaleX(1);
}

.certification-card:hover {
    transform: translateY(-10px);
    box-shadow: 
        0 25px 50px rgba(0,0,0,0.15),
        0 0 0 1px rgba(255,255,255,0.9) inset;
}

.certification-logo {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    box-shadow: 
        0 15px 35px rgba(0,0,0,0.2),
        0 0 0 1px rgba(255,255,255,0.3) inset;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.certification-card:hover .certification-logo {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 
        0 20px 45px rgba(0,0,0,0.25),
        0 0 0 1px rgba(255,255,255,0.4) inset;
}

.certification-logo i {
    font-size: 2rem;
    color: white;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.certification-card h4 {
    color: var(--gray-900);
    margin-bottom: 2rem;
    font-weight: 700;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.certification-card h4 i {
    color: var(--primary-color);
    font-size: 1rem;
}

.certification-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.certification-card li {
    color: var(--gray-600);
    margin-bottom: 1rem;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    background: rgba(255,255,255,0.5);
    border: 1px solid transparent;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.certification-card li:hover {
    background: rgba(var(--primary-color-rgb), 0.05);
    border-color: rgba(var(--primary-color-rgb), 0.2);
    transform: translateX(5px);
}

.certification-card li i {
    color: var(--primary-color);
    font-size: 0.9rem;
    flex-shrink: 0;
}

/* Team Cards */
.team-card {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    box-shadow: 
        0 15px 35px rgba(0,0,0,0.1),
        0 0 0 1px rgba(255,255,255,0.8) inset;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.team-card:hover::before {
    transform: scaleX(1);
}

.team-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 
        0 25px 50px rgba(0,0,0,0.15),
        0 0 0 1px rgba(255,255,255,0.9) inset;
}

.team-photo {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    box-shadow: 
        0 15px 35px rgba(0,0,0,0.2),
        0 0 0 1px rgba(255,255,255,0.3) inset;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.team-card:hover .team-photo {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 
        0 20px 45px rgba(0,0,0,0.25),
        0 0 0 1px rgba(255,255,255,0.4) inset;
}

.team-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.team-card:hover .team-photo-img {
    transform: scale(1.1);
}

.team-card h4 {
    color: var(--gray-900);
    margin-bottom: 1rem;
    font-weight: 700;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.team-card h4 i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.team-role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.team-role i {
    font-size: 0.9rem;
}

.team-desc {
    color: var(--gray-600);
    font-size: 0.9rem;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    line-height: 1.5;
}

.team-desc i {
    color: var(--primary-color);
    font-size: 0.8rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-color)) !important;
    position: relative;
    overflow: hidden;
}

.cta-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"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.cta-section .container {
    position: relative;
    z-index: 10;
}

.cta-section h2 {
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-section h2 i {
    font-size: 1.5rem;
}

.cta-section .btn {
    border-radius: 15px;
    padding: 1rem 2rem;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
}

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

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

.cta-section .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}

/* Badge styles */
.badge.badge-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-color));
    color: white;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    border-radius: 25px;
    font-weight: 600;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .timeline {
        padding-left: 1.5rem;
    }
    
    .timeline-marker {
        left: -1.25rem;
        width: 1.2rem;
        height: 1.2rem;
    }
    
    .timeline-content {
        padding: 1rem;
    }
    
    .value-card,
    .certification-card,
    .team-card {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .mission-point {
        padding: 0.8rem 1rem;
    }
    
    .team-photo {
        width: 100px;
        height: 100px;
    }
    
    .team-photo i {
        font-size: 2.5rem;
    }
    
    .image-overlay {
        padding: 1.5rem;
    }
}

/* Animation for cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.timeline-item {
    animation: fadeInUp 0.6s ease forwards;
}

.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.2s; }
.timeline-item:nth-child(3) { animation-delay: 0.3s; }
.timeline-item:nth-child(4) { animation-delay: 0.4s; }

.value-card {
    animation: fadeInUp 0.6s ease forwards;
}

.value-card:nth-child(1) { animation-delay: 0.5s; }
.value-card:nth-child(2) { animation-delay: 0.6s; }
.value-card:nth-child(3) { animation-delay: 0.7s; }
.value-card:nth-child(4) { animation-delay: 0.8s; }

.certification-card {
    animation: fadeInUp 0.6s ease forwards;
}

.certification-card:nth-child(1) { animation-delay: 0.9s; }
.certification-card:nth-child(2) { animation-delay: 1.0s; }
.certification-card:nth-child(3) { animation-delay: 1.1s; }

.team-card {
    animation: fadeInUp 0.6s ease forwards;
}

.team-card:nth-child(1) { animation-delay: 1.2s; }
.team-card:nth-child(2) { animation-delay: 1.3s; }
.team-card:nth-child(3) { animation-delay: 1.4s; }
.team-card:nth-child(4) { animation-delay: 1.5s; }
