@font-face {
    font-family: 'IRANSans';
    src: url('../fonts/IRANSansWeb.woff2') format('woff2');
}

.hero-gradient {
    background: linear-gradient(135deg, #1abc9c 0%, #2ecc71 100%);
}

.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

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

.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }

.nav-link {
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    right: 0;
    background-color: #2ecc71;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.stat-counter {
    font-size: 2.5rem;
    font-weight: bold;
    color: #2ecc71;
}

/* RTL adjustments */
.rtl-grid {
    direction: rtl;
}

.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: #34495e;
    padding: 2rem;
    border-radius: 1rem;
    max-width: 600px;
    width: 90%;
    position: relative;
    direction: rtl;
}

.modal-close {
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: #ecf0f1;
}