/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Prévenir les débordements sur mobile */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Améliorer le rendu sur mobile */
* {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
}

/* Fix pour iOS et appareils mobiles - Images de fond */
@supports (-webkit-touch-callout: none) {
    .hero {
        background-attachment: scroll;
    }
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #F58A2B;
}

.nav-logo .logo-img {
    margin-right: 20px;
    height: 70px;
    width: auto;
    max-width: 120px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #F58A2B;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #4A90E2;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('images/mila.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: white;
    padding-top: 70px;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4));
    z-index: 0;
}

.hero > * {
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 1s ease 0.6s both;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-placeholder {
    width: 300px;
    height: 300px;
    max-width: 90vw;
    max-height: 90vw;
    aspect-ratio: 1;
    background: url('images/cartablechance.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    animation: float 3s ease-in-out infinite;
    border: 5px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.hero-placeholder:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.zoom-hint {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 5px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    white-space: nowrap;
}

.zoom-hint i {
    font-size: 0.9rem;
}

.hero-placeholder i {
    font-size: 5rem;
    color: white;
    display: none; /* Cache l'icône car on utilise l'image */
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: #F58A2B;
    color: white;
}

.btn-primary:hover {
    background: #FDB813;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(245, 138, 43, 0.4);
}

.btn-primary:visited {
    color: white;
}

a.btn {
    color: inherit;
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #333;
    transform: translateY(-2px);
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #F58A2B;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #4A90E2;
    border-radius: 2px;
}

.bg-light {
    background: #f8f9fa;
}

/* Histoire Section */
.histoire-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.histoire-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

.histoire-text p {
    margin-bottom: 1.5rem;
}

.lead {
    font-size: 1.3rem;
    font-weight: 600;
    color: #F58A2B;
}

.highlight {
    background: linear-gradient(120deg, #FFF8E1 0%, #FFE0B2 100%);
    padding: 1rem;
    border-radius: 10px;
    border-left: 4px solid #F58A2B;
    font-weight: 600;
}

.histoire-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.stat:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #F58A2B;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #666;
    font-weight: 500;
}

/* Objectifs Section */
.vision-content {
    text-align: center;
    margin-bottom: 3rem;
}

.vision-text h3 {
    font-size: 1.8rem;
    color: #68BC45;
    margin-bottom: 1rem;
}

.vision-text p {
    font-size: 1.2rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

.objectifs-intro {
    max-width: 800px;
    margin: 2rem auto;
    text-align: center;
}

.objectifs-intro p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
    font-style: italic;
}

.objectifs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.objectif-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    border-left: 5px solid #4A90E2;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.objectif-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-left-color: #F58A2B;
}

.objectif-card:nth-child(1) {
    border-left-color: #68BC45;
}

.objectif-card:nth-child(2) {
    border-left-color: #F58A2B;
}

.objectif-card:nth-child(3) {
    border-left-color: #4A90E2;
}

.objectif-card:nth-child(4) {
    border-left-color: #FDB813;
}

.objectif-card:nth-child(5) {
    border-left-color: #68BC45;
}

.objectif-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #4A90E2, #68BC45);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.objectif-card:nth-child(1) .objectif-icon {
    background: linear-gradient(135deg, #68BC45, #4A90E2);
}

.objectif-card:nth-child(2) .objectif-icon {
    background: linear-gradient(135deg, #F58A2B, #FDB813);
}

.objectif-card:nth-child(3) .objectif-icon {
    background: linear-gradient(135deg, #4A90E2, #68BC45);
}

.objectif-card:nth-child(4) .objectif-icon {
    background: linear-gradient(135deg, #FDB813, #F58A2B);
}

.objectif-card:nth-child(5) .objectif-icon {
    background: linear-gradient(135deg, #68BC45, #4A90E2);
}

.objectif-icon i {
    font-size: 2rem;
    color: white;
}

.objectif-card h5 {
    font-size: 1.3rem;
    color: #000000;
    margin-bottom: 1rem;
    font-weight: 600;
}

.objectif-card p {
    color: #666;
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}


/* Équipe Section */
.equipe-intro {
    max-width: 800px;
    margin: 2rem auto 3rem;
    text-align: center;
}

.equipe-intro p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
    font-style: italic;
}

.equipe-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.membre-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

.membre-avatar {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.membre-avatar i {
    font-size: 2.5rem;
    color: white;
}

.membre-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.membre-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #F58A2B;
}

.membre-role {
    color: #000000;
    font-weight: 600;
    margin-bottom: 1rem;
}

.membre-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Actions Section */
.actions-intro {
    max-width: 900px;
    margin: 2rem auto 3rem;
    text-align: center;
}

.actions-intro p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
}

.action-principale {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 3rem;
    border-left: 5px solid #e74c3c;
}

.action-header h3 {
    font-size: 2rem;
    color: #F58A2B;
    margin-bottom: 0.5rem;
}

.action-date {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.action-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.action-description h4 {
    color: #68BC45;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.action-description p {
    margin-bottom: 1.5rem;
    color: #666;
    line-height: 1.6;
}

.kit-list {
    list-style: none;
    padding: 0;
}

.kit-list li {
    padding: 0.5rem 0;
    color: #666;
    display: flex;
    align-items: center;
}

.kit-list i {
    color: #27ae60;
    margin-right: 10px;
    font-size: 1.1rem;
}

.action-stats {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.stat-box {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
}

.stat-box .stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #F58A2B;
    margin-bottom: 0.5rem;
}

.stat-box .stat-label {
    color: #666;
    font-weight: 500;
}

.axes-intervention h3 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
}

.axes-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 400px;
    margin: 0 auto;
}

.axe-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.axe-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.axe-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.axe-icon i {
    font-size: 1.5rem;
    color: white;
}

.axe-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.axe-card p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}


/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #F58A2B;
}

.contact-info p {
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.contact-item i {
    font-size: 1.2rem;
    color: #F58A2B;
    margin-right: 1rem;
    width: 20px;
}

.contact-item a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #F58A2B;
}

.don-section {
    background: linear-gradient(135deg, #E3F2FD, #BBDEFB);
    padding: 2rem;
    border-radius: 15px;
    margin-top: 2rem;
}

.don-section h4 {
    color: #333;
    margin-bottom: 1rem;
}

.don-section p {
    color: #666;
    margin-bottom: 1rem;
}

.don-section ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.don-section li {
    padding: 0.3rem 0;
    color: #666;
    position: relative;
    padding-left: 1.5rem;
}

.don-section li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: bold;
}

.don-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
    margin-bottom: 1.5rem;
    color: #F58A2B;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #e74c3c;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-logo .logo-img {
    margin-right: 20px;
    height: 60px;
    width: auto;
    max-width: 100px;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: #F58A2B;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #F58A2B;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #34495e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #4A90E2;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 2% auto;
    padding: 2rem;
    border-radius: 15px;
    width: 90%;
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    color: #999;
    transition: color 0.3s ease;
}

.close:hover {
    color: #F58A2B;
}

.don-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.don-options-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.don-option {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    min-height: 180px;
}

.don-option:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.don-option h4 {
    color: #333;
    margin-bottom: 0.5rem;
}

.don-option p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.don-option .btn {
    margin-top: auto;
    width: 100%;
    min-height: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
    box-sizing: border-box;
    font-size: 1rem;
}

.mobile-money-info {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    margin-top: auto;
    text-align: left;
    min-height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-money-info p {
    margin: 0;
    font-size: 0.9rem;
    color: #333;
    text-align: center;
    width: 100%;
}

.mobile-money-info strong {
    color: #F58A2B;
}

/* Modal d'agrandissement d'image */
.image-modal {
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

.image-modal-content {
    background: transparent;
    border: none;
    padding: 0;
    margin: 2% auto;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-modal .close {
    color: white;
    background: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    right: 10px;
    top: 10px;
    z-index: 10;
    font-size: 1.5rem;
}

.image-modal .close:hover {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    transform: scale(1.1);
}

.image-container {
    position: relative;
    text-align: center;
    max-width: 100%;
    max-height: 100%;
}

.enlarged-image {
    max-width: 100%;
    max-height: 70vh;
    width: auto;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    object-fit: contain;
}

.image-caption {
    background: rgba(255, 255, 255, 0.95);
    padding: 1.5rem;
    border-radius: 0 0 15px 15px;
    margin-top: -5px;
    backdrop-filter: blur(10px);
}

.image-caption h3 {
    color: #F58A2B;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.image-caption p {
    color: #666;
    margin: 0 0 1.5rem 0;
    font-size: 1rem;
}

.image-caption-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
}

.image-caption-buttons .btn {
    width: 100%;
    max-width: none;
}

.btn-close-modal {
    background: #666;
    color: white;
    border: 2px solid #666;
}

.btn-close-modal:hover {
    background: #555;
    border-color: #555;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }
    
    .nav-container {
        padding: 0 15px;
    }
    
    .objectifs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 1rem 0;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 0.4rem 0;
    }
    
    .nav-link {
        padding: 0.5rem 1rem;
        display: block;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 100px 20px 50px;
        background-attachment: scroll !important;
        background-size: cover;
        background-position: center center;
        min-height: auto;
        height: auto;
    }
    
    .hero-content {
        max-width: 100%;
        padding: 0 15px;
    }
    
    .hero-image {
        width: 100%;
        margin-top: 2rem;
    }

    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        padding: 14px 25px;
        font-size: 0.95rem;
    }
    
    .nav-logo .logo-img {
        height: 50px;
        max-width: 80px;
    }
    
    .nav-logo span {
        font-size: 1.2rem;
    }

    .hero-image {
        margin-top: 2rem;
    }

    .hero-placeholder {
        width: 220px;
        height: 220px;
        max-width: 70vw;
        max-height: 70vw;
    }

    .hero-placeholder i {
        font-size: 3rem;
        display: none; /* Cache l'icône sur mobile aussi */
    }

    .zoom-hint {
        bottom: -35px;
        font-size: 0.7rem;
        padding: 6px 10px;
    }

    .image-modal-content {
        width: 95%;
        margin: 5% auto;
    }

    .enlarged-image {
        max-height: 60vh;
    }

    .image-caption {
        padding: 1rem;
    }

    .image-caption h3 {
        font-size: 1.2rem;
    }

    .image-caption p {
        font-size: 0.9rem;
    }
    
    .image-caption-buttons {
        gap: 0.5rem;
    }
    
    .image-modal .close {
        width: 35px;
        height: 35px;
        font-size: 1.3rem;
        right: 5px;
        top: 5px;
    }

    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    .vision-text p {
        font-size: 1rem;
    }
    
    .objectifs-intro {
        margin: 1.5rem auto;
        padding: 0 1rem;
    }
    
    .objectifs-intro p {
        font-size: 0.95rem;
    }
    
    .objectif-card {
        padding: 1.5rem;
    }
    
    .objectif-icon {
        width: 60px;
        height: 60px;
    }
    
    .objectif-icon i {
        font-size: 1.5rem;
    }
    
    .objectif-card h5 {
        font-size: 1.1rem;
    }
    
    .objectif-card p {
        font-size: 0.9rem;
    }

    .histoire-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .histoire-stats {
        flex-direction: row;
        justify-content: space-around;
    }


    .objectifs-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .equipe-intro {
        margin: 1.5rem auto 2rem;
        padding: 0 1rem;
    }
    
    .equipe-intro p {
        font-size: 1rem;
    }

    .equipe-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .membre-card {
        padding: 1.5rem;
    }
    
    .membre-avatar {
        width: 80px;
        height: 80px;
        margin-bottom: 1rem;
    }
    
    .membre-card h3 {
        font-size: 1.1rem;
    }
    
    .membre-role {
        font-size: 0.9rem;
    }
    
    .membre-description {
        font-size: 0.85rem;
    }
    
    .action-principale {
        padding: 2rem 1.5rem;
    }
    
    .actions-intro {
        margin: 1.5rem auto 2rem;
        padding: 0 1rem;
    }
    
    .actions-intro p {
        font-size: 1rem;
    }
    
    .action-header h3 {
        font-size: 1.5rem;
    }
    
    .action-date {
        font-size: 1rem;
    }

    .action-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .don-buttons {
        flex-direction: column;
    }

    .axes-grid {
        max-width: 100%;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .modal-content {
        margin: 5% auto;
        width: 95%;
        padding: 1.5rem;
        max-height: 90vh;
        overflow-y: auto;
    }

    .don-options-row {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .don-option {
        padding: 1.2rem;
        min-height: 160px;
    }
    
    .footer-logo .logo-img {
        height: 50px;
        max-width: 80px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-container {
        padding: 0 10px;
        height: 60px;
    }

    .hero {
        padding: 80px 15px 40px;
        min-height: auto;
        background-attachment: scroll !important;
        background-size: cover;
        background-position: center center;
        height: auto;
    }
    
    .hero-image {
        width: 100%;
        padding: 0 10px;
    }
    
    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-placeholder {
        width: 180px;
        height: 180px;
        max-width: 60vw;
        max-height: 60vw;
    }
    
    .btn {
        width: 100%;
        max-width: 100%;
        font-size: 0.9rem;
        padding: 12px 20px;
    }

    .section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 1.6rem;
        margin-bottom: 1.5rem;
    }
    
    .nav-logo .logo-img {
        height: 40px;
        max-width: 60px;
        margin-right: 8px;
    }
    
    .nav-logo span {
        font-size: 1rem;
    }

    .objectif-card,
    .membre-card,
    .action-principale {
        padding: 1.5rem;
    }
    
    .actions-intro {
        margin: 1.5rem auto 2rem;
        padding: 0 1rem;
    }
    
    .actions-intro p {
        font-size: 0.95rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .equipe-intro {
        margin: 1.5rem auto 2rem;
        padding: 0 1rem;
    }
    
    .equipe-intro p {
        font-size: 0.95rem;
    }

    .equipe-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .histoire-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stat {
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .contact-item {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .form-group input,
    .form-group textarea {
        font-size: 0.9rem;
        padding: 10px 12px;
    }
    
    .mobile-money-info {
        padding: 0.8rem;
        font-size: 0.8rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #e74c3c;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
