* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* Navigation */
.navbar {
    background: linear-gradient(135deg, #6180a0 0%, #2c3e50 100%);
    padding: 1rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #ffffff;
    text-decoration: none;
}

.logo span {
    color: white;
}

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

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #1abc9c;
}
.logo img{
    width: 45px;
    height: 45px;
    object-fit: cover;
    border-radius: 50%;
}
.email-link{
    color: fff;
    text-decoration: none;
    font-weight: bold;
}

.email-link:hover{
    text-decoration: underline;
}

/* Hero Section */
.hero {
    background: linear-gradient(#34495e, rgba(24, 33, 71, 0.9)), url('https://images.unsplash.com/photo-1509099836639-18ba1795216d?q=80&w=1600&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 70px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s both;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #ffffff;
    color: #34495e;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: transform 0.3s, background-color 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-3px);
    background-color: #ffed4a;
}

/* Sections */
.section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #34495e;
}

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

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

.card:hover, .blog-card:hover {
    transform: translateY(-10px);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.card h3, .blog-title {
    color: #34495e;
    margin-bottom: 1rem;
}

.read-more {
    color: #34495e;
    text-decoration: none;
    font-weight: bold;
}

.read-more:hover {
    text-decoration: underline;
}
.cards-grid .objectif-item{
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
}

.cards-grid .objectif-item i{
    color: #0d6efd;
    font-size: 18px;
    margin-top: 4px;
    min-width: 20px;
}

.cards-grid .objectif-item p{
    margin: 0;
    line-height: 1.6;
}

.blog-card {
    text-align: left;
    padding: 0;
    overflow: hidden;
}


.blog-card-content {
    padding: 1.5rem;
}
.blog-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}
.article-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: linear-gradient(135deg, #6180a0 0%, #2c3e50 100%);
}

.blog-date {
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

/* Newsletter */
.newsletter {
    background: linear-gradient(135deg, #34495e, rgba(24, 33, 71, 0.9));
    color: white;
    text-align: center;
    padding: 60px 20px;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.newsletter-form input {
    flex: 1;
    min-width: 250px;
    padding: 12px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
}


/* Footer */
.footer {
    background-color: #1a1a1a;
    color: white;
    text-align: center;
    padding: 2rem;
}
.burger{
 display:none;
flex-direction:column;
cursor:pointer;
gap:5px;
}

 .burger div{
width:28px;
height:3px;
background:white;
border-radius:5px;
transition:0.3s;
}

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

@media (max-width: 768px) {
    /*.nav-links {*/
    /*    display: none;*/
    /*}*/
    .hero-content h1 {
        font-size: 2rem;
    }
    .burger{
    display:flex;
 }
  .nav-links{
                position:absolute;
                top:70px;
                right:0;
                background: linear-gradient(135deg, #6180a0 0%, #2c3e50 100%);
                width:100%;
                flex-direction:column;
                align-items:center;
                padding:20px 0;
                display:none;
            }

            .nav-links.active{
                display:flex;
            }
}
/* Section Partenaires avec Carrousel */
#partners {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 5rem 2rem;
    position: relative;
    overflow: hidden;
}

/* #partners::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
} */

.partners-container {
    max-width: 1800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.partners-header {
    text-align: center;
    margin-bottom: 3rem;
}

.partners-header .section-title {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.partners-header .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

.partners-subtitle {
    color: #666;
    font-size: 1.1rem;
    margin-top: 1.5rem;
}

/* Wrapper du carrousel */
.partners-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.partners-carousel-container {
    flex: 1;
    overflow: hidden;
    border-radius: 20px;
}

.partners-carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 2rem;
}

/* Cartes partenaires */
.partner-card {
    flex: 0 0 calc(33.333% - 1.33rem);
    min-width: 280px;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

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

/* .partner-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb);
    transform: scaleX(0);
    transition: transform 0.3s ease;
} */

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

.partner-card-content {
    padding: 2rem;
    text-align: center;
}

.partner-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    /* border-radius: 50%; */
    overflow: hidden;
    background: linear-gradient(135deg, #667eea20 0%, #764ba220 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.partner-card:hover .partner-image {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.partner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.partner-card:hover .partner-image img {
    transform: scale(1.1);
}

.partner-name {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 0.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.partner-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 1rem 0;
}

.partner-category {
    display: inline-block;
    padding: 0.3rem 1rem;
    background: linear-gradient(135deg, #667eea10 0%, #764ba210 100%);
    color: #667eea;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-top: 0.5rem;
}

/* .partner-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
} */

.partner-card:hover .partner-social {
    opacity: 1;
    transform: translateY(0);
}
.media-sociaux {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
}

.media-sociaux a {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #ffffff;
    color: #333;
    font-size: 20px;
    transition: 0.3s ease;
    text-decoration: none;
}

.media-sociaux a:hover {
    transform: translateY(-5px);
    background: #667eea;
    color: white;
}
.social-icon {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background: linear-gradient(135deg, #667eea, #764ba2);
    transform: translateY(-3px);
}

.social-icon:hover svg {
    fill: white;
}

.social-icon svg {
    width: 18px;
    height: 18px;
    fill: #667eea;
    transition: fill 0.3s ease;
}

/* Boutons de navigation */
.carousel-btn {
    background: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1.5rem;
    color: #667eea;
    z-index: 10;
}

.carousel-btn:hover {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    transform: scale(1.05);
}

/* Indicateurs (dots) */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 2rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    width: 30px;
    border-radius: 5px;
    background: linear-gradient(90deg, #667eea, #764ba2);
}

.dot:hover {
    background: #667eea;
    transform: scale(1.2);
}
    /* Modal pour afficher l'article complet */
        .modal {
            display: none;
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.8);
            overflow-y: auto;
        }

        .modal-content {
            background-color: white;
            margin: 5% auto;
            padding: 0;
            width: 80%;
            max-width: 800px;
            border-radius: 15px;
            position: relative;
            animation: slideDown 0.3s ease;
        }

        @keyframes slideDown {
            from {
                transform: translateY(-50px);
                opacity: 0;
            }
            to {
                transform: translateY(0);
                opacity: 1;
            }
        }
                .read-more-btn {
            background: linear-gradient(135deg, #6180a0 0%, #2c3e50  100%);
            color: white;
            border: none;
            padding: 0.6rem 1.2rem;
            border-radius: 25px;
            cursor: pointer;
            transition: transform 0.3s ease;
            text-decoration: none;
            display: inline-block;
            font-size: 0.9rem;
        }

        .read-more-btn:hover {
            transform: translateX(5px);
        }

        .modal-header {
            background: linear-gradient(135deg, #6180a0 0%, #2c3e50  100%);
            color: white;
            padding: 1.5rem;
            border-radius: 15px 15px 0 0;
        }

        .modal-body {
            padding: 2rem;
            max-height: 60vh;
            overflow-y: auto;
        }

        .close-modal {
            position: absolute;
            right: 1.5rem;
            top: 1rem;
            font-size: 2rem;
            cursor: pointer;
            color: white;
            transition: transform 0.3s ease;
        }

        .close-modal:hover {
            transform: scale(1.1);
        }


/* Responsive */
@media (max-width: 1024px) {
    .partner-card {
        flex: 0 0 calc(50% - 1rem);
    }
}

@media (max-width: 768px) {
    #partners {
        padding: 3rem 1rem;
    }
    
    .partners-header .section-title {
        font-size: 2rem;
    }
    
    .partner-card {
        flex: 0 0 100%;
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .partner-image {
        width: 100px;
        height: 100px;
    }
    
    .partner-name {
        font-size: 1.1rem;
    }
    
    .partner-description {
        font-size: 0.85rem;
    }
}