body {
    font-family: 'Inter', sans-serif;
}
.arabic {
    font-family: 'Cairo', sans-serif;
}
.hidden {
    display: none;
}
/* RTL support for Arabic */
[dir='rtl'] {
    text-align: right;
}
/*[dir="rtl"] .flex { flex-direction: row-reverse; }*/
[dir='rtl'] .space-x-4 > * + * {
    margin-left: 0;
    margin-right: 1rem;
}

/* Added comprehensive animation styles */
/* Fade in animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.fade-in.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Hero animations */
.hero-title {
    opacity: 0;
    transform: translateY(50px);
    animation: heroFadeIn 1.2s ease-out 0.3s forwards;
}

.hero-subtitle {
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeIn 1s ease-out 0.6s forwards;
}

.hero-buttons {
    opacity: 0;
    transform: translateY(20px);
    animation: heroFadeIn 0.8s ease-out 0.9s forwards;
}

@keyframes heroFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Card hover effects */
.service-card {
    transition: all 0.3s ease;
    transform: translateY(0);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Button animations */
.btn-animate {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-animate::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-animate:hover::before {
    left: 100%;
}

/* Counter animation */
.counter {
    font-variant-numeric: tabular-nums;
}

/* Statistics section background animation */
.stats-bg {
    background: linear-gradient(-45deg, #0d9488, #14b8a6, #06b6d4, #0891b2);
    background-size: 400% 400%;
    animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Logo animation */
.logo-animate {
    transition: transform 0.3s ease;
}

.logo-animate:hover {
    transform: scale(1.05);
}

/* Language toggle animation */
.lang-toggle {
    transition: all 0.3s ease;
    position: relative;
}

.lang-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.3);
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Loading animation for images */
.img-loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Table row hover effect */
.table-row {
    transition: background-color 0.2s ease;
}

.table-row:hover {
    background-color: rgba(13, 148, 136, 0.05);
}

/* Social icons animation */
.social-icon {
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-3px) scale(1.1);
}

/* Navigation animation */
.nav-link {
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 50%;
    background-color: #0d9488;
    transition: all 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
    left: 0;
}

/* Stagger animation for service cards */
.service-card:nth-child(1) {
    animation-delay: 0.1s;
}
.service-card:nth-child(2) {
    animation-delay: 0.2s;
}
.service-card:nth-child(3) {
    animation-delay: 0.3s;
}
.service-card:nth-child(4) {
    animation-delay: 0.4s;
}
.service-card:nth-child(5) {
    animation-delay: 0.5s;
}
.service-card:nth-child(6) {
    animation-delay: 0.6s;
}
