.services-page {
    padding-top: 0;
}

.page-header {
    background: linear-gradient(135deg, var(--dark-light) 0%, var(--dark-color) 100%);
    padding: 120px 0 60px;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
}

.page-header-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.page-title {
    font-size: 3rem;
    color: white;
    margin-bottom: 15px;
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.8;
}

.services-section {
    padding-top: 0;
    padding-bottom: 40px;
}

.services-tabs {
    background: rgba(30, 30, 30, 0.7);
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 50px;
}

.tabs-header {
    display: flex;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    overflow-x: auto;
}

.tab-btn {
    font-family: 'Vazir', Tahoma, sans-serif;
    padding: 20px 30px;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
}

.tab-btn:hover {
    color: white;
    background: rgba(255, 255, 255, 0.05);
}

.tab-btn.active {
    color: var(--secondary-color);
    background: rgba(255, 152, 0, 0.1);
    border-bottom-color: var(--secondary-color);
}

.tab-btn i {
    font-size: 1.3rem;
}

.tabs-content {
    padding: 0;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-pane.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.tab-content-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 50px;
}

.tab-image .image-placeholder {
    height: 350px;
    border-radius: var(--border-radius);
}

.image-placeholder img {
    border-radius: var(--border-radius);
}

.tab-text h3 {
    font-size: 2rem;
    color: white;
    margin-bottom: 20px;
}

.tab-text p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.service-features {
    list-style: none;
    margin-bottom: 30px;
}

.service-features li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    color: var(--text-light);
}

.service-features i {
    color: var(--secondary-color);
    margin-left: 12px;
    font-size: 1.1rem;
}

.service-price {
    background: rgba(255, 152, 0, 0.1);
    border-radius: var(--border-radius);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid rgba(255, 152, 0, 0.2);
}

.service-price span {
    color: var(--text-light);
    font-size: 1rem;
}

.service-price strong {
    color: var(--secondary-color);
    font-size: 1.8rem;
    font-weight: 700;
}

.pricing-section {
    padding: 80px 0;
    background: rgba(30, 30, 30, 0.5);
}

.pricing-table-container {
    overflow-x: auto;
    margin-top: 50px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--border-radius);
    padding: 20px;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

.pricing-table th {
    background: rgba(26, 115, 232, 0.2);
    color: white;
    padding: 20px 15px;
    text-align: right;
    font-weight: 600;
    border-bottom: 2px solid var(--primary-color);
}

.pricing-table td {
    padding: 18px 15px;
    color: var(--text-color);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pricing-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.03);
}

.pricing-table td:first-child {
    font-weight: 600;
    color: white;
}

.pricing-table td:nth-child(3) {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 1.1rem;
}

.pricing-table td:nth-child(4) {
    color: var(--primary-color);
    font-weight: 500;
}

.pricing-notes {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

.note {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px 20px;
    background: rgba(255, 152, 0, 0.05);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 152, 0, 0.1);
}

.note i {
    color: var(--secondary-color);
    margin-top: 3px;
    font-size: 1.2rem;
}

.note p {
    color: var(--text-light);
    margin: 0;
    line-height: 1.7;
}

.faq-section {
    padding-top: 0;
    padding-bottom: 40px;
    background: rgba(30, 30, 30, 0.5);
}

.faq-container {
    max-width: 900px;
    margin: 50px auto 0;
}

.faq-item {
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.faq-item.active {
    border-color: rgba(255, 152, 0, 0.3);
    box-shadow: 0 5px 15px rgba(255, 152, 0, 0.1);
}

.faq-question {
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h3 {
    font-size: 1.2rem;
    color: white;
    margin: 0;
    flex: 1;
}

.faq-question i {
    color: var(--secondary-color);
    transition: var(--transition);
    font-size: 1.2rem;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 30px 25px;
    max-height: 500px;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.8;
    margin: 0;
}

@media (max-width: 1100px) {
    .tab-content-inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .packages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .page-title {
        font-size: 2.5rem;
    }

    .calculator-form {
        padding: 30px;
    }
    
    .tab-content-inner {
        padding: 30px;
    }

    .package-card.featured {
        transform: none;
    }

    .package-card.featured:hover {
        transform: translateY(-10px);
    }

    .cta-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .services-page {
        padding-top: 70px;
    }
    
    .page-header {
        padding: 60px 0 40px;
    }
    
    .page-title {
        font-size: 2.2rem;
    }
    
    .tabs-header {
        flex-direction: column;
    }
    
    .tab-btn {
        width: 100%;
        justify-content: center;
        padding: 18px;
    }

    .pricing-table {
        min-width: 200px;
    }

    .pricing-table th,
    .pricing-table td {
        padding: 15px 10px;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .page-title {
        font-size: 1.9rem;
    }

    .calculator-header,
    .calculator-form,
    .tab-content-inner {
        padding: 20px;
    }

    .form-actions {
        flex-direction: column;
    }

    .form-actions .btn {
        width: 100%;
    }
    
    .tab-text h3 {
        font-size: 1.7rem;
    }
    
    .service-price {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .faq-question {
        padding: 20px;
    }
    
    .faq-question h3 {
        font-size: 1.1rem;
    }
}