/**
 * À Propos Page Styles
 * Follows the Figma design system
 * Madagascar flag colors: White, Red (#ED2024), Green (#0E8040)
 */

/* Content Section */
.about-section {
    background: #FFFFFF;
    padding: 3rem 0 4rem;
}

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

/* Section Header */
.about-header {
    text-align: center;
    margin-bottom: 3rem;
}

.about-title {
    font-family: 'Lato', 'Roboto', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #333333;
    margin: 0 0 1rem;
}

.about-subtitle {
    font-family: 'Lato', 'Roboto', sans-serif;
    font-size: 1.1rem;
    color: #666666;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Cards Grid */
.about-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Card Styling */
.about-card {
    display: flex;
    flex-direction: column;
    padding: 30px;
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 20px;
    box-shadow: 0px 4px 30px 0px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 10px 40px 0px rgba(0, 0, 0, 0.12);
}

/* Madagascar Flag Accent */


/* Card Icon */
.about-card-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1.5rem;
    background: #F5F5F5;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.about-card-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-card-icon i {
    font-size: 2.5rem;
    color: #0E8040;
}

/* Card Content */
.about-card-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    text-align: center;
}

.about-card-title {
    font-family: 'Lato', 'Roboto', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #333333;
    margin: 0 0 1rem;
    line-height: 1.3;
}

.about-card-description {
    font-family: 'Lato', 'Roboto', sans-serif;
    font-size: 0.95rem;
    color: #666666;
    line-height: 1.6;
    margin: 0 0 1.5rem;
    flex: 1;
}

/* Card Button */
.about-card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background: transparent;
    border: 2px solid #0E8040;
    border-radius: 10px;
    color: #0E8040;
    font-family: 'Lato', 'Roboto', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: auto;
}

.about-card-btn:hover {
    background: #0E8040;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(14, 128, 64, 0.25);
}

.about-card-btn i {
    font-size: 0.85rem;
    transition: transform 0.3s ease;
}

.about-card-btn:hover i {
    transform: translateX(3px);
}

/* No Cards Message */
.no-cards-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    background-color: #F8F9FA;
    border-radius: 15px;
    border: 2px dashed #DEE2E6;
}

.no-cards-message p {
    font-family: 'Lato', 'Roboto', sans-serif;
    color: #666666;
    font-size: 1.1rem;
    margin: 0;
    line-height: 1.6;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .about-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .about-cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .about-card {
        padding: 25px;
        max-width: 450px;
        margin: 0 auto;
        width: 100%;
    }

    .about-header {
        margin-bottom: 2rem;
    }

    .about-title {
        font-size: 1.75rem;
    }

    .about-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .about-card {
        padding: 20px;
    }

    .about-card-icon {
        width: 80px;
        height: 80px;
    }

    .about-card-title {
        font-size: 1.15rem;
    }

    .about-card-description {
        font-size: 0.9rem;
    }

    .about-card-btn {
        width: 100%;
        padding: 10px 20px;
    }
}