/* =========================================
   Services Section Styles (Snapping & Compact)
   ========================================= */

.services {
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('images/Services.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #e0e0e6;

    /* Exact height, centering, and scroll-snap lock */
    min-height: 100vh;
    scroll-snap-align: start;
    /* Fixes the snapping behavior to match your other sections */
    box-sizing: border-box;
    display: flex;
    align-items: center;

    padding: 4.5rem 2rem;
    /* Reduced height so it fits snugly */
    position: relative;
}

.services-content {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    /* Tighter gap to keep the section compact */
}

.services-content h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ffffff;
    position: relative;
    margin-bottom: 0.2rem;
}

/* Accent underline for heading */
.services-content h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #39FF14);
}

.services-content p {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #dee1e4;
    max-width: 850px;
    margin: 0;
}

/* Services List Flexbox Wrapping Layout */
.services-content ul {
    list-style: none;
    padding: 0;
    margin: 0.25rem 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
}

/* Individual Service Cards (Non-stretching) */
.services-content li {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.25rem 1.4rem;
    border-radius: 8px;

    /* Non-stretching fixed width */
    flex: 0 1 300px;

    box-sizing: border-box;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    color: #f3f4f6;
}

/* Arrow indicator */
.services-content li::before {
    content: '→';
    margin-right: 12px;
    color: #39FF14;
    font-weight: bold;
    transition: transform 0.3s ease;
}

/* Card Hover Effects */
.services-content li:hover {
    background: #46f32710;
    border-color: #39FF14;
    cursor: default;
    transform: translateY(-4px);
    box-shadow: 0 12px 30px -10px rgba(183, 241, 195, 0.15);
}

.services-content li:hover::before {
    transform: translateX(4px);
}