/* استایل‌های تیم */
.team-card {
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.team-image {
    transition: transform 0.3s ease;
}

.team-card:hover .team-image {
    transform: scale(1.05);
}

/* استایل‌های تایم‌لاین */
.timeline {
    position: relative;
}

.timeline:before {
    content: '';
    position: absolute;
    right: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #005A94, #00A2E8);
    transform: translateX(50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 4rem;
}

.timeline-item:nth-child(odd) {
    padding-left: 50%;
}

.timeline-item:nth-child(even) {
    padding-right: 50%;
}

.timeline-dot {
    position: absolute;
    top: 2rem;
    right: 50%;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #005A94;
    transform: translateX(50%);
    z-index: 2;
}

/* استایل‌های ارزش‌ها */
.value-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.value-card:hover {
    background: linear-gradient(135deg, #005A94 0%, #00A2E8 100%);
    color: white;
    transform: translateY(-5px);
}

.value-card:hover .value-icon {
    background: rgba(255,255,255,0.2);
    color: white;
}

.value-card:hover .value-text {
    color: white;
}

/* استایل‌های شمارنده */
.counter-item {
    position: relative;
}

.counter-item:after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60px;
    background: #e2e8f0;
}

.counter-item:first-child:after {
    display: none;
}

/* Page Transitions */
body.page-enter { animation: pageFadeIn .35s ease both; }
body.page-leave { animation: pageFadeOut .25s ease both; }
@keyframes pageFadeIn { from{opacity:0; transform:translateY(8px)} to{opacity:1; transform:translateY(0)} }
@keyframes pageFadeOut{ from{opacity:1; transform:translateY(0)} to{opacity:0; transform:translateY(6px)} }

#page-loading-bar{ position:fixed; inset-inline-start:0; top:0; height:3px; width:0; background:#00A2E8; z-index:9999; transition:width .25s ease; }
.loading #page-loading-bar{ width:60%; }

/* ریسپانسیو */
@media (max-width: 768px) {
    .timeline:before {
        right: 2rem;
    }

    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        padding-right: 4rem;
        padding-left: 0;
    }

    .timeline-dot {
        right: 2rem;
    }

    .counter-item:after {
        display: none;
    }
}
.timeline .timeline-item::before{
    display: none !important;
    content: none !important;
}