
:root {
    --font-family-arabic: "Noto Sans Arabic", sans-serif;
  }
  

.visa-services .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.visa-services .section-header {
    text-align: center;
    margin-bottom: 50px;
    opacity: 0;
    /* transform: translateY(50px); */
    animation: fadeInUp 1s ease-out forwards;
}

.visa-services .main-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.visa-services .subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    max-width: 48rem;
    margin: 0 auto;
}

/* Grid للدول */
.visa-services .countries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-bottom: 10px;
}

.visa-services .country-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 30px 25px;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s ease;
    transform: translateY(20px);
    opacity: 0;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.2);
}

.visa-services .country-card.featured {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    transform: scale(1.05);
    border: 2px solid #ff9a56;
    box-shadow: 0 20px 40px rgba(255, 154, 86, 0.3);
}

.visa-services .country-card:hover {
    transform: translateY(-15px) scale(1.08);
    box-shadow: 0 25px 50px rgba(0,0,0,0.25);
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.visa-services .country-card.featured:hover {
    background: linear-gradient(135deg, #ffd89b 0%, #19547b 100%);
    color: white;
}

/* حاوي العلم */
.visa-services .flag-container {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.visa-services .flag-icon {
    width: 80px !important;
    height: 60px !important;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    transition: all 0.4s ease;
    object-fit: cover;
    border: 3px solid rgba(255,255,255,0.8);
}

.visa-services .country-card:hover .flag-icon {
    transform: scale(1.15) rotateY(10deg);
    box-shadow: 0 15px 35px rgba(0,0,0,0.35);
}

.visa-services .country-card h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: #333;
    font-weight: bold;
}

.visa-services .country-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes flagWave {
    0%, 100% {
        transform: scale(1) rotateY(0deg);
    }
    50% {
        transform: scale(1.1) rotateY(10deg);
    }
}

/* تأثيرات إضافية للأعلام */
.visa-services .flag-icon:hover {
    animation: flagWave 0.6s ease-in-out;
}

/* تصميم responsive */
@media (max-width: 768px) {
    .visa-services .main-title {
        font-size: 2rem;
    }
    
    .visa-services .countries-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 20px;
    }
    
    .visa-services .country-card {
        padding: 25px 20px;
    }
    
    .visa-services .flag-icon {
        width: 60px !important;
        height: 45px !important;
    }
    
    .visa-services .countries-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .visa-services .service-item {
        padding: 30px 25px;
    }
}

@media (max-width: 480px) {
    .visa-services .container {
        padding: 20px 15px;
    }
    
    .visa-services .main-title {
        font-size: 1.8rem;
    }
    
    .visa-services .countries-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .country-card {
        padding: 20px 15px;
    }
    
    .flag-icon {
        width: 50px !important;
        height: 38px !important;
    }
}