#services{
    background-color: #FFFFFF04;
}

#serviceTitle{
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
}

#serviceTitle h1{
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: lighter;
    font-size: 40px;
}

#serviceTitle h2{
    font-weight: 100;
    width: 80%;
    color: #959595;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

#sBoxes{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    height: auto;
    width: 92%;
    justify-content: center;
    align-items: stretch;
    margin: 0 auto;
    gap: 1.5rem;
    padding-bottom: 3rem;
}

.sIndBoxes{
    display: flex;
    flex: 1 1 0;
    min-width: 0;
    height: auto;
    min-height: 15rem;
    border-radius: 1.5rem;
    background: linear-gradient(180deg,  #8e8e8e10,  #1a1a1a80);
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    flex-direction: column;
    gap: 0.3rem;
    padding: 2rem 1.5rem;
    box-shadow: 0 10px 10px rgba(0,0,0, 0.3);
    backdrop-filter: blur(100px);
    -webkit-backdrop-filter: blur(100px);
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.sIndBoxes:hover{
    transform: scale(1.05);
    box-shadow: 0 0 6px rgba(0, 200, 255, 0.85), 0 0 12px rgba(24, 182, 255, 0.5);
}

.sIndBoxes .serviceType{
     font-size: 1.5rem;
        font-weight: light;
        background: linear-gradient(90deg, #0FF 0.34%, #209BFF 90.34%);
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        margin-bottom: 1rem;
}

.sIndBoxes .serviceDescription{
    color: #575757;

    font-weight: lighter;
}

#services #stickySpace{
    display: flex;
    /* background-color: blue; */
    height: 55rem;
    /* align-items: flex-end; */
    justify-content: flex-end;
}

#services #serviceBG{
    position: sticky;
    top: 0;
    /* background-color: red; */
    margin-top: -5rem;
    filter: blur(50px);
    
}

#serviceContent{
    margin-top: -55rem;
}

/* ============ RESPONSIVE FIXES ============ */

@media (max-width: 1200px) {
    #sBoxes {
        flex-wrap: wrap;
        height: auto;
        padding-bottom: 2rem;
    }
    .sIndBoxes {
        flex: 1 1 calc(50% - 0.75rem);
        max-width: calc(50% - 0.75rem);
    }
    #services #stickySpace {
        height: 35rem;
    }
    #serviceContent {
        margin-top: -35rem;
    }
}

@media (max-width: 800px) {
    #sBoxes {
        flex-wrap: wrap;
        height: auto;
        width: 95%;
        padding: 0 0 2rem;
        gap: 1.25rem;
    }
    .sIndBoxes {
        flex: none;
        width: 100%;
        max-width: 100%;
        height: auto;
        padding: 2rem 1.5rem;
        min-height: 14rem;
    }
    #services #stickySpace {
        height: 22rem;
    }
    #serviceContent {
        margin-top: -22rem;
    }
    #serviceTitle h1 {
        font-size: 32px;
    }
    #serviceTitle h2 {
        width: 95%;
        font-size: 16px;
    }
}

/* ============ DESKTOP ONLY — shorter section height ============ */

@media (min-width: 1201px) {
    #services {
        min-height: auto;
    }
    #sBoxes {
        width: 92%;
        max-width: 1100px;
    }
    #services #stickySpace {
        height: 30rem;
    }
    #serviceContent {
        margin-top: -30rem;
    }
}