.light-scheme header.transparent {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    background: #fff !important;
    border-bottom: 1px solid rgba(17, 24, 39, .08);
    box-shadow: 0 10px 26px rgba(17, 24, 39, .04);
    animation: matrixHeaderDrop .65s ease both;
}

/* Final unified navigation override */
body.light-scheme header.transparent {
    position: sticky !important;
    top: 0 !important;
    left: auto !important;
    right: auto !important;
    width: 100% !important;
    min-height: 85px !important;
    height: auto !important;
    background: #fff !important;
    border-bottom: 1px solid rgba(16, 19, 27, .1) !important;
    box-shadow: 0 8px 24px rgba(16, 19, 27, .05) !important;
}

body.light-scheme header.transparent #topbar {
    display: block !important;
    height: 25px !important;
    min-height: 25px !important;
    overflow: visible !important;
    background: #070b11 !important;
    border: 0 !important;
    color: #fff !important;
}

body.light-scheme header.transparent #topbar a,
body.light-scheme header.transparent #topbar .topbar-widget {
    color: #fff !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    line-height: 25px !important;
}

body.light-scheme header.transparent #topbar img {
    width: 15px !important;
    height: 15px !important;
    margin-inline-end: 7px !important;
    filter: brightness(0) invert(1) !important;
}

body.light-scheme header.transparent > .container {
    width: min(1800px, 100%) !important;
    max-width: none !important;
    height: 60px !important;
    padding-left: 4.7vw !important;
    padding-right: 4.7vw !important;
}

body.light-scheme header.transparent .de-flex,
body.light-scheme header.transparent .sm-pt10 {
    min-height: 60px !important;
    height: 60px !important;
    padding: 0 !important;
    align-items: center !important;
    gap: 28px !important;
    direction: ltr !important;
}

body.light-scheme header.transparent #logo,
body.light-scheme header.transparent .menu_side_area {
    height: 60px !important;
}

body.light-scheme header.transparent #logo img {
    width: 210px !important;
    max-height: 56px !important;
    object-fit: contain !important;
}

body.light-scheme header.transparent #mainmenu {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: clamp(22px, 3vw, 52px) !important;
    margin: 0 !important;
    padding: 0 !important;
    direction: ltr !important;
}

body.light-scheme header.transparent #mainmenu > li {
    margin: 0 !important;
    padding: 0 !important;
}

body.light-scheme header.transparent #mainmenu > li > a {
    height: 60px !important;
    display: inline-flex !important;
    align-items: center !important;
    padding: 0 !important;
    border-bottom: 3px solid transparent !important;
    color: #080d13 !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
}

body.light-scheme header.transparent #mainmenu > li > a:hover,
body.light-scheme header.transparent #mainmenu > li > a.active {
    color: #df1018 !important;
    border-bottom-color: #df1018 !important;
}

body.light-scheme header.transparent .menu_side_area .btn-main {
    min-width: 190px !important;
    height: 42px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 24px !important;
    background: #df1018 !important;
    border-radius: 4px !important;
    color: #fff !important;
    box-shadow: 0 10px 24px rgba(223, 16, 24, .18) !important;
}

body.light-scheme header.transparent #btn-extra {
    display: none !important;
}

/* Matrix unified header style */
body.light-scheme header.transparent {
    position: sticky !important;
    top: 0 !important;
    left: auto !important;
    right: auto !important;
    width: 100% !important;
    z-index: 1000 !important;
    background: #fff !important;
    border-bottom: 1px solid rgba(16, 19, 27, .1) !important;
    box-shadow: 0 8px 24px rgba(16, 19, 27, .05) !important;
}

body.light-scheme header.transparent #topbar {
    display: block !important;
    height: 25px !important;
    min-height: 25px !important;
    padding: 0 !important;
    background: #070b11 !important;
    border: 0 !important;
    color: #fff !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    line-height: 25px !important;
}

body.light-scheme header.transparent #topbar .container,
body.light-scheme header.transparent > .container {
    width: min(1800px, 100%) !important;
    max-width: none !important;
    padding-left: 4.7vw !important;
    padding-right: 4.7vw !important;
}

body.light-scheme header.transparent #topbar a,
body.light-scheme header.transparent #topbar .topbar-widget {
    color: #fff !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    line-height: 25px !important;
}

body.light-scheme header.transparent #topbar img {
    width: 15px !important;
    height: 15px !important;
    margin-inline-end: 7px !important;
    filter: brightness(0) invert(1) !important;
}

body.light-scheme header.transparent .de-flex {
    min-height: 60px !important;
    height: 60px !important;
    padding: 0 !important;
    align-items: center !important;
    gap: 28px !important;
    direction: ltr !important;
}

body.light-scheme header.transparent #logo {
    min-width: 220px !important;
}

body.light-scheme header.transparent #logo img,
body.light-scheme header.transparent #logo .logo-main,
body.light-scheme header.transparent #logo .logo-scroll,
body.light-scheme header.transparent #logo .logo-mobile {
    width: 210px !important;
    max-height: 56px !important;
    object-fit: contain !important;
}

body.light-scheme header.transparent .header-col-mid {
    flex: 1 1 auto !important;
}

body.light-scheme header.transparent #mainmenu {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: clamp(22px, 3vw, 52px) !important;
    margin: 0 !important;
    padding: 0 !important;
    direction: ltr !important;
}

body.light-scheme header.transparent #mainmenu > li {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.light-scheme header.transparent #mainmenu > li > a {
    height: 60px !important;
    display: inline-flex !important;
    align-items: center !important;
    padding: 0 !important;
    border-bottom: 3px solid transparent !important;
    color: #080d13 !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    text-transform: none !important;
    line-height: 1 !important;
    white-space: nowrap !important;
}

body.light-scheme header.transparent #mainmenu > li > a:hover,
body.light-scheme header.transparent #mainmenu > li > a.active {
    color: #df1018 !important;
    border-bottom-color: #df1018 !important;
}

body.light-scheme header.transparent .menu_side_area {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin: 0 !important;
    direction: ltr !important;
}

body.light-scheme header.transparent .menu_side_area .btn-main {
    min-width: 190px !important;
    height: 42px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 24px !important;
    background: #df1018 !important;
    border-radius: 4px !important;
    color: #fff !important;
    box-shadow: 0 10px 24px rgba(223, 16, 24, .18) !important;
}

body.light-scheme header.transparent #btn-extra {
    display: none !important;
}

@media (max-width: 1050px) {
    body.light-scheme header.transparent #topbar {
        display: none !important;
    }

    body.light-scheme header.transparent .de-flex {
        min-height: 66px !important;
        height: auto !important;
        padding: 12px 0 !important;
    }

    body.light-scheme header.transparent #logo {
        min-width: 150px !important;
    }

    body.light-scheme header.transparent #logo img,
    body.light-scheme header.transparent #logo .logo-main,
    body.light-scheme header.transparent #logo .logo-scroll,
    body.light-scheme header.transparent #logo .logo-mobile {
        width: 150px !important;
    }

    body.light-scheme header.transparent .menu_side_area .btn-main {
        display: none !important;
    }
}

.light-scheme header.transparent #topbar {
    background: #fff;
}

.light-scheme header.transparent #mainmenu ul {
    margin-top: 18px;
    border: 1px solid rgba(17, 24, 39, .10);
    border-radius: 8px;
    box-shadow: 0 18px 42px rgba(17, 24, 39, .16);
}

.light-scheme header.transparent #mainmenu li li a {
    padding: 12px 20px;
}

.light-scheme header.transparent + #content,
.light-scheme header.transparent ~ #content {
    margin-top: 0;
}

.matrix-video-hero {
    position: relative;
    display: grid;
    min-height: 650px;
    place-items: center;
    overflow: hidden;
    background: #111827;
    border-top: 1px solid rgba(185, 31, 47, .22);
}

.matrix-video-hero-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
    animation: matrixHeroZoom 18s ease-in-out infinite alternate;
}

.matrix-video-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(6, 10, 18, .42), rgba(6, 10, 18, .70)),
        linear-gradient(90deg, rgba(185, 31, 47, .22), transparent 36%, rgba(17, 24, 39, .18));
}

.matrix-video-hero-overlay::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(180deg, rgba(0,0,0,.65), transparent 82%);
    animation: matrixGridDrift 14s linear infinite;
}

.matrix-video-hero-content {
    position: relative;
    z-index: 2;
    padding-top: 0;
}

.matrix-video-hero .subtitle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    color: #fff !important;
    font-weight: 800;
    letter-spacing: 0;
    text-shadow: 0 2px 18px rgba(0, 0, 0, .35);
}

.matrix-video-hero .subtitle::before {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #b91f2f;
    box-shadow: 0 0 0 8px rgba(185, 31, 47, .20);
}

.matrix-video-hero h1 {
    display: inline-block;
    margin: 0 auto 20px;
    padding: 22px 42px 28px;
    color: #fff !important;
    font-size: clamp(46px, 5.5vw, 82px);
    font-weight: 900;
    line-height: 1.12;
    letter-spacing: 0;
    text-shadow: 0 8px 12px rgba(0, 0, 0, .62);
    background: rgba(0, 0, 0, .22);
    border: 1px solid rgba(255, 255, 255, .92);
    border-right: 0;
    border-left: 7px solid #b91f2f;
    box-shadow: 0 18px 42px rgba(0, 0, 0, .24);
    animation: matrixHeroTitle .85s cubic-bezier(.2,.8,.2,1) .15s both;
}

.matrix-video-hero p {
    max-width: 760px;
    margin: 0 auto 28px;
    color: rgba(255, 255, 255, .88);
    font-size: 20px;
    font-weight: 600;
    line-height: 1.9;
    animation: matrixFadeRise .85s cubic-bezier(.2,.8,.2,1) .28s both;
}

.matrix-video-hero .btn-main {
    animation: matrixFadeRise .85s cubic-bezier(.2,.8,.2,1) .42s both;
}

.matrix-home2-trial header.transparent {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1000;
    background: transparent !important;
    border-bottom: 0;
    box-shadow: none;
}

.matrix-home2-trial header.transparent #topbar {
    display: block;
    background: transparent;
    border-bottom: 0;
    backdrop-filter: none;
}

.matrix-home2-trial header.transparent #topbar .container {
    max-width: 1720px;
    padding: 0 22px;
    background:
        linear-gradient(135deg, rgba(17, 24, 39, .9), rgba(30, 38, 52, .78));
    border: 1px solid rgba(255, 255, 255, .13);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    border-radius: 20px 20px 0 0;
    box-shadow: 0 18px 42px rgba(0, 0, 0, .2);
    backdrop-filter: blur(20px);
}

.matrix-home2-trial header.transparent #topbar .d-flex.justify-content-between {
    min-height: 38px;
    align-items: center;
    gap: 18px;
}

.matrix-home2-trial header.transparent #topbar .d-flex {
    align-items: center;
    gap: 18px;
}

.matrix-home2-trial header.transparent #topbar .topbar-widget {
    display: flex;
    align-items: center;
}

.matrix-home2-trial header.transparent #topbar .topbar-widget a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: rgba(255, 255, 255, .86) !important;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}

.matrix-home2-trial header.transparent #topbar img {
    width: 17px;
    height: 17px;
    margin: 0;
    filter: brightness(0) invert(1);
    opacity: .92;
}

.matrix-home2-trial header.transparent #topbar .topbar-icon {
    filter: none;
    opacity: 1;
}

.matrix-home2-trial header.transparent > .container {
    max-width: 1720px;
    margin-top: 0;
}

.matrix-home2-trial header.transparent .de-flex {
    min-height: 78px;
    padding: 0 22px 0 28px;
    background:
        linear-gradient(135deg, rgba(17, 24, 39, .88), rgba(30, 38, 52, .72));
    border: 1px solid rgba(255, 255, 255, .13);
    border-top: 0;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 26px 54px rgba(0, 0, 0, .28);
    backdrop-filter: blur(20px);
}

.matrix-home2-trial header.transparent .de-flex-col:first-child,
.matrix-home2-trial header.transparent .de-flex-col:last-child {
    flex: 0 0 260px;
}

.matrix-home2-trial header.transparent .de-flex-col:first-child {
    display: flex;
    justify-content: flex-start;
}

.matrix-home2-trial header.transparent .de-flex-col:last-child {
    display: flex;
    justify-content: flex-end;
}

.matrix-home2-trial header.transparent .header-col-mid {
    flex: 1;
    justify-content: center;
}

.matrix-home2-trial header.transparent #logo img {
    max-height: 58px;
}

.matrix-home2-trial header.transparent #logo a {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    background: rgba(255, 255, 255, .92);
    border-radius: 14px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .16);
}

.matrix-home2-trial header.transparent #mainmenu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.matrix-home2-trial header.transparent #mainmenu > li > a {
    color: rgba(255, 255, 255, .88) !important;
    font-weight: 800;
    padding: 12px 14px;
    border-radius: 12px;
    transition: color .22s ease, background .22s ease;
}

.matrix-home2-trial header.transparent #mainmenu > li > a.active,
.matrix-home2-trial header.transparent #mainmenu > li > a:hover {
    color: #fff !important;
    background: rgba(237, 29, 36, .88);
    box-shadow: 0 12px 24px rgba(237, 29, 36, .22);
}

.matrix-home2-trial header.transparent #mainmenu > li.has-child::after,
.matrix-home2-trial header.transparent #mainmenu > li.menu-item-has-children::after,
.matrix-home2-trial header.transparent #mainmenu > li > a::after {
    color: rgba(255, 255, 255, .78) !important;
}

.matrix-home2-trial header.transparent .btn-main {
    min-height: 44px;
    padding: 12px 22px;
    border-radius: 10px;
    box-shadow: 0 14px 28px rgba(237, 29, 36, .3);
}

.matrix-home2-trial header.transparent #btn-extra {
    display: none;
}

.matrix-home2-hero {
    position: relative;
    min-height: 820px;
    overflow: hidden;
    background: #101725;
    border-bottom: 4px solid #ed1d24;
}

.matrix-home2-hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
    animation: matrixHeroZoom 18s ease-in-out infinite alternate;
}

.matrix-home2-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(6, 10, 18, .56), rgba(6, 10, 18, .78)),
        linear-gradient(90deg, rgba(237, 29, 36, .22), transparent 36%, rgba(21, 25, 35, .24));
}

.matrix-home2-hero-overlay::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
    background-size: 76px 76px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, .72), transparent 88%);
    animation: matrixGridDrift 15s linear infinite;
}

.matrix-home2-hero .container {
    padding-top: 188px;
    padding-bottom: 56px;
}

.matrix-home2-hero .subtitle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff !important;
    font-weight: 900;
    letter-spacing: 0;
    text-shadow: 0 4px 18px rgba(0, 0, 0, .45);
}

.matrix-home2-hero .subtitle::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ed1d24;
    box-shadow: 0 0 0 8px rgba(237, 29, 36, .2);
}

.matrix-home2-hero h1 {
    color: #fff !important;
    font-size: clamp(48px, 6vw, 86px);
    font-weight: 900;
    line-height: 1.12;
    letter-spacing: 0;
    text-shadow: 0 12px 30px rgba(0, 0, 0, .5);
}

.matrix-home2-hero p {
    color: rgba(255, 255, 255, .9);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.9;
}

.matrix-home2-hero-features {
    margin-top: 58px;
}

.matrix-home2-feature {
    display: block;
    min-height: 160px;
    padding: 24px 12px;
    text-align: center;
    color: #fff;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 16px;
    box-shadow: 0 18px 38px rgba(0, 0, 0, .16);
    backdrop-filter: blur(10px);
    transition: transform .24s ease, background .24s ease, border-color .24s ease;
}

.matrix-home2-feature:hover {
    color: #fff;
    transform: translateY(-7px);
    background: rgba(255, 255, 255, .14);
    border-color: rgba(237, 29, 36, .45);
}

.matrix-home2-feature img {
    filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .28));
}

.matrix-home2-feature h4 {
    margin: 0;
    color: #fff !important;
    font-size: 17px;
    font-weight: 900;
    text-shadow: 0 6px 18px rgba(0, 0, 0, .45);
}

.matrix-animate {
    opacity: 0;
    transform: translateY(34px);
    transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1);
    transition-delay: var(--matrix-delay, 0ms);
    will-change: opacity, transform;
}

.matrix-animate.matrix-in-view {
    opacity: 1;
    transform: translateY(0);
}

.matrix-animate-left {
    transform: translateX(42px);
}

.matrix-animate-right {
    transform: translateX(-42px);
}

.matrix-animate-left.matrix-in-view,
.matrix-animate-right.matrix-in-view {
    transform: translateX(0);
}

.home-stat-card,
.home-service-item,
.matrix-brand-item,
.matrix-logo-tile,
.matrix-manager-card {
    will-change: transform;
}

.home-stat-card:hover,
.home-service-item:hover,
.matrix-brand-item:hover,
.matrix-logo-tile:hover {
    transform: translateY(-8px) scale(1.015);
}

.home-service-icon i,
.home-stat-card i {
    transition: transform .35s ease, filter .35s ease;
}

.home-service-item:hover .home-service-icon i,
.home-stat-card:hover i {
    transform: scale(1.08) rotate(-3deg);
}

.matrix-logo-tile {
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.matrix-logo-tile:hover {
    border-color: rgba(185, 31, 47, .26);
    box-shadow: 0 18px 38px rgba(17, 24, 39, .12);
}

@keyframes matrixHeaderDrop {
    from {
        opacity: 0;
        transform: translateY(-18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes matrixHeroZoom {
    from {
        transform: scale(1.02);
    }
    to {
        transform: scale(1.08);
    }
}

@keyframes matrixGridDrift {
    from {
        background-position: 0 0, 0 0;
    }
    to {
        background-position: 72px 72px, 72px 72px;
    }
}

@keyframes matrixHeroTitle {
    from {
        opacity: 0;
        transform: translateY(28px) scale(.96);
        filter: blur(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes matrixFadeRise {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }

    .matrix-animate {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 992px) {
    #menu-btn {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 42px !important;
        height: 42px !important;
        align-items: center !important;
        justify-content: center !important;
        color: #151d2a !important;
        background: #fff !important;
        border: 1px solid rgba(21, 29, 42, .14) !important;
        border-radius: 6px !important;
        cursor: pointer !important;
        z-index: 100002 !important;
    }

    #menu-btn::before {
        content: "\f0c9" !important;
        font-family: FontAwesome !important;
        color: #151d2a !important;
        font-size: 20px !important;
    }

    #menu-btn.menu-open::before,
    body.menu-open #menu-btn::before {
        content: "\f00d" !important;
        color: #b91f2f !important;
    }

    body.menu-open {
        overflow: hidden !important;
        position: static !important;
        width: auto !important;
    }

    body.menu-open header,
    body.menu-open header.transparent,
    body.menu-open header.header-mobile {
        position: relative !important;
        z-index: 100010 !important;
    }

    .mobile-menu-overlay {
        display: none;
        position: fixed;
        inset: 0;
        z-index: 1000;
        background: rgba(17, 24, 39, .50);
        backdrop-filter: blur(3px);
    }

    body.menu-open .mobile-menu-overlay {
        display: block !important;
    }

    body > #mainmenu,
    header #mainmenu,
    header.header-mobile #mainmenu,
    header.transparent #mainmenu,
    .header-col-mid #mainmenu {
        display: block !important;
        position: fixed !important;
        top: 0 !important;
        right: -86vw !important;
        left: auto !important;
        width: min(84vw, 330px) !important;
        height: 100vh !important;
        height: 100dvh !important;
        padding: 76px 0 24px !important;
        margin: 0 !important;
        background: #fff !important;
        border: 0 !important;
        box-shadow: -18px 0 42px rgba(17, 24, 39, .20) !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        visibility: hidden !important;
        opacity: 0 !important;
        z-index: 100020 !important;
        transition: right .32s ease, opacity .25s ease, visibility .25s ease !important;
    }

    body > #mainmenu.menu-open,
    header #mainmenu.menu-open,
    body.menu-open header #mainmenu {
        right: 0 !important;
        visibility: visible !important;
        opacity: 1 !important;
        transform: translateX(0) !important;
    }

    body > #mainmenu::before,
    header #mainmenu::before {
        content: "القائمة";
        position: absolute;
        top: 0;
        right: 0;
        left: 0;
        height: 58px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        font-weight: 800;
        background: #b91f2f;
    }

    body > #mainmenu::after,
    header #mainmenu::after {
        content: "\f00d";
        font-family: FontAwesome;
        position: absolute;
        top: 11px;
        left: 14px;
        width: 36px;
        height: 36px;
        display: grid;
        place-items: center;
        color: #b91f2f;
        background: #fff;
        border-radius: 6px;
        pointer-events: none;
    }

    body > #mainmenu > li,
    body > #mainmenu li,
    header #mainmenu > li,
    header #mainmenu li {
        display: block !important;
        float: none !important;
        width: 100% !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        border-bottom: 1px solid #eef0f3 !important;
    }

    body > #mainmenu > li > a,
    body > #mainmenu li a.menu-item,
    header #mainmenu > li > a,
    header #mainmenu li a.menu-item {
        display: flex !important;
        min-height: 52px !important;
        align-items: center !important;
        justify-content: flex-end !important;
        padding: 0 22px !important;
        color: #151d2a !important;
        font-size: 16px !important;
        font-weight: 800 !important;
        text-align: right !important;
        background: #fff !important;
    }

    body > #mainmenu > li > a:hover,
    header #mainmenu > li > a:hover {
        color: #b91f2f !important;
        background: #fff5f5 !important;
    }

    body > #mainmenu li.has-child > a::before,
    header #mainmenu li.has-child > a::before {
        content: "\f107";
        font-family: FontAwesome;
        margin-left: 10px;
        color: #b91f2f;
        transition: transform .2s ease;
    }

    body > #mainmenu li.has-child.menu-open > a::before,
    header #mainmenu li.has-child.menu-open > a::before {
        transform: rotate(180deg);
    }

    body > #mainmenu li ul,
    header #mainmenu li ul {
        display: none !important;
        position: static !important;
        width: 100% !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        background: #f8fafc !important;
        border: 0 !important;
        visibility: visible !important;
        opacity: 1 !important;
        box-shadow: none !important;
    }

    body > #mainmenu li.menu-open > ul,
    header #mainmenu li.menu-open > ul {
        display: block !important;
    }

    body > #mainmenu li ul li a.menu-item,
    header #mainmenu li ul li a.menu-item {
        min-height: 46px !important;
        padding: 0 34px 0 18px !important;
        color: #4b5563 !important;
        font-size: 14px !important;
        font-weight: 700 !important;
        background: #f8fafc !important;
    }

    body > #mainmenu li ul li a.menu-item:hover,
    header #mainmenu li ul li a.menu-item:hover {
        color: #b91f2f !important;
        background: #fff !important;
    }
}

/* Final mobile header position */
@media (max-width: 992px) {
    html,
    body {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    .light-scheme header.transparent,
    header.transparent,
    header.header-mobile {
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        min-height: 72px !important;
        margin: 0 !important;
        padding: 0 !important;
        background: #fff !important;
        border-top: 0 !important;
        border-bottom: 1px solid rgba(17, 24, 39, .08) !important;
        box-shadow: 0 8px 20px rgba(17, 24, 39, .05) !important;
        animation: none !important;
    }

    header.transparent #topbar,
    header.header-mobile #topbar {
        display: none !important;
    }

    header.transparent > .container,
    header.header-mobile > .container {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    header.transparent .de-flex,
    header.header-mobile .de-flex {
        min-height: 72px !important;
        height: 72px !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        align-items: center !important;
    }

    header.transparent .sm-pt10,
    header.header-mobile .sm-pt10 {
        padding-top: 0 !important;
    }

    header.transparent #logo,
    header.header-mobile #logo {
        display: flex !important;
        align-items: center !important;
        height: 72px !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    header.transparent #logo img,
    header.header-mobile #logo img {
        max-height: 44px !important;
        width: auto !important;
    }
}

.home-stats-panel {
    position: relative;
    z-index: 8;
    margin-top: 0;
    padding: 34px 0 44px;
    background:
        linear-gradient(180deg, #fff 0%, #fafafa 100%);
    border-bottom: 1px solid rgba(26, 35, 49, .08);
}

.home-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    max-width: 1180px;
    margin: 0 auto;
}

.home-stats-grid > [class*="col-"] {
    width: 100%;
    max-width: 100%;
    padding: 0;
    flex: none;
}

.home-stat-card {
    position: relative;
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 22px;
    row-gap: 6px;
    align-items: center;
    height: 164px;
    padding: 24px 26px;
    overflow: hidden;
    text-align: right;
    background: #fff;
    border: 1px solid rgba(185, 31, 47, .18);
    border-radius: 8px;
    box-shadow: 0 18px 38px rgba(21, 29, 42, .10);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.home-stat-card::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: #b91f2f;
}

.home-stat-card::after {
    content: "";
    position: absolute;
    inset: 14px;
    border: 1px solid rgba(185, 31, 47, .08);
    border-radius: 6px;
    pointer-events: none;
}

.home-stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(185, 31, 47, .38);
    box-shadow: 0 24px 52px rgba(21, 29, 42, .14);
}

.home-stat-card i {
    display: grid;
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 72px;
    height: 72px;
    margin-bottom: 0;
    place-items: center;
    color: #b91f2f;
    font-size: 38px;
    line-height: 1;
    border: 1px solid rgba(185, 31, 47, .22);
    border-radius: 8px;
    background: rgba(185, 31, 47, .06);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7);
}

.home-stat-card strong {
    display: block;
    grid-column: 2;
    grid-row: 1;
    margin-bottom: 7px;
    color: #b91f2f;
    font-size: 42px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0;
}

.home-stat-card span {
    display: block;
    grid-column: 2;
    grid-row: 2;
    max-width: 100%;
    margin: 0;
    color: #222;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.55;
    text-wrap: balance;
}

.home-services-showcase {
    position: relative;
    padding: 64px 0 58px;
    overflow: hidden;
    background:
        radial-gradient(circle at 16% 0%, rgba(185, 31, 47, .06) 0 6%, transparent 7%),
        linear-gradient(135deg, transparent 0 19%, rgba(185, 31, 47, .05) 19.2% 19.7%, transparent 20%),
        linear-gradient(45deg, transparent 0 34%, rgba(26, 35, 49, .04) 34.2% 34.7%, transparent 35%),
        #fff;
    border-top: 1px solid rgba(28, 36, 48, .07);
    border-bottom: 1px solid rgba(28, 36, 48, .07);
}

.home-services-showcase::before,
.home-services-showcase::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    height: 1px;
    background:
        linear-gradient(90deg, transparent 0 13%, rgba(185, 31, 47, .14) 13% 36%, transparent 36% 51%, rgba(26, 35, 49, .10) 51% 100%);
    pointer-events: none;
}

.home-services-showcase::before {
    top: 34px;
}

.home-services-showcase::after {
    bottom: 46px;
}

.home-services-showcase + section {
    display: none;
}

.home-services-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 34px;
}

.home-services-title span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #b91f2f;
    box-shadow: 0 0 0 7px rgba(185, 31, 47, .12);
}

.home-services-title h2 {
    margin: 0;
    color: #101827;
    font-size: 34px;
    font-weight: 800;
    letter-spacing: 0;
}

.matrix-section-title {
    margin-bottom: 34px !important;
}

.matrix-section-title .col-lg-7 {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
}

.matrix-section-title .subtitle {
    display: inline-flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 0;
    color: #101827 !important;
    font-size: 34px;
    font-weight: 800;
    line-height: 1.2;
}

.matrix-section-title .subtitle::after {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #b91f2f;
    box-shadow: 0 0 0 7px rgba(185, 31, 47, .12);
}

.matrix-section-title h2 {
    margin-top: 14px;
    color: inherit;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.5;
}

.home-services-row {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: stretch;
    gap: 18px;
}

.home-service-item {
    position: relative;
    display: flex;
    min-height: 182px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 18px 14px;
    color: #4f5968;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    border: 1px solid transparent;
    transition: transform .22s ease, color .22s ease, border-color .22s ease, box-shadow .22s ease, background .22s ease;
}

.home-service-item::after {
    content: "";
    position: absolute;
    inset-inline: 18px;
    bottom: 0;
    height: 3px;
    border-radius: 99px;
    background: linear-gradient(90deg, transparent, rgba(185, 31, 47, .82), transparent);
    opacity: 0;
    transform: scaleX(.6);
    transition: opacity .22s ease, transform .22s ease;
}

.home-service-item:hover {
    transform: translateY(-6px);
    color: #1f2935;
    background: rgba(255, 255, 255, .88);
    border-color: rgba(185, 31, 47, .18);
    box-shadow: 0 18px 38px rgba(31, 41, 53, .09);
}

.home-service-item:hover::after {
    opacity: 1;
    transform: scaleX(1);
}

.home-service-icon {
    display: grid;
    width: 82px;
    height: 82px;
    place-items: center;
    color: #b91f2f;
    font-size: 56px;
    line-height: 1;
}

.home-service-item strong {
    display: block;
    max-width: 170px;
    min-height: 54px;
    color: #4b5563;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.55;
    letter-spacing: 0;
}

.home-services-more {
    margin-top: 28px;
    text-align: center;
}

.home-services-more a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 22px;
    color: #b91f2f;
    font-weight: 800;
    text-decoration: none;
    border: 1px solid rgba(185, 31, 47, .24);
    border-radius: 4px;
    background: rgba(255, 255, 255, .72);
}

.home-services-more a:hover {
    color: #fff;
    background: #b91f2f;
}

.matrix-brand-choice {
    padding: 78px 0 96px;
    background: #f6f7f9;
}

.matrix-brand-choice .matrix-section-title {
    margin-bottom: 22px !important;
}

.matrix-brand-item {
    display: flex;
    min-height: 210px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 22px;
    color: #151d2a;
    text-align: center;
    text-decoration: none;
    background: #fff;
    border: 1px solid rgba(21, 29, 42, .06);
    border-radius: 6px;
    box-shadow: 0 12px 28px rgba(21, 29, 42, .06);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.matrix-brand-item:hover {
    transform: translateY(-5px);
    border-color: rgba(185, 31, 47, .22);
    box-shadow: 0 18px 42px rgba(21, 29, 42, .10);
}

.matrix-brand-item img {
    width: 100%;
    max-width: 190px;
    height: 120px;
    object-fit: contain;
}

.matrix-brand-item h4 {
    margin: 0;
    color: #151d2a;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.45;
}

.matrix-company-projects .matrix-project-item {
    justify-content: flex-start;
    min-height: 310px;
    padding: 0 0 22px;
    overflow: hidden;
}

.matrix-company-projects .matrix-project-item img {
    max-width: none;
    width: 100%;
    height: 190px;
    object-fit: cover;
    background: #eef1f5;
}

.matrix-company-projects .matrix-project-item h4,
.matrix-company-projects .matrix-project-item p {
    padding: 0 22px;
}

.matrix-company-projects .matrix-project-item h4 {
    font-size: 18px;
}

.matrix-company-projects .matrix-project-item p {
    margin: -4px 0 0;
    color: #5b6472;
    font-size: 14px;
    line-height: 1.8;
}

.matrix-projects-more {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    margin-top: 18px;
    padding: 0 26px;
    color: #b91f2f;
    font-weight: 800;
    text-decoration: none;
    background: #fff;
    border: 1px solid rgba(185, 31, 47, .24);
    border-radius: 5px;
}

.matrix-projects-more:hover {
    color: #fff;
    background: #b91f2f;
}

.matrix-manager-word {
    padding: 0 0 76px;
    background: linear-gradient(180deg, #f6f7f9 0%, #fff 100%);
}

.matrix-manager-card {
    position: relative;
    overflow: hidden;
    padding: 56px;
    background:
        linear-gradient(90deg, rgba(2, 12, 22, .90), rgba(2, 12, 22, .72)),
        url("../images/background/4.webp") center/cover;
    border-radius: 8px;
    box-shadow: 0 22px 54px rgba(21, 29, 42, .18);
}

.matrix-manager-card::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    border-bottom: 42px solid #b91f2f;
    border-left: 42px solid transparent;
}

.matrix-manager-card .subtitle {
    display: inline-block;
    padding: 8px 18px;
    color: #fff !important;
    background: rgba(185, 31, 47, .18);
    border: 1px solid rgba(185, 31, 47, .50);
    border-radius: 99px;
}

.matrix-manager-card h2 {
    color: #fff;
    font-weight: 900;
}

.matrix-manager-copy {
    position: relative;
    z-index: 1;
    padding: 34px;
    background: rgba(0, 0, 0, .62);
    border-right: 4px solid #b91f2f;
    border-radius: 8px;
    backdrop-filter: blur(8px);
}

.matrix-manager-copy p {
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    line-height: 2;
}

@media (max-width: 991px) {
    .matrix-video-hero {
        min-height: 620px;
    }

    .matrix-video-hero-content {
        padding-top: 80px;
    }

    .matrix-video-hero p {
        font-size: 17px;
    }

    .home-stats-grid {
        grid-template-columns: 1fr;
    }

    .home-stats-panel {
        margin-top: 0;
        padding-top: 18px;
    }

    .home-stat-card {
        grid-template-columns: 62px 1fr;
        height: 132px;
    }

    .home-stat-card i {
        width: 62px;
        height: 62px;
        font-size: 34px;
    }

    .home-services-row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .matrix-video-hero {
        min-height: 540px;
    }

    .matrix-video-hero h1 {
        font-size: 38px;
        padding: 18px 22px 22px;
        border-left-width: 5px;
    }

    .matrix-video-hero p {
        font-size: 15px;
    }

    .home-stat-card {
        grid-template-columns: 54px 1fr;
        height: 122px;
        padding: 22px 18px;
    }

    .home-stat-card i {
        width: 54px;
        height: 54px;
        font-size: 30px;
    }

    .home-stat-card strong {
        font-size: 34px;
    }

    .home-stat-card span {
        font-size: 15px;
    }

    .home-services-showcase {
        padding: 44px 0;
    }

    .home-services-title {
        justify-content: center;
        margin-bottom: 20px;
    }

    .home-services-title h2,
    .matrix-section-title .subtitle {
        font-size: 28px;
    }

    .matrix-section-title h2 {
        font-size: 20px;
    }

    .home-services-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .home-service-item {
        min-height: 150px;
        gap: 14px;
    }

    .home-service-icon {
        width: 62px;
        height: 62px;
        font-size: 42px;
    }

    .home-service-item strong {
        max-width: 140px;
        font-size: 15px;
        line-height: 1.45;
    }
}

/* =========================================================
   Nationwide coverage network diagram
   ========================================================= */

.matrix-coverage {
    position: relative;
    overflow: hidden;
    padding: 92px 0;
    background:
        radial-gradient(circle at 85% 12%, rgba(185, 31, 47, .14), transparent 42%),
        radial-gradient(circle at 8% 92%, rgba(201, 154, 72, .10), transparent 38%),
        linear-gradient(160deg, #0a0e1a 0%, #121a2c 55%, #0c1120 100%);
    color: #fff;
}

.matrix-coverage::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: radial-gradient(circle at 50% 45%, rgba(0, 0, 0, .9), transparent 72%);
}

.matrix-coverage .corporate-section-head h2,
.matrix-coverage .corporate-section-head .subtitle {
    color: #fff;
}

.matrix-coverage .corporate-section-head p {
    color: rgba(255, 255, 255, .68);
}

.matrix-ksa-map {
    position: relative;
    width: min(100%, 760px);
    aspect-ratio: 800 / 670;
    margin: 10px auto 40px;
}

.matrix-network-lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.matrix-ksa-outline {
    fill: rgba(185, 31, 47, .08);
    stroke: rgba(201, 154, 72, .65);
    stroke-width: 2;
    stroke-linejoin: round;
}

.matrix-ksa-dot {
    fill: rgba(226, 233, 245, .58);
    opacity: 0;
    transform-box: fill-box;
    transform-origin: center;
    transform: scale(.3);
    transition: opacity .5s ease, transform .5s var(--matrix-ease, cubic-bezier(.2, .8, .2, 1)), fill .3s ease;
}

.matrix-ksa-map.is-in .matrix-ksa-dot {
    opacity: 1;
    transform: scale(1);
    transition-delay: var(--dd, 0s);
}

.matrix-network-lines line {
    stroke: rgba(201, 154, 72, .6);
    stroke-width: 1.6;
    stroke-dasharray: 3 7;
    animation: matrixDashFlow 3.4s linear infinite;
}

.matrix-network-hub {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 128px;
    height: 128px;
    transform: translate(-50%, -50%);
}

.matrix-network-hub-inner {
    position: relative;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 108px;
    height: 108px;
    text-align: center;
    background: linear-gradient(150deg, var(--matrix-red, #b91f2f), var(--matrix-red-dark, #7f1521));
    border: 2px solid rgba(255, 255, 255, .9);
    border-radius: 50%;
    box-shadow: 0 0 0 6px rgba(185, 31, 47, .16), 0 18px 40px rgba(0, 0, 0, .5);
}

.matrix-network-hub-inner i {
    display: block;
    margin-bottom: 2px;
    font-size: 20px;
}

.matrix-network-hub-inner strong {
    display: block;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.3;
}

.matrix-network-hub-inner span {
    display: block;
    font-size: 9px;
    font-weight: 700;
    color: rgba(255, 255, 255, .85);
}

.matrix-network-pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid rgba(185, 31, 47, .55);
    animation: matrixPulseRing 2.6s ease-out infinite;
    pointer-events: none;
}

.matrix-network-pulse.delay1 {
    animation-delay: .85s;
}

.matrix-network-pulse.delay2 {
    animation-delay: 1.7s;
}

.matrix-network-node {
    position: absolute;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transform: translate(-50%, -50%);
    opacity: 0;
    animation: matrixNodeIn .6s var(--matrix-ease, cubic-bezier(.2, .8, .2, 1)) forwards;
    animation-delay: var(--node-delay, 0s);
}

.matrix-network-node .dot {
    position: relative;
    width: 13px;
    height: 13px;
    background: var(--matrix-gold, #c99a48);
    border: 2px solid #fff;
    border-radius: 50%;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .45);
}

.matrix-network-node .dot::after {
    content: "";
    position: absolute;
    inset: -7px;
    border: 1px solid rgba(201, 154, 72, .6);
    border-radius: 50%;
    animation: matrixPulseRing 2.6s ease-out infinite;
}

.matrix-network-node .label {
    position: absolute;
    right: 50%;
    bottom: calc(100% + 14px);
    z-index: 10;
    pointer-events: none;
    padding: 5px 12px;
    white-space: nowrap;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    background: rgba(18, 23, 34, .72);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 99px;
    backdrop-filter: blur(4px);
    opacity: 0;
    transform: translateX(50%) translateY(8px);
    transition: opacity .22s ease, transform .22s ease;
}

.matrix-network-node .label small {
    display: block;
    color: rgba(255, 255, 255, .6);
    font-size: 10px;
    font-weight: 600;
}

.matrix-network-node:hover,
.matrix-network-node:focus-within {
    z-index: 8;
}

.matrix-network-node:hover .label,
.matrix-network-node:focus-within .label {
    opacity: 1;
    transform: translateX(50%) translateY(0);
}

.matrix-ksa-showcase {
    margin-top: 0;
}

.matrix-ksa-clean-map {
    width: min(100%, 700px);
    margin-bottom: 34px;
}

.matrix-ksa-clean-map .matrix-network-hub {
    display: none;
}

.matrix-ksa-clean-map .matrix-network-node {
    cursor: pointer;
}

.matrix-ksa-clean-map .matrix-ksa-outline {
    fill: rgba(255, 255, 255, .055);
    stroke: rgba(237, 29, 36, .72);
    stroke-width: 2.4;
    filter: drop-shadow(0 18px 28px rgba(0, 0, 0, .28));
}

.matrix-ksa-clean-map .matrix-network-lines::after {
    content: "";
    position: absolute;
    inset: 9% 8%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(237, 29, 36, .14), transparent 62%);
    pointer-events: none;
}

.matrix-ksa-clean-map .matrix-network-node .dot {
    width: 12px;
    height: 12px;
    background: #ed1d24;
    border-color: #fff;
    box-shadow: 0 0 0 5px rgba(237, 29, 36, .12), 0 10px 20px rgba(0, 0, 0, .34);
}

.matrix-ksa-clean-map .matrix-network-node .dot::after {
    border-color: rgba(237, 29, 36, .42);
}

.matrix-ksa-dense-map {
    width: min(100%, 720px);
}

.matrix-ksa-dense-map .matrix-network-node .dot {
    width: 8px;
    height: 8px;
    border-width: 1px;
    box-shadow: 0 0 0 3px rgba(237, 29, 36, .11), 0 8px 16px rgba(0, 0, 0, .26);
}

.matrix-ksa-dense-map .matrix-network-node .dot::after {
    inset: -4px;
    opacity: .55;
    animation-duration: 3.4s;
}

.matrix-ksa-dense-map .matrix-network-node .label {
    bottom: calc(100% + 9px);
    min-width: 104px;
    padding: 6px 10px;
    font-size: 12px;
    line-height: 1.5;
    box-shadow: 0 14px 30px rgba(0, 0, 0, .28);
}

.matrix-ksa-dense-map .matrix-network-node .label small {
    font-size: 10px;
}

.matrix-region-panel {
    width: min(100%, 980px);
    margin: 0 auto;
    padding: 26px;
    background: rgba(255, 255, 255, .055);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 12px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, .2);
    backdrop-filter: blur(8px);
}

.matrix-region-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.matrix-region-head span {
    color: #ed1d24;
    font-size: 14px;
    font-weight: 900;
}

.matrix-region-head strong {
    color: #fff;
    font-size: 18px;
    font-weight: 900;
}

.matrix-region-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.matrix-region-grid span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 12px;
    color: rgba(255, 255, 255, .88);
    font-size: 14px;
    font-weight: 800;
    text-align: center;
    background: rgba(255, 255, 255, .075);
    border: 1px solid rgba(255, 255, 255, .12);
    border-right: 3px solid #ed1d24;
    border-radius: 8px;
    transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.matrix-region-grid span:hover {
    transform: translateY(-3px);
    background: rgba(237, 29, 36, .16);
    border-color: rgba(237, 29, 36, .42);
}

.matrix-coverage-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    max-width: 820px;
    margin: 0 auto;
}

.matrix-coverage-stat {
    padding: 22px 18px;
    text-align: center;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 10px;
    backdrop-filter: blur(6px);
}

.matrix-coverage-stat strong {
    display: block;
    margin-bottom: 6px;
    background: linear-gradient(135deg, var(--matrix-gold, #c99a48), #f0d9a8);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 30px;
    font-weight: 900;
}

.matrix-coverage-stat span {
    color: rgba(255, 255, 255, .78);
    font-weight: 700;
    font-size: 14px;
}

@keyframes matrixPulseRing {
    0% {
        transform: scale(.7);
        opacity: .9;
    }
    100% {
        transform: scale(2.15);
        opacity: 0;
    }
}

@keyframes matrixDashFlow {
    to {
        stroke-dashoffset: -40;
    }
}

@keyframes matrixNodeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(.4);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .matrix-network-lines line,
    .matrix-network-pulse,
    .matrix-network-node .dot::after {
        animation: none;
    }

    .matrix-ksa-dot {
        opacity: 1;
        transform: scale(1);
        transition: none;
    }
}

@media (max-width: 767px) {
    .matrix-coverage {
        padding: 64px 0;
    }

    .matrix-ksa-map {
        width: min(100%, 420px);
    }

    .matrix-network-hub {
        width: 92px;
        height: 92px;
    }

    .matrix-network-hub-inner {
        width: 78px;
        height: 78px;
    }

    .matrix-network-hub-inner i {
        font-size: 15px;
    }

    .matrix-network-hub-inner strong {
        font-size: 11px;
    }

    .matrix-network-node .label {
        padding: 4px 9px;
        font-size: 11px;
    }

    .matrix-ksa-dense-map .matrix-network-node .dot {
        width: 6px;
        height: 6px;
        box-shadow: 0 0 0 2px rgba(237, 29, 36, .12), 0 6px 12px rgba(0, 0, 0, .22);
    }

    .matrix-ksa-dense-map .matrix-network-node .dot::after {
        inset: -3px;
    }

    .matrix-ksa-dense-map .matrix-network-node .label {
        min-width: 92px;
        font-size: 10px;
        padding: 4px 8px;
    }

    .matrix-coverage-stats {
        grid-template-columns: 1fr;
    }

    .matrix-region-panel {
        padding: 18px;
    }

    .matrix-region-head {
        display: block;
        text-align: center;
    }

    .matrix-region-head span,
    .matrix-region-head strong {
        display: block;
    }

    .matrix-region-head span {
        margin-bottom: 7px;
    }

    .matrix-region-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .matrix-region-grid span {
        min-height: 40px;
        font-size: 13px;
    }
}

/* =========================================================
   Why choose us
   ========================================================= */

.matrix-why {
    padding: 90px 0;
    background: #fff;
}

.matrix-why-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.matrix-why-card {
    position: relative;
    padding: 32px 26px;
    text-align: center;
    background: var(--matrix-soft, #f6f8fb);
    border: 1px solid var(--matrix-line, #e6eaf1);
    border-radius: 12px;
    transition: transform .28s ease, box-shadow .28s ease, background .28s ease;
}

.matrix-why-card:hover {
    transform: translateY(-6px);
    background: #fff;
    box-shadow: 0 22px 46px rgba(18, 23, 42, .1);
}

.matrix-why-icon {
    display: grid;
    width: 74px;
    height: 74px;
    margin: 0 auto 20px;
    place-items: center;
    color: #fff;
    font-size: 30px;
    background: linear-gradient(150deg, var(--matrix-red, #b91f2f), var(--matrix-red-dark, #7f1521));
    border-radius: 14px;
    box-shadow: 0 14px 28px rgba(185, 31, 47, .28);
}

.matrix-why-card h4 {
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: 800;
}

.matrix-why-card p {
    margin: 0;
    color: var(--matrix-muted, #64708a);
    font-size: 14.5px;
    line-height: 1.85;
}

@media (max-width: 991px) {
    .matrix-why-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .matrix-why-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   About page professional identity
   ========================================================= */

.matrix-about-pro {
    position: relative;
    overflow: hidden;
    padding: 100px 0 86px;
    background:
        linear-gradient(135deg, rgba(185, 31, 47, .06), transparent 34%),
        linear-gradient(180deg, #fff 0%, #f6f8fb 100%);
}

.matrix-about-pro::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(18, 23, 42, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(18, 23, 42, .045) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, .8), transparent 78%);
    pointer-events: none;
}

.matrix-about-pro .container {
    position: relative;
    z-index: 1;
}

.matrix-about-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
    gap: 34px;
    align-items: stretch;
}

.matrix-about-copy,
.matrix-about-panel,
.matrix-about-service {
    border: 1px solid rgba(18, 23, 42, .08);
    background: rgba(255, 255, 255, .88);
    box-shadow: 0 22px 58px rgba(18, 23, 42, .08);
}

.matrix-about-copy {
    padding: 44px;
    border-radius: 18px;
}

.matrix-about-copy h2 {
    margin-bottom: 18px;
    color: #151923;
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 900;
    letter-spacing: 0;
}

.matrix-about-copy p {
    margin-bottom: 16px;
    color: #4f596c;
    font-size: 16px;
    line-height: 2;
}

.matrix-about-copy .lead {
    color: #202635;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.95;
}

.matrix-about-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

.matrix-about-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 7px 14px;
    color: #8f1725;
    font-size: 13px;
    font-weight: 800;
    background: #fff4f5;
    border: 1px solid rgba(185, 31, 47, .16);
    border-radius: 999px;
}

.matrix-about-panel {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 22px;
    padding: 34px;
    color: #fff;
    background:
        linear-gradient(145deg, rgba(21, 25, 35, .94), rgba(40, 46, 60, .94)),
        url("../assets/img/sample2.jpg") center/cover;
    background-blend-mode: multiply;
    border-color: rgba(255, 255, 255, .12);
    border-radius: 18px;
}

.matrix-about-panel-top span {
    display: block;
    margin-bottom: 12px;
    color: #ed1d24;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.matrix-about-panel-top strong {
    display: block;
    max-width: 420px;
    color: #fff;
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 900;
    line-height: 1.35;
}

.matrix-about-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.matrix-about-metrics div {
    min-height: 118px;
    padding: 18px 14px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 12px;
}

.matrix-about-metrics strong {
    display: block;
    margin-bottom: 8px;
    color: #ed1d24;
    font-size: 31px;
    font-weight: 900;
    line-height: 1;
}

.matrix-about-metrics span {
    display: block;
    color: rgba(255, 255, 255, .84);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.65;
}

.matrix-about-panel-note {
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 18px;
    background: rgba(237, 29, 36, .12);
    border: 1px solid rgba(237, 29, 36, .24);
    border-radius: 14px;
}

.matrix-about-panel-note i {
    display: grid;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    place-items: center;
    color: #fff;
    background: #ed1d24;
    border-radius: 10px;
}

.matrix-about-panel-note p {
    margin: 0;
    color: rgba(255, 255, 255, .86);
    font-size: 14px;
    line-height: 1.85;
}

.matrix-about-services {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 26px;
}

.matrix-about-service {
    position: relative;
    min-height: 245px;
    padding: 30px 26px;
    border-radius: 16px;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.matrix-about-service::after {
    content: "";
    position: absolute;
    inset-inline-end: 0;
    top: 28px;
    width: 4px;
    height: 58px;
    background: #ed1d24;
    border-radius: 99px 0 0 99px;
}

.matrix-about-service:hover {
    transform: translateY(-6px);
    border-color: rgba(237, 29, 36, .2);
    box-shadow: 0 28px 58px rgba(18, 23, 42, .12);
}

.matrix-about-service i {
    display: grid;
    width: 56px;
    height: 56px;
    margin-bottom: 22px;
    place-items: center;
    color: #fff;
    font-size: 22px;
    background: linear-gradient(145deg, #ed1d24, #8f1725);
    border-radius: 13px;
    box-shadow: 0 14px 26px rgba(237, 29, 36, .22);
}

.matrix-about-service h4 {
    margin-bottom: 10px;
    color: #151923;
    font-size: 18px;
    font-weight: 900;
}

.matrix-about-service p {
    margin: 0;
    color: #64708a;
    font-size: 14.5px;
    line-height: 1.9;
}

.matrix-about-stats {
    padding: 42px 0;
    background: linear-gradient(135deg, #151923 0%, #252c3a 100%);
    border-top: 1px solid rgba(255, 255, 255, .08);
    border-bottom: 3px solid #ed1d24;
}

.matrix-about-stats .counter-box {
    height: 100%;
    padding: 24px 18px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 16px;
    box-shadow: 0 18px 38px rgba(0, 0, 0, .16);
}

.matrix-about-stats .counter-box .numb {
    color: #ed1d24;
    font-size: 42px;
    font-weight: 900;
    line-height: 1;
}

.matrix-about-stats .counter-box h5 {
    margin: 12px 0 0;
    color: rgba(255, 255, 255, .88);
    font-size: 15px;
    font-weight: 800;
}

.matrix-about-policy {
    padding: 92px 0;
    background: #fff;
}

.matrix-about-policy-head {
    max-width: 760px;
    margin: 0 auto 34px;
}

.matrix-about-policy-head h2 {
    color: #151923;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 900;
}

.matrix-about-policy-head p {
    margin: 12px auto 0;
    color: #64708a;
    font-size: 16px;
    line-height: 1.9;
}

.matrix-policy-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.matrix-policy-card {
    min-height: 150px;
    padding: 22px 18px;
    background: #f7f8fb;
    border: 1px solid #e7eaf0;
    border-radius: 14px;
    transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.matrix-policy-card:hover {
    transform: translateY(-5px);
    border-color: rgba(237, 29, 36, .22);
    box-shadow: 0 20px 44px rgba(18, 23, 42, .1);
}

.matrix-policy-card span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin-bottom: 14px;
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    background: #ed1d24;
    border-radius: 10px;
}

.matrix-policy-card p {
    margin: 0;
    color: #3c4658;
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.85;
}

@media (max-width: 991px) {
    .matrix-about-hero,
    .matrix-about-services {
        grid-template-columns: 1fr;
    }

    .matrix-about-panel {
        min-height: 460px;
    }

    .matrix-policy-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .matrix-about-pro {
        padding: 72px 0 64px;
    }

    .matrix-about-copy,
    .matrix-about-panel,
    .matrix-about-service {
        border-radius: 14px;
    }

    .matrix-about-copy,
    .matrix-about-panel {
        padding: 26px 22px;
    }

    .matrix-about-copy .lead {
        font-size: 16px;
    }

    .matrix-about-metrics {
        grid-template-columns: 1fr;
    }

    .matrix-about-panel {
        min-height: auto;
    }

    .matrix-about-stats {
        padding: 28px 0;
    }

    .matrix-policy-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   Services page professional layout
   ========================================================= */

.matrix-services-subheader {
    border-bottom: 3px solid #ed1d24;
}

.matrix-services-subheader h1 {
    color: #fff !important;
    text-shadow: 0 8px 26px rgba(0, 0, 0, .45);
}

.matrix-services-subheader .lead {
    color: rgba(255, 255, 255, .9) !important;
    font-weight: 700;
    text-shadow: 0 6px 20px rgba(0, 0, 0, .35);
}

.matrix-services-pro {
    position: relative;
    overflow: hidden;
    padding: 96px 0 84px;
    background:
        radial-gradient(circle at 18% 12%, rgba(237, 29, 36, .09), transparent 30%),
        linear-gradient(180deg, #fff 0%, #f7f8fb 100%);
}

.matrix-services-pro::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(18, 23, 42, .04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(18, 23, 42, .04) 1px, transparent 1px);
    background-size: 44px 44px;
    pointer-events: none;
}

.matrix-services-pro .container {
    position: relative;
    z-index: 1;
}

.matrix-services-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(330px, .9fr);
    gap: 26px;
    align-items: stretch;
}

.matrix-services-copy,
.matrix-services-side,
.matrix-services-pillar,
.matrix-services-directory,
.matrix-service-detail-card {
    border: 1px solid rgba(18, 23, 42, .08);
    box-shadow: 0 22px 58px rgba(18, 23, 42, .08);
}

.matrix-services-copy {
    padding: 44px;
    background: rgba(255, 255, 255, .9);
    border-radius: 18px;
}

.matrix-services-copy h2 {
    margin-bottom: 18px;
    color: #151923;
    font-size: clamp(31px, 4.2vw, 50px);
    font-weight: 900;
    line-height: 1.35;
}

.matrix-services-copy p {
    max-width: 760px;
    margin: 0;
    color: #4f596c;
    font-size: 17px;
    font-weight: 600;
    line-height: 2;
}

.matrix-services-side {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 360px;
    padding: 34px;
    color: #fff;
    background:
        linear-gradient(145deg, rgba(21, 25, 35, .88), rgba(34, 39, 52, .94)),
        url("../assets/img/sample1.jpg") center/cover;
    background-blend-mode: multiply;
    border-color: rgba(255, 255, 255, .12);
    border-radius: 18px;
}

.matrix-services-side span {
    display: block;
    margin-bottom: 12px;
    color: #ed1d24;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.matrix-services-side strong {
    display: block;
    margin-bottom: 14px;
    color: #fff;
    font-size: clamp(26px, 3.4vw, 40px);
    font-weight: 900;
    line-height: 1.35;
}

.matrix-services-side p {
    margin: 0;
    color: rgba(255, 255, 255, .84);
    font-size: 15px;
    line-height: 1.9;
}

.matrix-services-pillars {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.matrix-services-pillar {
    min-height: 220px;
    padding: 28px 24px;
    background: #fff;
    border-radius: 16px;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.matrix-services-pillar:hover {
    transform: translateY(-6px);
    border-color: rgba(237, 29, 36, .22);
    box-shadow: 0 26px 54px rgba(18, 23, 42, .12);
}

.matrix-services-pillar i {
    display: grid;
    width: 54px;
    height: 54px;
    margin-bottom: 18px;
    place-items: center;
    color: #fff;
    font-size: 22px;
    background: linear-gradient(145deg, #ed1d24, #8f1725);
    border-radius: 13px;
    box-shadow: 0 14px 26px rgba(237, 29, 36, .22);
}

.matrix-services-pillar h4 {
    margin-bottom: 10px;
    color: #151923;
    font-size: 18px;
    font-weight: 900;
}

.matrix-services-pillar p {
    margin: 0;
    color: #64708a;
    font-size: 14px;
    line-height: 1.85;
}

.matrix-services-directory {
    margin-top: 28px;
    padding: 30px;
    background: #fff;
    border-radius: 18px;
}

.matrix-services-directory-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid #e8ebf1;
}

.matrix-services-directory-head span {
    display: block;
    margin-bottom: 6px;
    color: #ed1d24;
    font-size: 13px;
    font-weight: 900;
}

.matrix-services-directory-head h3 {
    margin: 0;
    color: #151923;
    font-size: 25px;
    font-weight: 900;
}

.matrix-services-directory-head a {
    flex: 0 0 auto;
    padding: 12px 20px;
    color: #fff;
    font-size: 14px;
    font-weight: 900;
    background: #ed1d24;
    border-radius: 10px;
}

.matrix-services-quick-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.matrix-services-quick-item {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 72px;
    padding: 14px;
    color: #222838;
    background: #f7f8fb;
    border: 1px solid #e7eaf0;
    border-radius: 12px;
    transition: transform .22s ease, background .22s ease, border-color .22s ease;
}

.matrix-services-quick-item:hover {
    color: #151923;
    transform: translateY(-4px);
    background: #fff;
    border-color: rgba(237, 29, 36, .22);
}

.matrix-services-quick-item span {
    display: grid;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    place-items: center;
    color: #ed1d24;
    font-size: 22px;
    background: #fff4f5;
    border-radius: 10px;
}

.matrix-services-quick-item strong {
    color: inherit;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.55;
}

.matrix-services-empty {
    margin-top: 28px;
    padding: 30px;
    color: #fff;
    font-weight: 800;
    background: #151923;
    border-radius: 16px;
}

.matrix-services-details {
    padding: 92px 0;
    background: #fff;
}

.matrix-services-details .matrix-section-title p {
    margin-top: 10px;
    color: #64708a;
    font-size: 15px;
    line-height: 1.9;
}

.matrix-service-detail-card {
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
}

.matrix-service-detail-card .corporate-card-body {
    min-height: 210px;
}

@media (max-width: 991px) {
    .matrix-services-hero,
    .matrix-services-pillars {
        grid-template-columns: 1fr;
    }

    .matrix-services-quick-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .matrix-services-pro,
    .matrix-services-details {
        padding: 64px 0;
    }

    .matrix-services-copy,
    .matrix-services-side,
    .matrix-services-directory {
        padding: 24px 20px;
        border-radius: 14px;
    }

    .matrix-services-directory-head {
        align-items: stretch;
        flex-direction: column;
    }

    .matrix-services-directory-head a {
        text-align: center;
    }

    .matrix-services-quick-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   Single service page
   ========================================================= */

.matrix-service-single-hero {
    min-height: 430px;
    overflow: hidden;
    border-bottom: 3px solid #ed1d24;
}

.matrix-service-single-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 78% 34%, rgba(237, 29, 36, .22), transparent 28%),
        linear-gradient(90deg, rgba(8, 12, 20, .93), rgba(8, 12, 20, .62)),
        linear-gradient(135deg, rgba(237, 29, 36, .22), transparent 42%);
    z-index: 1;
}

.matrix-service-single-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image:
        linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, .72), transparent 88%);
}

.matrix-service-single-hero .center-y {
    position: relative;
    z-index: 2;
}

.matrix-service-hero-content {
    max-width: 880px;
    text-align: right;
}

.matrix-service-single-hero .wow {
    visibility: visible !important;
}

.matrix-service-hero-content .subtitle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    color: #fff !important;
    font-weight: 900;
}

.matrix-service-hero-content .subtitle::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ed1d24;
    box-shadow: 0 0 0 8px rgba(237, 29, 36, .2);
}

.matrix-service-hero-content h1 {
    max-width: 900px;
    margin-bottom: 14px;
    color: #fff !important;
    font-size: clamp(32px, 4.2vw, 52px);
    font-weight: 900;
    line-height: 1.25;
    text-shadow: 0 12px 28px rgba(0, 0, 0, .4);
}

.matrix-service-hero-content .lead {
    max-width: 780px;
    margin: 0 0 20px;
    color: rgba(255, 255, 255, .88);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.9;
}

.matrix-service-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.matrix-service-hero-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 150px));
    gap: 12px;
    margin-top: 20px;
}

.matrix-service-hero-meta div {
    min-height: 76px;
    padding: 13px 15px;
    background: rgba(255, 255, 255, .09);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 14px;
    box-shadow: 0 16px 34px rgba(0, 0, 0, .18);
    backdrop-filter: blur(10px);
}

.matrix-service-hero-meta strong,
.matrix-service-hero-meta span {
    display: block;
}

.matrix-service-hero-meta strong {
    margin-bottom: 7px;
    color: #ed1d24;
    font-size: 22px;
    font-weight: 900;
    line-height: 1;
}

.matrix-service-hero-meta span {
    color: rgba(255, 255, 255, .84);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.6;
}

.matrix-service-ghost-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 20px;
    color: #fff;
    font-weight: 900;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 10px;
    background: rgba(255, 255, 255, .08);
}

.matrix-service-ghost-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, .14);
}

.matrix-service-single {
    padding: 92px 0;
    background:
        linear-gradient(180deg, #fff 0%, #f7f8fb 100%);
}

.matrix-service-content-card,
.matrix-service-sidebar-card,
.matrix-service-help-card,
.matrix-service-not-found {
    background: #fff;
    border: 1px solid rgba(18, 23, 42, .08);
    border-radius: 18px;
    box-shadow: 0 22px 58px rgba(18, 23, 42, .08);
}

.matrix-service-content-card {
    position: relative;
    overflow: hidden;
}

.matrix-service-content-card::before {
    content: "";
    position: absolute;
    inset-inline-end: 0;
    top: 0;
    width: 5px;
    height: 180px;
    background: linear-gradient(180deg, #ed1d24, transparent);
    z-index: 2;
}

.matrix-service-main-image {
    aspect-ratio: 16 / 8;
    overflow: hidden;
    background: #111827;
}

.matrix-service-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.matrix-service-content-head,
.matrix-service-body,
.matrix-service-process,
.matrix-service-cta {
    margin: 0 34px;
}

.matrix-service-content-head {
    padding: 34px 0 22px;
    border-bottom: 1px solid #e8ebf1;
}

.matrix-service-content-head span,
.matrix-service-sidebar-card > span {
    display: inline-block;
    margin-bottom: 10px;
    color: #ed1d24;
    font-size: 13px;
    font-weight: 900;
}

.matrix-service-content-head h2 {
    margin-bottom: 12px;
    color: #151923;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 900;
}

.matrix-service-content-head p {
    margin: 0;
    color: #566175;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.9;
}

.matrix-service-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 20px;
}

.matrix-service-badges b {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 13px;
    color: #8f1725;
    font-size: 12px;
    font-weight: 900;
    background: #fff4f5;
    border: 1px solid rgba(237, 29, 36, .14);
    border-radius: 999px;
}

.matrix-service-body {
    padding: 28px 0;
    color: #3c4658;
    font-size: 16px;
    line-height: 2;
}

.matrix-service-process {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    padding: 0 0 28px;
}

.matrix-service-process div {
    position: relative;
    overflow: hidden;
    min-height: 165px;
    padding: 24px 20px;
    background: #f7f8fb;
    border: 1px solid #e7eaf0;
    border-radius: 14px;
}

.matrix-service-process div::after {
    content: "";
    position: absolute;
    inset-inline-end: -24px;
    bottom: -30px;
    width: 90px;
    height: 90px;
    background: radial-gradient(circle, rgba(237, 29, 36, .12), transparent 70%);
}

.matrix-service-process i {
    display: grid;
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    place-items: center;
    color: #fff;
    background: linear-gradient(145deg, #ed1d24, #8f1725);
    border-radius: 12px;
}

.matrix-service-process strong,
.matrix-service-process span {
    display: block;
}

.matrix-service-process strong {
    margin-bottom: 8px;
    color: #151923;
    font-size: 16px;
    font-weight: 900;
}

.matrix-service-process span {
    color: #64708a;
    font-size: 13.5px;
    line-height: 1.8;
}

.matrix-service-value-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 0 34px 28px;
}

.matrix-service-value-grid div {
    min-height: 155px;
    padding: 22px 18px;
    background: #fff;
    border: 1px solid #e7eaf0;
    border-radius: 14px;
    box-shadow: 0 14px 34px rgba(18, 23, 42, .06);
}

.matrix-service-value-grid i {
    display: inline-flex;
    margin-bottom: 14px;
    color: #ed1d24;
    font-size: 24px;
}

.matrix-service-value-grid strong,
.matrix-service-value-grid span {
    display: block;
}

.matrix-service-value-grid strong {
    margin-bottom: 8px;
    color: #151923;
    font-size: 15px;
    font-weight: 900;
}

.matrix-service-value-grid span {
    color: #64708a;
    font-size: 13.5px;
    line-height: 1.8;
}

.matrix-service-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 34px;
    padding: 24px;
    color: #fff;
    background: linear-gradient(135deg, #151923, #283142);
    border-radius: 16px;
}

.matrix-service-cta strong,
.matrix-service-cta span {
    display: block;
}

.matrix-service-cta strong {
    margin-bottom: 6px;
    color: #fff;
    font-size: 20px;
    font-weight: 900;
}

.matrix-service-cta span {
    color: rgba(255, 255, 255, .78);
    line-height: 1.8;
}

.matrix-service-sidebar {
    position: sticky;
    top: 24px;
}

.matrix-service-sidebar-card,
.matrix-service-help-card,
.matrix-service-not-found {
    padding: 28px;
}

.matrix-service-sidebar-card {
    max-height: 620px;
    overflow: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(237, 29, 36, .55) rgba(18, 23, 42, .08);
}

.matrix-service-sidebar-card h4,
.matrix-service-help-card h4 {
    margin-bottom: 18px;
    color: #151923;
    font-size: 22px;
    font-weight: 900;
}

.matrix-service-side-list {
    display: grid;
    gap: 9px;
}

.matrix-service-side-list a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 12px 14px;
    color: #3c4658;
    font-size: 14px;
    font-weight: 800;
    background: #f7f8fb;
    border: 1px solid #e7eaf0;
    border-radius: 10px;
    transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}

.matrix-service-side-list a:hover,
.matrix-service-side-list a.active {
    color: #fff;
    background: #ed1d24;
    border-color: #ed1d24;
    transform: translateX(-4px);
}

.matrix-service-help-card {
    margin-top: 18px;
    color: #151923;
    background:
        linear-gradient(135deg, rgba(237, 29, 36, .08), transparent 42%),
        #fff;
    border-color: rgba(237, 29, 36, .16);
}

.matrix-service-help-card i {
    display: grid;
    width: 54px;
    height: 54px;
    margin-bottom: 18px;
    place-items: center;
    color: #fff;
    background: #ed1d24;
    border-radius: 13px;
}

.matrix-service-help-card h4 {
    color: #151923;
}

.matrix-service-help-card p {
    color: #64708a;
    line-height: 1.9;
}

.matrix-service-help-card a {
    display: inline-flex;
    margin-top: 6px;
    color: #ed1d24;
    font-weight: 900;
}

.matrix-service-not-found {
    text-align: center;
}

@media (max-width: 991px) {
    .matrix-service-sidebar {
        position: static;
    }

    .matrix-service-process {
        grid-template-columns: 1fr;
    }

    .matrix-service-value-grid {
        grid-template-columns: 1fr;
    }

    .matrix-service-cta {
        align-items: stretch;
        flex-direction: column;
    }
}

@media (max-width: 575px) {
    .matrix-service-single {
        padding: 64px 0;
    }

    .matrix-service-content-head,
    .matrix-service-body,
    .matrix-service-process,
    .matrix-service-cta {
        margin-inline: 20px;
    }

    .matrix-service-main-image {
        aspect-ratio: 4 / 3;
    }

    .matrix-service-hero-meta {
        grid-template-columns: 1fr;
    }

    .matrix-service-value-grid {
        margin-inline: 20px;
    }
}

/* =========================================================
   Single project page
   ========================================================= */

.matrix-project-single-hero {
    min-height: 430px;
    overflow: hidden;
    border-bottom: 3px solid #ed1d24;
}

.matrix-project-single-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(circle at 76% 32%, rgba(237, 29, 36, .2), transparent 30%),
        linear-gradient(90deg, rgba(8, 12, 20, .94), rgba(8, 12, 20, .62)),
        linear-gradient(135deg, rgba(237, 29, 36, .2), transparent 44%);
}

.matrix-project-single-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image:
        linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, .72), transparent 88%);
}

.matrix-project-single-hero .center-y {
    position: relative;
    z-index: 2;
}

.matrix-project-single-hero .wow {
    visibility: visible !important;
}

.matrix-project-hero-content {
    max-width: 900px;
    text-align: right;
}

.matrix-project-hero-content .subtitle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    color: #fff !important;
    font-weight: 900;
}

.matrix-project-hero-content .subtitle::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ed1d24;
    box-shadow: 0 0 0 8px rgba(237, 29, 36, .2);
}

.matrix-project-hero-content h1 {
    margin-bottom: 14px;
    color: #fff !important;
    font-size: clamp(32px, 4.2vw, 52px);
    font-weight: 900;
    line-height: 1.25;
    text-shadow: 0 12px 28px rgba(0, 0, 0, .4);
}

.matrix-project-hero-content .lead {
    max-width: 780px;
    margin: 0 0 20px;
    color: rgba(255, 255, 255, .88);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.9;
}

.matrix-project-hero-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 160px));
    gap: 12px;
}

.matrix-project-hero-meta div {
    min-height: 76px;
    padding: 13px 15px;
    background: rgba(255, 255, 255, .09);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 14px;
    box-shadow: 0 16px 34px rgba(0, 0, 0, .18);
    backdrop-filter: blur(10px);
}

.matrix-project-hero-meta strong,
.matrix-project-hero-meta span {
    display: block;
}

.matrix-project-hero-meta strong {
    margin-bottom: 7px;
    color: #ed1d24;
    font-size: 22px;
    font-weight: 900;
    line-height: 1;
}

.matrix-project-hero-meta span {
    color: rgba(255, 255, 255, .84);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.6;
}

.matrix-project-single {
    padding: 92px 0;
    background: linear-gradient(180deg, #fff 0%, #f7f8fb 100%);
}

.matrix-project-content-card,
.matrix-project-sidebar-card,
.matrix-project-help-card,
.matrix-project-not-found {
    background: #fff;
    border: 1px solid rgba(18, 23, 42, .08);
    border-radius: 18px;
    box-shadow: 0 22px 58px rgba(18, 23, 42, .08);
}

.matrix-project-content-card {
    position: relative;
    overflow: hidden;
}

.matrix-project-content-card::before {
    content: "";
    position: absolute;
    inset-inline-end: 0;
    top: 0;
    width: 5px;
    height: 180px;
    background: linear-gradient(180deg, #ed1d24, transparent);
    z-index: 2;
}

.matrix-project-main-image {
    aspect-ratio: 16 / 8;
    overflow: hidden;
    background: #111827;
}

.matrix-project-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.matrix-project-content-head,
.matrix-project-body,
.matrix-project-process,
.matrix-project-value-grid,
.matrix-project-cta {
    margin-inline: 34px;
}

.matrix-project-content-head {
    padding: 34px 0 22px;
    border-bottom: 1px solid #e8ebf1;
}

.matrix-project-content-head span,
.matrix-project-sidebar-card > span {
    display: inline-block;
    margin-bottom: 10px;
    color: #ed1d24;
    font-size: 13px;
    font-weight: 900;
}

.matrix-project-content-head h2 {
    margin-bottom: 12px;
    color: #151923;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 900;
}

.matrix-project-content-head p {
    margin: 0;
    color: #566175;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.9;
}

.matrix-project-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 20px;
}

.matrix-project-badges b {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 13px;
    color: #8f1725;
    font-size: 12px;
    font-weight: 900;
    background: #fff4f5;
    border: 1px solid rgba(237, 29, 36, .14);
    border-radius: 999px;
}

.matrix-project-body {
    padding: 28px 0;
    color: #3c4658;
    font-size: 16px;
    line-height: 2;
}

.matrix-project-process,
.matrix-project-value-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    padding-bottom: 28px;
}

.matrix-project-process div,
.matrix-project-value-grid div {
    min-height: 165px;
    padding: 24px 20px;
    background: #f7f8fb;
    border: 1px solid #e7eaf0;
    border-radius: 14px;
}

.matrix-project-value-grid div {
    background: #fff;
    box-shadow: 0 14px 34px rgba(18, 23, 42, .06);
}

.matrix-project-process i {
    display: grid;
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    place-items: center;
    color: #fff;
    background: linear-gradient(145deg, #ed1d24, #8f1725);
    border-radius: 12px;
}

.matrix-project-value-grid i {
    display: inline-flex;
    margin-bottom: 14px;
    color: #ed1d24;
    font-size: 24px;
}

.matrix-project-process strong,
.matrix-project-process span,
.matrix-project-value-grid strong,
.matrix-project-value-grid span {
    display: block;
}

.matrix-project-process strong,
.matrix-project-value-grid strong {
    margin-bottom: 8px;
    color: #151923;
    font-size: 16px;
    font-weight: 900;
}

.matrix-project-process span,
.matrix-project-value-grid span {
    color: #64708a;
    font-size: 13.5px;
    line-height: 1.8;
}

.matrix-project-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 34px;
    padding: 24px;
    color: #fff;
    background: linear-gradient(135deg, #151923, #283142);
    border-radius: 16px;
}

.matrix-project-cta strong,
.matrix-project-cta span {
    display: block;
}

.matrix-project-cta strong {
    margin-bottom: 6px;
    color: #fff;
    font-size: 20px;
    font-weight: 900;
}

.matrix-project-cta span {
    color: rgba(255, 255, 255, .78);
    line-height: 1.8;
}

.matrix-project-sidebar {
    position: sticky;
    top: 24px;
}

.matrix-project-sidebar-card,
.matrix-project-help-card,
.matrix-project-not-found {
    padding: 28px;
}

.matrix-project-sidebar-card {
    max-height: 620px;
    overflow: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(237, 29, 36, .55) rgba(18, 23, 42, .08);
}

.matrix-project-sidebar-card h4,
.matrix-project-help-card h4 {
    margin-bottom: 18px;
    color: #151923;
    font-size: 22px;
    font-weight: 900;
}

.matrix-project-side-list {
    display: grid;
    gap: 9px;
}

.matrix-project-side-list a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 12px 14px;
    color: #3c4658;
    font-size: 14px;
    font-weight: 800;
    background: #f7f8fb;
    border: 1px solid #e7eaf0;
    border-radius: 10px;
    transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}

.matrix-project-side-list a:hover,
.matrix-project-side-list a.active {
    color: #fff;
    background: #ed1d24;
    border-color: #ed1d24;
    transform: translateX(-4px);
}

.matrix-project-help-card {
    margin-top: 18px;
    color: #151923;
    background:
        linear-gradient(135deg, rgba(237, 29, 36, .08), transparent 42%),
        #fff;
    border-color: rgba(237, 29, 36, .16);
}

.matrix-project-help-card i {
    display: grid;
    width: 54px;
    height: 54px;
    margin-bottom: 18px;
    place-items: center;
    color: #fff;
    background: #ed1d24;
    border-radius: 13px;
}

.matrix-project-help-card h4 {
    color: #151923;
}

.matrix-project-help-card p {
    color: #64708a;
    line-height: 1.9;
}

.matrix-project-help-card a {
    display: inline-flex;
    margin-top: 6px;
    color: #ed1d24;
    font-weight: 900;
}

.matrix-project-not-found {
    text-align: center;
}

@media (max-width: 991px) {
    .matrix-project-sidebar {
        position: static;
    }

    .matrix-project-process,
    .matrix-project-value-grid {
        grid-template-columns: 1fr;
    }

    .matrix-project-cta {
        align-items: stretch;
        flex-direction: column;
    }
}

@media (max-width: 575px) {
    .matrix-project-single {
        padding: 64px 0;
    }

    .matrix-project-content-head,
    .matrix-project-body,
    .matrix-project-process,
    .matrix-project-value-grid,
    .matrix-project-cta {
        margin-inline: 20px;
    }

    .matrix-project-main-image {
        aspect-ratio: 4 / 3;
    }

    .matrix-project-hero-meta {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   Floating WhatsApp button
   ========================================================= */

.matrix-whatsapp-btn {
    position: fixed;
    right: 26px;
    bottom: 26px;
    z-index: 100040;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    color: #fff;
    font-size: 30px;
    background: #25D366;
    border-radius: 50%;
    box-shadow: 0 14px 30px rgba(37, 211, 102, .45);
    transition: transform .22s ease, box-shadow .22s ease;
    animation: matrixWaBounce 2.6s ease-in-out infinite;
}

.matrix-whatsapp-btn:hover {
    color: #fff;
    transform: scale(1.08);
    box-shadow: 0 18px 38px rgba(37, 211, 102, .55);
}

@keyframes matrixWaBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-6px);
    }
}

@media (max-width: 575px) {
    .matrix-whatsapp-btn {
        right: 16px;
        bottom: 16px;
        width: 52px;
        height: 52px;
        font-size: 25px;
    }
}

/* Final compact overrides for service/project detail pages */
.matrix-service-single-hero,
.matrix-project-single-hero {
    min-height: 430px !important;
    padding: 92px 0 76px !important;
}

.matrix-service-single-hero {
    min-height: 390px !important;
    padding: 64px 0 54px !important;
}

.matrix-service-hero-content h1 {
    font-size: clamp(30px, 3.7vw, 44px) !important;
    line-height: 1.22 !important;
}

.matrix-service-hero-content .lead {
    font-size: 15px !important;
    line-height: 1.75 !important;
    margin-bottom: 14px !important;
}

.matrix-service-hero-meta {
    grid-template-columns: repeat(3, minmax(0, 124px)) !important;
    gap: 9px !important;
    margin-top: 14px !important;
}

.matrix-service-hero-meta div {
    min-height: 58px !important;
    padding: 9px 11px !important;
    border-radius: 11px !important;
}

.matrix-service-hero-meta strong {
    margin-bottom: 3px !important;
    font-size: 18px !important;
}

.matrix-service-hero-meta span {
    font-size: 11px !important;
    line-height: 1.35 !important;
}

.matrix-service-help-card,
.matrix-project-help-card {
    color: #151923 !important;
    background:
        linear-gradient(135deg, rgba(237, 29, 36, .08), transparent 42%),
        #fff !important;
    border-color: rgba(237, 29, 36, .16) !important;
}

.matrix-service-help-card h4,
.matrix-project-help-card h4 {
    color: #151923 !important;
}

.matrix-service-help-card p,
.matrix-project-help-card p {
    color: #64708a !important;
}

.matrix-service-help-card a,
.matrix-project-help-card a {
    color: #ed1d24 !important;
}

@media (max-width: 575px) {
    .matrix-service-single-hero,
    .matrix-project-single-hero {
        min-height: 360px !important;
        padding: 72px 0 58px !important;
    }

    .matrix-service-single-hero {
        padding: 58px 0 48px !important;
    }
}

/* Final projects listing redesign */
.matrix-projects-list-hero {
    min-height: 500px !important;
    padding: 105px 0 82px !important;
    overflow: hidden;
    border-bottom: 3px solid #ed1d24;
}

.matrix-projects-list-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(circle at 78% 34%, rgba(237, 29, 36, .2), transparent 30%),
        linear-gradient(90deg, rgba(8, 12, 20, .94), rgba(8, 12, 20, .62));
}

.matrix-projects-list-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image:
        linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, .72), transparent 88%);
}

.matrix-projects-list-hero .center-y {
    position: relative;
    z-index: 2;
}

.matrix-projects-list-hero .wow {
    visibility: visible !important;
}

.matrix-projects-list-hero-content {
    max-width: 980px;
    text-align: center;
    margin: 0 auto;
}

.matrix-projects-list-hero-content .subtitle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: #fff !important;
    font-weight: 900;
}

.matrix-projects-list-hero-content .subtitle::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ed1d24;
    box-shadow: 0 0 0 8px rgba(237, 29, 36, .2);
}

.matrix-projects-list-hero-content h1 {
    display: inline-block;
    margin: 0;
    padding: 28px 52px 32px;
    color: #fff !important;
    font-size: clamp(34px, 4.8vw, 58px);
    font-weight: 900;
    line-height: 1.25;
    text-shadow: 0 12px 28px rgba(0, 0, 0, .4);
    border: 1px solid rgba(255, 255, 255, .86);
    border-right: 6px solid #ed1d24;
    background: linear-gradient(135deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, .05));
    box-shadow: 0 28px 70px rgba(0, 0, 0, .28);
    backdrop-filter: blur(8px);
}

.matrix-projects-list-hero-content .lead {
    max-width: 780px;
    margin: 0 0 22px;
    color: rgba(255, 255, 255, .88);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.9;
}

.matrix-projects-list-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 150px));
    gap: 12px;
}

.matrix-projects-list-stats div {
    min-height: 82px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, .09);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 14px;
    box-shadow: 0 16px 34px rgba(0, 0, 0, .18);
    backdrop-filter: blur(10px);
}

.matrix-projects-list-stats strong,
.matrix-projects-list-stats span {
    display: block;
}

.matrix-projects-list-stats strong {
    margin-bottom: 5px;
    color: #ed1d24;
    font-size: 24px;
    font-weight: 900;
}

.matrix-projects-list-stats span {
    color: rgba(255, 255, 255, .84);
    font-size: 12px;
    font-weight: 800;
}

.matrix-projects-list-section {
    padding: 92px 0;
    background: linear-gradient(180deg, #fff 0%, #f7f8fb 100%);
}

.matrix-projects-list-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 30px;
}

.matrix-projects-list-head span {
    display: inline-block;
    margin-bottom: 8px;
    color: #ed1d24;
    font-size: 13px;
    font-weight: 900;
}

.matrix-projects-list-head h2 {
    margin: 0;
    color: #151923;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 900;
}

.matrix-projects-list-head p {
    max-width: 460px;
    margin: 0;
    color: #64708a;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.8;
}

.matrix-projects-list-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.matrix-project-list-card {
    position: relative;
    display: block;
    min-height: 430px;
    overflow: hidden;
    color: #fff;
    background: #151923;
    border-radius: 18px;
    box-shadow: 0 22px 58px rgba(18, 23, 42, .12);
    transition: transform .25s ease, box-shadow .25s ease;
}

.matrix-project-list-card:hover {
    color: #fff;
    transform: translateY(-7px);
    box-shadow: 0 30px 70px rgba(18, 23, 42, .18);
}

.matrix-project-list-media {
    position: absolute;
    inset: 0;
}

.matrix-project-list-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.02);
    transition: transform .35s ease;
}

.matrix-project-list-card:hover .matrix-project-list-media img {
    transform: scale(1.08);
}

.matrix-project-list-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, transparent 18%, rgba(8, 12, 20, .92) 100%),
        linear-gradient(135deg, rgba(237, 29, 36, .24), transparent 52%);
}

.matrix-project-list-body {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    z-index: 1;
    padding: 28px;
}

.matrix-project-list-body span {
    display: inline-flex;
    margin-bottom: 12px;
    padding: 6px 10px;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    background: rgba(237, 29, 36, .88);
    border-radius: 999px;
}

.matrix-project-list-body h4 {
    margin-bottom: 10px;
    color: #fff;
    font-size: 22px;
    font-weight: 900;
    line-height: 1.45;
}

.matrix-project-list-body p {
    margin-bottom: 18px;
    color: rgba(255, 255, 255, .78);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.8;
}

.matrix-project-list-body strong {
    display: inline-flex;
    color: #fff;
    font-size: 14px;
    font-weight: 900;
}

.matrix-projects-empty {
    grid-column: 1 / -1;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 34px;
    border: 1px dashed rgba(237, 29, 36, .28);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(12, 18, 28, .06);
}

.matrix-projects-empty h4 {
    margin: 0 0 10px;
    color: #151a22;
    font-weight: 900;
}

.matrix-projects-empty p {
    margin: 0;
    color: #667085;
}

.matrix-projects-execution {
    padding: 0 0 92px;
    background: #f7f8fb;
}

.matrix-projects-execution-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 34px;
    color: #fff;
    background: linear-gradient(135deg, #151923, #283142);
    border-radius: 18px;
    box-shadow: 0 22px 58px rgba(18, 23, 42, .12);
}

.matrix-projects-execution-inner span {
    display: inline-block;
    margin-bottom: 8px;
    color: #ed1d24;
    font-size: 13px;
    font-weight: 900;
}

.matrix-projects-execution-inner h2 {
    margin-bottom: 10px;
    color: #fff;
    font-size: clamp(26px, 3.8vw, 38px);
    font-weight: 900;
}

.matrix-projects-execution-inner p {
    max-width: 720px;
    margin: 0;
    color: rgba(255, 255, 255, .78);
    font-size: 15px;
    line-height: 1.9;
}

@media (max-width: 991px) {
    .matrix-projects-list-head,
    .matrix-projects-execution-inner {
        align-items: stretch;
        flex-direction: column;
    }

    .matrix-projects-list-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .matrix-projects-list-hero {
        padding: 72px 0 58px !important;
    }

    .matrix-projects-list-stats,
    .matrix-projects-list-grid {
        grid-template-columns: 1fr;
    }

    .matrix-project-list-card {
        min-height: 380px;
    }

    .matrix-projects-list-section {
        padding: 64px 0;
    }

    .matrix-projects-execution {
        padding-bottom: 64px;
    }
}

/* Premium project cards override */
.matrix-projects-list-grid {
    gap: 26px !important;
}

.matrix-project-list-card {
    display: flex !important;
    flex-direction: column;
    min-height: 0 !important;
    overflow: hidden;
    color: #151922 !important;
    text-decoration: none;
    background: #fff !important;
    border: 1px solid rgba(18, 24, 35, .08);
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(18, 24, 35, .08);
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.matrix-project-list-card::after {
    content: none !important;
}

.matrix-project-list-card:hover {
    color: #151922 !important;
    transform: translateY(-8px);
    border-color: rgba(237, 29, 36, .22);
    box-shadow: 0 28px 70px rgba(18, 24, 35, .14);
}

.matrix-project-list-media {
    position: relative !important;
    inset: auto !important;
    height: 255px;
    overflow: hidden;
    background: #f3f5f8;
}

.matrix-project-list-media::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(10, 15, 24, 0) 45%, rgba(10, 15, 24, .26) 100%);
    pointer-events: none;
}

.matrix-project-list-media::after {
    content: "";
    position: absolute;
    inset-inline-start: 22px;
    bottom: 0;
    z-index: 2;
    width: 64px;
    height: 4px;
    background: #ed1d24;
    border-radius: 6px 6px 0 0;
}

.matrix-project-list-media img {
    transform: scale(1.01);
    transition: transform .45s ease, filter .45s ease;
}

.matrix-project-list-card:hover .matrix-project-list-media img {
    transform: scale(1.08);
    filter: saturate(1.08) contrast(1.03);
}

/* Keep project artwork intact on detail pages in both languages. */
.matrix-project-single-hero {
    position: relative;
    display: flex;
    align-items: center;
    height: clamp(480px, 37.5vw, 768px) !important;
    min-height: 0 !important;
    padding: 72px 0 !important;
    background: #fff !important;
    isolation: isolate;
}

.matrix-project-single-hero::before {
    background: transparent !important;
}

.matrix-project-single-hero::after {
    pointer-events: none;
    z-index: 1;
    background-image: none;
}

.matrix-project-single-hero .center-y {
    z-index: 3;
}

.matrix-project-hero-visual {
    position: absolute;
    z-index: 0;
    inset: 0;
    left: 0;
    right: auto;
    width: 55%;
    height: 100%;
    display: grid;
    place-items: center;
    overflow: hidden;
    padding: 34px;
    box-sizing: border-box;
    background: #fff;
}

.matrix-project-hero-visual img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 440px;
    max-height: 420px;
    margin: auto;
    padding: 12px;
    box-sizing: border-box;
    object-fit: contain;
    object-position: center;
    background: #fff;
}

html[dir="ltr"] .matrix-project-hero-visual {
    left: auto;
    right: 0;
}

.matrix-project-hero-content {
    position: relative;
    z-index: 3;
    max-width: 49%;
    margin-left: auto;
    padding: 26px 30px;
    text-align: right;
    background: #fff;
    border: 1px solid #e1e7ef;
    border-radius: 18px;
    box-shadow: 0 18px 50px rgba(9, 24, 43, .12);
}

.matrix-project-hero-content .subtitle,
.matrix-project-hero-content h1,
.matrix-project-hero-content .lead {
    color: #0a1833 !important;
    text-shadow: none !important;
}

.matrix-project-hero-meta div {
    background: #f6f8fb;
    border-color: #dce3ec;
}

.matrix-project-hero-meta span {
    color: #3d4a5d !important;
    text-shadow: none !important;
}

html[dir="ltr"] .matrix-project-single-hero::before {
    background: linear-gradient(270deg, rgba(9, 24, 43, .45), rgba(9, 24, 43, .84) 56%, rgba(9, 24, 43, .98) 100%);
}

html[dir="ltr"] .matrix-project-hero-content {
    margin-right: auto;
    margin-left: 0;
    text-align: left;
}

@media (max-width: 1100px) and (min-width: 768px) {
    .matrix-project-hero-content,
    html[dir="ltr"] .matrix-project-hero-content {
        max-width: 49%;
    }

    .matrix-project-hero-meta {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 7px;
    }

    .matrix-project-hero-meta div {
        padding: 11px 9px;
    }
}

.matrix-project-main-image {
    display: grid;
    place-items: center;
    aspect-ratio: auto !important;
    min-height: 220px;
    max-height: 620px;
    padding: 12px;
    background: #fff;
}

.matrix-project-main-image img {
    width: 100%;
    height: auto;
    max-height: 590px;
    object-fit: contain;
}

@media (max-width: 767px) {
    .matrix-project-single-hero {
        display: flex !important;
        flex-direction: column;
        align-items: stretch;
        height: auto !important;
        min-height: 0 !important;
        padding: 0 0 26px !important;
        background: #fff !important;
    }

    .matrix-project-single-hero::before {
        background: transparent !important;
    }

    .matrix-project-hero-visual,
    html[dir="ltr"] .matrix-project-hero-visual {
        position: relative !important;
        inset: auto !important;
        flex: 0 0 auto;
        width: 100% !important;
        max-width: none !important;
        height: auto !important;
        aspect-ratio: 8 / 3 !important;
        margin: 0 0 16px !important;
        padding: 0 !important;
        transform: none !important;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .matrix-project-hero-visual img {
        width: 100% !important;
        height: 100% !important;
        max-width: 220px !important;
        max-height: 210px !important;
        margin: auto;
        object-fit: contain !important;
        object-position: center;
        background: #fff;
    }

    .matrix-project-single-hero .center-y {
        position: relative;
        width: 100%;
        transform: none !important;
    }

    .matrix-project-single-hero .center-y > .container {
        width: 100%;
        max-width: none;
        padding-right: 16px;
        padding-left: 16px;
    }

    .matrix-project-hero-content,
    html[dir="ltr"] .matrix-project-hero-content {
        width: 100% !important;
        max-width: none;
        margin: 0;
        padding: 20px 18px 22px;
        text-align: right;
        direction: rtl;
        border-radius: 14px;
    }

    html[dir="ltr"] .matrix-project-hero-content {
        text-align: left;
        direction: ltr;
    }

    .matrix-project-hero-meta {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .matrix-project-main-image {
        min-height: 150px;
        max-height: 440px;
        padding: 8px;
    }

    .matrix-project-main-image img {
        max-height: 420px;
    }
}

.matrix-project-list-body {
    position: relative !important;
    inset: auto !important;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 26px 26px 24px !important;
    background:
        linear-gradient(135deg, rgba(237, 29, 36, .05), transparent 44%),
        #fff;
}

.matrix-project-list-body span {
    align-self: flex-start;
    margin-bottom: 14px;
    padding: 6px 12px;
    color: #ed1d24 !important;
    background: rgba(237, 29, 36, .08) !important;
    border: 1px solid rgba(237, 29, 36, .14);
    border-radius: 999px;
}

.matrix-project-list-body h4 {
    min-height: 62px;
    margin-bottom: 12px;
    color: #151922 !important;
    font-size: 21px;
    line-height: 1.45;
}

.matrix-project-list-body p {
    margin-bottom: 22px;
    color: #667085 !important;
    font-size: 14px;
    line-height: 1.9;
}

.matrix-project-list-body strong {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    color: #ed1d24 !important;
    font-size: 14px;
    font-weight: 900;
}

.matrix-project-list-body strong::after {
    content: "←";
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: #ed1d24;
    border-radius: 50%;
    transition: transform .25s ease;
}

.matrix-project-list-card:hover .matrix-project-list-body strong::after {
    transform: translateX(-4px);
}

@media (max-width: 575px) {
    .matrix-project-list-media {
        height: 220px;
    }

    .matrix-project-list-body h4 {
        min-height: 0;
    }
}

/* Professional contact page */
.matrix-contact-hero {
    position: relative;
    min-height: 520px !important;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 120px 0 90px !important;
    border-bottom: 3px solid #ed1d24;
}

.matrix-contact-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(7, 11, 18, .9), rgba(7, 11, 18, .58), rgba(237, 29, 36, .18)),
        radial-gradient(circle at 18% 72%, rgba(237, 29, 36, .34), transparent 34%);
}

.matrix-contact-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image:
        linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
    background-size: 42px 42px;
    opacity: .24;
}

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

.matrix-contact-hero-box {
    max-width: 850px;
    padding: 34px 42px 40px;
    border: 1px solid rgba(255, 255, 255, .72);
    border-right: 6px solid #ed1d24;
    background: rgba(8, 12, 20, .34);
    box-shadow: 0 30px 80px rgba(0, 0, 0, .28);
    backdrop-filter: blur(8px);
}

.matrix-contact-hero-box span,
.matrix-section-kicker,
.matrix-form-head span {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #ed1d24;
    font-size: 13px;
    font-weight: 900;
}

.matrix-contact-hero-box span::before,
.matrix-section-kicker::before,
.matrix-form-head span::before {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #ed1d24;
    box-shadow: 0 0 0 7px rgba(237, 29, 36, .13);
}

.matrix-contact-hero-box h1 {
    margin: 14px 0 14px;
    color: #fff !important;
    font-size: clamp(38px, 5vw, 64px);
    font-weight: 900;
    line-height: 1.2;
    text-shadow: 0 14px 30px rgba(0, 0, 0, .36);
}

.matrix-contact-hero-box p {
    max-width: 720px;
    margin: 0;
    color: rgba(255, 255, 255, .88);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.9;
}

.matrix-contact-main {
    padding: 94px 0;
    background: linear-gradient(180deg, #fff 0%, #f6f7fa 100%);
}

.matrix-contact-layout {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 34px;
    align-items: start;
}

.matrix-contact-side,
.matrix-contact-form-card,
.matrix-contact-map-card {
    border: 1px solid rgba(18, 24, 35, .08);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 20px 55px rgba(18, 24, 35, .08);
}

.matrix-contact-side {
    padding: 36px;
}

.matrix-contact-side h2,
.matrix-form-head h2,
.matrix-contact-map-card h2 {
    margin: 12px 0 12px;
    color: #151922;
    font-size: clamp(26px, 3.2vw, 38px);
    font-weight: 900;
    line-height: 1.35;
}

.matrix-contact-side > p,
.matrix-contact-map-card p {
    margin-bottom: 28px;
    color: #667085;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.9;
}

.matrix-contact-cards {
    display: grid;
    gap: 14px;
}

.matrix-contact-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 18px;
    color: #151922;
    border: 1px solid rgba(18, 24, 35, .08);
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(237, 29, 36, .045), #fff 55%);
    text-decoration: none;
    transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}

.matrix-contact-card:hover {
    color: #151922;
    transform: translateY(-4px);
    border-color: rgba(237, 29, 36, .22);
    box-shadow: 0 18px 40px rgba(18, 24, 35, .08);
}

.matrix-contact-card > span {
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: #ed1d24;
    box-shadow: 0 14px 28px rgba(237, 29, 36, .24);
}

.matrix-contact-card img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
}

.matrix-contact-card strong,
.matrix-contact-card small {
    display: block;
}

.matrix-contact-card strong {
    margin-bottom: 5px;
    color: #151922;
    font-size: 16px;
    font-weight: 900;
}

.matrix-contact-card small {
    color: #667085;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.75;
}

.matrix-contact-form-card {
    padding: 36px;
}

.matrix-form-head {
    margin-bottom: 24px;
}

.matrix-contact-form-card label {
    display: block;
    margin-bottom: 8px;
    color: #222936;
    font-size: 14px;
    font-weight: 900;
}

.matrix-contact-form-card .form-control {
    min-height: 54px;
    padding: 13px 15px;
    color: #151922 !important;
    border: 1px solid rgba(18, 24, 35, .13) !important;
    border-radius: 14px !important;
    background: #fff !important;
    box-shadow: none !important;
    font-weight: 700;
}

.matrix-contact-form-card textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.matrix-contact-form-card .form-control:focus {
    border-color: rgba(237, 29, 36, .75) !important;
    box-shadow: 0 0 0 4px rgba(237, 29, 36, .1) !important;
}

#contact-status {
    display: none;
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: 12px;
    font-weight: 800;
}

.matrix-contact-submit {
    width: 100%;
    margin-top: 24px;
    padding: 17px 28px;
    color: #fff;
    border: 0;
    border-radius: 15px;
    background: linear-gradient(135deg, #ed1d24, #b8131a);
    box-shadow: 0 18px 38px rgba(237, 29, 36, .22);
    font-size: 16px;
    font-weight: 900;
    transition: transform .22s ease, box-shadow .22s ease;
}

.matrix-contact-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 24px 48px rgba(237, 29, 36, .3);
}

.matrix-contact-map-section {
    padding: 0 0 94px;
    background: #f6f7fa;
}

.matrix-contact-map-card {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: 30px;
    align-items: center;
    padding: 34px;
}

.matrix-contact-map-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    color: #ed1d24;
    border: 1px solid rgba(237, 29, 36, .24);
    border-radius: 12px;
    background: rgba(237, 29, 36, .06);
    font-weight: 900;
}

.matrix-contact-map-link:hover {
    color: #fff;
    background: #ed1d24;
}

.matrix-contact-map-visual {
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid rgba(18, 24, 35, .08);
    border-radius: 18px;
    background: radial-gradient(circle at 50% 45%, rgba(237, 29, 36, .08), transparent 42%), #fff;
}

.matrix-contact-map-visual img {
    width: 100%;
    max-height: 330px;
    object-fit: contain;
    padding: 28px;
}

@media (max-width: 991px) {
    .matrix-contact-layout,
    .matrix-contact-map-card {
        grid-template-columns: 1fr;
    }

    .matrix-contact-hero {
        min-height: 450px !important;
        padding: 96px 0 70px !important;
    }
}

@media (max-width: 575px) {
    .matrix-contact-main {
        padding: 66px 0;
    }

    .matrix-contact-side,
    .matrix-contact-form-card,
    .matrix-contact-map-card {
        padding: 24px;
        border-radius: 18px;
    }

    .matrix-contact-hero-box {
        padding: 26px 24px 30px;
    }
}

/* Final mobile menu icon: pure CSS, no icon font dependency */
@media (max-width: 992px) {
    #menu-btn {
        position: relative !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 42px !important;
        height: 42px !important;
        padding: 0 !important;
        background: #fff !important;
        border: 1px solid rgba(21, 29, 42, .12) !important;
        border-radius: 8px !important;
        box-shadow: 0 8px 20px rgba(17, 24, 39, .08) !important;
        color: transparent !important;
        font-size: 0 !important;
        line-height: 0 !important;
        cursor: pointer !important;
    }

    #menu-btn::before,
    #menu-btn::after {
        content: "" !important;
        position: absolute !important;
        left: 11px !important;
        width: 20px !important;
        height: 2px !important;
        display: block !important;
        background: #151d2a !important;
        border-radius: 2px !important;
        font-family: inherit !important;
        font-size: 0 !important;
        line-height: 0 !important;
        transition: transform .2s ease, top .2s ease, box-shadow .2s ease, background .2s ease !important;
    }

    #menu-btn::before {
        top: 14px !important;
        box-shadow: 0 6px 0 #151d2a !important;
    }

    #menu-btn::after {
        top: 26px !important;
    }

    #menu-btn.menu-open::before,
    #menu-btn.matrix-menu-open::before,
    body.menu-open #menu-btn::before,
    body.matrix-menu-open #menu-btn::before {
        top: 20px !important;
        background: #ed1d24 !important;
        box-shadow: none !important;
        transform: rotate(45deg) !important;
    }

    #menu-btn.menu-open::after,
    #menu-btn.matrix-menu-open::after,
    body.menu-open #menu-btn::after,
    body.matrix-menu-open #menu-btn::after {
        top: 20px !important;
        background: #ed1d24 !important;
        transform: rotate(-45deg) !important;
    }
}

/* Absolute last mobile header override */
@media (max-width: 992px) {
    html,
    body,
    body.light-scheme {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    body.light-scheme header,
    body.light-scheme header.transparent,
    body.light-scheme header.header-mobile,
    header,
    header.transparent,
    header.header-mobile {
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        min-height: 72px !important;
        height: 72px !important;
        margin-top: 0 !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        background: #fff !important;
        border-top: 0 !important;
        border-bottom: 1px solid rgba(17, 24, 39, .08) !important;
        box-shadow: 0 8px 20px rgba(17, 24, 39, .05) !important;
        animation: none !important;
        overflow: visible !important;
    }

    body.light-scheme header #topbar,
    header #topbar {
        display: none !important;
        height: 0 !important;
        min-height: 0 !important;
        overflow: hidden !important;
    }

    body.light-scheme header > .container,
    header > .container {
        height: 72px !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    body.light-scheme header .de-flex,
    body.light-scheme header .sm-pt10,
    header .de-flex,
    header .sm-pt10 {
        min-height: 72px !important;
        height: 72px !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        align-items: center !important;
    }

    body.light-scheme header #logo,
    header #logo {
        height: 72px !important;
        margin: 0 !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
    }

    body.light-scheme header #logo img.logo-mobile,
    header #logo img.logo-mobile {
        display: block !important;
        width: auto !important;
        max-height: 44px !important;
    }

    body.light-scheme header .menu_side_area,
    header .menu_side_area {
        height: 72px !important;
        display: flex !important;
        align-items: center !important;
    }

    body.matrix-menu-open #menu-btn,
    body.menu-open #menu-btn,
    #menu-btn.matrix-menu-open,
    #menu-btn.menu-open {
        position: relative !important;
        z-index: 100500 !important;
        pointer-events: auto !important;
    }

    body.matrix-menu-open header,
    body.menu-open header {
        z-index: 100400 !important;
    }
}

/* Server-safe mobile menu button: real lines, no icon-font dependency */
@media (max-width: 992px) {
    #menu-btn {
        position: relative !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 42px !important;
        min-width: 42px !important;
        height: 42px !important;
        min-height: 42px !important;
        padding: 0 !important;
        background: #fff !important;
        border: 1px solid rgba(21, 29, 42, .12) !important;
        border-radius: 8px !important;
        box-shadow: 0 8px 20px rgba(17, 24, 39, .08) !important;
        color: transparent !important;
        font-size: 0 !important;
        line-height: 0 !important;
        cursor: pointer !important;
        z-index: 100500 !important;
    }

    #menu-btn::before,
    #menu-btn::after {
        content: none !important;
        display: none !important;
        box-shadow: none !important;
    }

    #menu-btn .matrix-menu-line {
        position: absolute !important;
        left: 11px !important;
        display: block !important;
        width: 20px !important;
        height: 2px !important;
        margin: 0 !important;
        padding: 0 !important;
        background: #151d2a !important;
        border-radius: 2px !important;
        opacity: 1 !important;
        transform: none !important;
        transition: top .2s ease, transform .2s ease, opacity .2s ease, background .2s ease !important;
    }

    #menu-btn .matrix-menu-line:nth-child(1) {
        top: 14px !important;
    }

    #menu-btn .matrix-menu-line:nth-child(2) {
        top: 20px !important;
    }

    #menu-btn .matrix-menu-line:nth-child(3) {
        top: 26px !important;
    }

    #menu-btn.matrix-menu-open .matrix-menu-line:nth-child(1),
    body.matrix-menu-open #menu-btn .matrix-menu-line:nth-child(1) {
        top: 20px !important;
        background: #ed1d24 !important;
        transform: rotate(45deg) !important;
    }

    #menu-btn.matrix-menu-open .matrix-menu-line:nth-child(2),
    body.matrix-menu-open #menu-btn .matrix-menu-line:nth-child(2) {
        opacity: 0 !important;
        transform: scaleX(0) !important;
    }

    #menu-btn.matrix-menu-open .matrix-menu-line:nth-child(3),
    body.matrix-menu-open #menu-btn .matrix-menu-line:nth-child(3) {
        top: 20px !important;
        background: #ed1d24 !important;
        transform: rotate(-45deg) !important;
    }
}

/* Final unified navigation override - keep last */
body.light-scheme header.transparent {
    position: sticky !important;
    top: 0 !important;
    left: auto !important;
    right: auto !important;
    width: 100% !important;
    min-height: 85px !important;
    height: auto !important;
    background: #fff !important;
    border-bottom: 1px solid rgba(16, 19, 27, .1) !important;
    box-shadow: 0 8px 24px rgba(16, 19, 27, .05) !important;
}
body.light-scheme header.transparent #topbar {
    display: block !important;
    height: 25px !important;
    min-height: 25px !important;
    overflow: visible !important;
    background: #070b11 !important;
    border: 0 !important;
    color: #fff !important;
}
body.light-scheme header.transparent #topbar a,
body.light-scheme header.transparent #topbar .topbar-widget {
    color: #fff !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    line-height: 25px !important;
}
body.light-scheme header.transparent #topbar img {
    width: 15px !important;
    height: 15px !important;
    margin-inline-end: 7px !important;
    filter: brightness(0) invert(1) !important;
}
body.light-scheme header.transparent > .container {
    width: min(1800px, 100%) !important;
    max-width: none !important;
    height: 60px !important;
    padding-left: 4.7vw !important;
    padding-right: 4.7vw !important;
}
body.light-scheme header.transparent .de-flex,
body.light-scheme header.transparent .sm-pt10 {
    min-height: 60px !important;
    height: 60px !important;
    padding: 0 !important;
    align-items: center !important;
    gap: 28px !important;
    direction: ltr !important;
}
body.light-scheme header.transparent #logo,
body.light-scheme header.transparent .menu_side_area {
    height: 60px !important;
}
body.light-scheme header.transparent #logo img {
    width: 210px !important;
    max-height: 56px !important;
    object-fit: contain !important;
}
body.light-scheme header.transparent #mainmenu {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: clamp(22px, 3vw, 52px) !important;
    margin: 0 !important;
    padding: 0 !important;
    direction: ltr !important;
}
body.light-scheme header.transparent #mainmenu > li {
    margin: 0 !important;
    padding: 0 !important;
}
body.light-scheme header.transparent #mainmenu > li > a {
    height: 60px !important;
    display: inline-flex !important;
    align-items: center !important;
    padding: 0 !important;
    border-bottom: 3px solid transparent !important;
    color: #080d13 !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
}
body.light-scheme header.transparent #mainmenu > li > a:hover,
body.light-scheme header.transparent #mainmenu > li > a.active {
    color: #df1018 !important;
    border-bottom-color: #df1018 !important;
}
body.light-scheme header.transparent .menu_side_area .btn-main {
    min-width: 190px !important;
    height: 42px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 24px !important;
    background: #df1018 !important;
    border-radius: 4px !important;
    color: #fff !important;
    box-shadow: 0 10px 24px rgba(223, 16, 24, .18) !important;
}
body.light-scheme header.transparent #btn-extra {
    display: none !important;
}
@media (max-width: 1050px) {
    body.light-scheme header.transparent { min-height: 66px !important; }
    body.light-scheme header.transparent #topbar { display: none !important; }
    body.light-scheme header.transparent > .container { height: auto !important; padding-left: 18px !important; padding-right: 18px !important; }
    body.light-scheme header.transparent .de-flex,
    body.light-scheme header.transparent .sm-pt10 { min-height: 66px !important; height: auto !important; }
    body.light-scheme header.transparent #logo img { width: 150px !important; }
    body.light-scheme header.transparent .menu_side_area .btn-main { display: none !important; }
}
