body {
    background: #f8f9fa;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

#slider {
    width: 4OOpx;
    height: 300px;
    overflow: hidden;
}

#slide {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Styles commun pour tous les boutons sociaux */

.social-icon, .youtube-icon, .instagram-icon, .tiktok-icon {
    display: inline-block;
    margin-right: 15px;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
    border-radius: 8px;
    overflow: hidden;
    vertical-align: middle;
}

/* Icône seulement si j'utilise <i> pour facebook */
.social-icon i {
    font-size: 32px;
    color: #3b5998;
    transition: color 0.3s;
}

/* Specifique à  facebook */
.social-icon:hover i {
    color: #1d3557;
}

/* Icônes images communs */
.youtube-icon img, 
.instagram-icon img, 
.tiktok-icon img {
    width: 40px;
    height: 40px;
    display: block;
    border-radius: 8px;
    border: 2px solid transparent;
    transition: border 0.3s, transform 0.3s;
    background: #fff;


    
}
    
    
/*  Youtube rouge   */
.youtube-icon img {
    border-color: #ff0000;
}



.youtube-icon:hover img {
    transform: scale(1.08);
    border-color: #bb0000;
    box-shadow: 0 4px 10px rgba(255,0,0,0.08);
}

/* Instagram rose */
.instagram-icon img {
    border-color: #E1306C;
}

.instagram-icon:hover img {
    transform: scale(1.08);
    border-color: #c13584;
    box-shadow: 0 4px 10px rgba(225, 48,108, 0.08);
}

/* TikTok noir */
.tiktok-icon img {
    border-color: #000;
}

.tiktok-icon:hover img {
    transform: scale(1.08);
    border-color: #00f2ea;
    box-shadow: 0 4px 10px rgba(0,242,234,0.08);
}
    
    
    
    
    




    



    
    
    
    



    




    



    



    



    




















.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

#map-container {
    height: 600px;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
}

.hoverinfo {
    padding: 12px 15px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    font-size: 14px;
    line-height: 1.4;
}

.alert {
    border-radius: 8px;
}

.btn-primary {
    background: #0d6efd;
    border: none;
    padding: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #0b5ed7;
    transform: scale(0.98);
}

.form-control:focus,
.form-select:focus {
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.25);
    border-color: #86b7fe;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container.py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    #map-container {
        height: 400px;
    }
    
    .card {
        margin-bottom: 1.5rem;
    }
}

/* Animation pour les alertes */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert {
    animation: slideIn 0.3s ease-out;
}

/* Style personnalisé pour la carte */
.country:hover {
    stroke: #ff6b6b !important;
    stroke-width: 1.5px !important;
}