/* Css Programme */
.logo-capsule {
    background-color: white;
    width: 140px;
    height: 40px;
    padding: 6px 14px;
    /* vertical / horizontal */
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.logo-capsule img {
    height: 100%;
    width: auto;
    object-fit: contain;
}


/* Style css Sponsor */
.sponsors-section {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    padding: 4rem 0 6rem 0;
}

.sponsors-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.sponsors-header {
    text-align: center;
    margin-bottom: 4rem;
}

.sponsors-badge {
    background-color: #cba509;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
}

.sponsors-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #1a202c;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.sponsors-title .highlight {
    color: #cba509;
}

.content-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    padding: 3rem;
    margin-bottom: 3rem;
}

.content-text {
    font-size: 1.25rem;
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 2rem;
}

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

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.benefit-icon {
    width: 2rem;
    height: 2rem;
    background-color: #fef3c7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.benefit-icon svg {
    width: 1rem;
    height: 1rem;
    color: #cba509;
}

.benefit-text {
    color: #4a5568;
    line-height: 1.5;
}

.highlight-box {
    background-color: #fef3c7;
    border-radius: 0.75rem;
    padding: 1.5rem;
    border-left: 4px solid #cba509;
}

.highlight-text {
    color: #1a202c;
    font-weight: 500;
    margin: 0;
}

.partnership-section {
    margin-bottom: 4rem;
}

.partnership-title {
    font-size: 2rem;
    font-weight: bold;
    color: #1a202c;
    text-align: center;
    margin-bottom: 3rem;
}

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

.partnership-card {
    border-radius: 0.75rem;
    padding: 2rem;
    color: white;
    text-align: center;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.partnership-card:hover {
    transform: scale(1.05);
}

.partnership-card.gold {
    background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
}

.partnership-card.silver {
    background: linear-gradient(135deg, #d1d5db 0%, #6b7280 100%);
}

.partnership-card.bronze {
    background: linear-gradient(135deg, #fb923c 0%, #ea580c 100%);
}

.partnership-card.partnership {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

.partnership-icon {
    width: 4rem;
    height: 4rem;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
}

.partnership-icon svg {
    width: 2rem;
    height: 2rem;
}

.partnership-card h4 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.partnership-card p {
    font-size: 0.875rem;
    opacity: 0.9;
    margin: 0;
}

.download-section {
    background-color: #f7fafc;
    border-radius: 0.75rem;
    padding: 2rem;
    text-align: center;
}

.download-text {
    color: #4a5568;
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    background-color: #cba509;
    color: white;
    font-weight: bold;
    padding: 1rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.download-btn:hover {
    background-color: #b8941a;
    transform: scale(1.05);
    color: white;
    text-decoration: none;
}

.download-btn svg {
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.5rem;
}

.partners-logos-section {
    border-top: 1px solid #e2e8f0;
    padding-top: 4rem;
}

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

.partners-logos-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1a202c;
    margin-bottom: 1rem;
}

.partners-logos-subtitle {
    color: #718096;
}

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

.partner-item {
    background: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.partner-item:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    transform: scale(1.05);
}

.partner-item img {
    width: 100%;
    height: 80px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.partner-item:hover img {
    filter: grayscale(0%);
}

.no-partners {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
}

.no-partners-box {
    background-color: #f7fafc;
    border-radius: 0.75rem;
    padding: 2rem;
}

.no-partners-icon {
    width: 4rem;
    height: 4rem;
    color: #a0aec0;
    margin: 0 auto 1rem auto;
}

.cta-section {
    text-align: center;
    margin-top: 4rem;
}

.cta-box {
    background: linear-gradient(135deg, #cba509 0%, #ea580c 100%);
    border-radius: 1rem;
    padding: 3rem;
    color: white;
}

.cta-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.cta-text {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    font-weight: bold;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
}

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

.cta-btn.primary:hover {
    background-color: #f7fafc;
    color: #cba509;
    text-decoration: none;
}

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

.cta-btn.secondary:hover {
    background-color: white;
    color: #cba509;
    text-decoration: none;
}

.cta-btn svg {
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.5rem;
}

@media (max-width: 768px) {
    .sponsors-title {
        font-size: 2rem;
    }

    .content-card {
        padding: 2rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .partnership-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}



/* Style Css Médias  */

/* Même CSS que précédemment */
.blog4-boxarea {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog4-boxarea .content-area {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog4-boxarea .content-area p {
    flex: 1;
}

.blog4-boxarea .img1 {
    height: 250px;
    overflow: hidden;
}

.blog4-boxarea .img1 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.row.equal-height {
    display: flex;
    flex-wrap: wrap;
}

.row.equal-height>[class*='col-'] {
    display: flex;
}

.pdf-link {
    color: #333 !important;
    text-decoration: none !important;
    display: flex;
    align-items: center;
    padding: 8px;
    border: 1px solid #eee;
    border-radius: 5px;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.pdf-link:hover {
    border-color: #cba509;
    background-color: #fef3c7;
    text-decoration: none !important;
}

.pdf-link i {
    color: #cba509;
    margin-right: 8px;
}

.accreditation-btn {
    background-color: #cba509 !important;
    color: white !important;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    font-weight: bold;
    transition: all 0.3s ease;
}

.accreditation-btn:hover {
    background-color: #b8941a !important;
    color: white !important;
    text-decoration: none !important;
    transform: translateY(-2px);
}

.contact-box {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
}

.contact-box p {
    margin: 0 !important;
    font-size: 14px;
    color: #666;
}

.contact-box a {
    color: #cba509 !important;
    text-decoration: none;
}

.contact-box a:hover {
    text-decoration: underline !important;
}

@media (max-width: 768px) {
    .row.equal-height>[class*='col-'] {
        display: block;
    }

    .blog4-boxarea {
        height: auto;
        margin-bottom: 30px;
    }
}



/* Style css Modals */
    .modal-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.8);
        z-index: 9999;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 20px;
    }

    .modal-container {
        background: white;
        border-radius: 15px;
        width: 100%;
        max-width: 700px;
        max-height: 90vh;
        overflow-y: auto;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
        animation: modalSlideIn 0.3s ease-out;

        /* Cacher la scrollbar */
        scrollbar-width: none;
        /* Firefox */
        -ms-overflow-style: none;
        /* Internet Explorer 10+ */
    }

    /* Cacher la scrollbar pour WebKit (Chrome, Safari, Edge) */
    .modal-container::-webkit-scrollbar {
        display: none;
    }

    .modal-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 25px 30px;
        border-bottom: 2px solid #f0f0f0;
        background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
        border-radius: 15px 15px 0 0;
    }

    .modal-close {
        background: none;
        border: none;
        font-size: 24px;
        color: #666;
        cursor: pointer;
        padding: 5px;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
    }

    .modal-close:hover {
        background: #f0f0f0;
        color: #333;
    }

    .modal-body {
        padding: 30px;
    }

    .form-section {
        margin-bottom: 35px;
    }

    .input-area {
        margin-bottom: 20px;
    }

    .input-area label {
        display: block;
        margin-bottom: 8px;
        font-weight: 600;
        color: #333;
        font-size: 14px;
    }

    .input-area input,
    .input-area select,
    .input-area textarea {
        width: 100%;
        padding: 12px 15px;
        border: 2px solid #e0e0e0;
        border-radius: 8px;
        font-size: 14px;
        transition: all 0.3s ease;
        background: #fafafa;
    }

    .input-area input:focus,
    .input-area select:focus,
    .input-area textarea:focus {
        outline: none;
        border-color: #cba509;
        background: white;
        box-shadow: 0 0 0 3px rgba(203, 165, 9, 0.1);
    }

    .checkbox-group {
        margin-bottom: 15px;
    }

    .checkbox-label {
        display: flex;
        align-items: flex-start;
        cursor: pointer;
        font-size: 14px;
        line-height: 1.5;
        gap: 12px;
    }

    .checkbox-label input[type="checkbox"] {
        width: 18px;
        height: 18px;
        margin: 0;
        cursor: pointer;
    }

    .modal-footer {
        display: flex;
        justify-content: flex-end;
        gap: 15px;
        padding-top: 25px;
        border-top: 2px solid #f0f0f0;
        margin-top: 30px;
    }

    .btn-secondary {
        padding: 12px 25px;
        background: #6c757d;
        color: white;
        border: none;
        border-radius: 8px;
        cursor: pointer;
        font-size: 14px;
        font-weight: 600;
        transition: all 0.3s ease;
    }

    .btn-secondary:hover {
        background: #5a6268;
    }

    /* Animation pour le bouton d'inscription */
    .inscription-button button {
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
    }

    .inscription-button button:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 30px rgba(203, 165, 9, 0.3);
    }

    .inscription-button button:before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
        transition: left 0.5s;
    }

    .inscription-button button:hover:before {
        left: 100%;
    }

    /* Responsive */
    @media (max-width: 768px) {
        .modal-container {
            margin: 10px;
            max-height: 95vh;
        }

        .modal-header,
        .modal-body {
            padding: 20px;
        }

        .modal-footer {
            flex-direction: column;
        }
    }

    /* Style pour le select du type de participant */
    #typeParticipant {
        font-size: 15px;
        font-weight: 500;
    }

    #typeParticipant option {
        padding: 10px;
    }