@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-container {
    background-color: #19233A;
    width: 90%;
    min-height: 150px;
    height: auto;
    margin: 30px auto;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 35px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.5s ease-in-out;
    background: linear-gradient(145deg, #1e2a48, #151d33);
}

.service-container-text {
    color: white;
    font-family: Arial, sans-serif;
    font-size: 20px;
    margin: 0;
    text-align: center;
}

.service-container-deploy{
    background-color: #0059CF;
    width: 100%;
    height: 40px;
    border-bottom-left-radius: 20px; 
    border-bottom-right-radius: 20px;
    bottom: 0px;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
}

.service-container-deploy-text{
    color: white;
    font-family: Arial;
    font-weight: bold;
    font-size: 20px;
    cursor: pointer;
}

.service-container-img {
    width: 200px;
    height: 150px;
    margin: 30px auto 10px 70px;
    border-radius: 20px;
    margin-bottom: 70px;
}

.service-container-title {
    color: white;
    font-family: Arial, sans-serif;
    font-weight: bold;
    font-size: 30px;
    margin: 0 0 10px 0;
    text-align: center;
}

.service-container-text {
    color: white;
    font-family: Arial, sans-serif;
    font-size: 20px;
    margin: 0;
    text-align: center;
}

.service-container-text {
    color: white;
    font-family: Arial, sans-serif;
    font-size: 20px;
    margin: 0;
    text-align: center;
}

.service-container-content {
    display: flex;
    flex-direction: column;
    align-items: center; 
    text-align: center; 
    width: 100%; 
    height: auto;
    margin-top: 10px; 
    padding: 0; 
}

.service-container-title,
.service-container-text {
    margin: 0;
    padding: 5px 0;
    text-align: left;
}

.service-more-text {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    padding: 0 20px; 
    transition: max-height 0.5s ease, opacity 0.3s ease, padding 0.3s ease;
    color: white;
    font-family: Arial, sans-serif;
    font-size: 18px;
    text-align: center;
}
.service-more-text.show {
    max-height: 500px;
    opacity: 1;
    padding: 20px;
    transition: max-height 0.5s ease, opacity 0.5s ease, padding 0.5s ease;
}


.hidden {
    display: none;
}


@media (max-width: 768px) {
    .service-container {
        width: 90%;
        padding: 20px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
        margin: 40px auto;
    }

    .service-container-content {
        align-items: center;
        text-align: center;
        margin-bottom: 25px;
    }

    .service-container-title,
    .service-container-text {
        text-align: center; 
    }

    .service-container-deploy {
        border-bottom-left-radius: 20px; 
        border-bottom-right-radius: 20px;
        margin-top: 50px;
        height: 45px;
    }

    .service-container-deploy-text {
        font-size: 18px;
    }

    .title {
        font-size: 35px; 
        padding: 0 10px;
    }

    .divContainer {
        padding: 0 10px; 
    }
}

.service-container-alt {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(145deg, #1e2a48, #151d33);
    border-radius: 20px;
    margin: 40px auto;
    padding: 40px 30px;
    width: 90%;
    animation: fadeIn 0.5s ease-in-out;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.service-container-alt.reverse {
    flex-direction: row-reverse;
}

.service-alt-img {
    flex: 1 1 45%;
    display: flex;
    justify-content: center;
}

.service-alt-img img {
    width: 100%;
    max-width: 300px;
    height: auto;   
    aspect-ratio: 4 / 3; 
    object-fit: cover; 
    border-radius: 20px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}


.service-alt-text {
    flex: 1 1 45%;
    color: white;
    font-family: Arial, sans-serif;
    padding: 0 20px;
}

.service-alt-text h2 {
    font-size: 28px;
    margin-bottom: 15px;
}

.service-alt-text p {
    font-size: 18px;
    margin-bottom: 10px;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .service-container-alt,
    .service-container-alt.reverse {
        flex-direction: column;
        padding: 30px 20px;
    }

    .service-alt-img, .service-alt-text {
        flex: 1 1 100%;
        text-align: center;
    }

    .service-alt-text {
        padding: 0;
    }

    .service-alt-img img {
        width: 90%;
    }
}