.qm-sh-about {
    background: #fff;
    color: #3a3f45;
    font-family: "Cairo", sans-serif;
}

.qm-sh-about h1,
.qm-sh-about h4,
.qm-sh-about h6,
.qm-sh-about p,
.qm-sh-about li,
.qm-sh-about a {
    font-family: "Cairo", sans-serif;
}

.qm-sh-banner {
    position: relative;
    overflow: hidden;
    background: #fff;
}

.qm-sh-banner-copy {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    width: 58%;
    min-height: 470px;
    margin-inline-end: auto;
    padding: 28px 0;
    text-align: start;
}

.qm-sh-banner-title {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
}

.qm-sh-banner h6 {
    margin: 0 0 12px;
    color: #6c7480;
    font-size: 16px;
    font-weight: 400;
}

.qm-sh-banner h6 span {
    display: inline-block;
    width: 50px;
    height: 2px;
    margin-inline-end: 15px;
    background: #ffb819;
    vertical-align: middle;
}

.qm-sh-banner h1 {
    margin: 0;
    color: #ce021d;
    font-size: 3.4rem;
    font-weight: 900;
    line-height: 1.15;
}

.qm-sh-crumbs {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 28px 0 0;
    padding: 10px 15px;
    list-style: none;
    border-radius: 7px;
    background: #edf5ff;
}

.qm-sh-crumbs a {
    color: #ce021d;
    text-decoration: none;
}

.qm-sh-crumbs li + li::before {
    color: #7b94b5;
    content: "/";
}

.qm-sh-crumbs li:last-child a {
    color: #7b94b5;
}

.qm-sh-banner-img {
    position: absolute;
    top: 0;
    bottom: 0;
    inset-inline-end: auto;
    inset-inline-start: 0;
    width: 42%;
}

html[dir="rtl"] .qm-sh-banner-img {
    right: auto;
    left: 0;
}

html[dir="ltr"] .qm-sh-banner-img {
    right: 0;
    left: auto;
}

.qm-sh-banner-img img {
    width: 100%;
    height: 470px;
    object-fit: cover;
    object-position: center;
}

html[dir="rtl"] .qm-sh-banner-img img {
    border-radius: 0 0 80px 0;
}

html[dir="ltr"] .qm-sh-banner-img img {
    border-radius: 0 0 0 80px;
}

.qm-sh-content {
    padding: 48px 0 64px;
}

.qm-sh-content h1 {
    margin: 0 0 16px;
    color: #2d3137;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.4;
}

.qm-sh-content h4 {
    margin: 0 0 12px;
    color: #2d3137;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.5;
}

.qm-sh-content p {
    margin: 0 0 16px;
    color: #3a3f45;
    font-size: 16px;
    line-height: 1.95;
    text-align: justify;
}

.qm-sh-intro {
    margin-bottom: 28px;
}

.qm-sh-row {
    display: flex;
    direction: ltr;
    align-items: center;
    margin: 28px 0 36px;
}

.qm-sh-row.is-reverse {
    flex-direction: row-reverse;
}

.qm-sh-photo {
    flex: 0 0 42%;
    max-width: 42%;
}

.qm-sh-photo img {
    display: block;
    width: 100%;
    border: 2px solid #e8ecf2;
    border-radius: 1rem;
}

.qm-sh-card {
    position: relative;
    z-index: 2;
    flex: 1;
    margin-left: -5rem;
    padding: 2.5rem;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 10px 45px rgba(0, 46, 109, 0.1);
}

html[dir="rtl"] .qm-sh-card {
    direction: rtl;
    text-align: right;
}

html[dir="ltr"] .qm-sh-card {
    direction: ltr;
    text-align: left;
}

.qm-sh-row.is-reverse .qm-sh-card {
    margin-right: -5rem;
    margin-left: 0;
}

.qm-sh-card h4 {
    margin-bottom: 0;
}

.qm-sh-card p:last-child {
    margin-bottom: 0;
}

.qm-sh-wave {
    display: block;
    width: 54px;
    height: 10px;
    margin: 12px 0 16px;
}

.qm-sh-block {
    margin: 8px 0 36px;
}

.qm-sh-cols {
    display: flex;
    gap: 48px;
    margin-top: 18px;
}

.qm-sh-cols > div {
    flex: 1;
    min-width: 0;
}

.qm-sh-dots {
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
}

.qm-sh-dots li {
    position: relative;
    margin-bottom: 10px;
    padding-inline-start: 22px;
    font-size: 16px;
    line-height: 1.7;
}

.qm-sh-dots li::before {
    content: "";
    position: absolute;
    top: 8px;
    inset-inline-start: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ce021d;
}

@media (max-width: 767px) {
    .qm-sh-banner-img {
        display: none;
    }

    .qm-sh-banner-copy {
        width: 100%;
        min-height: 0;
        align-items: center;
        text-align: center;
    }

    .qm-sh-banner h1 {
        font-size: 2.4rem;
    }

    .qm-sh-row,
    .qm-sh-row.is-reverse,
    .qm-sh-cols {
        display: block;
    }

    .qm-sh-photo {
        max-width: none;
        margin-bottom: 16px;
    }

    .qm-sh-card,
    .qm-sh-row.is-reverse .qm-sh-card {
        margin: 0;
        padding: 1.4rem;
    }
}
