/* 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;
}

.brand-text {
    color: #007A5E !important;
}

.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: 80vh;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center top !important;
    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: left;
    padding: 2rem;
    max-width: 1200px;
    z-index: 2;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.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: 60vh;
    }

    .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%);
    color: #fcd116 !important;
    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 Circles Style */
.step-icon-1, .step-icon-2, .step-icon-3, .step-icon-4 {
    background: linear-gradient(180deg, #CE1126 0%, #007A5E 100%) !important;
    border: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15) !important;
}

.step-number-1, .step-number-2, .step-number-3, .step-number-4 {
    color: #FCD116 !important;
    font-weight: 900 !important;
}


/* Footer styles moved to footer_styles.css */




/* Custom Premium Styles */
.font-outfit {
    font-family: 'Outfit', sans-serif;
}

@keyframes bounce-slow {
    0%, 100% {
        transform: translateY(-5%);
        animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
    }
    50% {
        transform: translateY(0);
        animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
    }
}

.animate-bounce-slow {
    animation: bounce-slow 3s infinite;
}
/* Custom Widths for Fiche Embarquement */
@media (min-width: 768px) {
    .w-md-1-4 {
        flex: 1.2 !important;
        min-width: 0;
    }
    .w-md-3-4 {
        flex: 2.8 !important;
        min-width: 0;
    }
}

.soft-shadow {
    box-shadow: 0 10px 50px rgba(0,0,0,0.05);
}

.premium-card-shadow {
    box-shadow: 0 20px 80px rgba(0,0,0,0.08);
}

.btn-soft-glow {
    box-shadow: 0 10px 25px rgba(0, 166, 81, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-soft-glow:hover {
    box-shadow: 0 15px 35px rgba(0, 166, 81, 0.4);
    transform: translateY(-3px);
}

/* Section Fiche d'Embarquement Styles */
.fiche-section {
    background-color: #fcfcfc !important;
    padding-top: 80px !important;
}

.fiche-title {
    color: #ef3333 !important;
    font-family: 'Outfit', sans-serif !important;
}

.fiche-description {
    color: #6b7280 !important;
    font-weight: 300 !important;
}

.fiche-bar {
    width: 64px;
    height: 6px;
    background-color: #fcd116;
    border-radius: 9999px;
    display: block;
}

.btn-green-premium {
    background-color: #00a651 !important;
    color: #fcd116 !important;
    padding: 1.25rem 2.5rem;
    border-radius: 9999px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.875rem;
    display: inline-block;
    transition: all 0.4s ease;
    text-decoration: none;
}

.btn-green-premium:hover {
    box-shadow: 0 15px 35px rgba(0, 166, 81, 0.4);
    transform: translateY(-3px);
    color: #fcd116 !important;
}


.img-container-premium {
    background-color: #ffffff;
    padding: 1rem; /* Réduit le padding pour laisser plus de place à l'image */
    border-radius: 2rem;
    box-shadow: 0 20px 80px rgba(0,0,0,0.08);
    border: 1px solid #f3f4f6;
}

.img-container-premium img {
    width: 100% !important;
    max-width: none !important; /* Force la suppression de toute limite de largeur Tailwind ou autre */
    min-width: 100% !important; /* Garantit que l'image ne rétrécit pas */
    height: auto !important;
    display: block !important;
    margin-left: auto;
    margin-right: auto;
    transform: scale(1.02);
    transition: transform 0.5s ease;
}

.img-container-premium:hover img {
    transform: scale(1.05);
}

.fallback-slide {
    background-color: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
}
