.custom-carousel {
    position: relative;
    height: 88vh; /* Match your original design */
    width: 100%;
    overflow: hidden;
    background-color: #1a2e2a; /* Fallback sage color */
}

.slides-container {
    height: 100%;
    width: 100%;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.slide.active {
    opacity: 1;
}

.slide img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(20, 40, 40, 0.8), rgba(0, 0, 0, 0.4));
    z-index: -1;
}

.content {
    color: white;
    max-width: 800px;
    padding: 20px;
}

.subtitle {
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.35em;
    color: #fbbf24; /* Amber-400 */
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.content h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

/* Dots Styling */
.dots-container {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
}

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

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