/* / هدر پروژه‌ها / */
.projects-hero {
    background: linear-gradient(135deg, #1e1b4b, #4c1d95);
}

/* / گرید پروژه‌ها / */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

/* / کارت پروژه / */
.project-card {
    background: #fff;
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: 0.3s;
    overflow: hidden;
    position: relative;
}

.project-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.15);
}

/* / پیش‌نمایش پروژه (بدون عکس) / */
.project-preview {
    height: 160px;
    border-radius: 14px;
    margin-bottom: 15px;
}

/* / گرادیانت‌های زیبا / */
.gradient-1 {
    background: linear-gradient(135deg, #3b82f6, #9333ea);
}

.gradient-2 {
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
}

.gradient-3 {
    background: linear-gradient(135deg, #10b981, #3b82f6);
}

.gradient-4 {
    background: linear-gradient(135deg, #f59e0b, #ef4444);
}

.gradient-5 {
    background: linear-gradient(135deg, #6366f1, #14b8a6);
}

.gradient-6 {
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
}

/* / تگ‌ها / */
.project-tags {
    margin: 10px 0;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.project-tags span {
    background: #f3f4f6;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    color: #374151;
}


.footer {
    background: #111827;
    color: #e5e7eb;
    padding: 40px 20px;
}

.footer-inner {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.contact-item {
    background: #1f2933;
    padding: 18px;
    border-radius: 12px;
}

.footer-copy {
    margin-top: 15px;
    font-size: 13px;
    opacity: 0.7;
}

/* / دکمه / */
.project-btn {
    width: 100%;
    padding: 10px;
    border-radius: 10px;
    border: none;
    background: #4c1d95;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.project-btn:hover {
    background: #6d28d9;
}

/* / انیمیشن‌ها / */
.pop {
    opacity: 0;
    transform: scale(0.9);
    animation: popIn 0.8s forwards;
}

.delay-1 {
    animation-delay: 0.15s;
}

.delay-2 {
    animation-delay: 0.3s;
}

.delay-3 {
    animation-delay: 0.45s;
}

.delay-4 {
    animation-delay: 0.6s;
}

.delay-5 {
    animation-delay: 0.75s;
}

@keyframes popIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}