.split-section {
    min-height: max-content;

}

.slider_content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 100px;
    padding: 100px 0;
    overflow: hidden;

}

.carousel {
    width: 500px;
    height: 500px;
    position: relative;
    overflow: hidden;
    border-radius: 24px;
}

.carousel-inner {
    width: 100%;
    height: 100%;
    border-radius: 24px;
    overflow: hidden;
}

.carousel-item {
    width: 100%;
    height: 100%;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 24px;
}

/* يمنع إحساس إن الصورة بتدخل كشريط أو بتكبر */
.carousel-fade .carousel-item {
    opacity: 0;
    transition: opacity 0.8s ease-in-out !important;
    transform: none !important;
}

.carousel-fade .carousel-item.active {
    opacity: 1;
}

.carousel-fade .carousel-item-next,
.carousel-fade .carousel-item-prev,
.carousel-fade .carousel-item-start,
.carousel-fade .carousel-item-end {
    transform: none !important;
}

.text-box {
    width: 50%;
}

.text-box h2 {
    font-size: 32px;
    margin-bottom: 18px;
    color: var(--bg-color);
}

.text-box p {
    color: var(--second-color);
    font-size: 18px;
    line-height: 1.7;
}

/* Responsive */
@media (max-width: 900px) {
    .slider_content {
        flex-direction: column;
        text-align: center;
    }

    .slider-box,
    .text-box {
        width: 100%;
    }

    .slide-img {
        height: 280px;
    }
}