/**
 * About Page Styles
 * Extracted from page-a-propos.php inline <style>
 *
 * @package DLM_EFormation
 */

:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary-color: #f59e0b;
    --success-color: #10b981;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-600: #4b5563;
    --gray-800: #1f2937;
    --gray-900: #111827;
}

.about-page {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--gray-800);
}

.hero-about {
    background: linear-gradient(135deg, #102a43 0%, #0b1e33 100%);
    color: white !important;
    padding: 200px 0 100px;
    position: relative;
    overflow: hidden;
    margin-top: -100px;
}

.hero-about::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"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.1;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-container h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
    color: white !important;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: white !important;
}

.content-section {
    padding: 80px 0;
    background: white !important;
    color: #212529 !important;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.section-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #212529 !important;
    margin-bottom: 20px;
}

.section-content p {
    font-size: 1.1rem;
    color: #212529 !important;
    margin-bottom: 20px;
}

.section-content strong {
    color: #212529 !important;
}

.section-image {
    text-align: center;
}

.section-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 16px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.stats-section {
    background: #f8f9fa !important;
    padding: 80px 0;
    color: #212529 !important;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item {
    background: white;
    padding: 40px 20px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: #102a43 !important;
    display: block;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    color: #212529 !important;
    font-weight: 600;
}

.values-section {
    padding: 80px 0;
    background: white !important;
    color: #212529 !important;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.value-item {
    text-align: center;
    padding: 40px 20px;
}

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #102a43, #d4a012);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: white !important;
    font-size: 2rem;
}

.value-item h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #212529 !important;
    margin-bottom: 15px;
}

.value-item p {
    color: #212529 !important;
    line-height: 1.6;
}

.team-section {
    background: var(--gray-50);
    padding: 80px 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.team-member {
    background: white;
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.member-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.member-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 5px;
}

.member-role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.member-bio {
    color: var(--gray-600);
    line-height: 1.6;
}

/* Additional color enforcement for all text elements */
.stats-section h2,
.stats-section p {
    color: #212529 !important;
}

.values-section h2,
.values-section p {
    color: #212529 !important;
}

/* CTA Section - red background with white text */
.about-page section[style*="background: linear-gradient"],
.about-page section[style*="background:linear-gradient"] {
    color: white !important;
}

.about-page section[style*="background: linear-gradient"] h2,
.about-page section[style*="background: linear-gradient"] p,
.about-page section[style*="background:linear-gradient"] h2,
.about-page section[style*="background:linear-gradient"] p {
    color: white !important;
}

/* Button styling for visibility */
.about-page a[style*="background: var(--secondary-color)"],
.about-page a[style*="background:var(--secondary-color)"] {
    background: #ffffff !important;
    color: #212529 !important;
    border: 2px solid #102a43 !important;
}

.about-page a[style*="background: transparent"] {
    background: transparent !important;
    color: white !important;
    border: 2px solid white !important;
}

/* Override inline styles for text color */
.stats-section div[style*="color: var(--gray-900)"] h2,
.values-section div[style*="color: var(--gray-900)"] h2 {
    color: #212529 !important;
}

.stats-section div[style*="color: var(--gray-600)"] p,
.values-section div[style*="color: var(--gray-600)"] p {
    color: #212529 !important;
}

@media (max-width: 768px) {
    .hero-container h1 {
        font-size: 2.5rem;
        color: white !important;
    }

    .section-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .values-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
}
