/* Page d'accueil en arabe - Styles personnalisés */

.arabic-welcome {
    font-family: 'Cairo', sans-serif;
    direction: rtl;
    text-align: right;
}

.hero-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.hero-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><defs><radialGradient id="rgrad1" cx="50%" cy="50%" r="50%"><stop offset="0%" style="stop-color:rgba(255,255,255,0.1);stop-opacity:1" /><stop offset="100%" style="stop-color:rgba(255,255,255,0.05);stop-opacity:1" /></radialGradient></defs><circle fill="url(%23rgrad1)" cx="600" cy="400" r="400"/></svg>');
    opacity: 0.3;
    z-index: 1;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.floating-element {
    position: absolute;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(1) {
    top: 10%;
    right: 10%;
    width: 60px;
    height: 60px;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    top: 20%;
    left: 20%;
    width: 80px;
    height: 80px;
    animation-delay: 2s;
}

.floating-element:nth-child(3) {
    bottom: 30%;
    right: 30%;
    width: 40px;
    height: 40px;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.info-section {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    margin: 40px 0;
    border: 1px solid rgba(255,255,255,0.1);
}

.info-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
    text-align: center;
}

.info-content {
    color: rgba(255,255,255,0.9);
    line-height: 1.8;
    font-size: 1.1rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.stat-card {
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffd700;
    margin-bottom: 10px;
}

.stat-label {
    color: rgba(255,255,255,0.8);
    font-size: 1rem;
}

.footer-section {
    background: rgba(0,0,0,0.2);
    padding: 40px 0;
    margin-top: 60px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-content {
    color: rgba(255,255,255,0.7);
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.social-link {
    color: rgba(255,255,255,0.7);
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #ffd700;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .info-section {
        padding: 20px;
        margin: 20px 10px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}
