/* Import shared styles */
@import url('index.css');

/* About Hero */
.about-hero {
    height: 60vh;
    position: relative;
    margin-top: 90px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.about-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.about-hero .hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 900px;
    text-align: center;
    margin: 0 auto;
    padding: 0;
}

.about-hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    color: white;
}

.about-hero h2 {
    font-size: 2rem;
    margin-bottom: 0;
    font-weight: 400;
    color: white;
}

/* About Section */
.about-section {
    padding: 100px 0;
    background-color: #f9f9f9;
}

.about-content {
    max-width: 1000px;
    margin: 0 auto 80px;
}

.about-content p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    color: #555;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.mission-card, .vision-card {
    background-color: white;
    padding: 50px 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.mission-card::before, .vision-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, #307E33, #FCC110);
}

.mission-card:hover, .vision-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card-icon {
    margin-bottom: 30px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-shape {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    position: relative;
}

.mission::before {
    content: '';
    position: absolute;
    width: 50px;
    height: 50px;
    border: 5px solid #307E33;
    border-radius: 50%;
    top: 7px;
    left: 7px;
}

.mission::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: #FCC110;
    border-radius: 50%;
    bottom: 10px;
    right: 10px;
}

.vision::before {
    content: '';
    position: absolute;
    width: 50px;
    height: 50px;
    background-color: #307E33;
    border-radius: 50%;
    top: 7px;
    left: 7px;
}

.vision::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    border: 4px solid #FCC110;
    border-top-color: transparent;
    border-radius: 50%;
    bottom: 5px;
    right: 5px;
    animation: spin 3s linear infinite;
}

.mission-card h3, .vision-card h3 {
    margin-bottom: 20px;
    color: #307E33;
    font-size: 1.8rem;
}

.mission-card p, .vision-card p {
    color: #666;
    margin: 0;
}

/* Team Section */
.team-section {
    padding: 100px 0;
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
    position: relative;
    z-index: 2;
}

.team-member {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.team-member:hover {
    transform: translateY(-10px);
    background-color: white;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.member-photo {
    height: 200px;
    overflow: hidden;
}

.photo-placeholder {
    width: 100%;
    height: 100%;
    background-color: #307E33;
    position: relative;
}

.photo-placeholder::before {
    content: '';
    position: absolute;
    width: 120px;
    height: 120px;
    background-color: #FCC110;
    border-radius: 50%;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
}

.photo-placeholder::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 80px;
    background-color: #EF7D12;
    border-radius: 50%;
    bottom: 40px;
    right: 40px;
}

.member-info {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.member-info h3 {
    margin-bottom: 10px;
    color: #307E33;
    font-size: 1.5rem;
}

.member-role {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    color: #FCC110;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.member-info p {
    color: #666;
    margin: 0;
    flex-grow: 1;
}

/* Impact Stats Section */
.impact-stats-section {
    padding: 100px 0;
    background-color: #f5f5f5;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.stat-item {
    text-align: center;
    padding: 40px 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.stat-number {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 3.5rem;
    color: #307E33;
    margin-bottom: 10px;
}

.stat-label {
    font-weight: 600;
    font-size: 1.2rem;
    color: #555;
}

.impact-description {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.3rem;
    color: #666;
    padding: 30px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* SDG Section */
.sdg-section {
    padding: 100px 0;
    background-color: white;
}

.sdg-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.sdg-item {
    text-align: center;
    padding: 50px 30px;
    background-color: #f9f9f9;
    border-radius: 10px;
    transition: all 0.4s ease;
    border-top: 5px solid #307E33;
}

.sdg-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.sdg-icon {
    margin-bottom: 30px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sdg-shape {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    position: relative;
}

.goal2::before {
    content: '2';
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 2rem;
    color: white;
    background-color: #307E33;
    border-radius: 50%;
}

.goal5::before {
    content: '5';
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 2rem;
    color: white;
    background-color: #FCC110;
    border-radius: 50%;
}

.goal12::before {
    content: '12';
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 1.8rem;
    color: white;
    background-color: #EF7D12;
    border-radius: 50%;
}

.sdg-item h3 {
    margin-bottom: 20px;
    color: #333;
    font-size: 1.5rem;
}

.sdg-item p {
    color: #666;
    margin: 0;
}


/* Icônes Mission / Vision */
.icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mission-icon {
    background: linear-gradient(135deg, #307E33, #1e5a20);
    box-shadow: 0 8px 20px rgba(48, 126, 51, 0.3);
}

.vision-icon {
    background: linear-gradient(135deg, #FCC110, #dba30e);
    box-shadow: 0 8px 20px rgba(252, 193, 16, 0.3);
}

.mission-card:hover .icon-circle,
.vision-card:hover .icon-circle {
    transform: scale(1.1);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

/* Icônes SDG */
.sdg-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.goal2-icon {
    background: linear-gradient(135deg, #307E33, #1e5a20);
    box-shadow: 0 8px 20px rgba(48, 126, 51, 0.3);
}

.goal5-icon {
    background: linear-gradient(135deg, #FCC110, #dba30e);
    box-shadow: 0 8px 20px rgba(252, 193, 16, 0.3);
}

.goal12-icon {
    background: linear-gradient(135deg, #EF7D12, #c5650e);
    box-shadow: 0 8px 20px rgba(239, 125, 18, 0.3);
}

.sdg-item:hover .sdg-circle {
    transform: scale(1.1);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .about-hero h1 {
        font-size: 3rem;
    }
    
    .about-hero h2 {
        font-size: 1.8rem;
    }
    
    .mission-vision-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .about-hero {
        height: 50vh;
        margin-top: 70px;
    }
    
    .about-hero h1 {
        font-size: 2.5rem;
    }
    
    .about-hero h2 {
        font-size: 1.5rem;
    }
    
    .about-section, .team-section, .impact-stats-section, .sdg-section {
        padding: 70px 0;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .stats-grid, .sdg-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-content p {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .about-hero h1 {
        font-size: 2rem;
    }
    
    .about-hero h2 {
        font-size: 1.2rem;
    }
    
    .mission-card, .vision-card {
        padding: 30px 20px;
    }
    
    .member-info {
        padding: 20px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .sdg-item {
        padding: 30px 20px;
    }
}