/* ===================================
   Services Page Specific Styles
   =================================== */

/* Service Detail Sections */
.service-detail {
    position: relative;
}

.service-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.service-content.reverse {
    direction: rtl;
}

.service-content.reverse > * {
    direction: ltr;
}

.service-badge {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.service-badge i {
    font-size: 2.5rem;
    color: var(--white);
}

.service-text h2 {
    margin-bottom: 1.5rem;
}

.service-text .lead {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.service-text h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-visual {
    position: relative;
}

.service-visual img {
    width: 100%;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.service-stats {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    width: 90%;
}

.stat-item {
    flex: 1;
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.stat-item h4 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 0.9rem;
    color: var(--gray);
    margin: 0;
}

/* Industry Tags */
.industry-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.industry-tags span {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Tech Stack */
.tech-stack {
    margin-top: 2rem;
    display: grid;
    gap: 1.5rem;
}

.tech-category {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(6, 182, 212, 0.05) 100%);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.tech-category h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.tech-category p {
    color: var(--gray);
    font-size: 0.95rem;
    margin: 0;
}

/* Benefit Grid */
.benefit-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(6, 182, 212, 0.05) 100%);
    padding: 1rem 1.5rem;
    border-radius: 12px;
}

.benefit-item i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.benefit-item p {
    margin: 0;
    font-weight: 600;
    color: var(--dark);
}

/* Process Timeline */
.process-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.process-step {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.process-step::before {
    content: '';
    position: absolute;
    left: 49px;
    top: 100px;
    width: 2px;
    height: calc(100% + 30px);
    background: var(--gray-light);
}

.process-step:last-child::before {
    display: none;
}

.step-number {
    width: 100px;
    height: 100px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 1;
}

.step-content {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.step-content h3 {
    margin-bottom: 1rem;
}

.step-content p {
    margin: 0;
}

/* Responsive */
@media (max-width: 968px) {
    .service-content,
    .service-content.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }

    .service-stats {
        position: static;
        transform: none;
        margin-top: 2rem;
        width: 100%;
    }

    .benefit-grid {
        grid-template-columns: 1fr;
    }

    .process-step {
        grid-template-columns: 80px 1fr;
        gap: 1.5rem;
    }

    .step-number {
        width: 80px;
        height: 80px;
        font-size: 1.75rem;
    }

    .process-step::before {
        left: 39px;
        top: 80px;
    }
}

@media (max-width: 768px) {
    .service-badge {
        width: 60px;
        height: 60px;
    }

    .service-badge i {
        font-size: 2rem;
    }

    .stat-item {
        padding: 1rem;
    }

    .stat-item h4 {
        font-size: 1.25rem;
    }

    .step-content {
        padding: 1.5rem;
    }
}
