.units-flex-container {
    display: flex;
    color: #fff;
}

.units-section {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgb(0, 0, 104);
    height: 100%;
    padding-bottom: 4rem;
}

.units-carousel {
    width: 100%;
    /* max-width: 400px; */
    position: relative;
    overflow: hidden;
}

.units-carousel-images {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.units-carousel-images img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    flex-shrink: 0;
    border-radius: 12px;
}

.units-title-wrapper {
    width: 100%;
    padding: 7rem 8rem 0 8rem;
}

.units-title-wrapper>p {
    font-size: 1.3rem;
    line-height: 1.6;
    color: #fff;
}

.units-title {
    font-size: 3rem;
    color: #fff;
}

.indicators {
    text-align: center;
    margin-top: 10px;
}

.indicator {
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: #ccc;
    border-radius: 50%;
    margin: 0 6px;
    cursor: pointer;
}

.indicator.active {
    background-color: #333;
}

.info-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: 15px;
    padding: 15px 20px 0 20px;
}

.title-container {
    display: flex;
    justify-content: center;
    text-align: center;
    width: 100%;
    margin-bottom: 15px;
    padding: 15px 30px 0 30px;
}

.units-image-title {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    font-size: 1.1rem;
}

.units-description p {
    width: 80%;
}

.units-image-title h2{
    font-size: 1.4rem;
    font-weight: 500;
}


.units-description {
    font-size: 1.1rem;
}

.price {
    width: 40%;
    font-size: 0.9rem;
}

/* Tablet and below */
@media (max-width: 768px) {
    .units-flex-container {
        flex-direction: column;
    }

    .units-carousel-images img {
        height: 300px;
    }

    .units-title-wrapper {
        padding: 3rem 2rem 0 2rem;
    } 

     .units-image-title h2{
        font-size: 1rem;
    }


    .units-title {
        font-size: 2rem;
    }

    .units-title-wrapper>p {
        font-size: 1rem;
    }

    .info-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .units-description p {
        width: 100%;
    }
    
    .units-description,
    .price {
        width: 100%;
        font-size: 1rem;
        margin-bottom: 10px;
    }

    .price {
        text-align: center;
    }
}

/* Mobile phones */
@media (max-width: 480px) {
    .units-carousel-images img {
        height: 200px;
    }

    .units-title {
        font-size: 1.6rem;
    }

    .units-title-wrapper>p {
        font-size: 1rem;
    }

    .indicator {
        width: 8px;
        height: 8px;
        margin: 0 4px;
    }

    .units-description,
    .price {
        font-size: 0.9rem;
    }
}