/* --- G&P Logistics Bento Grid Extension --- */

.solutions-wrapper {
    margin-top: 2rem;
}

.solutions-bento {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
    width: 100%;
}

.solutions-item {
    position: relative;
    border-radius: 35px;
    overflow: hidden;
    height: 450px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    background: #020617;
}

.solutions-item.large {
    grid-column: span 3;
}

.solutions-item.small {
    grid-column: span 2;
}

.solutions-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: transform 1.5s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.6s ease;
}

.solutions-item:hover img {
    transform: scale(1.1);
    opacity: 1;
}

.solutions-item .content-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(2, 6, 23, 0.9) 10%, transparent 70%);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    z-index: 2;
}

.solutions-item h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: white;
    font-family: 'Outfit', sans-serif;
}

.solutions-item p {
    color: #10B981;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.75rem;
}

.solutions-item::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid transparent;
    border-radius: 45px;
    transition: all 0.4s ease;
    z-index: 3;
    pointer-events: none;
}

.solutions-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.5);
}

.solutions-item:hover::after {
    border-color: #10B981;
    box-shadow: inset 0 0 20px rgba(16, 185, 129, 0.2);
}

@media (max-width: 1250px) {
    .solutions-bento {
        grid-template-columns: repeat(2, 1fr);
    }

    .solutions-item.large,
    .solutions-item.small {
        grid-column: span 1;
    }

    .solutions-item {
        height: 480px;
    }
}

@media (max-width: 768px) {
    .solutions-bento {
        grid-template-columns: 1fr;
    }

    .solutions-item {
        height: 420px;
        padding: 2.5rem;
    }

    .solutions-item h3 {
        font-size: 1.8rem;
    }
}