.img-responsive img {
    /* position: relative; */
    max-height: 360px;
    filter: brightness(80%);
    padding: 0;
}
.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 */
section {
    text-align: right;
}
h3 {
    font-weight: 700;
    font-size: 20px;
    line-height: 28px;
}
li {
    align-items: end;
}
.text-box p {
    font-size: 1.25rem;
    line-height: 35px;
}
.fragment,
.no-fragment {
    position: relative;
}
.fragment::before {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: #4e5c5c;
    border-radius: 50%;
    top: 100%;
    left: 100%;
    transform: translate(10px, -205%);
}
h2 {
    text-align: center;
    padding: 50px;
    font-size: 48px;
    line-height: 84px;
    font-weight: 700;
}
.before-left,
.before-left-2 {
    position: relative;
}
.before-left::before {
    content: "";
    position: sticky;
    width: 20px;
    height: 65%;
    background-color: #cb9500;
    top: 35%;
    /* transform: translate(141%, -48%); */
    left: 0%;
}
.before-left-2::before {
    content: "";
    position: absolute;
    width: 20px;
    height: 65%;
    background-color: #cb9500;
    top: 50%;
    transform: translate(141%, -48%);
    left: 1%;
}
/* .before-right::before {
    content: "";
    position: absolute;
    width: 20px;
    height: 65%;
    background-color: #cb9500;
    top: 50%;
    right: 12%;
    transform: translate(-31px, -50%);
} */
p.magic-title {
    font-size: 40px;
    font-weight: 700;
    line-height: 52px;
    color: #cb9500;
    margin: 10px 40px 0 0;
    position: relative;
}
p.sub-magic-title,
p.sub-magic-title ~ p {
    font-size: 1.25rem;
}
p.magic-title::before {
    content: "";
    width: 100px;
    height: 100px;
    border-radius: 20px;
    background-color: #fbf0d3;
    position: absolute;
    transform: rotate(45deg);
    z-index: -1;
    right: 0;
}
@media (min-width: 768px) and (max-width: 992px) {
    .before-left::before,
    .before-right::before {
        height: 25%;
    }
}
@media (min-width: 1761px) {
    .before-right::before {
        right: 16%;
    }
}
@media (min-width: 992px) and (max-width: 1200px) {
    .before-left::before,
    .before-right::before {
        height: 50%;
    }
}
/* 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;
}
.text-gary:hover {
    color: #4e5c5c !important;
}
p.text-gary {
    font-size: 20px;
}
/* gallery */
/* section */
.real-img {
    width: 541px !important;
}
.carousel-item .real-img {
    width: 400px !important;
}
.carousel-control-next,
.carousel-control-prev {
    align-items: center;
}
.carousel-control-prev {
    transform: translate(-90px, 10px);
}
.carousel-control-next {
    transform: translate(86px, 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;
}
.modal-img {
    width: 300px !important;
    height: 100%;
    border-radius: 0px 10px 10px 0px;
}
.bc-gray,
.card {
    background: linear-gradient(180deg, #cc9900 0%, #515050 100%);
    color: #fff;
    border-radius: 10px 0px 0px 10px;
    width: 100%;
    padding: 24px;
    border: none !important;
}
.card-modal {
    text-align: end;
}
.card-modal h5 {
    color: #cb9500;
    line-height: 57px;
    font-size: 37px;
}
.card-title-hr {
    border: 1px solid #cb9500;
}
.modal-content,
.modal-content .card {
    border-radius: 45px;
}
.card-body p {
    color: #fff;
}
body {
    font-family: "GESSTwoMedium";
}
@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;
    }
}
p {
    text-align: justify !important;
    direction: rtl !important;
}
