.carousel-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    display: flex;
    gap: 20px;
}

.carousel-container .first{
    width: 35%;
    overflow: hidden;
    z-index: 1;
}

.carousel-container .second{
    width:75%;
    z-index: 0;
}

.carousel {
    display: flex;
    transition: transform 0.5s ease;
    gap: 20px;
}

.carousel-item {
    min-width: 280px;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.carousel-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 6px;
}

.carousel-item h3 {
    color: #333;
    margin: 10px 0;
    font-size: 18px;
}

.carousel-item p {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.ba-nav-btn {
    transform: translateY(15px);
    background: #4CAF50;
    color: white;
    border: none;
    padding: 2px 15px;
    cursor: pointer;
    border-radius: 4px;
    margin:15px 0px;
}

.prev {
    left: 0;
}

.next {
    right: 0;
}

.service-header {
    margin-bottom: 30px;
}

.service-header h2 {
    color: #333;
	margin-bottom: 10px;
	font-size: 32px;
}

.service-header p {
    color: #666;
	font-size:24px
}

.ba-container {
    display: flex;
    gap: 10px;
}

.ba-container div{
    position: relative;
    justify-content: center;
    display: flex;
}


.ba-container .imageText{
    position: absolute;
    bottom: 20px;
    text-align: center;
    width: 90%;
    flex-wrap: wrap;
    display: flex;
    border-radius: 10px;
    height: 35px;
    align-content: center;
    background: #339CA2;
    color: #fff;
    font-weight: 600;
}


.ba-before, .ba-after{
    width: 350px;
    height: 380px;
    border-radius: 20px;
}


#NavButton1 {
    display: flex;
    gap: 10px;
    margin-top: -35px;
}



@media screen and (max-width:600px)
{
    .carousel-container{
        display: flex;
        flex-direction: column;
    }
    .carousel-container .first, .carousel-container .second{
        width: 100%;
    }



    .ba-before, .ba-after{
        width: 200px;
        height: 230px;
        border-radius: 20px;
    }

}