.mobile-menu>ul>li:nth-child(2) {
    border-radius: 50%;
    margin-top: -30px;
    box-shadow: 0 10px 2px black;
    z-index: 9999;
    background-color: var(--accent1);
    transition: all .2s ease-in-out;
}

.mobile-menu>ul>li:hover {
    border-radius: 0;
    margin-top: 0;
}

.mobile-menu>ul>li:nth-child(2)>a {
    color: var(--white-s);
}




.container-web {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
}


.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;
}


/* کارت‌ها */
.bio-card {
    background: var(--bg-khak2);
    padding: 40px;
    border-radius: 20px;
    border-right: 4px solid var(--accent);
    margin-bottom: 30px;
    transition: var(--transition);
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--accent);
    display: flex;
    align-items: center;
}

.card-title i {
    margin-left: 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 0;
}

.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-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
}

.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;
    right: 50%;
    width: 4px;
    background: var(--bg-abi);
    transform: translateX(50%);
}

.timeline-item {
    padding: 20px 40px;
    position: relative;
    width: 50%;
    margin-bottom: 30px;
    transition: var(--transition);
    opacity: 0;
    transform: scale(.7);
}

.timeline-item.animated {
    opacity: 1;
    transform: scale(1);
}

.timeline-item:nth-child(odd) {
    right: 0;
}

.timeline-item:nth-child(even) {
    right: 50%;
    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:hover {
    transform: scale(1.05);
}

.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 {
    left: -10px;
}

.timeline-item:nth-child(even) .timeline-content::after {
    right: -10px;
}

.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 0;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 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;
    opacity: 0;
    transform: translateY(30px);
}

.service-item :is(h3, p) {
    color: var(--white-s);
}

.service-item.animated {
    opacity: 1;
    transform: translateY(0);
}

.service-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--bg-zard);
}

.service-title {
    font-weight: bold;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

/* بخش CTA */
.cta-section {
    background: var(--bg-banafsh);
    text-align: center;
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content :is(h3, p) {
    color: var(--white-s);
}

/* انیمیشن‌های کلیدی */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

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

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

    to {
        opacity: 1;
        transform: translateY(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 {
        right: 30px;
    }

    .timeline-item {
        width: 100%;
        padding-right: 60px;
        padding-left: 0;
    }

    .timeline-item:nth-child(even) {
        right: 0;
    }

    .timeline-content::after {
        right: -10px !important;
        left: auto !important;
    }

    .skills-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }
}