﻿/* --- Hero Section --- */
.services-hero {
    background: linear-gradient(135deg, rgba(var(--color-5-rgb) / 0.95), rgba(var(--color-4-rgb) / 0.8)), url('https://placehold.co/1920x800/020617/1e293b?text=Digital+Excellence');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 8rem 0 5rem;
    position: relative;
    overflow: hidden;
}

/* --- Feature Cards (Grid) --- */
.feature-card {
    background-color: var(--color4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

    .feature-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 0;
        height: 100%;
        background-color: var(--color1);
        transition: width 0.4s ease;
        z-index: -1;
        opacity: 0.1;
    }

    .feature-card:hover {
        transform: translateY(-10px);
        border-color: var(--color1);
    }

        .feature-card:hover::before {
            width: 100%;
        }

.feature-icon-wrapper {
    width: 70px;
    height: 70px;
    background-color: rgba(var(--color-5-rgb) / 0.5);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--color1);
    font-size: 2rem;
    transition: all 0.4s ease;
}

.feature-card:hover .feature-icon-wrapper {
    background-color: var(--color1);
    color: var(--color2) !important;
    transform: rotateY(360deg);
}

/* --- Detailed Service Rows --- */
.service-row-img {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px -10px rgba(0,0,0,0.5);
}

    .service-row-img img {
        transition: transform 0.5s ease;
    }

    .service-row-img:hover img {
        transform: scale(1.05);
    }

.tech-tag {
    background-color: rgba(var(--color-4-rgb) / 0.5);
    border: 1px solid var(--color3);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--color3);
    transition: all 0.3s ease;
}

    .tech-tag:hover {
        border-color: var(--color1);
        color: var(--color1) !important;
        background-color: rgba(59, 130, 246, 0.1);
    }

/* --- Process Steps --- */
.process-wrapper {
    position: relative;
}

.process-line {
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, var(--color4), var(--color1), var(--color4));
    z-index: 0;
}

.process-step {
    position: relative;
    z-index: 1;
    background-color: var(--color5);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid var(--color4);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    color: var(--color3);
    transition: all 0.4s ease;
}

.process-item:hover .process-step {
    border-color: var(--color1);
    color: var(--color2) !important;
    background-color: var(--color1);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}

/* --- Pricing Tables --- */
.pricing-card {
    background-color: var(--color4);
    border: 1px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

    .pricing-card:hover {
        transform: scale(1.03);
        border-color: var(--color1);
        box-shadow: 0 10px 40px -5px rgba(0,0,0,0.4);
    }

    .pricing-card.popular {
        border-color: var(--color1);
        background: linear-gradient(180deg, rgba(59, 130, 246, 0.05) 0%, var(--color4) 100%);
    }

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color1);
    color: var(--color2);
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.4);
}

.price-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    color: var(--color3);
}

    .price-list li i {
        color: var(--color1);
        margin-right: 10px;
        font-size: 1.1rem;
    }

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .process-line {
        display: none;
    }

    .process-item {
        margin-bottom: 2rem;
    }
}