/* ====== HERO LAYOUT (DESKTOP FIRST) ====== */

.hero {
    background-color: #FFFFFF;
    background-image:
        linear-gradient(209.04deg,
            rgba(255, 255, 255, 0.24) -45.45%,
            rgba(255, 255, 255, 0.48) 0.08%,
            rgba(255, 255, 255, 0.72) 45.61%,
            rgba(249, 217, 163, 0.48) 91.14%,
            rgba(255, 255, 255, 0.24) 136.67%),
        url('../img/raw/hero-bg.png');
    background-image:
        linear-gradient(209.04deg,
            rgba(255, 255, 255, 0.24) -45.45%,
            rgba(255, 255, 255, 0.48) 0.08%,
            rgba(255, 255, 255, 0.72) 45.61%,
            rgba(249, 217, 163, 0.48) 91.14%,
            rgba(255, 255, 255, 0.24) 136.67%),
        image-set(
            url('../img/webp/hero-bg.webp') type('image/webp'),
            url('../img/raw/hero-bg.png') type('image/png')
        );
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    padding-block: clamp(48px, 6vw, 80px);
    color: #162435;
}

.hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

/* text column */
.hero-text {
    flex: 1 1 55%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: start;
}

.hero-kicker {
    font-size: 14px;
    font-weight: 500;
    color: #AB874B;
}

.hero-title {
    font-style: normal;
    font-weight: 700;
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.4;
    margin: 0;
    color: #162435;
}

.hero-subtitle {
    font-size: 16px;
    line-height: 1.6;
    color: #717171;
    max-width: 32rem;
}

/* CTA buttons */
.hero-actions {
    margin-top: 8px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Taqeem badge */
.hero-taqeem {
    margin-top: 16px;
    display: flex;
    align-items: center;
    padding: 16px;
    gap: 12px;
    background: rgba(255, 254, 251, 0.5);
    box-shadow:
        inset 0px -2px 4px rgba(171, 135, 75, 0.2),
        inset 0px 2px 4px rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(2px);
    border-radius: 8px;
    max-width: 472px;
}

.hero-taqeem img {
    width: 156px;
    height: auto;
}

.hero-taqeem-text {
    font-size: 16px;
    line-height: 24px;
    color: #1A4681;
}

.fw-700 {
    font-weight: 700;
}

/* image column */
.hero-media {
    flex: 1 1 45%;
    display: flex;
    justify-content: center;
}

.hero-image {
    width: 100%;
    max-width: 420px;
    position: relative;
    aspect-ratio: 649 / 1011;
    overflow: visible;
    border-radius: 24px;
}

/* ====== RESPONSIVE (TEXT FIRST ON MOBILE) ====== */

/* tablet & down */
@media (max-width: 992px) {
    .hero-inner {
        flex-direction: column;
        /* stack vertically */
        align-items: flex-start;
        /* keep RTL alignment */
        gap: 24px;
    }

    .hero-text {
        order: 1;
        /* text first */
        max-width: 100%;
    }

    .hero-media {
        order: 2;
        /* image second */
        width: 100%;
        justify-content: center;
    }

    .hero-image {
        max-width: 360px;
        margin-inline: auto;
    }

    .hero-subtitle {
        max-width: 100%;
    }
}

/* small phones */
@media (max-width: 480px) {
    .hero {
        padding-block: 40px;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-btn-primary {
        width: 100%;
    }

    .hero-taqeem {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-image {
        max-width: 100%;
    }
}

/* smoother image cross-fade animation */

.image-stack-item {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.03);
    animation-name: heroImageCycle;
    animation-duration: 16s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

/* delays so each image takes a turn */
.hero-image > picture:nth-child(1) .image-stack-item,
.hero-image > img:nth-child(1) {
    animation-delay: 0s;
}

.hero-image > picture:nth-child(2) .image-stack-item,
.hero-image > img:nth-child(2) {
    animation-delay: 4s;
}

.hero-image > picture:nth-child(3) .image-stack-item,
.hero-image > img:nth-child(3) {
    animation-delay: 8s;
}

.hero-image > picture:nth-child(4) .image-stack-item,
.hero-image > img:nth-child(4) {
    animation-delay: 12s;
}

@keyframes heroImageCycle {
    0% {
        opacity: 0;
        transform: scale(1.03);
    }

    5% {
        opacity: 1;
        transform: scale(1.0);
    }

    25% {
        opacity: 1;
        transform: scale(1.02);
        /* slight breathing zoom */
    }

    30% {
        opacity: 0;
        transform: scale(1.04);
    }

    100% {
        opacity: 0;
        transform: scale(1.04);
    }
}

/* ===========================
   SECOND SECTION – WHY US
   =========================== */

.why-us-section {
    position: relative;
    padding-block: 80px;
    padding-bottom: 140px;
    background:
        url('../img/raw/golden-blueprint.png');
    background-image:
        linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.55)),
        image-set(
            url('../img/webp/golden-blueprint.webp') type('image/webp'),
            url('../img/raw/golden-blueprint.png') type('image/png')
        );
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

/* ----- Section header reused style ----- */

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header--spaced {
    margin-top: 80px;
}

.section-header-title-row {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 16px;
}

.section-header-line {
    flex: 1;
    height: 2px;
    background: #AB874B;
    opacity: 0.9;
}

.section-header-title {
    font-weight: 700;
    font-size: 32px;
    line-height: 1.3;
    color: #162435;
    white-space: nowrap;
}

.section-header--dark .section-header-title {
    color: #FFFFFF;
}

.section-header-subtitle {
    max-width: 640px;
    margin: 0 auto;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.4;
    color: #717171;
}

.section-header--dark .section-header-subtitle {
    color: #E5E7EB;
}

/* ----- Layout: image + cards ----- */

.why-us-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr);
    gap: 40px;
    align-items: stretch;
}

/* Animated visual block (same idea as original, but cleaner) */
.why-us-media {
    position: relative;
    border-radius: 24px;
    min-height: 360px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.08);
    overflow: hidden;
    animation: whyUsBackgroundSwap 20s step-end infinite;
}

.why-us-media::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 15% 0%, rgba(255, 255, 255, 0.18), transparent 55%),
        linear-gradient(180deg, rgba(2, 3, 3, 0) 40%, rgba(2, 3, 3, 0.7) 100%);
    mix-blend-mode: soft-light;
}

/* background slideshow */
@keyframes whyUsBackgroundSwap {
    0% {
        background-image: url('../img/raw/why-us-1-scaled.jpg');
        background-image: image-set(
            url('../img/webp/why-us-1-scaled.webp') type('image/webp'),
            url('../img/raw/why-us-1-scaled.jpg') type('image/jpeg')
        );
    }

    20% {
        background-image: url('../img/raw/why-us-2-scaled.jpg');
        background-image: image-set(
            url('../img/webp/why-us-2-scaled.webp') type('image/webp'),
            url('../img/raw/why-us-2-scaled.jpg') type('image/jpeg')
        );
    }

    40% {
        background-image: url('../img/raw/why-us-3-scaled.jpg');
        background-image: image-set(
            url('../img/webp/why-us-3-scaled.webp') type('image/webp'),
            url('../img/raw/why-us-3-scaled.jpg') type('image/jpeg')
        );
    }

    60% {
        background-image: url('../img/raw/why-us-4-scaled.jpg');
        background-image: image-set(
            url('../img/webp/why-us-4-scaled.webp') type('image/webp'),
            url('../img/raw/why-us-4-scaled.jpg') type('image/jpeg')
        );
    }

    80%,
    100% {
        background-image: url('../img/raw/why-us-5-scaled.jpg');
        background-image: image-set(
            url('../img/webp/why-us-5-scaled.webp') type('image/webp'),
            url('../img/raw/why-us-5-scaled.jpg') type('image/jpeg')
        );
    }
}

/* Cards list */
.why-us-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Single card */
.why-us-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.45);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    backdrop-filter: blur(3px);
    opacity: 0.6;
    transform: translateY(0);
    transition:
        opacity 0.35s ease,
        box-shadow 0.35s ease,
        transform 0.35s ease,
        background 0.35s ease;
}

.why-us-card--active,
.why-us-card:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.9);
    box-shadow:
        0 18px 35px rgba(0, 0, 0, 0.12),
        0 0 0 1px rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
}

.why-us-card-icon {
    flex: 0 0 72px;
    height: 72px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 0% 0%, #DFB979 0%, #AB874B 45%, #162435 100%);
    box-shadow:
        0 10px 18px rgba(0, 0, 0, 0.18),
        0 0 0 4px rgba(255, 255, 255, 0.6);
    transform-origin: center;
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.why-us-card--active .why-us-card-icon,
.why-us-card:hover .why-us-card-icon {
    transform: rotate(8deg) scale(1.03);
    box-shadow:
        0 14px 24px rgba(0, 0, 0, 0.2),
        0 0 0 6px rgba(223, 185, 121, 0.4);
}

/* Lucide icon inside */
.why-us-card-icon>div::before {
    font-size: 38px;
    color: #F8F5ED;
}

/* Title + text */
.why-us-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.why-us-card-title {
    font-size: 18px;
    font-weight: 700;
    color: #162435;
    line-height: 1.4;
}

.why-us-card-text {
    font-size: 15px;
    line-height: 1.6;
    color: #717171;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

/* layout wrapper — no visual styles here */
.process-card {
    position: relative;
    height: 100%;
}

/* Process cards */
.process-card-inner {
    position: relative;
    padding: 72px 22px 36px;
    padding-bottom: 0;
    border-radius: 22px 22px 0 0;
    height: 100%;
    background: linear-gradient(160deg, #0f2a46 0%, #0b1f34 100%);
    box-shadow:
        0 16px 36px rgba(0, 0, 0, 0.22),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    color: #ffffff;
    text-align: center;
    overflow: visible;
}

.process-card-inner::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    top: 99%;
    height: 70px;
    background: #0b1f34;
    clip-path: polygon(0% 0%, 100% 0%, 100% 48%, 50% 100%, 0% 48%);
    pointer-events: none;
}

.process-number {
    position: absolute;
    top: -24px;
    inset-inline: 0;
    margin-inline: auto;
    width: 56px;
    height: 56px;
    border-radius: 999px;
    background: #b38a4b;
    color: #ffffff;
    font-size: 22px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.2);
    border: 4px solid #ffffff;
}

.process-title {
    margin: 0 0 10px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.7;
}

.process-text {
    margin: 0;
    font-size: 14px;
    line-height: 1.8;
    color: #e5e7eb;
}

.process-card:nth-child(4) .process-card-inner {
    background: linear-gradient(180deg, #b38a4b 0%, #8f6a2f 100%);
    color: #ffffff;
}

.process-card:nth-child(4) .process-card-inner::after {
    background: #8f6a2f;
}

.process-card:nth-child(4) .process-text {
    color: rgba(255, 255, 255, 0.9);
}

.process-card-inner {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.process-card-inner:hover {
    transform: translateY(-4px);
    box-shadow:
        0 22px 44px rgba(0, 0, 0, 0.28),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.process-card:nth-child(1) .process-card-inner::after {
    clip-path: polygon(0% 0%, 100% 0%, 100% 48%, 58% 100%, 0% 48%);
}

.process-card:nth-child(2) .process-card-inner::after {
    clip-path: polygon(0% 0%, 100% 0%, 100% 48%, 50% 100%, 0% 48%);
}

.process-card:nth-child(3) .process-card-inner::after {
    clip-path: polygon(0% 0%, 100% 0%, 100% 48%, 42% 100%, 0% 48%);
}

.process-card:nth-child(4) .process-card-inner::after {
    clip-path: polygon(0% 0%, 100% 0%, 100% 48%, 55% 100%, 0% 48%);
}


/* ==========================
   SERVICES SECTION WRAPPER
   ========================== */

.services-section {
    padding-block: 80px;
    background: url('../img/raw/pattern-dark.png');
    background: image-set(
        url('../img/webp/pattern-dark.webp') type('image/webp'),
        url('../img/raw/pattern-dark.png') type('image/png')
    );
}

/* horizontal layout handled by global page-container */
.services-section .page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding-inline: 24px;
}

/* optional: just spacing tweak */
.services-section .section-header {
    margin-bottom: 40px;
}

/* ==========================
   CARDS LAYOUT
   ========================== */

.services-cards {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* each "row" of cards */
.double-row {
    display: flex;
    gap: 32px;
    justify-content: center;
    align-items: stretch;
    /* equal height within the row */
}

/* each card – keep your look, just coded cleanly */
.services-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    /* stretch to same height within row */
    padding: 24px;
    /* 24px from border */
    border-radius: 16px;
    /* you asked for this explicitly */
    background: url('../img/raw/golden-blueprint.png');
    background: image-set(
        url('../img/webp/golden-blueprint.webp') type('image/webp'),
        url('../img/raw/golden-blueprint.png') type('image/png')
    );
    background-blend-mode: luminosity;
    backdrop-filter: blur(1.5px);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.35);
}

/* image sits inside card with its own radius */
.services-card .image-container {
    margin-bottom: 24px;
    border-radius: 12px;
    overflow: hidden;
}

/* image fills that inner box */
.services-card .image-container img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transform: scale(1.01);
    transition: transform 0.35s ease;
}

/* title only (no body copy) */
.services-card .title {
    font-style: normal;
    font-weight: 700;
    font-size: 20px;
    line-height: 120%;
    color: #162435;
    text-align: start;
    margin: 0;
    margin-bottom: 8px;
}

/* subtle hover – just some life on the image */
.services-card:hover .image-container img {
    transform: scale(1.05);
}

/* ==========================
   CTA BLOCK
   ========================== */

.services-cta {
    margin-top: 40px;
    text-align: center;
}

.services-cta-text {
    margin-bottom: 16px;
    font-size: 16px;
    color: #E5E7EB;
}

/* two buttons aligned nicely */
.services-cta-buttons {
    display: inline-flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

/* we reuse your .button-regular .primary-button / .secondary-button;
   this just makes them nicer in this specific context */
.services-cta .button-regular {
    min-width: 190px;
    text-align: center;
}

/* ==========================
   SERVICES – SECTION HEADER
   ========================== */

.services-section .section-header.dark-mode {
    text-align: center;
    margin-bottom: 40px;
}

.services-section .section-header.dark-mode .header-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    /* space between title and bars */
    margin-bottom: 16px;
}

/* >>> this is the important part – full-width gold bars */
.services-section .section-header.dark-mode .header-title .line {
    flex-grow: 1;
    height: 2px;
    background: #AB874B;
    /* your gold color */
}

/* keep the title + subtitle styles */
.services-section .section-header.dark-mode h1 {
    margin: 0;
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
}

.services-section .section-header.dark-mode .header-sub {
    max-width: 640px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.5;
    color: #d1d5db;
}


.process-section {
    padding-block: 80px;
    background: url('../img/raw/process-bg.png');
    background: image-set(
        url('../img/webp/process-bg.webp') type('image/webp'),
        url('../img/raw/process-bg.png') type('image/png')
    );
    background-repeat: no-repeat;
    background-size: cover;
    padding-bottom: 140px;
}

.reasons-wrapper {
    width: 100%;
    max-width: 1440px;
    margin-inline: auto;
    padding-inline: var(--container-padding, 24px);
    box-sizing: border-box;
}

.reasons-crads-wrapper {
    display: flex;
    gap: 24px;
    overflow-x: scroll;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 12px;
}

.reasons-crads-wrapper::-webkit-scrollbar-track {
    margin-top: 12px;
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    max-width: 100%;
    background-color: #AB874B;
}

.reasons-crads-wrapper::-webkit-scrollbar {
    width: 12px;
    background-color: #AB874B;
}

.reasons-crads-wrapper::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
    background-color: #162435;
}

.reason-card {
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: flex-start;
    padding: 24px 24px 24px 4px;
    height: 384px;
    border-radius: 24px;
    flex-basis: 0;
    flex-grow: 1;
    transition: flex-basis 0.4s ease-in-out, flex-grow 0.4s ease-in-out;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    min-width: 200px;
}

.reason-card:first-child {
    background-image:
        linear-gradient(180deg, rgba(2, 3, 3, 0) 49.52%, #020303 100%),
        url('../img/raw/r1.png');
    background-image:
        linear-gradient(180deg, rgba(2, 3, 3, 0) 49.52%, #020303 100%),
        image-set(
            url('../img/webp/r1.webp') type('image/webp'),
            url('../img/raw/r1.png') type('image/png')
        );
}

.reason-card:nth-child(2) {
    background-image:
        linear-gradient(180deg, rgba(2, 3, 3, 0) 49.52%, #020303 100%),
        url('../img/raw/r2.png');
    background-image:
        linear-gradient(180deg, rgba(2, 3, 3, 0) 49.52%, #020303 100%),
        image-set(
            url('../img/webp/r2.webp') type('image/webp'),
            url('../img/raw/r2.png') type('image/png')
        );
}

.reason-card:nth-child(3) {
    background-image:
        linear-gradient(180deg, rgba(2, 3, 3, 0) 49.52%, #020303 100%),
        url('../img/raw/r3.png');
    background-image:
        linear-gradient(180deg, rgba(2, 3, 3, 0) 49.52%, #020303 100%),
        image-set(
            url('../img/webp/r3.webp') type('image/webp'),
            url('../img/raw/r3.png') type('image/png')
        );
}

.reason-card:nth-child(4) {
    background-image:
        linear-gradient(180deg, rgba(2, 3, 3, 0) 49.52%, #020303 100%),
        url('../img/raw/r4.png');
    background-image:
        linear-gradient(180deg, rgba(2, 3, 3, 0) 49.52%, #020303 100%),
        image-set(
            url('../img/webp/r4.webp') type('image/webp'),
            url('../img/raw/r4.png') type('image/png')
        );
}

.reason-card:nth-child(5) {
    background-image:
        linear-gradient(180deg, rgba(2, 3, 3, 0) 49.52%, #020303 100%),
        url('../img/raw/r5.png');
    background-image:
        linear-gradient(180deg, rgba(2, 3, 3, 0) 49.52%, #020303 100%),
        image-set(
            url('../img/webp/r5.webp') type('image/webp'),
            url('../img/raw/r5.png') type('image/png')
        );
}

.reason-card:last-child {
    background-image:
        linear-gradient(180deg, rgba(2, 3, 3, 0) 49.52%, #020303 100%),
        url('../img/raw/r6.png');
    background-image:
        linear-gradient(180deg, rgba(2, 3, 3, 0) 49.52%, #020303 100%),
        image-set(
            url('../img/webp/r6.webp') type('image/webp'),
            url('../img/raw/r6.png') type('image/png')
        );
}

.reason-card:first-child:hover {
    background-image:
        linear-gradient(180deg, rgba(2, 3, 3, 0) 25.26%, #020303 76.69%),
        url('../img/raw/r1.png');
    background-image:
        linear-gradient(180deg, rgba(2, 3, 3, 0) 25.26%, #020303 76.69%),
        image-set(
            url('../img/webp/r1.webp') type('image/webp'),
            url('../img/raw/r1.png') type('image/png')
        );
}

.reason-card:nth-child(2):hover {
    background-image:
        linear-gradient(180deg, rgba(2, 3, 3, 0) 25.26%, #020303 76.69%),
        url('../img/raw/r2.png');
    background-image:
        linear-gradient(180deg, rgba(2, 3, 3, 0) 25.26%, #020303 76.69%),
        image-set(
            url('../img/webp/r2.webp') type('image/webp'),
            url('../img/raw/r2.png') type('image/png')
        );
}

.reason-card:nth-child(3):hover {
    background-image:
        linear-gradient(180deg, rgba(2, 3, 3, 0) 25.26%, #020303 76.69%),
        url('../img/raw/r3.png');
    background-image:
        linear-gradient(180deg, rgba(2, 3, 3, 0) 25.26%, #020303 76.69%),
        image-set(
            url('../img/webp/r3.webp') type('image/webp'),
            url('../img/raw/r3.png') type('image/png')
        );
}

.reason-card:nth-child(4):hover {
    background-image:
        linear-gradient(180deg, rgba(2, 3, 3, 0) 25.26%, #020303 76.69%),
        url('../img/raw/r4.png');
    background-image:
        linear-gradient(180deg, rgba(2, 3, 3, 0) 25.26%, #020303 76.69%),
        image-set(
            url('../img/webp/r4.webp') type('image/webp'),
            url('../img/raw/r4.png') type('image/png')
        );
}

.reason-card:nth-child(5):hover {
    background-image:
        linear-gradient(180deg, rgba(2, 3, 3, 0) 25.26%, #020303 76.69%),
        url('../img/raw/r5.png');
    background-image:
        linear-gradient(180deg, rgba(2, 3, 3, 0) 25.26%, #020303 76.69%),
        image-set(
            url('../img/webp/r5.webp') type('image/webp'),
            url('../img/raw/r5.png') type('image/png')
        );
}

.reason-card:last-child:hover {
    background-image:
        linear-gradient(180deg, rgba(2, 3, 3, 0) 25.26%, #020303 76.69%),
        url('../img/raw/r6.png');
    background-image:
        linear-gradient(180deg, rgba(2, 3, 3, 0) 25.26%, #020303 76.69%),
        image-set(
            url('../img/webp/r6.webp') type('image/webp'),
            url('../img/raw/r6.png') type('image/png')
        );
}

.reason-card .title {
    font-style: normal;
    font-weight: 700;
    font-size: 20px;
    line-height: 150%;
    color: #FFFFFF;
    text-align: start;
}

.reason-card .subtitle {
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 140%;
    text-align: start;
    color: #FFFFFF;
    display: none;
    margin-top: 8px;
}

.reason-card .button-regular {
    display: none;
    width: 100%;
    margin-top: 16px;
}

.reason-card .button-regular a {
    width: 100%;
    text-align: center;
}

.reason-card:hover {
    min-width: 400px;
    padding: 16px 24px 16px 16px;
}

.reason-card:hover .subtitle {
    display: block;
}

.reason-card:hover .button-regular {
    display: block;
    width: 100%;
}

.section-header {
    width: 100%;
    margin-bottom: 40px;
}

.section-header .header-title {
    gap: 40px;
    margin-bottom: 16px;
}

.section-header .header-title .line {
    width: 100%;
    height: 2px;
    background: #AB874B;
}

.section-header .header-title h1 {
    font-style: normal;
    font-weight: 700;
    font-size: 48px;
    line-height: 130%;
    max-width: 80%;
    text-align: center;
    flex-shrink: 0;
}

.section-header.light-mode .header-title h1 {
    color: #162435;
}

.section-header .header-sub {
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 120%;
    color: #717171;
    text-align: center;
    width: 50%;
    margin: 0 auto;
}

.partners .title {
    font-style: normal;
    font-weight: 700;
    font-size: 32px;
    line-height: 130%;
    color: #162435;
    margin-top: 120px;
}

.partners-inner {
    width: 100%;
    max-width: 1440px;
    margin-inline: auto;
    padding-inline: var(--container-padding, 24px);
    box-sizing: border-box;
}

@keyframes slides {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-2130px);
    }
}

@keyframes slides-rtl {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(2130px);
    }
}

.logo-banner {
    overflow: hidden;
    padding: 30px 0px;
    white-space: nowrap;
    position: relative;
    max-width: 100%;
    margin-inline: auto;
}

.logo_items {
    width: max-content;
    display: inline-block;
    animation: 15s slides infinite linear;
}

body.rtl .logo_items {
    animation-name: slides-rtl;
}

.logo-banner:hover .logo_items {
    animation-play-state: paused;
}

.logo-banner .logo_items img {
    opacity: .5;
}

.logo-banner:hover .logo_items img:hover {
    opacity: 1;
}

.logo_items img {
    margin: 0 28px;
}

/* ===========================
   RESPONSIVE
   =========================== */

@media (max-width: 1024px) {
    .why-us-section {
        padding-block: 64px;
    }

    .why-us-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }

    /* Put cards first and use image as a soft background under them */
    .why-us-media {
        order: 2;
        min-height: 260px;
    }

    .why-us-cards {
        order: 1;
    }

    .section-header-title {
        font-size: 28px;
        white-space: normal;
    }

    .process-section {
        padding-block: 64px;
        padding-bottom: 120px;
    }

    .process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 24px;
        row-gap: 108px;
        padding-bottom: 40px;
    }

    .process-card-inner::after {
        height: 64px;
    }

    .services-section {
        padding-block: 64px;
    }

    .services-section .page-container {
        padding-inline: 20px;
    }
}

@media (max-width: 900px) {
    .double-row {
        flex-direction: column;
    }

    .services-card {
        flex: 1 1 auto;
        /* full width on mobile */
    }
}

@media (max-width: 720px) {
    .process-section {
        padding-block: 48px;
        padding-bottom: 120px;
    }

    .section-header .header-title {
        gap: 12px;
    }

    .section-header .header-title .line {
        display: none;
    }

    .section-header .header-title h1 {
        font-size: 30px;
        max-width: 100%;
    }

    .section-header .header-sub {
        width: 100%;
        font-size: 15px;
        line-height: 1.7;
    }

    .reasons-crads-wrapper {
        gap: 16px;
        padding-bottom: 8px;
    }

    .reason-card {
        min-width: 240px;
        height: 320px;
        padding: 20px;
    }

    .reason-card:hover {
        min-width: 240px;
        padding: 20px;
    }

    .reason-card .subtitle,
    .reason-card .button-regular {
        display: block;
    }
}

@media (max-width: 600px) {
    .process-section {
        padding-block: 40px;
        padding-bottom: 110px;
    }

    .reason-card {
        min-width: 220px;
        height: 300px;
    }
}

@media (max-width: 720px) {
    .why-us-section {
        padding-block: 48px;
    }

    .section-header-title-row {
        gap: 12px;
    }

    .section-header-line {
        display: none;
    }

    .section-header-title {
        font-size: 24px;
    }

    .section-header-subtitle {
        font-size: 14px;
    }

    .why-us-card {
        padding: 14px;
    }

    .why-us-card-icon {
        flex-basis: 60px;
        height: 60px;
    }

    .why-us-card-icon>div::before {
        font-size: 30px;
    }

    .why-us-card-title {
        font-size: 16px;
    }

    .why-us-card-text {
        font-size: 14px;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .process-card-inner {
        padding-top: 64px;
        height: auto;
    }

    .process-card-inner::after {
        height: 58px;
    }

    .process-number {
        width: 52px;
        height: 52px;
        font-size: 20px;
    }
}

@media (max-width: 600px) {
    .services-section .page-container {
        padding-inline: 16px;
    }

    .services-card {
        padding: 20px;
    }

    .services-card .title {
        font-size: 18px;
    }

    .services-cta .button-regular {
        width: 100%;
    }

    .services-cta-buttons {
        display: flex;
        width: 100%;
    }

    .services-cta-buttons .button-regular {
        flex: 1 1 100%;
    }
}

.section-header-subtitle{
    text-align: center;
    text-align-last: unset;
}