 .top-header {
    background: linear-gradient(120deg, #232c53, #4552a6);
    color: #fff;
    font-size: 13px;
}

.top-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 42px;
}

.top-contact,
.top-social {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-contact-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, .9);
    text-decoration: none;
    transition: .3s ease;
}

.top-contact-item i {
    color: #b8c3ff;
    font-size: 13px;
}

.top-contact-item:hover {
    color: #fff;
}

.top-social {
    gap: 14px;
}

.top-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 13px;
    text-decoration: none;
    transition: .3s ease;
}

.top-social a:hover {
    color: #c5ceff;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 991.98px) {
    .top-contact {
        gap: 12px;
    }

    .top-contact-item {
        font-size: 11px;
    }

    .top-social {
        gap: 10px;
    }
}

@media (max-width: 575.98px) {
    .top-header-inner {
        justify-content: center;
        padding: 10px 0;
    }

    .top-contact {
        justify-content: center;
        flex-wrap: wrap;
        gap: 9px 15px;
    }

    .top-contact-item {
        font-size: 11px;
    }

    .top-contact-item:first-child {
        width: 100%;
        justify-content: center;
    }

    .top-social {
        display: none;
    }
}

.contact-breadcrumb {
    position: relative;
    overflow: hidden;
    padding: 90px 0;
    background: #e2e6ff;
    text-align: center;
}

.contact-breadcrumb .container {
    position: relative;
    z-index: 2;
}

.contact-breadcrumb h1 {
    margin: 0 0 15px;
    color: #232c53;
    font-size: 36px;
    font-weight: 800;
}

.contact-breadcrumb .breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin: 0;
    font-size: 16px;
}

.contact-breadcrumb .breadcrumb a {
    color: #4552a6;
    text-decoration: none;
}

.contact-breadcrumb .breadcrumb i {
    color: #8b95c9;
    font-size: 11px;
}

.contact-breadcrumb .breadcrumb span {
    color: #6876bd;
}

/* General Decorative Shapes */
.breadcrumb-shape {
    position: absolute;
    display: block;
    pointer-events: none;
}

.shape-one {
    top: -35px;
    right: 10%;
    width: 110px;
    height: 110px;
    border: 2px solid rgba(69, 82, 166, .18);
    border-radius: 50%;
}

.shape-two {
    bottom: -45px;
    left: 12%;
    width: 130px;
    height: 130px;
    border: 14px solid rgba(104, 118, 189, .12);
    border-radius: 50%;
}

.shape-three {
    top: 25px;
    left: 25%;
    width: 22px;
    height: 22px;
    background: rgba(69, 82, 166, .2);
    border-radius: 5px;
    transform: rotate(45deg);
}

.shape-four {
    right: 28%;
    bottom: 25px;
    width: 15px;
    height: 15px;
    background: rgba(104, 118, 189, .35);
    border-radius: 50%;
}

.shape-five {
    top: 35px;
    right: 30%;
    width: 45px;
    height: 45px;
    border: 1px solid rgba(69, 82, 166, .18);
    transform: rotate(25deg);
}

.shape-six {
    bottom: 20px;
    left: 30%;
    width: 35px;
    height: 35px;
    border: 2px solid rgba(104, 118, 189, .2);
    border-radius: 8px;
    transform: rotate(20deg);
}

@media (max-width: 767.98px) {
    .contact-breadcrumb {
        padding: 55px 0;
    }

    .contact-breadcrumb h1 {
        font-size: 29px;
    }

    .shape-one {
        right: -25px;
    }

    .shape-two {
        left: -35px;
    }

    .shape-three {
        left: 10%;
    }

    .shape-four {
        right: 12%;
    }

    .shape-five {
        right: 15%;
    }

    .shape-six {
        left: 15%;
    }
}

 
/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: #f8f9ff;
    direction: rtl;
}

.contact-heading {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 45px;
}

.contact-subtitle {
    display: inline-block;
    margin-bottom: 12px;
    color: #4552a6;
    font-size: 14px;
    font-weight: 700;
}

.contact-heading h2 {
    margin: 0 0 15px;
    color: #232c53;
    font-size: 32px;
    font-weight: 800;
}

.contact-heading p {
    margin: 0;
    color: #737b91;
    font-size: 15px;
    line-height: 1.9;
}

/* Contact Information */
.contact-info-card,
.contact-form-card {
    height: 100%;
    padding: 30px;
    background: #fff;
    border: 1px solid #edf0fa;
    border-radius: 14px;
    box-shadow: 0 8px 30px rgba(35, 44, 83, .05);
}

.contact-info-card h3,
.contact-form-card h3 {
    margin: 0 0 12px;
    color: #232c53;
    font-size: 22px;
    font-weight: 800;
}

.contact-info-desc,
.contact-form-desc {
    margin: 0 0 28px;
    color: #626fb9;
    font-size: 14px;
    line-height: 1.8;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 23px;
}

.contact-info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 10px;
    background: #e2e6ff;
    color: #4552a6;
    font-size: 17px;
}

.contact-info-item h4 {
    margin: 0 0 6px;
    color: #232c53;
    font-size: 14px;
    font-weight: 700;
}

.contact-info-item p,
.contact-info-item a {
    display: block;
    margin: 0;
    color: #747b90;
    font-size: 15px;
    line-height: 1.8;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.contact-info-item a:hover {
    color: #4552a6;
}

/* Map */
.contact-map {
    height: 210px;
    margin-top: 28px;
    overflow: hidden;
    border-radius: 10px;
    background: #e2e6ff;
}

.contact-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Contact Form */
.contact-form-card form {
    margin-top: 25px;
}

.contact-form-card label {
    display: block;
    margin-bottom: 9px;
    color: #343b55;
    font-size: 13px;
    font-weight: 700;
}

.contact-form-card input,
.contact-form-card select,
.contact-form-card textarea {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid #e5e8f2;
    border-radius: 7px;
    outline: none;
    background: #fff;
    color: #343b55;
    font-family: system-ui;
    font-size: 14px;
    transition: border-color .3s ease, box-shadow .3s ease;
    text-align: right;
}

.contact-form-card input,
.contact-form-card select {
    min-height: 48px;
}

.contact-form-card textarea {
    min-height: 140px;
    resize: vertical;
}

.contact-form-card input::placeholder,
.contact-form-card textarea::placeholder {
    color: #a2a8b8;
}

.contact-form-card input:focus,
.contact-form-card select:focus,
.contact-form-card textarea:focus {
    border-color: #6876bd;
    box-shadow: 0 0 0 3px rgba(104, 118, 189, .1);
}

.contact-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-width: 175px;
    padding: 14px 24px;
    border: 0;
    border-radius: 7px;
    background: linear-gradient(120deg, #4552a6, #6876bd);
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: .3s ease;
}

.contact-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 18px rgba(69, 82, 166, .2);
}

/* Responsive */
@media (max-width: 991.98px) {
    .contact-section {
        padding: 60px 0;
    }

    .contact-info-card,
    .contact-form-card {
        padding: 25px;
    }
}

@media (max-width: 575.98px) {
    .contact-section {
        padding: 35px 0;
    }

    .contact-heading {
        margin-bottom: 30px;
    }

    .contact-heading h2 {
        font-size: 25px;
    }

    .contact-heading p {
        font-size: 13px;
    }

    .contact-info-card,
    .contact-form-card {
        padding: 20px;
    }

    .contact-info-card h3,
    .contact-form-card h3 {
        font-size: 20px;
    }

    .contact-map {
        height: 180px;
    }

    .contact-submit-btn {
        width: 100%;
    }
}
 .span-ph {
    direction: ltr;
    unicode-bidi: embed;
}
@media (min-width: 0px) and (max-width: 991px)
{
.top-header {
    display: none;
}
.flex-direction{flex-direction: column-reverse;}
}



/************************about Sections *****************************/
:root {
    --library-about-primary: #4552a6;
    --library-about-dark: #232c53;
    --library-about-secondary: #777fd0;
    --library-about-light: #f3f4ff;
    --library-about-text: #626a80;
    --library-about-border: #e5e8f5;
}

/* Sections */
.library-about-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 60px 0;
    background: #fff;
}

.library-about-section + .library-about-section {
    border-top: 1px solid #f0f1f8;
}

.library-about-section.library-about-reverse {
    background: linear-gradient(115deg, #f7f8ff 0%, #fff 75%);
}

/* Decorative Background */
.library-about-section::before {
    content: "";
    position: absolute;
    top: -110px;
    right: -100px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(119, 127, 208, .12),
        transparent 70%
    );
    z-index: -1;
    pointer-events: none;
}

.library-about-section.library-about-reverse::before {
    right: auto;
    left: -100px;
}

/* Grid */
.library-about-row {
    --bs-gutter-x: 42px;
    align-items: center;
}

/* Text */
.library-about-text {
    position: relative;
    padding: 10px 0;
}

/* Label */
.library-about-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 13px;
    color: var(--library-about-primary);
    font-size: 13px;
    font-weight: 700;
}

.library-about-label::before {
    content: "";
    width: 28px;
    height: 2px;
    border-radius: 5px;
    background: var(--library-about-secondary);
}

/* Heading */
.library-about-title {
    position: relative;
    margin: 0 0 15px;
    padding-right: 15px;
    color: var(--library-about-dark);
    font-size: clamp(25px, 2.3vw, 32px);
    font-weight: 800;
    line-height: 1.5;
}

.library-about-title::before {
    content: "";
    position: absolute;
    top: 7px;
    right: 0;
    width: 4px;
    height: calc(100% - 14px);
    min-height: 28px;
    border-radius: 5px;
    background: linear-gradient(
        180deg,
        var(--library-about-primary),
        #a0a7ee
    );
}

/* Subtitle */
.library-about-subtitle {
    margin: 0 0 12px;
    color: var(--library-about-primary);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.9;
}

/* Description */
.library-about-description {
    margin: 0 0 12px;
    color: var(--library-about-text);
    font-size: 13.5px;
    line-height: 2;
    font-weight: 400;
}

.library-about-description:last-of-type {
    margin-bottom: 0;
}

/* Image */
.library-about-visual {
    position: relative;
    padding: 10px 0 12px 12px;
}

.library-about-visual::before {
    content: "";
    position: absolute;
    top: 0;
    right: 15px;
    width: 65px;
    height: 65px;
    border-top: 3px solid rgba(69, 82, 166, .4);
    border-right: 3px solid rgba(69, 82, 166, .4);
    border-radius: 0 12px 0 0;
    z-index: 2;
    pointer-events: none;
}

.library-about-visual::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 42%;
    height: 48%;
    border-radius: 12px;
    background: linear-gradient(
        135deg,
        rgba(69, 82, 166, .15),
        rgba(119, 127, 208, .03)
    );
    z-index: -1;
}

/* Image Frame */
.library-about-image-frame {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: var(--library-about-light);
    box-shadow: 0 14px 35px rgba(35, 44, 83, .12);
}

.library-about-image-frame img {
    display: block;
    width: 100%;
    height: 375px;
    object-fit: cover;
    transition: transform .65s ease;
    object-position: right;
}

.library-about-image-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(35, 44, 83, .02) 45%,
        rgba(35, 44, 83, .28) 100%
    );
    pointer-events: none;
    transition: opacity .4s ease;
}

.library-about-visual:hover .library-about-image-frame img {
    transform: scale(1.045);
}

.library-about-visual:hover .library-about-image-frame::after {
    opacity: .65;
}

/* Image Label */
.library-about-image-label {
    position: absolute;
    right: 18px;
    bottom: 18px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 8px;
    background: rgba(255, 255, 255, .93);
    box-shadow: 0 5px 18px rgba(35, 44, 83, .08);
    backdrop-filter: blur(8px);
}

.library-about-image-label i {
    color: var(--library-about-primary);
    font-size: 19px;
}

.library-about-image-label span {
    color: var(--library-about-dark);
    font-size: 12px;
    font-weight: 700;
}

/* Features */
.library-about-features {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 18px;
}

.library-about-feature {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 11px;
    border: 1px solid var(--library-about-border);
    border-radius: 7px;
    background: #fff;
    color: var(--library-about-dark);
    font-size: 12px;
    font-weight: 600;
    transition: .25s ease;
}

.library-about-feature i {
    color: var(--library-about-primary);
    font-size: 13px;
}

.library-about-feature:hover {
    border-color: #b8bdf0;
    background: var(--library-about-light);
    transform: translateY(-2px);
}

/* Button */
.library-about-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 18px;
    padding: 11px 19px;
    border: 1px solid var(--library-about-primary);
    border-radius: 7px;
    background: var(--library-about-primary);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: .3s ease;
}

.library-about-link i {
    transition: transform .3s ease;
}

.library-about-link:hover {
    border-color: var(--library-about-dark);
    background: var(--library-about-dark);
    color: #fff;
    box-shadow: 0 8px 20px rgba(69, 82, 166, .2);
}

.library-about-link:hover i {
    transform: translateX(-4px);
}

/* Second Section: Image Right, Text Left */
.library-about-reverse .library-about-row {
    direction: rtl;
}

.library-about-reverse .library-about-text {
    direction: rtl;
}

.library-about-reverse .library-about-visual {
    direction: rtl;
    padding: 10px 0 12px 12px;
}

.library-about-reverse .library-about-visual::before {
    right: 15px;
    left: auto;
    border-right: 3px solid rgba(69, 82, 166, .4);
    border-left: 0;
    border-radius: 0 12px 0 0;
}

.library-about-reverse .library-about-visual::after {
    right: auto;
    left: 0;
}

.library-about-reverse .library-about-image-label {
    right: 18px;
    left: auto;
}

/* Tablet */
@media (max-width: 991.98px) {
    .library-about-section {
        padding: 32px 0;
    }

    .library-about-row {
        --bs-gutter-x: 28px;
        row-gap: 22px;
    }

    .library-about-image-frame img {
        height: 270px;
    }

    .library-about-title {
        font-size: 27px;
    }

    .library-about-subtitle {
        font-size: 16px;
    }
}

/* Mobile */
@media (max-width: 767.98px) {
    .library-about-section {
        padding: 28px 0;
    }

    .library-about-row {
        --bs-gutter-x: 0;
        row-gap: 10px;
    }

    .library-about-text {
        padding: 0 2px;
    }

    .library-about-label {
        margin-bottom: 11px;
        font-size: 12px;
    }

    .library-about-title {
        margin-bottom: 12px;
        font-size: 24px;
    }

    .library-about-subtitle {
        margin-bottom: 10px;
        font-size: 15px;
        line-height: 1.9;
    }

    .library-about-description {
        margin-bottom: 10px;
        font-size: 13px;
        line-height: 2;
    }

    .library-about-visual,
    .library-about-reverse .library-about-visual {
        padding: 8px 0 10px 10px;
    }

    .library-about-visual::before,
    .library-about-reverse .library-about-visual::before {
        right: 15px;
        left: auto;
        border-right: 3px solid rgba(69, 82, 166, .4);
        border-left: 0;
        border-radius: 0 12px 0 0;
    }

    .library-about-image-frame img {
        height: 230px;
    }

    .library-about-image-label,
    .library-about-reverse .library-about-image-label {
        right: 12px;
        left: auto;
        bottom: 12px;
        gap: 8px;
        padding: 8px 10px;
    }

    .library-about-image-label i {
        font-size: 16px;
    }

    .library-about-image-label span {
        font-size: 11px;
    }

    .library-about-features {
        gap: 7px;
        margin-top: 14px;
    }

    .library-about-feature {
        padding: 7px 9px;
        font-size: 11px;
    }

    .library-about-link {
        margin-top: 15px;
        padding: 10px 15px;
        font-size: 12px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .library-about-image-frame img,
    .library-about-link,
    .library-about-feature,
    .library-about-image-frame::after {
        transition: none;
    }
}





/* =========================
   CASE STUDY DETAILS
========================= */

.case-details-section {
    direction: rtl;
    background: #f7f8fc;
    padding: 60px 0;
}

.case-details-main {
    padding: 25px;
    background: #fff;
    border: 1px solid #e9ebf2;
    border-radius: 10px;
}

/* Main Image */
.case-details-image {
    width: 100%;
    height: 360px;
    overflow: hidden;
    border-radius: 7px;
    margin-bottom: 25px;
    background: #eef0f6;
}

.case-details-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Main Content */
.case-details-content {
    width: 100%;
}

.case-category {
    display: inline-block;
    color: #4552a6;
    background: #eef0fb;
    padding: 7px 13px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 12px;
}

.case-details-content h1 {
    color: #4552a6;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.6;
    margin: 0 0 13px;
}

.case-details-content h2 {
    position: relative;
    color: #202947;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.6;
    margin: 30px 0 12px;
    padding-right: 14px;
}

.case-details-content h2::before {
    content: "";
    position: absolute;
    top: 5px;
    right: 0;
    width: 4px;
    height: 25px;
    background: #4552a6;
    border-radius: 4px;
}

.case-details-content p {
    color: #6d7486;
    font-size: 15px;
    line-height: 2;
    margin-bottom: 16px;
}

.case-details-content .case-intro {
    color: #626b80;
    font-size: 16px;
    line-height: 2;
    padding-bottom: 22px;
    border-bottom: 1px solid #e9ebf2;
}

.case-details-content ul {
    padding-right: 22px;
    margin-bottom: 10px;
}

.case-details-content li {
    color: #6d7486;
    font-size: 15px;
    line-height: 2;
    padding-right: 5px;
    margin-bottom: 7px;
}

.case-details-content li::marker {
    color: #4552a6;
}

/* =========================
   RELATED CASE STUDIES
========================= */

.related-cases {
    padding: 24px;
    background: #fff;
    border: 1px solid #e9ebf2;
    border-radius: 10px;
}

.related-cases-title {
    position: relative;
    color: #202947;
    font-size: 21px;
    font-weight: 800;
    line-height: 1.6;
    margin: 0 0 24px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ebf2;
}

.related-cases-title::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -1px;
    width: 65px;
    height: 3px;
    background: #4552a6;
    border-radius: 3px;
}

/* Related Item: Image + Content */
.related-case-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #edf0f5;
}

.related-case-item:last-of-type {
    margin-bottom: 20px;
}

/* Related Image */
.related-case-item img {
    display: block;
    width: 110px;
    height: 110px;
    flex: 0 0 110px;
    object-fit: cover;
    border-radius: 7px;
    margin: 0;
    background: #eef0f6;
    transition: opacity .3s ease;
}

.related-case-item:hover img {
    opacity: .88;
}

/* Related Content */
.related-case-content {
    flex: 1;
    min-width: 0;
}

.related-case-content h4 {
    color: #202947;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.7;
    margin: 0 0 7px;
    transition: color .25s ease;
}

.related-case-item:hover .related-case-content h4 {
    color: #4552a6;
}

.related-case-content p {
    color: #747b8d;
    font-size: 13px;
    line-height: 1.8;
    margin: 0 0 9px;
}

/* View Details Link */
.related-case-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #4552a6;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: color .25s ease;
}

.related-case-link i {
    font-size: 11px;
    transition: transform .25s ease;
}

.related-case-link:hover {
    color: #303b85;
}

.related-case-link:hover i {
    transform: translateX(-4px);
}

/* All Case Studies Button */
.related-cases-more {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 14px 16px;
    color: #fff;
    background: #4552a6;
    border: 1px solid #4552a6;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: background .25s ease, border-color .25s ease;
}

.related-cases-more i {
    font-size: 13px;
    transition: transform .25s ease;
}

.related-cases-more:hover {
    color: #fff;
    background: #303b85;
    border-color: #303b85;
}

.related-cases-more:hover i {
    transform: translateX(-4px);
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1199px) {
    .related-cases {
        padding: 20px;
    }

    .related-case-item {
        gap: 10px;
    }

    .related-case-item img {
        width: 95px;
        height: 100px;
        flex-basis: 95px;
    }

    .related-case-content h4 {
        font-size: 14px;
    }

    .related-case-content p {
        font-size: 12px;
    }

    .case-details-content h1 {
        font-size: 27px;
    }
}

@media (max-width: 991px) {
    .case-details-section {
        padding: 45px 0;
    }

    .case-details-main {
        padding: 22px;
    }

    .case-details-image {
        height: 320px;
    }

    .related-cases {
        margin-top: 10px;
    }

    .related-case-item {
        gap: 15px;
    }

    .related-case-item img {
        width: 125px;
        height: 110px;
        flex-basis: 125px;
    }

    .related-case-content h4 {
        font-size: 16px;
    }

    .related-case-content p {
        font-size: 13px;
    }
}

@media (max-width: 767px) {
    .case-details-section {
        padding: 35px 0;
    }

    .case-details-main {
        padding: 17px;
    }

    .case-details-image {
        height: 250px;
        margin-bottom: 20px;
    }

    .case-details-content h1 {
        font-size: 24px;
        line-height: 1.7;
    }

    .case-details-content h2 {
        font-size: 19px;
        margin-top: 25px;
    }

    .case-details-content p,
    .case-details-content li {
        font-size: 14px;
    }

    .case-details-content .case-intro {
        font-size: 15px;
    }

    .related-cases {
        padding: 18px;
    }

    .related-cases-title {
        font-size: 20px;
    }

    .related-case-item img {
        width: 110px;
        height: 105px;
        flex-basis: 110px;
    }

    .related-case-content h4 {
        font-size: 15px;
    }

    .related-case-content p {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .case-details-image {
        height: 210px;
    }

    .case-details-content h1 {
        font-size: 21px;
    }

    .related-case-item {
        gap: 10px;
    }

    .related-case-item img {
        width: 90px;
        height: 95px;
        flex-basis: 90px;
    }

    .related-case-content h4 {
        font-size: 13px;
    }

    .related-case-content p {
        font-size: 11px;
        line-height: 1.7;
    }

    .related-case-link {
        font-size: 11px;
    }

    .related-cases {
        padding: 15px;
    }
}

/* =========================
   ACCESSIBILITY
========================= */

@media (prefers-reduced-motion: reduce) {
    .related-case-item img,
    .related-case-content h4,
    .related-case-link,
    .related-case-link i,
    .related-cases-more,
    .related-cases-more i {
        transition: none;
    }
}

/* =========================
   FORM VALIDATION
   (contact form + "request service" modal, server errors and jsvalidation)
========================= */

.contact-form-card label.required::after,
.solution-modal-content .form-label.required::after {
    content: " *";
    color: #dc3545;
}

.contact-form-card .is-invalid,
.solution-modal-content .form-control.is-invalid {
    border-color: #dc3545;
    background-image: none;
    padding-left: 14px;
}

.contact-form-card .is-invalid:focus,
.solution-modal-content .form-control.is-invalid:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, .12);
}

.contact-form-card .is-valid,
.solution-modal-content .form-control.is-valid {
    border-color: #28a17a;
    background-image: none;
    padding-left: 14px;
}

.contact-form-card .is-valid:focus,
.solution-modal-content .form-control.is-valid:focus {
    border-color: #28a17a;
    box-shadow: 0 0 0 3px rgba(40, 161, 122, .12);
}

.contact-form-card .invalid-feedback,
.solution-modal-content .invalid-feedback {
    display: block;
    margin-top: 6px;
    color: #dc3545;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.6;
}

.contact-form-card .invalid-feedback:empty,
.solution-modal-content .invalid-feedback:empty {
    display: none;
}

.contact-form-card .invalid-feedback::before,
.solution-modal-content .invalid-feedback::before {
    content: "\f06a";
    margin-left: 5px;
    font-family: "Font Awesome 5 Pro";
    font-weight: 900;
}
