* {
    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;
}

/* Hero Section */
.hero {
    background: linear-gradient(#34495e, rgba(24, 33, 71, 0.9)), url('https://images.unsplash.com/photo-1488521787991-ed7bbaae773c?w=1200');
    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;
}

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

.blog-card-content {
    padding: 1.5rem;
}

.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;
}

/* 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;
    }
}
/* 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);
}

.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);
}

/* 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;
    }
}