/* General Slider Styling */
.slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}
.slider-widget{
    position: relative;
}

.slide {
    display: none;
    width: 100%;
    text-align: center;
    /* font-size: 24px;
    padding: 50px;
    background: #f4f4f4;
    border: 1px solid #ddd; */
    box-sizing: border-box;
}

.slide.active {
    display: block;
}

/* Title Styling */
.slider-title {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 100px;
    margin-top: 30px;
    font-size: 18px;
    text-transform: capitalize;
}

.slider-title .title {
    font-weight: normal;
    color: #00664F;
    cursor: pointer;
    transition: font-weight 0.3s, color 0.3s;
}

.slider-title .title.active {
    font-weight: bold;
    color: #00664F;
}

/* Content Styling */
.slider-content {
    text-align: center;
    font-size: 16px;
    color: #262626;
    margin-top: 10px;
}

.slider-content .content {
    display: none;
    transition: opacity 0.3s ease;
}

.slider-content .content.active {
    display: block;
    opacity: 1;
}

/* Dots Styling */
.slider-dots {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

.slider-dots .dot {
    width: 20px;
    height: 20px;
    margin: 0 5px;
    border-radius: 50%;
    background-color: #B1DDD2;
    transition: background-color 0.3s ease;
}

.slider-dots .dot.active {
    background-color: #149A9D;
}

/* Controls Styling */
.slider-controls {
    display: flex;
    justify-content: space-between;
    position: absolute;
    width: 100%;
    transform: translateY(-50%);
    pointer-events: none;
    bottom: 42px;
}

.slider-controls .prev,
.slider-controls .next {
    pointer-events: auto;
    font-size: 24px;
    font-weight: bold;
    color: #333;
    background:transparent;
    /* border: 1px solid #ddd; */
    border-radius: 50%;
    /* width: 40px; */
    /* height: 40px; */
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    padding: 10px 15px;
}

.slider-controls .prev:hover,
.slider-controls .next:hover {
    background: #D0EEB2;
    /* transform: scale(1.1); */
}
.slider-controls .prev, .slider-controls .next i {
    color: #00664F;
}
/* Responsive Styling */
@media (max-width: 768px) {
    .slider-title {
        font-size: 16px;
        gap: 10px;
    }
    .slider-controls {
        position: fixed;
        bottom: 342px;
        left: 35px;
        width: 80%;
    }
    .slider-content {
        font-size: 14px;
    }

    .slider-controls .prev,
    .slider-controls .next {
        font-size: 20px;
        width: 35px;
        height: 35px;
    }
}
/* Show only 1 title on mobile */
@media (max-width: 768px) {
    .slider-title .title {
        display: none; 
    }

    .slider-title .title.active {
        display: inline-block; 
    }
}

/* Show only 4 titles on desktop */
@media (min-width: 769px) {
    .slider-title .title {
        display: inline-block; 
    }

    .slider-title .title:nth-child(n+5) {
        display: none; 
    }
}