.about-hero-img {
    width: 28rem;
    object-fit: contain;
}

.about-img-title {
    font-size: xx-large;
    padding: 0.5rem 2rem;
    background-color: var(--green);
    color: var(--white);
    width: fit-content;
    border-radius: 15px;
    margin: 0;
    transform: translateY(40px);
}

.about-hero {
    color: var(--main);
}

.custom-justify {
    text-align: center;
    align-self: center;
}

.about-carousel {
    overflow-x: hidden;
    align-content: center;
}

.about-carousel .item {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.5s ease, z-index 0.5s ease;
}


.about-carousel .item img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
    border-radius: 10px;
}

.about-carousel .owl-stage {
    display: flex;
    justify-content: center;
}

.about-carousel .owl-item {
    transition: transform 0.5s ease;
    border-radius: 15px;
}

.about-carousel .owl-item.centered {
    opacity: 1;
    transform: scale(0.8);
    z-index: 2;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.about-carousel .item:not(.centered) {
    transform: scale(1);
    z-index: 1;
}

.about-carousel .owl-nav {
    display: none;
    margin: 1rem;
    width: 80%;
}

.about-carousel .owl-prev,
.about-carousel .owl-next {
    color: var(--main);
    background-color: transparent;
    border-radius: 50%;
    width: 50px;
    margin: 7px;
    font-size: x-large;
    padding: 5px;
    border: 2px solid var(--main);
}

.go-next::after {
    content: '\f060';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-left: 8px;
    display: inline-block;
}

[dir="rtl"] .go-next::after {
    transform: rotate(180deg);
    margin-left: 0;
    margin-right: 8px;
}

.go-prev::after {
    content: '\f061';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-left: 8px;
    display: inline-block;
}

[dir="rtl"] .go-prev::after {
    transform: rotate(180deg);
    margin-left: 0;
    margin-right: 8px;
}

.material-symbols-outlined::after {
    content: '\f061';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    display: inline-block;
}

[dir="rtl"] .material-symbols-outlined::after {
    transform: rotate(180deg);
}


.owl-dots {
    display: flex;
    justify-content: center;
    position: relative;
}

.owl-dot {
    background-color: var(--light-gray);
    border: none;
    border-radius: 50%;
    padding: 5px;
    margin: 5px;
}

.owl-dot.active {
    background-color: var(--primary);
}

.about-carousel .owl-pagination {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX();
}

.about-video {
    border-radius: 15px;
}

.news-img {
    width: 80%;
    max-width: 600px;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}




@media (min-width: 992px) {
    .custom-justify {
        text-align: justify;
        align-self: auto;
    }

    .about-carousel .owl-nav {
        display: flex;
    }

    .about-carousel {
        height: 70vh;
    }

    .owl-dots {
        top: 3rem;
    }

}

@media (min-width: 768px) {
    .about-carousel {
        height: 100vh;
    }

    .owl-dots {
        top: 2rem;
    }
}


@media (min-width: 576px) {
    .about-carousel .owl-item.centered {
        transform: scale(1.2);
    }
}