.carousel-container {
    width: 100%;
    height: 60vh;
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

.carousel-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-caption {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    z-index: 2;
    width: auto;
    padding: 0.3rem 0.8rem;
    background: transparent;
    backdrop-filter: blur(3px);
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1;
}

.carousel-caption .logo-container {
    flex-shrink: 0;
}

.carousel-caption .logo-container img {
    width: 160px;
    height: auto;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.5));
}

.carousel-caption .text-container {
    flex-grow: 0;
    text-align: left;
    padding-right: 0.3rem;
}

.carousel-caption .text-container h2 {
    font-size: 1.2rem;
    margin: 0 0 0.2rem 0;
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1.1;
}

.carousel-caption .text-container p {
    font-size: 0.8rem;
    margin: 0;
    line-height: 1.1;
}

.carousel-controls {
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 2;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: white;
    transform: scale(1.2);
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: all 0.3s ease;
}

.carousel-arrow:hover {
    background: rgba(255, 255, 255, 0.3);
}

.carousel-arrow.prev {
    left: 20px;
}

.carousel-arrow.next {
    right: 20px;
}

@media (max-width: 768px) {
    .carousel-container {
        height: 50vh;
        margin-top: 0;
    }

    .carousel-caption {
        bottom: 15%;
        flex-direction: column;
        gap: 0.5rem;
        padding: 0.2rem 0.5rem;
        width: 80%;
        min-width: auto;
    }

    .carousel-caption .logo-container img {
        width: 100px;
    }

    .carousel-caption .text-container {
        text-align: center;
    }

    .carousel-caption .text-container h2 {
        font-size: 1rem;
    }

    .carousel-caption .text-container p {
        font-size: 0.75rem;
        max-width: 200px;
        margin: 0 auto;
    }
}
