/* Custom Styles */
body {
    direction: rtl;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #f59e0b;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #d97706;
}
/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { 
        opacity: 0;
        transform: translateY(30px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.8s ease-out forwards;
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
article {
    animation: fadeIn 0.5s ease-out forwards;
    transition: all 0.3s ease;
    perspective: 1000px;
    transform-style: preserve-3d;
}
article:hover {
    transform: translateY(-5px) scale(1.02) rotateY(2deg);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    z-index: 10;
}
article:nth-child(1) { animation-delay: 0.1s; }
article:nth-child(2) { animation-delay: 0.2s; }
article:nth-child(3) { animation-delay: 0.3s; }
.hero-buttons a {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hero-buttons a::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.2);
    transform: translateX(-100%);
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.hero-buttons a:hover::after {
    transform: translateX(0);
}

/* Button icons animation */
a:hover i[data-feather] {
    animation: bounce 0.5s;
}

@keyframes bounce {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-5px); }
}
/* Hover effects */
.hover-scale {
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.03);
}

/* Custom underline for headings */
.heading-underline {
    position: relative;
    display: inline-block;
}

.heading-underline::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 0;
    width: 50%;
    height: 4px;
    background: #f59e0b;
    border-radius: 2px;
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }
}