/* Le style de la  Page Categorie */
:root {
    --primary-green: #1e8a6e;
    --secondary-green: #0d3b33;
    --gold-accent: #FFD700;
    --dark-gold: #d4af37;
    --light-green: #8FBC8F;
    --dark-green: #1E5C3A;
    --text-dark: #333;
    --text-light: #FFF;
    --white: #FFFFFF;
    --gray: #F5F5F5;
    --dark-gray: #333333;
}

#categories {
    padding: 5rem 2rem;
    background: white;
    position: relative;
}

#categories h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--primary-green);
    position: relative;
    font-weight: 700;
    letter-spacing: 1px;
}

#categories h2::after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gold-accent);
}

.categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.category-card {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(30, 138, 110, 0.1);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.category-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-green);
    transition: all 0.3s ease;
}

.category-card:hover .category-icon {
    transform: scale(1.1);
    color: var(--dark-gold);
}

.category-title {
    color: var(--primary-green);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.category-card p {
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
    margin-top: 1rem;
}

.criteria-list {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    counter-reset: criteria-counter;
}

.criteria-list li {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    position: relative;
    padding-left: 2.5rem;
    counter-increment: criteria-counter;
    transition: all 0.3s ease;
}

.criteria-list li:hover {
    transform: translateX(10px);
}

.criteria-list li:last-child {
    border-bottom: none;
}

.criteria-list li::before {
    content: counter(criteria-counter);
    position: absolute;
    left: 0;
    top: 1rem;
    width: 24px;
    height: 24px;
    background-color: #FFD700;
    color: var(--dark-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.8rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.criteria-list span {
    display: block;
    font-size: 1rem;
    line-height: 1.5;
    position: relative;
    padding-left: 10px;
}

.criteria-list span::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 20px;
    height: 2px;
    background-color: #FFD700;
    transition: width 0.3s ease;
}

.criteria-list li:hover span::after {
    width: 40px;
}

.criteria-icon {
    width: 50px;
    height: 50px;
    fill: #FFD700;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
    transition: all 0.3s ease;
}

.criteria-card:hover .criteria-icon {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 8px rgba(255,215,0,0.3));
}

.criteria-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    z-index: 1;
}

.main-title {
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
}

.title-word {
    display: block;
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--dark-green);
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.title-line {
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), var(--secondary-green));
    margin: 1.5rem auto;
    position: relative;
}

.title-line::before,
.title-line::after {
    content: "";
    position: absolute;
    width: 12px;
    height: 12px;
    background-color: var(--primary-green);
    border-radius: 50%;
    top: -4px;
}

.title-line::before {
    left: -20px;
}

.title-line::after {
    right: -20px;
}

.criteria-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.criteria-card {
    position: relative;
    height: 350px;
    perspective: 1000px;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.criteria-card:hover .card-inner {
    transform: rotateY(180deg);
}

.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 20px;
    padding: 2rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.card-front {
    background: linear-gradient(135deg, #FFF 0%, #F5F5F5 100%);
    border: 1px solid rgba(46, 139, 87, 0.1);
}

.card-back {
    background: linear-gradient(135deg, var(--primary-green) 100%,var(--dark-green) 0%);
    color: var(--text-light);
    transform: rotateY(180deg);
}

.icon-container {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(46, 139, 87, 0.1) 0%, rgba(46, 139, 87, 0.2) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.card-front h3 {
    font-size: 1.5rem;
    color: var(--dark-green);
    margin: 1rem 0;
    text-align: center;
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    background: radial-gradient(circle at center, rgba(60, 179, 113, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
}

.criteria-card:hover .card-glow {
    opacity: 1;
    animation: pulse 2s infinite alternate;
}





.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 20px rgba(46, 139, 87, 0.3);
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(46, 139, 87, 0.4);
}

.tagline {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.intro {
    text-align: center;
    margin-bottom: 3rem;
}

.intro h2 {
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.dates {
    background-color: var(--white);
    padding: 1rem;
    border-radius: 5px;
    display: inline-block;
    margin: 1rem 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.prizes {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    margin: 3rem 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.prizes h2 {
    color: var(--primary-green);
    margin-bottom: 1.5rem;
    text-align: center;
}

.prize-list {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 1rem;
}

.prize-item {
    text-align: center;
    padding: 1.5rem;
    background-color: var(--light-green);
    border-radius: 5px;
    min-width: 200px;
}

.prize-amount {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-green);
}

.nominate-btn-container {
    text-align: center;
    margin: 3rem 0;
}

.nominate-btn {
    background-color: var(--primary-green);
    color: var(--white);
    border: none;
    margin-bottom: 10px;
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.3s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.nominate-btn:hover {
    background-color: #FFEB3B;
}

 



@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.category-card {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease-out forwards;
}

.category-card:nth-child(1) { animation-delay: 0.1s; }
.category-card:nth-child(2) { animation-delay: 0.3s; }
.category-card:nth-child(3) { animation-delay: 0.5s; }

@keyframes listItemAppear {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.criteria-list li {
    animation: listItemAppear 0.5s ease-out forwards;
    animation-delay: calc(0.1s * var(--i));
}

.criteria-list li:nth-child(1) { --i: 1; }
.criteria-list li:nth-child(2) { --i: 2; }
.criteria-list li:nth-child(3) { --i: 3; }
.criteria-list li:nth-child(4) { --i: 4; }
.criteria-list li:nth-child(5) { --i: 5; }

h3 {
    font-size: 1.5rem;
    margin: 1.5rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 215, 0, 0.3);
    opacity: 0;
    transform: translateY(15px);
    animation: listItemAppear 0.6s ease-out forwards;
    animation-delay: calc(0.15s * var(--h3-i));
}

h3:nth-child(1) { --h3-i: 1; }
h3:nth-child(2) { --h3-i: 2; }
h3:nth-child(3) { --h3-i: 3; }
h3:nth-child(4) { --h3-i: 4; }
h3:nth-child(5) { --h3-i: 5; }

h3 + .criteria-list li {
    animation-delay: calc(0.1s * var(--i) + 0.3s);
}

@keyframes pulse {
    0% {
        transform: scale(0.98);
        opacity: 0.7;
    }
    100% {
        transform: scale(1.02);
        opacity: 0.4;
    }
}

@media (max-width: 768px) {
    .criteria-immersive {
        padding: 5rem 1rem;
    }
    
    .title-word {
        font-size: 2.5rem;
    }
    
    .criteria-cards {
        grid-template-columns: 1fr;
    }
    
    .criteria-card {
        height: 300px;
    }
    
    .categories {
        flex-direction: column;
        align-items: center;
    }
    
    .category-card {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .title-word {
        font-size: 2rem;
    }
    
    .card-front,
    .card-back {
        padding: 1.5rem;
    }
}



/*Style de la page nominate*/

/* Styles pour les cartes de catégories */
    .event-item.category-card {
        background: #ffffff;
        border-radius: 10px;
        padding: 20px;
        height: 100%;
        transition: all 0.3s ease;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        border: 1px solid rgba(46, 139, 87, 0.1);
    }
    
    .event-item.category-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(46, 139, 87, 0.15);
        border-color: rgba(46, 139, 87, 0.3);
    }
    
    .event-item.category-card .event-date {
        text-align: center;
        margin-bottom: 20px;
        color: #2E8B57; /* Couleur primaire verte */
    }
    
    .event-item.category-card .event-date i {
        transition: transform 0.3s ease;
    }
    
    .event-item.category-card:hover .event-date i {
        transform: scale(1.1);
    }
    
    .event-item.category-card .event-content h4 {
        color: #2E8B57;
        font-size: 1.4rem;
        font-weight: 600;
        margin-bottom: 15px;
        text-align: center;
    }
    
    .event-item.category-card .event-content p {
        color: #666;
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 20px;
        text-align: center;
    }
    
    .event-item.category-card .event-btn {
        text-align: center;
        margin-top: 20px;
    }
    
    /* Bouton Learn More - Version améliorée */
.button-round-secondary {
    display: inline-block;
    padding: 12px 28px; /* Légèrement plus grand */
    background-color: transparent;
    color: #2E8B57; /* Vert principal */
    border: 2px solid #2E8B57;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); /* Animation plus fluide */
    position: relative;
    overflow: hidden; /* Pour l'effet de remplissage */
    z-index: 1;
}

/* Effet de remplissage au survol */
.button-round-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: #2E8B57;
    transition: width 0.4s ease;
    z-index: -1;
    border-radius: 50px;
}

.button-round-secondary:hover {
    color: #ffffff;
    transform: translateY(-3px); /* Effet de levée plus prononcé */
    box-shadow: 0 8px 20px rgba(46, 139, 87, 0.3); /* Ombre plus douce */
}

.button-round-secondary:hover::before {
    width: 100%; /* Remplissage complet au survol */
}

/* Animation plus dynamique au clic */
.button-round-secondary:active {
    transform: translateY(-1px);
    transition: all 0.1s ease;
}
    
    /* Couleur primaire (utilisée pour les icônes) */
    .primary-color {
        color: #2E8B57;
    }
    
    /* Responsive */
    @media (max-width: 768px) {
        .event-item.category-card {
            margin-bottom: 30px;
        }
    }

    /* Styles pour les étapes du processus */
    .post.process-step {
        background-color: #f8faf8;
        border-left: 4px solid var(--primary-color);
        padding: 25px;
        margin-bottom: 20px;
        border-radius: 0 8px 8px 0;
        transition: all 0.3s ease;
    }

    .post.process-step:hover {
        background-color: #f0f7f0;
        transform: translateX(5px);
    }

    .process-step .entry-content {
        padding: 0;
    }

    .process-step h4 {
        color: var(--primary-color);
        font-size: 1.25rem;
        font-weight: 600;
        margin-bottom: 0;
    }

    .process-step p {
        color: #555;
        margin-top: 10px;
        margin-bottom: 0;
        line-height: 1.6;
    }

    .event-date.process-number {
        background-color: var(--primary-color);
        color: white;
        width: 40px;
        height: 40px;
        line-height: 40px;
        border-radius: 50%;
        text-align: center;
        margin-right: 15px;
        font-weight: 700;
        flex-shrink: 0;
    }

    /* Styles pour la section des exigences */
    .post .entry-content h4 {
        color: var(--primary-color);
        font-size: 1.5rem;
        margin-bottom: 20px;
        padding-bottom: 10px;
        border-bottom: 2px solid #eaeaea;
    }

    .list-group {
        list-style: none;
        padding-left: 0;
    }

    .list-group li {
        padding: 12px 0;
        border-bottom: 1px solid #f0f0f0;
        color: #555;
    }

    .list-group li:last-child {
        border-bottom: none;
    }

    .primary-color {
        color: var(--primary-color);
    }

   

    

    .button-round-secondary {
        background-color: transparent;
        color: var(--primary-color);
        border: 2px solid var(--primary-color);
        padding: 8px 18px;
        border-radius: 50px;
        font-weight: 600;
        display: inline-flex;
        align-items: center;
        transition: all 0.3s ease;
    }

    .button-round-secondary:hover {
        background-color: var(--primary-color);
        color: white;
        transform: translateY(-2px);
    }

    /* Icônes */
    .fa-check-circle {
        font-size: 1.1rem;
    }

    .mr-3 {
        margin-right: 1rem;
    }

    /* Responsive */
    @media (max-width: 768px) {
        .post.process-step {
            padding: 20px 15px;
        }
        
        .event-date.process-number {
            width: 35px;
            height: 35px;
            line-height: 35px;
        }
        
        
    }
    /* Form Section Styling */
    .event-page-section.bg-light-grey {
        background-color: #f8f9fa;
        padding: 60px 0;
    }
    
    .section-head {
        margin-bottom: 40px;
    }
    
    .section-title {
        font-size: 2.2rem;
        font-weight: 700;
        color: #333;
        position: relative;
        display: inline-block;
        margin-bottom: 15px;
    }
    
    .primary-color {
        color: #2E8B57; /* Primary green color */
    }
    
    .title-shape {
        position: absolute;
        bottom: -10px;
        left: 0;
        width: 100%;
        height: 15px;
        fill: #2E8B57;
        opacity: 0.3;
    }
    
    .section-disc {
        color: #666;
        font-size: 1.1rem;
        max-width: 700px;
        margin: 0 auto;
    }
    
   
                     
                     /* Form Container Styling - Flex amélioré */
                     .event-item.form-container {
                         background: #fff;
                         border-radius: 10px;
                         padding: 40px;
                         box-shadow: 0 5px 20px rgba(0,0,0,0.05);
                         border: 1px solid rgba(46, 139, 87, 0.1);
                         display: flex;
                         flex-direction: column;
                         gap: 30px; /* Espacement vertical entre les groupes */
                         max-width: 900px;
                         margin: 0 auto;
                     }
                     
                     /* Form Elements Styling */
                     .form-group {
                         margin-bottom: 0; /* Retiré car géré par gap */
                         display: flex;
                         flex-direction: column;
                     }
                     
                     .form-group label {
                         font-weight: 600;
                         margin-bottom: 10px;
                         color: #444;
                         font-size: 1.05rem;
                     }
                     
                     .form-control {
                         width: 100%;
                         padding: 14px 18px;
                         border: 1px solid #ddd;
                         border-radius: 6px;
                         font-size: 1.05rem;
                         transition: all 0.3s;
                     }
                     
                     /* Disposition flex pour les lignes */
                     .form-row {
                         display: flex;
                         gap: 20px;
                         width: 100%;
                     }
                     
                     .form-row .form-group {
                         flex: 1;
                         min-width: 0; /* Empêche le débordement */
                     }
                     
                     /* Styles spécifiques pour les différents types de champs */
                     textarea.form-control {
                         min-height: 180px;
                         resize: vertical;
                     }
                     
                     select.form-control {
                         appearance: none;
                         background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232E8B57' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
                         background-repeat: no-repeat;
                         background-position: right 18px center;
                         background-size: 16px;
                     }
                     
                     .form-control[type="file"] {
                         padding: 12px;
                     }
                     
                     /* Checkbox Styling */
                     .form-check {
                         display: flex;
                         align-items: center;
                         gap: 10px;
                         padding: 15px 0;
                         margin: 10px 0;
                     }
                     
                     .form-check-input {
                         width: 20px;
                         height: 20px;
                         flex-shrink: 0;
                         border: 2px solid #2E8B57;
                         margin: 0;
                     }
                     
                     .form-check-label {
                         color: #555;
                         font-size: 1.05rem;
                     }
                     
                     /* Bouton Submit */
                     .submit-container {
                         display: flex;
                         justify-content: center;
                         margin-top: 20px;
                     }
                     
                     /* Responsive */
                     @media (max-width: 768px) {
                         .event-item.form-container {
                             padding: 30px;
                             gap: 20px;
                         }
                         
                         .form-row {
                             flex-direction: column;
                             gap: 20px;
                         }
                         
                         .button-round-primary {
                             width: 100%;
                             padding: 12px 20px;
                             background: #FFDA0F;
                         }
                     }




/*Style de la page News*/



    /* Partners Section Styles */
    .partners {
        padding: 6rem 2rem;
        background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
        position: relative;
        overflow: hidden;
    }

    .partners::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, 
                    transparent, 
                    var(--primary-green), 
                    #FFD700, 
                    var(--primary-green), 
                    transparent);
        animation: rainbowBorder 6s linear infinite;
        background-size: 400% 100%;
    }

    @keyframes rainbowBorder {
        0% { background-position: 0% 50% }
        100% { background-position: 100% 50% }
    }

    .section-title {
        font-size: 2.5rem;
        text-align: center;
        margin-bottom: 4rem;
        color: var(--primary-green);
        position: relative;
        display: inline-block;
        width: 100%;
    }

    .section-title i {
        display: inline-block;
        animation: float 3s ease-in-out infinite;
        margin-right: 15px;
    }

    @keyframes float {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-10px); }
    }

    .partner-list {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2.5rem;
        max-width: 1300px;
        margin: 0 auto 3rem;
    }

    .partner-card {
        background: white;
        border-radius: 16px;
        padding: 2.5rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
        transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
        position: relative;
        overflow: hidden;
        border: 1px solid rgba(30, 138, 110, 0.1);
        transform-style: preserve-3d;
    }

    .partner-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: linear-gradient(90deg, var(--primary-green), #FFD700);
        transition: all 0.4s ease;
    }

    .partner-card:hover {
        transform: translateY(-10px) rotateX(5deg);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    }

    .partner-card:hover::before {
        height: 6px;
        background: linear-gradient(90deg, #FFD700, var(--primary-green));
    }

    .partner-name {
        color: var(--primary-green);
        font-size: 1.5rem;
        margin-bottom: 1.2rem;
        position: relative;
        padding-bottom: 0.8rem;
        font-weight: 700;
    }

    .partner-name::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 50px;
        height: 2px;
        background: #FFD700;
        transition: width 0.4s ease;
    }

    .partner-card:hover .partner-name::after {
        width: 80px;
    }

    .partner-description {
        color: #555;
        font-size: 1.05rem;
        line-height: 1.7;
        transition: all 0.3s ease;
    }

    .partner-card:hover .partner-description {
        color: #333;
    }

    .learn-more {
        display: block;
        width: max-content;
        margin: 4rem auto 0;
        padding: 0.8rem 2rem;
        background: transparent;
        color: var(--primary-green);
        border: 2px solid var(--primary-green);
        border-radius: 50px;
        font-weight: 600;
        text-decoration: none;
        transition: all 0.4s ease;
        position: relative;
        overflow: hidden;
        z-index: 1;
    }

    .learn-more::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 0;
        height: 100%;
        background: linear-gradient(to right, var(--primary-green), #FFD700);
        transition: width 0.4s ease;
        z-index: -1;
    }

    .learn-more:hover {
        color: white;
        border-color: transparent;
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(30, 138, 110, 0.3);
    }

    .learn-more:hover::before {
        width: 100%;
    }

    @keyframes cardEntrance {
        from {
            opacity: 0;
            transform: translateY(30px) rotateX(-10deg);
        }
        to {
            opacity: 1;
            transform: translateY(0) rotateX(0);
        }
    }

    .partner-card {
        animation: cardEntrance 0.8s ease-out forwards;
        opacity: 0;
    }

    .partner-card:nth-child(1) { animation-delay: 0.2s; }
    .partner-card:nth-child(2) { animation-delay: 0.4s; }
    .partner-card:nth-child(3) { animation-delay: 0.6s; }

    /* News Section Styles */
    :root {
        --green-primary: #2E8B57;
        --green-light: #8FBC8F;
        --green-dark: #1E5C3A;
        --text-dark: #333;
        --text-light: #fff;
        --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .news-icon {
        font-size: 1.8rem;
        animation: bounce 2s infinite;
    }

    .news-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
        margin-bottom: 3rem;
    }

    .news-card {
        background: white;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 5px 15px rgba(0,0,0,0.08);
        transition: var(--transition);
        display: flex;
        flex-direction: column;
        height: 100%;
    }

    .news-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0,0,0,0.12);
    }

    .news-image {
        height: 200px;
        background-size: cover;
        background-position: center;
        transition: var(--transition);
    }

    .news-card:hover .news-image {
        transform: scale(1.03);
    }

    .news-content {
        padding: 1.5rem;
        flex-grow: 1;
        display: flex;
        flex-direction: column;
    }

    .news-category {
        display: inline-block;
        background-color: var(--green-light);
        color: white;
        padding: 0.3rem 0.8rem;
        border-radius: 20px;
        font-size: 0.8rem;
        font-weight: 600;
        margin-bottom: 1rem;
    }

    .news-title {
        font-size: 1.3rem;
        margin-bottom: 1rem;
        color: var(--text-dark);
        line-height: 1.4;
    }

    .content-wrapper {
        position: relative;
        overflow: hidden;
        margin-bottom: 1.5rem;
        flex-grow: 1;
    }

    .news-excerpt {
        margin-bottom: 1rem;
        transition: var(--transition);
    }

    .full-content {
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: var(--transition);
        padding-top: 0;
    }

    .read-more {
        background-color: transparent;
        color: var(--green-primary);
        border: 2px solid var(--green-primary);
        padding: 0.6rem 1.2rem;
        border-radius: 50px;
        font-weight: 600;
        cursor: pointer;
        transition: var(--transition);
        align-self: flex-start;
        margin-top: auto;
    }

    .read-more:hover {
        background-color: var(--green-primary);
        color: white;
    }

    .news-card.expanded .full-content {
        max-height: 500px;
        opacity: 1;
        padding-top: 1rem;
    }

    .news-card.expanded .news-excerpt {
        opacity: 0.8;
    }

    .news-card.expanded .read-more {
        background-color: var(--green-dark);
        color: white;
        border-color: var(--green-dark);
    }

    .view-all {
        display: block;
        text-align: center;
        color: var(--green-dark);
        font-weight: 600;
        text-decoration: none;
        transition: var(--transition);
        max-width: 250px;
        margin: 0 auto;
        padding: 0.8rem;
    }

    .view-all:hover {
        color: var(--green-primary);
    }

    .view-all span {
        display: inline-block;
        transition: transform 0.3s ease;
    }

    .view-all:hover span {
        transform: translateX(5px);
    }

    @keyframes bounce {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-10px); }
    }

    /* Sponsors Section Styles */
    .sponsors {
        padding: 4rem 2rem;
        background-color: #f8f9fa;
        text-align: center;
        margin-bottom: 60px;
    }

    .icon-handshake {
        font-size: 1.8rem;
        animation: wave 2.5s infinite;
    }

    .sponsors-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 2rem;
        max-width: 1200px;
        margin: 0 auto;
        align-items: center;
    }

    .sponsor-logo {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 1.5rem;
        background: white;
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.08);
        transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
        height: 100px;
    }

    .sponsor-logo:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    }

    .sponsor-logo img {
        max-width: 100%;
        max-height: 60px;
        width: auto;
        height: auto;
        object-fit: contain;
        filter: grayscale(20%);
        transition: filter 0.3s ease;
    }

    .sponsor-logo:hover img {
        filter: grayscale(0%);
    }

    @keyframes wave {
        0%, 100% { transform: rotate(-10deg); }
        50% { transform: rotate(20deg); }
    }

    /* Inner Banner and Additional Styles */
    :root {
        --primary-color: #2E8B57;
        --secondary-color: #3CB371;
        --light-color: #F5F5F5;
        --dark-color: #333;
        --accent-color: #FFD700;
    }

    .inner-banner-wrap {
        width: 100%;
        overflow: hidden;
        position: relative;
    }

    .inner-baner-container {
        background-size: cover;
        background-position: center;
        padding: 100px 0;
        position: relative;
        z-index: 1;
    }

    .inner-baner-container::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.4);
        z-index: -1;
    }

    .inner-banner-content {
        text-align: center;
        color: white;
    }

    .inner-title {
        font-size: 3rem;
        margin-top: 150px;
    }

    .news-section {
        margin-bottom: 50px;
        padding: 40px 0;
    }

    .news-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 25px;
    }

    .news-card {
        background: white;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease;
    }

    .news-card:hover {
        transform: translateY(-5px);
    }

    .news-image {
        height: 180px;
        background-color: #ddd;
        background-size: cover;
        background-position: center;
    }

    .news-content {
        padding: 20px;
    }

    .news-category {
        display: inline-block;
        padding: 3px 10px;
        background-color: var(--secondary-color);
        color: white;
        border-radius: 20px;
        font-size: 0.8rem;
        margin-bottom: 10px;
    }

    .news-title {
        font-size: 1.2rem;
        margin-bottom: 10px;
        color: var(--dark-color);
    }

    .news-excerpt {
        color: #666;
        margin-bottom: 15px;
        font-size: 0.95rem;
    }

    .read-more {
        color: var(--primary-color);
        text-decoration: none;
        font-weight: 600;
        display: inline-flex;
        align-items: center;
    }

    .read-more:hover {
        text-decoration: underline;
    }

    .read-more::after {
        content: "→";
        margin-left: 5px;
        transition: margin-left 0.3s;
    }

    .read-more:hover::after {
        margin-left: 8px;
    }

    .view-all {
        display: inline-block;
        margin-top: 20px;
        padding: 10px 20px;
        background-color: var(--primary-color);
        color: white;
        text-decoration: none;
        border-radius: 4px;
        transition: background-color 0.3s;
    }

    .view-all:hover {
        background-color: var(--secondary-color);
    }

    .newsletter {
        background-color: var(--light-color);
        padding: 30px;
        border-radius: 8px;
        margin-bottom: 50px;
        text-align: center;
    }

    .newsletter h2 {
        margin-bottom: 15px;
        color: var(--primary-color);
    }

    .newsletter p {
        margin-bottom: 20px;
        color: #555;
    }

    .newsletter-form {
        display: flex;
        max-width: 500px;
        margin: 0 auto;
    }

    .newsletter-form input {
        flex: 1;
        padding: 12px 15px;
        border: 1px solid #ddd;
        border-radius: 4px 0 0 4px;
        font-size: 1rem;
    }

    .newsletter-form button {
        padding: 12px 20px;
        background-color: var(--primary-color);
        color: white;
        border: none;
        border-radius: 0 4px 4px 0;
        cursor: pointer;
        font-size: 1rem;
        transition: background-color 0.3s;
    }

    .newsletter-form button:hover {
        background-color: var(--secondary-color);
    }

    .sponsors-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 30px;
        align-items: center;
    }

    .sponsor-logo {
        height: 80px;
        display: flex;
        align-items: center;
        justify-content: center;
        filter: grayscale(100%);
        opacity: 0.7;
        transition: all 0.3s ease;
    }

    .sponsor-logo:hover {
        filter: grayscale(0);
        opacity: 1;
        transform: scale(1.05);
    }

    .sponsor-logo img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }

    .partner-list {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 25px;
    }

    .partner-card {
        background: white;
        padding: 20px;
        border-radius: 8px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    }

    .partner-name {
        font-size: 1.1rem;
        color: var(--primary-color);
        margin-bottom: 10px;
        display: flex;
        align-items: center;
    }

    .partner-name::before {
        content: "🔹";
        margin-right: 8px;
    }

    .partner-description {
        color: #555;
        font-size: 0.95rem;
    }

    .learn-more {
        display: inline-block;
        margin-top: 30px;
        padding: 10px 20px;
        background-color: var(--primary-color);
        color: white;
        text-decoration: none;
        border-radius: 4px;
        transition: background-color 0.3s;
    }

    .learn-more:hover {
        background-color: var(--secondary-color);
    }

    /* Responsive Adjustments */
    @media (max-width: 768px) {
        .partner-list,
        .news-grid {
            grid-template-columns: 1fr;
        }

        .sponsors-grid {
            grid-template-columns: repeat(2, 1fr);
            gap: 1.5rem;
        }

        .section-title {
            font-size: 1.6rem;
        }

        .inner-title {
            font-size: 2rem;
        }

        .newsletter-form {
            flex-direction: column;
        }

        .newsletter-form input {
            border-radius: 4px;
            margin-bottom: 10px;
        }

        .newsletter-form button {
            border-radius: 4px;
            width: 100%;
        }
    }

    @media (max-width: 480px) {
        .section-title {
            font-size: 1.8rem;
        }
    }

    /* La page  Past Winners */

         

    /* Inner Banner Styles */
    .inner-banner-wrap {
        margin-bottom: 40px;
    }
    
    .inner-baner-container {
        background-size: cover;
        background-position: center;
        padding: 100px 0;
        position: relative;
        color: white;
        text-align: center;
    }
    
    .inner-baner-container::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.6);
    }
    
    .inner-banner-content {
        position: relative;
        z-index: 1;
    }
    
    .inner-title {
        font-size: 3rem;
        margin-top: 150px;
    }

    /* Hero Section */
    .hero {
        background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
                    url('https://images.unsplash.com/photo-1521791055366-0d553872125f?ixlib=rb-4.0.3') center/cover;
        color: white;
        text-align: center;
        padding: 80px 20px;
        border-radius: 8px;
        margin-bottom: 30px;
    }

    .hero h1 {
        font-size: 2.5rem;
        margin-bottom: 10px;
    }

    .hero p {
        font-size: 1.2rem;
        opacity: 0.9;
    }

    .stats {
        display: flex;
        justify-content: space-around;
        flex-wrap: wrap;
        background-color: rgba(255, 255, 255, 0.2);
        padding: 15px;
        border-radius: 8px;
        margin-top: 30px;
    }

    .stat-item {
        text-align: center;
        padding: 10px;
        min-width: 120px;
    }

    .stat-item span {
        display: block;
        font-size: 1.8rem;
        font-weight: bold;
    }

    /* Filters */
    .filters {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-bottom: 30px;
        padding: 15px;
        background-color: white;
        border-radius: 8px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .filter-group {
        flex: 1;
        min-width: 150px;
    }

    .filter-group label {
        display: block;
        margin-bottom: 5px;
        font-weight: bold;
        font-size: 0.9rem;
    }

    .filter-group select {
        width: 100%;
        padding: 8px;
        border: 1px solid #ddd;
        border-radius: 4px;
        background-color: white;
    }

    /* Gallery Grid */
    .gallery {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
        margin-bottom: 40px;
    }

    .winner-card {
        background-color: white;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease;
        cursor: pointer;
    }

    .winner-card:hover {
        transform: translateY(-5px);
    }

    .winner-card img {
        width: 100%;
        height: 180px;
        object-fit: cover;
    }

    .card-content {
        padding: 15px;
    }

    .card-content h3 {
        margin-bottom: 5px;
        font-size: 1.1rem;
    }

    .card-meta {
        display: flex;
        justify-content: space-between;
        color: #666;
        font-size: 0.8rem;
        margin-bottom: 10px;
    }

    .category {
        display: inline-block;
        padding: 3px 8px;
        background-color: #e0f7fa;
        color: #00796b;
        border-radius: 12px;
        font-size: 0.7rem;
        font-weight: bold;
    }

    /* Modal */
    .modal {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.8);
        z-index: 1000;
        overflow-y: auto;
    }

    .modal-content {
        background-color: white;
        margin: 50px auto;
        max-width: 800px;
        border-radius: 8px;
        overflow: hidden;
        animation: modalFadeIn 0.3s;
    }

    @keyframes modalFadeIn {
        from { opacity: 0; transform: translateY(-20px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .modal-header {
        position: relative;
    }

    .modal-header img {
        width: 100%;
        max-height: 400px;
        object-fit: cover;
    }

    .close-btn {
        position: absolute;
        top: 15px;
        right: 15px;
        font-size: 1.5rem;
        color: white;
        cursor: pointer;
        background-color: rgba(0, 0, 0, 0.5);
        width: 30px;
        height: 30px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .modal-body {
        display: flex;
        flex-direction: column;
        padding: 20px;
    }

    @media (min-width: 768px) {
        .modal-body {
            flex-direction: row;
        }
    }

    .modal-left {
        flex: 1;
        padding-right: 0;
    }

    @media (min-width: 768px) {
        .modal-left {
            padding-right: 20px;
        }
    }

    .modal-right {
        flex: 1;
    }

    .modal-body h2 {
        margin-bottom: 10px;
        color: #2c3e50;
    }

    .modal-meta {
        display: flex;
        gap: 15px;
        margin-bottom: 15px;
        color: #7f8c8d;
        font-size: 0.9rem;
    }

    .modal-body p {
        margin-bottom: 15px;
    }

    .impact-stats {
        background-color: #f8f9fa;
        padding: 15px;
        border-radius: 8px;
        margin-top: 20px;
    }

    .impact-stats h3 {
        margin-bottom: 10px;
        color: #2c3e50;
    }

    .impact-stats ul {
        padding-left: 20px;
    }

    .impact-stats li {
        margin-bottom: 5px;
    }

    /* Responsive Adjustments */
    @media (max-width: 768px) {
        .hero {
            padding: 60px 20px;
        }
        
        .hero h1 {
            font-size: 2rem;
        }
        
        .stats {
            flex-direction: column;
            gap: 10px;
        }
        
        .modal-content {
            margin: 20px auto;
            width: 95%;
        }
        
        .inner-title {
            font-size: 2rem;
        }
    }

    /* ====== VARIABLES ====== */
    :root {
      --primary-blue: #2c3e50;
      --accent-blue: #3498db;
      --text-dark: #333;
      --text-medium: #666;
      --text-light: #f8f9fa;
      --white: #ffffff;
      --shadow-sm: 0 5px 15px rgba(0,0,0,0.1);
      --shadow-md: 0 10px 25px rgba(0,0,0,0.15);
      --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    }
  /* ====== COMMITTEE SECTION ====== */
.committee-section {
    padding: 6rem 0;
    background-color: var(--white);
    position: relative;
    overflow: hidden;
  }
  
  /* Suppression du pseudo-élément qui créait le trait */
  .committee-section::before {
    content: none;
  }
  
    .section-title {
      text-align: center;
      margin-bottom: 4rem;
    }
  
    .section-title h2 {
      font-size: 2.8rem;
      color: var(--primary-blue);
      margin-bottom: 1.5rem;
      font-weight: 700;
      position: relative;
      display: inline-block;
    }
  
    .section-title h2::after {
      content: "";
      position: absolute;
      bottom: -15px;
      left: 50%;
      transform: translateX(-50%);
      width: 100px;
      height: 4px;
      background: var(--accent-blue);
    }
  
    .section-title p {
      color: var(--text-medium);
      max-width: 700px;
      margin: 0 auto;
      font-size: 1.2rem;
      line-height: 1.6;
    }
  
    /* ====== JUDGE CARDS ====== */
    .committee-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
      gap: 2.5rem;
      margin: 4rem auto;
      max-width: 1200px;
    }
  
    .judge-card {
      background: var(--white);
      border-radius: 12px;
      overflow: hidden;
      box-shadow: var(--shadow-sm);
      transition: var(--transition);
      position: relative;
      border: 1px solid rgba(0,0,0,0.05);
    }
  
    .judge-card:hover {
      transform: translateY(-10px);
      box-shadow: var(--shadow-md);
    }
  
    .judge-img {
      height: 380px;
      overflow: hidden;
      position: relative;
    }
  
    .judge-img::before {
      content: "";
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 40%;
      background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
      z-index: 1;
    }
  
    .judge-img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: top center;
      transition: transform 0.8s ease;
      filter: grayscale(20%);
    }
  
    .judge-card:hover .judge-img img {
      transform: scale(1.05);
      filter: grayscale(0%);
    }
  
    .judge-info {
      padding: 2.5rem;
      text-align: center;
      position: relative;
    }
  
    .judge-info h3 {
      font-size: 1.6rem;
      color: var(--primary-blue);
      margin-bottom: 0.5rem;
      font-weight: 700;
      letter-spacing: 0.5px;
    }
  
    .judge-title {
      color: #2E8B57;
      font-weight: 600;
      margin-bottom: 1.5rem;
      display: block;
      font-size: 1.1rem;
      letter-spacing: 1px;
      text-transform: uppercase;
    }
  
    .judge-info p {
      color: var(--text-medium);
      font-size: 1rem;
      line-height: 1.7;
      margin-bottom: 2rem;
    }
  
   
  
   
  
    /* ====== ANIMATIONS ====== */
    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(20px); }
      to { opacity: 1; transform: translateY(0); }
    }
  
    .judge-card {
      opacity: 0;
      animation: fadeIn 0.6s forwards;
    }
  
    .judge-card:nth-child(1) { animation-delay: 0.2s; }
    .judge-card:nth-child(2) { animation-delay: 0.4s; }
    .judge-card:nth-child(3) { animation-delay: 0.6s; }
  
    /* ====== RESPONSIVE ====== */
    @media (max-width: 992px) {
      .committee-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
      }
      
      .judge-img {
        height: 320px;
      }
    }
  
    @media (max-width: 768px) {
      .committee-section {
        padding: 4rem 0;
      }
      
      .section-title h2 {
        font-size: 2.2rem;
      }
      
      .section-title p {
        font-size: 1.1rem;
      }
    }
  
    @media (max-width: 576px) {
      .committee-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
      }
      
      .judge-info {
        padding: 2rem;
      }
    }


    