.main-carousel {
    width: 100%;
    margin-top: 70px;
    max-height: 550px;
    overflow: hidden;
}

.carousel-content {
    margin: auto;
    width: 100%;
    height: 550px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(to right, #93bdff, #74d3ff);
}

.whole-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    filter: brightness(80%);
    z-index: 0;
}

.darker {
    filter: brightness(40%);
}

.slide1-text {
    position: relative;
    margin-left: 10vw;
    margin-top: 100px;
    z-index: 100;
}

.slide1-text h1 {
    color: #ffffff;
    font-size: 4rem;
    margin: 0;
    margin-bottom: 20px;
    font-weight: bold;
}

.slide1-text span {
    font-size: 3rem;
    font-weight: bold;
    color: white;
}

.slide1-text p {
    font-size: 1.2rem;
    width: 60vw;
    color: white;
}

.carousel-btn {
    display: block;
    width: fit-content;
    padding: 10px 20px;
    background-color: var(--second-bg);
    border-radius: 5px;
    font-size: 1.2rem;
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: 0.2s;
    border: none;
}

.carousel-btn:hover {
    color: white;
    background-color: #70a7ff;
}

.slide2-text {
    height: fit-content;
    max-width: 780px;
    background-color: var(--primary-bg-tranparent);
    display: flex;
    flex-direction: column;
    align-items: left;
    justify-content: center;
    position: relative;
    padding: 50px;
    z-index: 100;
    top: 100px;
    left: 10vw;
}

.slide2-text h1 {
    font-weight: bold;
    font-size: 4rem;
}

.slide2-text p {
    width: 80%;
    font-size: 1rem;
}

.slide2-text span {
    color: var(--accent-color);
}

.slide3-text {
    position: relative;
    margin-left: 10vw;
    margin-top: 100px;
    z-index: 100;
    color: white;
}

.slide3-text h2 {
    color: white;
    font-size: 2.5rem;
    margin: 0;
    font-weight: 700;
    margin-bottom: 10px;
}
.slide3-text ul{
    list-style-type: none;
}
.slide3-text li {
    font-size: 1.4rem;
    margin-top: 15px;
}
.slide3-text li::before {
    content: '\2714\0020';
    color: #2e9d64;
}

.carousel-indicators button {
    width: 10px !important;
    height: 10px !important;
    border-radius: 50%;
}

.carousel-indicators .active {
    background-color: #fdfdfd; /* Change to your desired color */
}

.carousel-indicators button {
    background-color: #adadadc5; /* Change to your desired color */
}

.carousel-indicators {
    bottom: 10px; /* Adjust the position of the indicators */
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .slide1-text h1, .slide2-text h1 {
        font-size: 3.5rem;
    }
    .slide1-text span {
        font-size: 2.5rem;
    }
    .slide1-text p {
        font-size: 1.1rem;
        width: 70vw;
    }
    
}

@media (max-width: 992px) {
    .carousel-content {
        height: 450px;
    }
    .slide1-text , .slide3-text {
        margin-left: 8vw;
        margin-top: 80px;
    }
    .slide1-text h1, .slide2-text h1 {
        font-size: 3rem;
    }
    .slide1-text span {
        font-size: 2rem;
    }
    .slide1-text p {
        font-size: 1rem;
        width: 75vw;
    }
    .slide2-text {
        padding: 40px;
        top: 80px;
        left: 8vw;
    }
}

@media (max-width: 768px) {
    .carousel-content {
        height: 400px;
    }
    .slide1-text , .slide3-text {
        margin-left: 6vw;
        margin-top: 50px;
    }
    .slide2-text{
        max-width: 80%;
    }
    .slide1-text h1, .slide2-text h1 {
        font-size: 2rem;
    }
    .slide1-text span {
        font-size: 1.8rem;
    }
    .slide1-text p {
        font-size: 0.8rem;
        width: 80vw;
    }
    .slide2-text {
        padding: 30px;
        top: 50px;
        left: 6vw;
    }
    .slide3-text h2 {
        font-size: 1.4rem;
    }
    .slide3-text li {
        font-size: 0.8rem;
        margin-top: 5px;
    }
}

@media (max-width: 576px) {
    .carousel-content {
        height: 350px;
    }
    .slide1-text, .slide3-text {
        margin-left: 4vw;
        margin-top: 40px;
    }
    .slide1-text h1, .slide2-text h1 {
        font-size: 1.8rem;
    }
    .slide1-text span {
        font-size: 1.5rem;
    }
    .slide1-text p {
        font-size: 0.9rem;
        width: 85vw;
    }
    .carousel-btn {
        font-size: 0.9rem;
    }
    .slide2-text {
        padding: 25px;
        top: 40px;
        left: 4vw;
        max-width: 85%;
    }
    .slide3-text h2 {
        font-size: 1.5rem;
    }
    .slide3-text li {
        font-size: 0.9rem;
        margin-top: 5px;
    }
}

@media (max-width: 400px) {
    .carousel-content {
        height: 300px;
    }
    .slide1-text, .slide3-text {
        margin-left: 3vw;
        margin-top: 50px;
    }
    .slide1-text h1, .slide2-text h1 {
        font-size: 1.4rem;
    }
    .slide1-text span {
        font-size: 1.3rem;
    }
    .slide1-text p {
        font-size: 0.8rem;
        width: 90vw;
    }
    .slide2-text p {
        font-size: 0.8rem;
        width: 90%;
    }
    .carousel-btn {
        font-size: 0.6rem;
    }
    .slide2-text {
        padding: 20px;
        top: 50px;
        left: 3vw;
    }
    .slide3-text h2 {
        font-size: 1.5rem;
    }
    .slide3-text li {
        font-size: 0.8rem;
    }
}
