.soluciones-container {
    position: relative;
    text-align: center;
    height: calc(100vh - 70px);
    margin-top: 70px;
    overflow: hidden;
}

.slider {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    animation: 24s linear sliding infinite;
}

.slide {
    position: relative;
    min-width: 100%;
    height: 100%;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide .caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    font-size: 48px;
    font-weight: bold;
    color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

@keyframes sliding {
    0% {
        transform: translateX(0%);
    }

    5% {
        transform: translateX(0%);
    }

    10% {
        transform: translateX(-100%);
    }

    30% {
        transform: translateX(-100%);
    }

    35% {
        transform: translateX(-200%);
    }

    55% {
        transform: translateX(-200%);
    }

    60% {
        transform: translateX(-300%);
    }

    80% {
        transform: translateX(-300%);
    }

    85% {
        transform: translateX(-400%);
    }

    100% {
        transform: translateX(-400%);
    }
}

.scroll-button {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(255, 255, 255, 0.7);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    animation: bounce 2s infinite;
    transition: background-color 0.3s ease;
}

.scroll-button:hover {
    background-color: #377C2B;
}

.scroll-button::after {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    border-bottom: 2px solid #333;
    border-right: 2px solid #333;
    transform: rotate(45deg);
    margin: 0 auto;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) translateX(-50%);
    }

    40% {
        transform: translateY(-10px) translateX(-50%);
    }

    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}
.container-soluciones {
    gap: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    background-color: #fff;
    border-radius: 8px;    
    position: relative;
    overflow: hidden;
    width: 90%;
    margin: auto;
}
.content {
    padding: 10px;
    max-width: 50%;
    position: relative;
    z-index: 1;
}

.content h2 {
    font-size: 34px;
    color: #2c3e50;
    margin-bottom: 20px;
}

.content p {
    font-size: 16px;
    color: #7f8c8d;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--JD-Green);
    color: #fff;
    text-transform: uppercase;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn:hover {
    background-color: #234c1c;
    color: white;
}

.image-container {
    max-width: 50%;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.image {
    max-width: 100%;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 1.5s ease-out forwards;
    transition: transform 0.3s ease, opacity 0.3s ease;
    border-radius: 5px;
}

.image:hover {
    transform: scale(1.05);
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width: 992px) {
    .container-soluciones {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        width: 100%;
    }

    .content,
    .image-container {
        max-width: 100%;
        margin-bottom: 20px;
    }

    .content h2 {
        font-size: 28px;
    }

    .content p {
        font-size: 16px;
    }
    .slide .caption{
        width: 100%;
    }
}

@media (max-width: 768px) {
    .main-image {
        height: auto;
    }

    .image-overlay h1 {
        font-size: 32px;
    }

    .content h2 {
        font-size: 24px;
    }
}