.mobile-menu>ul>li:nth-child(2)>a {
    color: var(--accent);
}


.profile-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 5px solid var(--accent);
    margin: 0 auto 30px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--bg-banafsh) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
    box-shadow: var(--shadow);
    animation: zoomIn 1s ease 0.6s both;
    overflow: hidden;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* کارت‌ها */
.cards{
    padding: 20px;
}
.bio-card {
    background: var(--bg-khak2);
    padding: 40px;
    border-radius: 20px;
    border-left: 4px solid var(--accent);
    transition: var(--transition);
    margin: 30px auto;
}

.bio-card .rotateY {
    transform: rotateY(180deg);
}

.card-title {
    font-size: 1.5rem;
    color: var(--accent);
    display: flex;
    align-items: center;
}

.card-title i {
    margin-right: 10px;
}

/* مهارت‌ها */
.skills-section {
    background-color: var(--bg-banafsh);
    position: relative;
    padding: 100px 0;
}

.skills-container {
    position: relative;
    z-index: 1;
}


.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 20px;
}

.skill-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
    text-align: center;
    color: white;
    opacity: 0;
    transform: translateY(30px);
}

.skill-item.animated {
    opacity: 1;
    transform: translateY(0);
}


.skill-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--bg-zard);
}

.skill-name {
    font-weight: bold;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.skills-container p {
    color: var(--white-s);
}

.skill-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    overflow: hidden;
    margin-top: 15px;
}

.skill-level {
    height: 100%;
    background: var(--accent-color);
    border-radius: 4px;
    width: 0;
    transition: width 1.5s ease 0.5s;
}

/* جدول زمانی */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 40px auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: var(--accent);
    transform: translateX(50%);
}

.timeline-item {
    padding: 20px 40px;
    position: relative;
    width: 50%;
    margin: 0 15px 30px 0;
    transition: var(--transition);
}

.timeline-item:nth-child(odd) {
    left: 0%;
}

.timeline-item:nth-child(even) {
    left: calc(50% - 20px);
    transform: translateX(30px);
}

.timeline-item:nth-child(even).animated {
    transform: translateX(0);
}

.timeline-content {
    padding: 25px;
    background: var(--bg-khak2);
    border-radius: 15px;
    box-shadow: var(--shadow);
    position: relative;
    transition: var(--transition);
}

.timeline-content::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--bg-khak2);
    top: 20px;
    transform: rotate(45deg);
}

.timeline-item:nth-child(odd) .timeline-content::after {
    right: -10px;
}

.timeline-item:nth-child(even) .timeline-content::after {
    left: -10px;
}

strong {
    font-weight: 900;
}

.timeline-year {
    font-weight: bold;
    color: var(--bg-abi);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

/* بخش خدمات */
.services-section {
    background:
        url('/webp/our-services.webp') center/cover;
    position: relative;
    padding: 100px 20px;
    margin-bottom: 0;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 41, 59, 0.9);
}

.services-container {
    position: relative;
    z-index: 1;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
    text-align: center;
}

.service-item h3 {
    color: var(--bg-zard);
}

.service-item p {
    color: var(--white-s);
}

.service-icon {
    display: block;
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--bg-zard);
}



/* بخش CTA */
.cta-section {
    margin-top: 0;
}


@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* رسپانسیو */
@media (max-width: 768px) {
    .bio-card {
        padding: 25px;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 45px;
        padding-right: 15px;
        margin: 0;
    }

    .timeline-item:nth-child(even) {
        left: -30px;
    }

    .timeline-content::after {
        left: -10px !important;
        right: auto !important;
    }

    .skills-grid,
    .services-grid {
        grid-template-columns: 1fr;
        padding: auto 20px;
    }
}