/* Cacher la scrollbar pour Chrome, Safari et Opera */
.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

/* Cacher la scrollbar pour IE, Edge et Firefox */
.hide-scrollbar {
    -ms-overflow-style: none;  /* IE et Edge */
    scrollbar-width: none;  /* Firefox */
}

/* Ajouter un délai pour le menu déroulant */
.dropdown-menu {
    transition: all 0.3s ease;
    visibility: hidden;
    opacity: 0;
}

.dropdown-trigger:hover .dropdown-menu,
.dropdown-menu:hover {
    visibility: visible;
    opacity: 1;
}

.gradient-text {
    background: linear-gradient(45deg, #FCD34D, #2E8B57);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient {
    background: linear-gradient(to right, #2E8B57, #DC143C);
    background-clip: text;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Slider Styles */
.hero-slider {
    position: relative;
    width: 100%;
    height: 30vh;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), var(--bg-image);
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}


.hero-slide.active {
    opacity: 1;
}

.hero-content {
    text-align: center;
    padding: 2rem;
    max-width: 1200px;
    z-index: 2;
}

.slider-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #2E8B57;
    width: 32px;
    border-radius: 6px;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-arrow:hover {
    background: rgba(46, 139, 87, 0.5); /* Vert NEY WAONGO */
    transform: translateY(-50%) scale(1.1);
}

.slider-arrow.left {
    left: 30px;
}

.slider-arrow.right {
    right: 30px;
}

@media (max-width: 768px) {
    .hero-slider {
        height: 35vh;
    }

    .slider-arrow {
        width: 40px;
        height: 40px;
    }

    .slider-arrow.left {
        left: 15px;
    }

    .slider-arrow.right {
        right: 15px;
    }
}

/* FAQ Styles */
.faq-question i {
    transition: transform 0.3s ease;
}

.faq-question.active i {
    transform: rotate(180deg);
}

/* Responsive adjustments for event section */
@media (max-width: 1024px) {
    #evenements .grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    #evenements .grid {
        grid-template-columns: 1fr;
    }

    #evenements .p-7 {
        padding: 1.25rem;
    }

    #evenements .h-60 {
        height: 200px;
    }

    #evenements .text-2xl {
        font-size: 1.5rem;
        line-height: 1.4;
    }
}

@media (max-width: 480px) {
    #evenements .py-20 {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    #evenements .mb-16 {
        margin-bottom: 2rem;
    }

    #evenements .mb-12 {
        margin-bottom: 1.5rem;
    }

    #evenements .gap-10 {
        gap: 1.5rem;
    }
}

/* Add ripple effect animation */
.group {
    position: relative;
    overflow: hidden;
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(46, 139, 87, 0.2);
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Custom classes for NEY WAONGO branding */
.text-gradient-burkina {
    background: linear-gradient(135deg, #CE1126 0%, #007A5E 50%, #FCD116 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn-ney-waongo {
    background: linear-gradient(135deg, #007A5E 0%, #005A47 100%);
    transition: all 0.2s ease-in-out;
}

.btn-ney-waongo:hover {
    box-shadow: 0 4px 15px rgba(0, 122, 94, 0.4);
}

.btn-commencer {
    background: linear-gradient(135deg, #FCD116 0%, #CE1126 50%, #007A5E 100%);
    box-shadow: 0 8px 25px rgba(206, 17, 38, 0.4);
    transition: all 0.3s ease;
}

.btn-commencer:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(206, 17, 38, 0.6);
}

.step-icon-1 { background: rgba(206, 17, 38, 0.1); }
.step-number-1 { color: #CE1126; }

.step-icon-2 { background: rgba(0, 122, 94, 0.1); }
.step-number-2 { color: #007A5E; }

.step-icon-3 { background: rgba(252, 209, 22, 0.1); }
.step-number-3 { color: #FCD116; }

.step-icon-4 { background: linear-gradient(135deg, rgba(206, 17, 38, 0.1), rgba(0, 122, 94, 0.1)); }
.step-number-4 {
    background: linear-gradient(135deg, #CE1126, #007A5E);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Footer Classes */
.footer-main {
    background-color: #007A5E;
}

.footer-link {
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #FCD116 !important;
}

.footer-divider {
    border-top: 2px solid rgba(252, 209, 22, 0.5);
    color: rgba(255, 255, 255, 0.9);
}

/* Modal Classes */
.modal-title {
    background: linear-gradient(135deg, #CE1126 0%, #007A5E 50%, #FCD116 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn-modal-primary {
    background: linear-gradient(135deg, #007A5E 0%, #005A47 100%);
    box-shadow: 0 4px 15px rgba(0, 122, 94, 0.3);
    transition: all 0.3s ease;
}

.btn-modal-primary:hover {
    box-shadow: 0 6px 25px rgba(0, 122, 94, 0.5);
}

.btn-modal-secondary {
    color: #007A5E;
    border-color: #007A5E;
    background: rgba(0, 122, 94, 0.05);
    transition: all 0.3s ease;
}

.btn-modal-secondary:hover {
    background: rgba(0, 122, 94, 0.1);
    box-shadow: 0 4px 15px rgba(0, 122, 94, 0.2);
}

.btn-modal-close {
    border-color: #CE1126;
    color: #CE1126;
    background: rgba(206, 17, 38, 0.05);
    transition: all 0.3s ease;
}

.btn-modal-close:hover {
    background: rgba(206, 17, 38, 0.1);
    box-shadow: 0 4px 15px rgba(206, 17, 38, 0.2);
}

.footer-text {
    color: rgba(255, 255, 255, 0.85);
}


