/* Service Section Improvements */
.service-grid {
    border-radius: 30px;
    display: grid;
}

.service-title h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
}

.service-wrap {
    background-color: var(--background-body-color, #fff);
    border: 1px solid var(--border-color, #eee);
    padding: 3.5rem 2.5rem;
    border-radius: 1.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Dark mode adjustment for card background */
body.dark-theme .service-wrap {
    background-color: var(--container-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.service-wrap:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
    border-color: var(--first-color);
}
body.dark-theme .service-wrap:hover {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.service-icon i {
    font-size: 4rem;
    color: var(--first-color);
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: transform 0.4s ease;
}

.service-wrap:hover .service-icon i {
    transform: scale(1.15) rotate(5deg);
}

.service-wrap h4 {
    font-weight: 700;
    color: var(--title-color);
    margin-bottom: 1rem;
    font-size: 1.25rem;
    line-height: 1.4;
}

.service-wrap p {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Work Process Section Styles */
.process-timeline {
    position: relative;
    padding-left: 1rem;
}

.process-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.process-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 25px;
    top: 60px;
    width: 2px;
    height: calc(100% - 30px);
    background: var(--border-color, #eee);
    opacity: 0.5;
}

body.dark-theme .process-item:not(:last-child)::after {
    background: var(--first-color);
    opacity: 0.2;
}

.process-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--first-color-lighter, #f4f1ff);
    border: 2px solid var(--first-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--first-color);
    z-index: 1;
    transition: all 0.3s ease;
}

body.dark-theme .process-number {
    background: rgba(110, 87, 224, 0.1);
}

.process-item:hover .process-number {
    background: var(--first-color);
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(110, 87, 224, 0.4);
}

.process-content {
    padding-top: 0.5rem;
}

.process-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--title-color);
    margin-bottom: 0.75rem;
}

.process-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 1.25rem;
    max-width: 650px;
}

.process-badge .badge {
    background-color: #242424;
    color: #fff;
    padding: 0.6rem 1.2rem;
    border-radius: 10px;
    font-weight: 500;
    font-size: 0.85rem;
    text-transform: none;
    letter-spacing: normal;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

body.dark-theme .process-badge .badge {
    background-color: var(--container-color);
    border: 1px solid var(--first-color);
}

@media (max-width: 768px) {
    .process-timeline {
        padding-left: 0.5rem;
    }

    .process-item {
        gap: 1.5rem;
        margin-bottom: 2.5rem;
    }
    
    .process-number {
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
    }

    .process-item:not(:last-child)::after {
        left: 21px;
        top: 50px;
        height: calc(100% - 20px);
    }

    .process-title {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
    }

    .process-description {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .process-badge .badge {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .process-item {
        gap: 1rem;
    }

    .process-number {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .process-item:not(:last-child)::after {
        left: 18px;
        top: 45px;
    }

    .process-title {
        font-size: 1.1rem;
    }

    .process-badge .badge {
        white-space: normal;
        text-align: left;
        line-height: 1.4;
    }
}