.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;
}

/* هدر و بخش قهرمان */
.hero-section {
    background: linear-gradient(135deg, var(--bg-abi) 0%, var(--accent) 100%);
    color: var(--white);
    padding: 80px 0px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    color: var(--black-s);
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInDown 1s ease;
}

.hero-subtitle {
    color: var(--black-s);
    font-size: 1.5rem;
    max-width: 800px;
    margin: 0 auto 30px;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.3s both;
}

.profile-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 5px solid rgba(255, 255, 255, 0.3);
    margin: 0 auto 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 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;
}

/* بخش محتوا */
.content-section {
    padding: 50px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--black);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: var(--bg-abi);
    margin: 15px auto;
    border-radius: 2px;
}

/* کارت‌ها */
.bio-card {
    background: var(--bg-khak2);
    padding: 40px;
    border-radius: 20px;
    border-right: 4px solid var(--bg-abi);
    margin-bottom: 30px;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(30px);
}

.bio-card.animated {
    opacity: 1;
    transform: translateY(0);
}

.bio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--bg-abi);
    display: flex;
    align-items: center;
}

.card-title i {
    margin-left: 10px;
}

/* مهارت‌ها */
.skills-section {
    background:
        url('https://images.unsplash.com/photo-1555066931-4365d14bab8c?ixlib=rb-4.0.3&auto=format&fit=crop&w=1350&q=80') center/cover fixed;
    position: relative;
    padding: 100px 0;
}

.skills-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-op-ban);
}

.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) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 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 {
    right: -10px;
}

.timeline-item:nth-child(even) .timeline-content::after {
    left: -10px;
}

.timeline-year {
    font-weight: bold;
    color: var(--bg-abi);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

/* بخش خدمات */
.services-section {
    background:
        url('https://images.unsplash.com/photo-1552664730-d307ca884978?ixlib=rb-4.0.3&auto=format&fit=crop&w=1350&q=80') 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: linear-gradient(135deg, var(--bg-abi), var(--accent));
    text-align: center;
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        url('https://images.unsplash.com/photo-1516321318423-f06f85e504b3?ixlib=rb-4.0.3&auto=format&fit=crop&w=1350&q=80') center/cover;
    opacity: 0.1;
    z-index: 0;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content :is(h3, p) {
    color: var(--black-s);
}

.cta-button {
    display: inline-block;
    background: var(--accent-color);
    color: var(--white-s);
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    margin: 10px;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* انیمیشن‌های کلیدی */
@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) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .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;
    }
}