.mobile-menu>ul>li:nth-child(4) {
    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(4)>a {
    color: var(--white-s);
}


.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* هدر و بخش قهرمان */
.hero-section {
    background: var(--gradient);
    color: var(--white);
    padding: 150px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1555066931-4365d14bab8c?ixlib=rb-4.0.3&auto=format&fit=crop&w=1350&q=80') center/cover;
    opacity: 0.1;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.2rem;
    margin-bottom: 25px;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease 0.3s forwards;
}

.hero-subtitle {
    font-size: 1.4rem;
    max-width: 800px;
    margin: 0 auto 20px;
    opacity: 0.9;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease 0.6s forwards;
}

.cta-button {
    display: inline-block;
    background: var(--accent-color);
    color: var(--white);
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    margin: 10px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease 0.9s forwards;
    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(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* بخش محتوای اصلی */
.content-section {
    padding: 20px 0;
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 60px;
    color: var(--dark-bg);
    position: relative;
    font-weight: 700;
}

.section-title::after {
    content: '';
    display: block;
    width: 120px;
    height: 5px;
    background: var(--gradient);
    margin: 20px auto;
    border-radius: 5px;
}

/* کارت‌های خدمات */
.service-card {
    background: var(--white);
    border-radius: 25px;
    padding: 50px 40px;
    margin-bottom: 40px;
    box-shadow: var(--shadow);
    border-right: 5px solid var(--primary-color);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(40px);
}

.service-card.animated {
    opacity: 1;
    transform: translateY(0);
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.service-card h2 {
    color: var(--dark-bg);
    font-size: 2rem;
    margin-bottom: 25px;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.service-card h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 80px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
}

.service-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin: 30px 0 18px;
    font-weight: 600;
}

.service-card p {
    font-size: 1.15rem;
    line-height: 1.9;
    margin-bottom: 18px;
    color: var(--text-color);
}

.service-card ul {
    margin: 25px 0;
    padding-right: 25px;
}

.service-card li {
    margin-bottom: 15px;
    font-size: 1.15rem;
    line-height: 1.7;
    position: relative;
    padding-right: 30px;
}

.service-card li::before {
    content: '✓';
    position: absolute;
    right: 0;
    top: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.3rem;
}

.service-card strong {
    color: var(--dark-bg);
    font-weight: 700;
}

/* استایل برای FAQ با Schema */
.service-card [itemscope] {
    margin-top: 40px;
}

.service-card [itemtype="https://schema.org/Question"] {
    background: rgba(37, 99, 235, 0.05);
    border-radius: 18px;
    padding: 25px;
    margin-bottom: 25px;
    border-right: 4px solid var(--primary-color);
    transition: var(--transition);
}

.service-card [itemtype="https://schema.org/Question"]:hover {
    background: rgba(37, 99, 235, 0.1);
    transform: translateX(8px);
}

.service-card [itemtype="https://schema.org/Question"] h3 {
    color: var(--dark-bg);
    margin: 0 0 15px 0;
    font-size: 1.3rem;
}

.service-card [itemtype="https://schema.org/Answer"] p {
    margin: 0;
    color: var(--text-color);
}

/* بخش CTA پایانی */
.final-cta {
    background: linear-gradient(135deg, var(--accent-color), #eab308);
    color: var(--white);
    text-align: center;
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1552664730-d307ca884978?ixlib=rb-4.0.3&auto=format&fit=crop&w=1350&q=80') center/cover fixed;
    opacity: 0.5;
    z-index: 0;
}

.cta-content {
    position: relative;
    z-index: 1;
}

/* انیمیشن‌های کلیدی */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* استایل برای هایلایت کلمات کلیدی */
.keyword-highlight {
    background: linear-gradient(120deg, transparent 0%, transparent 50%, rgba(37, 99, 235, 0.1) 50%, rgba(37, 99, 235, 0.1) 100%);
    background-size: 220% 100%;
    background-position: 100% 0;
    transition: all 0.5s ease;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
}

.keyword-highlight:hover {
    background-position: 0 0;
}

/* رسپانسیو */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .service-card {
        padding: 35px 25px;
        margin-bottom: 30px;
    }

    .service-card h2 {
        font-size: 1.7rem;
    }

    .service-card h3 {
        font-size: 1.3rem;
    }

    .service-card p {
        font-size: 1.05rem;
    }

    .final-cta {
        padding: 70px 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .service-card {
        padding: 25px 20px;
    }

    .service-card h2 {
        font-size: 1.5rem;
    }

    .cta-button {
        padding: 15px 30px;
        font-size: 1.1rem;
    }
}