.hero-carousel {
    margin-top: 0;
    position: relative;
    height: 50vh;
    min-height: 400px;
    overflow: hidden;
}

.hero-carousel .carousel-container {
    position: relative;
    height: 100%;
    width: 100%;
}

.hero-carousel .carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-carousel .carousel-item.active {
    opacity: 1;
}

.hero-carousel .carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 100%);
    z-index: 1;
}

.hero-carousel .carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
    width: 100%;
    max-width: 800px;
    padding: 0 20px;
}

.hero-carousel .carousel-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    animation: fadeInUp 1s ease-out;
}

.hero-carousel .carousel-subtitle {
    font-size: 1.2rem;
    color: var(--secondary-color, #007bff);
    margin-bottom: 1rem;
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-carousel .carousel-description {
    font-size: 1rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-carousel .btn-hero {
    background: var(--secondary-color, #007bff);
    border: 2px solid var(--secondary-color, #007bff);
    color: white;
    padding: 10px 25px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-carousel .btn-hero:hover {
    background: transparent;
    color: var(--secondary-color, #007bff);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    /* background: rgba(0, 0, 0, 0.7);
    border: 2px solid rgba(255, 255, 255, 0.3); */
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    /* backdrop-filter: blur(10px); */
}

.hero-carousel .carousel-control-prev {
    left: 20px;
}

.hero-carousel .carousel-control-next {
    right: 20px;
}

.hero-carousel .carousel-control-prev:hover,
.hero-carousel .carousel-control-next:hover {
    background: var(--secondary-color, #007bff);
    border-color: var(--secondary-color, #007bff);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* .hero-carousel .carousel-control-prev::before {
    content: '<';
    font-size: 1.5rem;
    color: white;
    font-weight: bold;
    line-height: 1;
}

.hero-carousel .carousel-control-next::before {
    content: '>';
    font-size: 1.5rem;
    color: white;
    font-weight: bold;
    line-height: 1;
} */

.hero-carousel .carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

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

.hero-carousel .carousel-indicators button.active {
    background: var(--secondary-color, #007bff);
    transform: scale(1.2);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    /*.hero-carousel {*/
    /*    min-height: 300px;*/
    /*}*/
	.hero-carousel {
		    height: 100vh;
	}
	
    .hero-carousel .carousel-title {
        font-size: 2rem;
    }

    .hero-carousel .carousel-subtitle {
        font-size: 1rem;
    }

    .hero-carousel .carousel-description {
        font-size: 0.9rem;
    }

    .hero-carousel .btn-hero {
        padding: 8px 20px;
        font-size: 0.9rem;
    }

    .hero-carousel .carousel-control-prev,
    .hero-carousel .carousel-control-next {
        width: 40px;
        height: 40px;
    }

    .hero-carousel .carousel-control-prev::before,
    .hero-carousel .carousel-control-next::before {
        font-size: 1.2rem;
    }
}
