/* =====================================================
   SERVICES.CSS
   Styles for the Digital Services page
   ===================================================== */

/* =====================================================
   1. BASE & CONTAINERS (Strict Overflow Lock)
   ===================================================== */
#services-page {
    color: #fff;
    width: 100%;
    overflow-x: hidden; /* CRITICAL: Stops horizontal scrolling */
    position: relative;
    min-height: 100vh;
}

/* FLOW GLOW (Fixed to prevent page stretching) */
#services-page .flow {
    position: fixed; /* Changed from absolute to prevent scroll bugs */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background:
        radial-gradient(circle,
            rgba(156, 255, 0, 0.9) 0%,
            rgba(156, 255, 0, 0.6) 35%,
            rgba(156, 255, 0, 0.25) 55%,
            transparent 70%);
    filter: blur(80px);
    z-index: -1;
    pointer-events: none;
}

/* =====================================================
   2. TYPOGRAPHY & BUTTONS
   ===================================================== */
.btn-outline {
    display: inline-block;
    background: transparent;
    color: var(--green);
    border: 1px solid var(--green);
    cursor: pointer;
    padding: 14px 36px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 8px;
    transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.btn-outline:hover {
    background: var(--green);
    color: #000;
    transform: translateY(-2px);
}

.neon-title {
    font-size: 52px;
    margin-bottom: 24px;
    position: relative;
    color: #ccff00;
    line-height: 1.15;
    word-break: break-word; /* Prevents overflow on tiny screens */
}

.neon-title::after {
    content: "";
    position: absolute;
    width: 90px;
    height: 4px;
    background: var(--green);
    left: 0;
    bottom: -14px;
    border-radius: 8px;
    box-shadow: 0 0 18px rgba(156, 255, 0, .9);
}

/* =====================================================
   3. SERVICES HERO
   ===================================================== */
.services-hero {
    min-height: 100vh;
    padding: 180px 8% 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 2;
}

.sub {
    font-size: 14px;
    letter-spacing: 3px;
    opacity: .7;
    margin-bottom: 15px;
    color: var(--green);
}

.services-hero h1 {
    font-size: 72px;
    font-family: 'Anton', sans-serif;
    line-height: 1.1;
    word-break: break-word;
}

.services-hero span {
    color: var(--green);
}

.services-hero p {
    max-width: 720px;
    margin: 24px auto 36px;
    font-size: 18px;
    line-height: 1.7;
}

/* =====================================================
   4. SERVICE CARDS GRID
   ===================================================== */
.ser-sections {
    padding: 120px 8%;
    position: relative;
    z-index: 2;
}

.ser-grids {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
    margin-top: 60px;
    width: 100%;
}

.ser-cards {
    background: rgba(255, 255, 255, .04);
    border-radius: 20px;
    padding: 42px 32px;
    position: relative;
    transition: transform .35s ease, box-shadow .35s ease;
    border: 1px solid rgba(156, 255, 0, 0.05);
}

.ser-cards:hover {
    transform: translateY(-12px);
    box-shadow: 0 0 40px rgba(156, 255, 0, .35);
    border-color: rgba(156, 255, 0, 0.2);
}

.ser-grids h3 {
    margin-top: 1.5rem;
    color: #ccff00;
}

.ser-no {
    position: absolute;
    top: 18px;
    right: 24px;
    font-size: 42px;
    color: rgba(156, 255, 0, .25);
    line-height: 1;
    font-family: 'Anton', sans-serif;
}

/* =====================================================
   5. SERVICE DETAILS
   ===================================================== */
.ser-details {
    padding: 100px 8%;
    position: relative;
    background:
        radial-gradient(circle at 80% 20%, rgba(94, 255, 0, 0.37), transparent 45%),
        linear-gradient(180deg, rgba(27, 24, 24, 1), rgba(0, 0, 0, 0.9));
    z-index: 2;
}

.ser-details .detail {
    background: rgba(255, 255, 255, .04);
    border-radius: 20px;
    padding: 36px;
    margin-bottom: 32px;
    backdrop-filter: blur(14px);
    transition: transform .35s ease, box-shadow .35s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.ser-details .detail:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 40px rgba(156, 255, 0, .35);
}

.ser-details h3 {
    color: #ccff00;
    margin-bottom: 12px;
}

.ser-details p {
    font-size: 16px;
    opacity: 0.9;
}

.ser-details ul {
    list-style: none;
    padding: 0;
    margin-top: 14px;
}

.ser-details ul li {
    padding-left: 24px;
    position: relative;
    margin-bottom: 8px;
    line-height: 1.6;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
}

.ser-details ul li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: var(--green);
}

/* =====================================================
   6. PROCESS SECTION
   ===================================================== */
.ser-process {
    padding: 100px 8%;
    background:
        radial-gradient(circle at 15% 50%, rgba(156, 255, 0, .18), transparent 35%),
        linear-gradient(180deg, #050605, #000);
    z-index: 2;
    position: relative;
}

.process-inner {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 60px;
}

.process-sub {
    max-width: 520px;
    margin: 16px 0 30px;
    opacity: .85;
    line-height: 1.7;
}

.process-steps {
    list-style: none;
    padding: 0;
    margin: 0;
}

.process-steps li {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 16px;
    font-size: 17px;
}

.process-steps span {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(156, 255, 0, .15);
    color: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
}

.process-visual img {
    width: 100%;
    max-width: 480px;
    margin-left: auto;
    display: block;
    filter:
        drop-shadow(0 0 20px rgba(156, 255, 0, .3))
        drop-shadow(0 0 50px rgba(156, 255, 0, .15));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-14px); }
}

/* =====================================================
   7. RESPONSIVE BREAKPOINTS (Mobile Locks)
   ===================================================== */

/* LARGE TABLET (max 1024px) */
@media (max-width: 1024px) {
    .services-hero h1 { font-size: 58px; }
    .neon-title { font-size: 44px; }
    .ser-sections, .ser-details, .ser-process { padding: 80px 6%; }
    
    #services-page .flow {
        width: 420px;
        height: 420px;
        filter: blur(60px);
    }
}

/* TABLET (max 900px) */
@media (max-width: 900px) {
    .process-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .process-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .process-visual img {
        margin: 0 auto;
        max-width: 360px;
    }

    .process-steps li {
        justify-content: flex-start;
        text-align: left;
    }
}

/* MOBILE (max 768px) */
@media (max-width: 768px) {
    /* Hero */
    .services-hero {
        min-height: auto;
        padding: 120px 6% 70px;
    }
    .services-hero h1 { font-size: 40px; }
    .services-hero p { font-size: 15px; }

    .neon-title { font-size: 30px; }
    .neon-title::after { width: 60px; }

    /* Section Paddings */
    .ser-sections, .ser-details, .ser-process { padding: 60px 6%; }

    /* Fix grids overflowing small screens */
    .ser-grids {
        grid-template-columns: 1fr; /* Force 1 column on mobile */
        margin-top: 40px;
        gap: 20px;
        width: 100%;
    }

    .ser-cards { padding: 28px 22px; border-radius: 16px; }

    /* Disable hover lift on touch devices for better UX */
    .ser-cards:hover,
    .ser-details .detail:hover {
        transform: none;
        box-shadow: none;
    }

    .ser-details .detail {
        padding: 24px 20px;
        margin-bottom: 20px;
        border-radius: 16px;
    }

    /* Process Mobile */
    .process-steps li { font-size: 15px; gap: 14px; }
    .process-steps span { width: 36px; height: 36px; font-size: 14px; }

    #services-page .flow {
        width: 300px;
        height: 300px;
        filter: blur(50px);
    }
    
    .btn-outline { width: 100%; text-align: center; }
}

/* SMALL MOBILE (max 480px) */
@media (max-width: 480px) {
    .services-hero { padding: 100px 5% 50px; }
    .services-hero h1 { font-size: 30px; }
    .services-hero p { font-size: 14px; }

    .neon-title { font-size: 24px; }

    .ser-sections, .ser-details, .ser-process { padding: 50px 5%; }
    .ser-cards { padding: 22px 16px; }
    .ser-no { font-size: 32px; }

    .process-visual img { max-width: 260px; }
}