.img-responsive img {
    position: relative;
    max-height: 360px;
    filter: brightness(80%);
}
.img-responsive div {
    position: absolute;
}
.img-responsive div p {
    margin: 0;
    padding: 10px;
    font-size: 56px;
    line-height: 67px;
    font-weight: 700;
    text-align: center;
}
@media (max-width: 778px) {
    .img-responsive div p {
        font-size: 20px;
        line-height: 10px;
    }
}
.img-responsive div p:first-of-type {
    color: white;
}
.img-responsive div p:last-of-type {
    color: #ffc629;
}
/* section */
.text-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.text-box p {
    font-size: 1.25rem;
    line-height: 35px;
    text-align: right;
}
.text-icon-box .icon {
    height: 80px;
    text-align: right;
}
.text-icon-box .icon img,
.text-icon-box .bg-icon img {
    width: 80px;
    height: 100%;
    border-radius: 16px;
}
.vision-title {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 28px;
    text-align: right;
}
.vision-text {
    font-size: 1.25rem;
    line-height: 35px;
    text-align: justify !important;
    direction: rtl !important;
    unicode-bidi: embed !important;
}
img.radius {
    border-radius: 24px;
}
h2 {
    text-align: center;
    padding: 50px;
    font-size: 48px;
    line-height: 84px;
    font-weight: 700;
}
/* gallery */
.gallery {
    height: 500px;
    max-height: 500px;
}
.carousel-inner div img {
    width: 100%;
    height: 100%;
}
.carousel-item div {
    display: flex;
    justify-content: space-around;
    align-items: center;
    column-gap: 20px;
}
.text-gary{
    color: #4E5C5C;
}
p.text-gary{
    font-size: 20px;
}
/* gallery */
/* section */
.carousel-control-next,.carousel-control-prev{
    align-items: center;
}
.carousel-control-prev{
    transform: translate(-90px, 10px);
}
.carousel-control-next{
    transform: translate(80px, 10px);
}
.carousel-control-next-icon{
background-image: url('../../images/Vector 8.svg') !important;
}
.carousel-control-prev-icon{
    background-image: url('../../images/Vector 9.svg') !important;

}
@media (max-width: 576px) {
    .carousel-image {
        width: 100% !important; /* Make each image take full width on small screens */
    }
    .carousel-inner .carousel-item.active {
        display: flex;
        justify-content: center;
    }
    .carousel-inner .carousel-item.active .carousel-image:nth-child(n+2) {
        display: none; /* Hide all but the first image */
    }
    .carousel-control-next{
        right: 25px !important;
    }
.carousel-control-prev{
left: 45px !important;
}
}
