/* Services Section */
.services {
    padding: 100px 8%;
    background-color: #0d0d0d;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
}

.services-top {
    margin-bottom: 60px;
}

/* Slider Wrapper Styles */
.services-slider-wrapper {
    position: relative;
    width: 100%;
}

.services-track-container {
    overflow: hidden;
    width: 100%;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Service Card Style */
.service-card {
    background: #111;
    padding: 40px 30px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(57, 255, 20, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.05);
    border-color: var(--neon-green);
    box-shadow: 0 15px 40px rgba(57, 255, 20, 0.1);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    color: var(--neon-green);
    margin-bottom: 25px;
    background: rgba(57, 255, 20, 0.05);
    width: 64px;
    height: 64px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    background: rgba(57, 255, 20, 0.1);
}

.service-card h3 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 15px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.view-service-btn {
    background: #fff;
    color: #000;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
    margin-top: auto;
    border: 1px solid transparent;
    width: 100%;
}

.view-service-btn:hover {
    background: transparent;
    color: var(--neon-green);
    border-color: var(--neon-green);
    box-shadow: 0 0 15px var(--neon-green-glow);
}

.view-service-btn .arrow {
    transition: transform 0.3s ease;
}

.view-service-btn:hover .arrow {
    transform: translate(3px, -3px);
}

/* Responsive */
@media (max-width: 992px) {
    .services {
        padding: 80px 5% 60px;
    }

    .services-container {
        max-width: 100%;
    }

    .services-grid {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        grid-template-columns: none !important;
        gap: 0 !important;
        width: 100% !important;
    }

    .service-card {
        min-width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        padding: 40px 30px;
        text-align: center;
        align-items: center;
        box-sizing: border-box !important;
    }
}

@media (max-width: 768px) {
    .services {
        padding: 60px 16px 40px; /* Consistent padding */
    }

    .services-top {
        margin-bottom: 32px;
        text-align: center;
    }

    .section-label {
        font-size: 1.15rem;
        letter-spacing: 1.5px;
    }

    .service-card {
        /* Keep mobile-specific adjustments */
        padding: 40px 24px;
        border-color: rgba(57, 255, 20, 0.15);
    }

    .service-card h3 {
        font-size: 1.35rem;
    }

    .service-icon {
        width: 56px;
        height: 56px;
        margin-bottom: 20px;
        margin-left: auto;
        margin-right: auto;
    }
}