/* Service Detail Sections - Glass Morphism */
.service-detail {
    background-color: var(--space-dark);
    position: relative;
    overflow: hidden;
}

.service-detail:nth-child(even) {
    background-color: var(--deep-space);
}

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

.feature-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    height: 500px;
    border: 1px solid var(--glass-border);
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-image:hover img {
    transform: scale(1.05);
}

.feature-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--starlight);
    text-shadow: 0 0 10px var(--cyber-aqua-glow);
}

.feature-content p {
    margin-bottom: 1.5rem;
    color: var(--cosmic-text);
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.8;
}

.feature-list {
    margin-top: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: var(--glass);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateX(10px);
    box-shadow: 0 0 15px var(--neon-violet-glow);
}

.feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--neon-violet), var(--cyber-aqua));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 0 15px var(--neon-violet-glow);
}

.feature-text h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--starlight);
}

.feature-text p {
    margin-bottom: 0;
    font-size: 1rem;
    opacity: 0.8;
}

/* Process Steps - Animated Timeline */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, var(--neon-violet), var(--cyber-aqua));
    z-index: 1;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--neon-violet), var(--cyber-aqua));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    position: relative;
    box-shadow: 0 0 20px var(--neon-violet-glow);
}

.step-content {
    background: var(--space-light);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    border: 1px solid var(--glass-border);
}

.process-step:hover .step-content {
    transform: translateY(-10px);
    box-shadow: 0 0 20px var(--cyber-aqua-glow);
}

.step-content h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--starlight);
}

.step-content p {
    color: var(--cosmic-text);
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.8;
}

/* Mobile Responsive for Service Detail Sections */
@media (max-width: 992px) {
    .feature-container {
        grid-template-columns: 1fr;
    }
    
    .feature-image {
        height: 400px;
        max-width: 600px;
        margin: 0 auto;
        order: 2;
    }
    
    .process-steps::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .feature-content h2 {
        font-size: 2rem;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Animated Grid Background */
.grid-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(var(--glass) 1px, transparent 1px),
        linear-gradient(90deg, var(--glass) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 0;
    opacity: 0.3;
    pointer-events: none;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 40px 40px;
    }
}
