.carousel-container {
    position: relative;
    width: 100%;
    height: auto;
    margin: 0 auto;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: stretch;
    font-family: 'Montserrat', sans-serif;
}

.carousel-slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.carousel-slide {
    flex: 0 0 100%;
    position: relative;
}

.carousel-slide img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 1440 / 450;
    object-fit: cover;
    margin: 0;
}

.text-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.text-block1 {
    position: absolute;
    width: 42.75vw;
    height: auto;
    top: 18.4028vw;
    left: 9.9028vw;
    font-size: 2.54vw;
    font-weight: 700;
    line-height: 105%;
    letter-spacing: -2%;
    color: #FFFFFF;
}

.text-block2 {
    position: absolute;
    width: 31.4583vw;
    height: auto;
    top: 24.675vw;
    left: 9.9028vw;
    font-size: 0.9555vw;
    font-weight: 500;
    line-height: 120%;
    letter-spacing: -2%;
    color: #FFFFFF;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 5.9722vw;
    height: 5.9722vw;
    border-radius: 50%;
    background-color: #FFFFFF;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn img.arrow-icon {
    width: 1.1111vw;
    height: 1.9444vw;
    stroke: #DC3E48;
}

.prev-btn {
    left: 0.9028vw;
}

.next-btn {
    right: 0.9028vw;
}

.dots-container {
    position: absolute;
    bottom: 3.1181vw;
    right: 10.8688vw;
    display: flex;
    justify-content: space-between;
    width: 7.1299vw;
    height: 0.8389vw;
    align-items: center;
}

.dot {
    width: 0.6993vw;
    height: 0.6993vw;
    border-radius: 50%;
    background-color: rgba(238, 144, 152, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    width: 0.8389vw;
    height: 0.8389vw;
    background-color: #DC3E48;
}

@media screen and (max-width: 990px) {
    .text-block1 {
        width: 66.75vw;
        top: 14.4vw;
        font-size: 3.5vw;
    }

    .text-block2 {
        width: 56vw;
        top: 22vw;
        font-size: 1.7vw;
    }
}

@media screen and (max-width: 575px) {
    .carousel-container {
        min-height: 300px;
    }

    .carousel-slide img {
        min-height: 300px;
    }

    .text-block1 {
        width: 92vw;
        top: 28vw;
        font-size: 5vw;
    }

    .text-block2 {
        width: 83vw;
        top: 39vw;
        font-size: 2.7vw;
    }

    .carousel-btn {
        width: 7vw;
        height: 7vw;
    }

    .carousel-btn img.arrow-icon {
        width: 2vw;
        height: 2vw;
    }

    .dots-container {
        width: 11.7vw;
        height: 0.8389vw;
        right: 4.9vw;
    }

    .dot {
        width: 1.3vw;
        height: 1.3vw;
    }

    .dot.active {
        width: 1.4vw;
        height: 1.4vw;
    }
}

@media screen and (max-width: 400px) {
    .carousel-container {
        min-height: 250px;
    }

    .carousel-slide img {
        min-height: 250px;
    }

    .text-block1 {
        width: 92vw;
        top: 8vw;
        font-size: 6vw;
    }

    .text-block2 {
        width: 80vw;
        top: 22vw;
        font-size: 3.6vw;
    }

    .carousel-btn {
        width: 7vw;
        height: 7vw;
    }

    .carousel-btn img.arrow-icon {
        width: 2vw;
        height: 2vw;
    }

    .dots-container {
        width: 30vw;
        height: 4.5vw;
        right: 6.5vw;
    }

    .dot {
        width: 2.9vw;
        height: 2.9vw;
    }

    .dot.active {
        width: 3.3vw;
        height: 3.3vw;
    }
}