/* Carousel Styles */
.carousel-section {
    margin: 3rem 0;
}

.carousel-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    background: #eef2ec;
    border-radius: 0;
    overflow: hidden;
}

.carousel-slides {
    position: relative;
    width: 100%;
    padding-bottom: 35%; /* 350/1000 = 0.35 aspect ratio */
    background: #eef2ec;
}

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

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

/* Text overlay with dark green background (75% opacity) */
.slide-text {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    background: rgba(11, 55, 53, 0.75); /* #0b3735 at 75% */
    padding: 0.6rem 1rem;
    border-radius: 8px;
    max-width: 70%;
    z-index: 2;
    pointer-events: none; /* allows clicking through to arrows/dots */
}

.slide-text h3 {
    font-size: 1.5rem;
    margin: 0 0 0.25rem;
    font-weight: 500;
    color: white;
    letter-spacing: -0.3px;
}

.slide-text p {
    font-size: 1rem;
    margin: 0;
    color: white;
    opacity: 0.9;
}

/* Arrows – dark green semi-transparent circles */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(11, 55, 53, 0.6);
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 0.5rem 0.8rem;
    border-radius: 50%;
    transition: background 0.2s;
    z-index: 10;
    line-height: 1;
}

.carousel-arrow:hover {
    background: rgba(11, 55, 53, 0.9);
}

.prev {
    left: 1rem;
}

.next {
    right: 1rem;
}

/* Dots – rings style */
.carousel-dots {
    position: absolute;
    bottom: 0.8rem;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 10;
}

.dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 0 6px;
    background-color: white;
    border: 2px solid #0b3735;  /* dark green border */
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s;
}

.dot.active {
    background-color: #0b3735;  /* solid dark green */
    border-color: #0b3735;
    box-shadow: 0 0 4px rgba(11,55,53,0.5);
}

/* Responsive */
@media (max-width: 640px) {
    .slide-text h3 {
        font-size: 1.2rem;
    }
    .slide-text p {
        font-size: 0.8rem;
    }
    .slide-text {
        bottom: 1rem;
        left: 1rem;
        max-width: 80%;
        padding: 0.4rem 0.8rem;
    }
    .carousel-arrow {
        font-size: 1.2rem;
        padding: 0.3rem 0.6rem;
    }
    .dot {
        width: 10px;
        height: 10px;
        margin: 0 4px;
        border-width: 1.5px;
    }
}