/* background image */

.solutions-section {
    /* height: 100vh; */
}

.solutions-bg {
    position: absolute;
    inset: 0;
    background: url("../../images/warehouse/wmsSolutionsBg2.jpg") no-repeat;
    background-size: cover;
    /* IMPORTANT */
    opacity: .5;
    pointer-events: none;
    /* height: 100vh; */

}


/* light readable overlay */
.solutions-overlay {
    position: absolute;
    inset: 0;
    /* background:
        linear-gradient(to bottom, rgba(255, 255, 255, .95) 0%, rgba(255, 255, 255, .92) 40%, rgba(255, 255, 255, .98) 100%); */
}

/* title */
.solutions-title {
    font-size: clamp(2.6rem, 4vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #0f172a;
}

/* grid */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media(max-width:900px) {
    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width:600px) {
    .solutions-grid {
        grid-template-columns: 1fr;
    }
}

/* cards */
.solution {
    padding: 26px 28px;
    border-radius: 18px;
    /* background: white; */
    background:
        linear-gradient(to bottom, rgba(255, 255, 255, .95) 0%, rgba(255, 255, 255, .92) 40%, rgba(223, 241, 255, 0.98) 100%);
    border: 1px solid #e5e7eb;
    font-size: 1.1rem;
    font-weight: 500;
    color: #1f2937;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .06);
    transition: .35s cubic-bezier(.4, 0, .2, 1);
    position: relative;
    overflow: hidden;
}

/* top accent line */
.solution::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #2563eb, #06b6d4);
    transform: scaleX(0);
    transform-origin: left;
    transition: .35s;
}

.solution:hover::before {
    transform: scaleX(1);
}

.solution:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, .12);
}

/* animation initial states */
.solutions-heading,
.solution {
    opacity: 0;
    transform: translateY(40px);
}