/* Carousel Container */
.carousel-container {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    border-radius: 18px;
    margin-bottom: 50px;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto 50px auto;
}

/* Carousel Slider */
.carousel-slider {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.7s ease-out;
}

/* Carousel Item */
.carousel-item {
    position: relative;
    min-width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
}

/* Background */
.carousel-background {
    position: absolute;
    inset: 0;
    background: radial-gradient(100% 100% at 100% 100%, #E1B8EF 0%, #C66CE0 100%);
    z-index: 0;
}


.carousel-image {
    position: absolute;
    left: 40px;
    top: 50%;
    z-index: 1;
    width: 40%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transform: translateY(-50%);
}

/* Content Wrapper */
.carousel-content-wrapper {
    position: relative;
    width: 60%;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 40px;
    z-index: 2;
}

/* Titles - Top Left */
.carousel-titles {
    position: absolute;
    top: 40px;
    right: 40px;
    z-index: 3;
    font-family: var(--font-martian-mono);
    font-weight: 800;
    font-size: 56px;
    line-height: 68px;
    color:#F9FAFB;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 60%;
}

.carousel-title2 {
    text-align: right;
}

/* Description - Bottom Right */
.carousel-description-wrapper {
    position: absolute;
    bottom: 40px;
    right: 40px;
    max-width: 600px;
    z-index: 3;
    padding: 20px;
    background: #F9FAFB;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.carousel-description {
    color: #364153;
    font-family: var(--font-sofia-sans);
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    text-align: justify;
}
.carousel-description-wrapper >span{
    color:#99A1AF;
    font-family: var(--font-sofia-sans);
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
}

/* Button - Center Bottom */
.carousel-button {
    position: absolute;
    bottom: 40px;
    left: 40%;
    background-color: var(--color-white);
    color: #6B2B7B;
    border: 1px solid #D1D5DC;
    padding: 10px 18px;
    font-family: Sofia Sans;
    font-weight: 500;
    font-style: Medium;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
    gap: 7px;
    transition: all 0.3s ease;
    border-radius: 80px;
    display: flex;
    z-index: 3;
}
.carousel-button:hover {
    border-color: #6B2B7B;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(107, 43, 123, 0.3);
}

.carousel-button img{
    width: 20px;
    height: 20px;
    object-fit: contain;
}


.carousel-button-arrow {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.carousel-button:hover .carousel-button-arrow {
    transform: translateX(5px);
}

/* Pagination - Slightly below center */
.carousel-pagination {
    position: absolute;
    bottom: 200px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.carousel-pagination-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #C66CE0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-pagination-dot:hover {
    transform: scale(1.2);
}

.carousel-pagination-dot.active {
    background-color: #F7EEFB;
}


@media (max-width: 1420px) {
    .carousel-description-wrapper {
        position: absolute;
        bottom: 40px;
        left: 40px;
        max-width: none;
    }

    .carousel-pagination {
        right: 40px;
        left: auto;
    }
    .carousel-button {
        bottom: 200px;
        left: 40px;
    }
    .carousel-titles {
        width: 93%;
        font-size: 32px;
        line-height: 40px;
        max-width: 730px;
    }
}

@media (max-width: 1200px) {
    .carousel-image {
        width: 60%;
    }
}

@media (max-width: 1024px) {

}

@media (max-width: 768px) {
    .carousel-container {
        height: 700px;
    }
    .carousel-description-wrapper {
        bottom: 12px;
        left: 12px;
        right: 12px;
    }
    .carousel-pagination,
    .carousel-button {
        bottom: 320px;
    }
    .carousel-titles {
        width: 80%;
        font-weight: 500;
        font-size: 22px;
        line-height: 28px;
    }
    .carousel-image{
        width: 82%;
        left: 40px;
        top: 30%;
        height: 48%;
    }
}
