
/*-- Use For Custom Styling --*/

.mex-products-section {
    background: #ffffff;
}

#home {
    padding-top: 72px !important;
}

header nav.nav-bar-white.navbar.navbar-default {
    background: rgba(10, 18, 28, 0.95) !important;
    transition: background-color 240ms ease, box-shadow 240ms ease;
}

.mex-header-row {
    display: flex;
    align-items: center;
}

.mex-logo-col,
.mex-nav-col,
.mex-actions-col {
    float: none;
}

.mex-logo-col .logo {
    display: inline-flex;
    align-items: center;
}

.mex-nav-col .navbar-collapse {
    float: none !important;
}

.mex-nav-col .navbar-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    float: none;
    width: 100%;
}

header.header-appear nav.nav-bar-white.navbar.navbar-default {
    background: #ffffff !important;
    box-shadow: 0 8px 24px rgba(24, 43, 77, 0.12);
}

header nav.nav-bar-white.navbar.navbar-default ul.nav > li > a {
    color: #ffffff !important;
}

header.header-appear nav.nav-bar-white.navbar.navbar-default ul.nav > li > a {
    color: #232323 !important;
}

header.header-appear nav.nav-bar-white.navbar.navbar-default ul.nav > li.active > a,
header.header-appear nav.nav-bar-white.navbar.navbar-default ul.nav > li > a:hover {
    color: #007cba !important;
}

header nav.nav-bar-white.navbar.navbar-default ul.nav > li > a {
    position: relative;
    padding-left: 14px;
    padding-right: 14px;
    transition: color 220ms ease;
}

header nav.nav-bar-white.navbar.navbar-default.nav_line ul.nav > li > a:before {
    display: none !important;
}

header nav.nav-bar-white.navbar.navbar-default ul.nav > li > a:after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 19px;
    height: 2px;
    background: #31b1ff;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 240ms ease;
}

header nav.nav-bar-white.navbar.navbar-default ul.nav > li.active > a:after,
header nav.nav-bar-white.navbar.navbar-default ul.nav > li > a:hover:after {
    transform: scaleX(1);
}

header .showMenuButton-two.white-version span.hamburger,
header .showMenuButton-two.white-version span.hamburger:before,
header .showMenuButton-two.white-version span.hamburger:after {
    background: #ffffff;
}

header.header-appear .showMenuButton-two.white-version span.hamburger,
header.header-appear .showMenuButton-two.white-version span.hamburger:before,
header.header-appear .showMenuButton-two.white-version span.hamburger:after {
    background: #232323;
}

.mex-top-controls {
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.mex-lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 3px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
}

.mex-lang-switch button,
.mex-theme-toggle {
    border: 0;
    background: transparent;
    color: inherit;
    padding: 0;
    cursor: pointer;
    transition: color 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.mex-lang-switch button {
    min-width: 34px;
    min-height: 28px;
    border-radius: 999px;
    opacity: 0.68;
}

.mex-lang-switch button.active,
.mex-lang-switch button:hover {
    opacity: 1;
    color: #071421;
    background: #ffffff;
}

.mex-theme-toggle {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
}

.mex-theme-toggle svg {
    width: 17px;
    height: 17px;
}

.mex-theme-toggle:hover {
    transform: translateY(-1px);
}

header.header-appear .mex-lang-switch,
header.header-appear .mex-theme-toggle {
    color: #232323;
}

header.header-appear .mex-lang-switch {
    background: #f4f9fd;
    border-color: rgba(35, 35, 35, 0.1);
}

header.header-appear .mex-lang-switch button.active,
header.header-appear .mex-lang-switch button:hover {
    color: #ffffff;
    background: #007cba;
}

header.header-appear .mex-theme-toggle {
    border-color: rgba(35, 35, 35, 0.22);
}

.mex-header-whatsapp,
.mex-header-quote {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    border-radius: 999px;
    font-weight: 800;
    transition: transform 220ms ease, box-shadow 220ms ease, background-color 220ms ease, color 220ms ease, border-color 220ms ease;
}

.mex-header-whatsapp {
    width: 38px;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.06);
}

.mex-header-whatsapp svg {
    width: 18px;
    height: 18px;
}

.mex-header-quote {
    position: relative;
    overflow: hidden;
    height: 34px;
    min-height: 34px;
    padding: 0 14px;
    color: #ffffff;
    background: linear-gradient(135deg, #007cba 0%, #13b8d6 48%, #22c55e 100%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 12px 26px rgba(0, 124, 186, 0.28);
    font-size: 12px;
    font-weight: 600;
    line-height: 34px;
    text-align: center;
    animation: mexQuoteJump 3.8s ease-in-out infinite;
}

.mex-header-quote:before {
    content: "";
    position: absolute;
    top: 0;
    left: -70%;
    width: 48%;
    height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.42), transparent);
    transform: skewX(-18deg);
    transition: left 620ms ease;
}

.mex-header-quote:hover:before {
    left: 125%;
}

.mex-header-whatsapp:hover,
.mex-theme-toggle:hover {
    transform: translateY(-2px);
}

.mex-header-quote:hover {
    transform: translateY(-2px);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow: 0 18px 34px rgba(0, 124, 186, 0.36);
    animation-play-state: paused;
}

@keyframes mexQuoteJump {
    0%,
    78%,
    100% {
        transform: translateY(0);
    }

    84% {
        transform: translateY(-4px);
    }

    90% {
        transform: translateY(0);
    }

    95% {
        transform: translateY(-2px);
    }
}

header.header-appear .mex-header-whatsapp {
    color: #007cba;
    border-color: rgba(0, 124, 186, 0.18);
    background: rgba(0, 124, 186, 0.08);
}

.mex-nav-dropdown {
    position: relative;
}

.mex-products-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    z-index: 50;
    width: 310px;
    padding: 10px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid rgba(24, 43, 77, 0.08);
    box-shadow: 0 22px 54px rgba(24, 43, 77, 0.16);
    transform: translateX(-50%) translateY(8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 220ms ease, transform 220ms ease, visibility 220ms ease;
}

.mex-products-menu:before {
    content: "";
    position: absolute;
    top: -8px;
    left: 0;
    right: 0;
    height: 8px;
}

.mex-nav-dropdown:hover .mex-products-menu,
.mex-nav-dropdown:focus-within .mex-products-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

header .mex-products-menu a {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    min-height: 52px;
    padding: 9px;
    border-radius: 7px;
    color: #1f2933 !important;
    font-weight: 800;
    line-height: 1.35;
    transition: background-color 180ms ease, transform 180ms ease, color 180ms ease;
}

header .mex-products-menu a svg {
    width: 19px;
    height: 19px;
    color: #007cba;
}

header .mex-products-menu a:hover {
    color: #007cba !important;
    background: #f4f9fd;
    transform: translateX(3px);
}

.is-rtl .mex-products-menu a:hover {
    transform: translateX(-3px);
}

.is-rtl .mex-products-menu {
    left: auto;
    right: 50%;
    transform: translateX(50%) translateY(8px);
}

.is-rtl .mex-nav-dropdown:hover .mex-products-menu,
.is-rtl .mex-nav-dropdown:focus-within .mex-products-menu {
    transform: translateX(50%) translateY(0);
}

.mex-theme-dark header.header-appear nav.nav-bar-white.navbar.navbar-default {
    background: #0f1722 !important;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.mex-theme-dark header.header-appear nav.nav-bar-white.navbar.navbar-default ul.nav > li > a,
.mex-theme-dark header.header-appear .mex-lang-switch,
.mex-theme-dark header.header-appear .mex-theme-toggle {
    color: #ffffff !important;
}

.mex-theme-dark header.header-appear .mex-lang-switch,
.mex-theme-dark header.header-appear .mex-theme-toggle,
.mex-theme-dark header.header-appear .mex-header-whatsapp {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.14);
}

.mex-theme-dark .mex-products-menu {
    background: #0f1722;
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 22px 54px rgba(0, 0, 0, 0.36);
}

.mex-theme-dark header .mex-products-menu a {
    color: #ffffff !important;
}

.mex-theme-dark header .mex-products-menu a:hover {
    background: #142033;
}

.mex-mobile-products {
    margin: 6px 0 12px;
}

.mex-mobile-products a {
    display: block;
    margin: 6px 0;
    padding-left: 18px;
    color: rgba(255, 255, 255, 0.76) !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
}

.mex-mobile-controls {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 18px;
}

.mex-mobile-controls .mex-lang-switch {
    color: #ffffff;
}

.mex-mobile-actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: min(280px, 100%);
    margin: 16px auto 0;
}

.mex-mobile-actions a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    border-radius: 999px;
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 12px !important;
    font-weight: 600;
    line-height: 1;
    text-align: center;
}

.mex-mobile-actions a:last-child {
    background: linear-gradient(135deg, #007cba 0%, #13b8d6 52%, #22c55e 100%);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 12px 24px rgba(0, 124, 186, 0.24);
    animation: mexQuoteJump 3.8s ease-in-out infinite;
}

.is-rtl .mex-mobile-products a {
    padding-left: 0;
    padding-right: 18px;
}

.typing-text:after {
    content: "";
    display: inline-block;
    width: 2px;
    height: 0.9em;
    margin-left: 6px;
    background: currentColor;
    vertical-align: -0.08em;
    animation: mexTypingCaret 900ms steps(1) infinite;
}

@keyframes mexTypingCaret {
    50% {
        opacity: 0;
    }
}

.mex-about-copy p {
    color: #475467;
    line-height: 1.78;
}

.mex-about-insight {
    display: grid;
    gap: 12px;
    margin-top: 22px;
}

.mex-about-insight div {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
    align-items: flex-start;
    padding: 13px 14px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(0, 124, 186, 0.1);
    transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.mex-about-insight div:hover {
    transform: translateX(4px);
    border-color: rgba(0, 124, 186, 0.28);
    box-shadow: 0 12px 26px rgba(24, 43, 77, 0.08);
}

.mex-about-insight svg {
    width: 20px;
    height: 20px;
    color: #007cba;
}

.mex-about-insight p {
    margin: 0;
    color: #344054;
    font-size: 13px;
    line-height: 1.62;
}

.mex-about-focus {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 24px;
}

.mex-about-focus span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 5px;
    color: #007cba;
    background: rgba(0, 124, 186, 0.08);
    border: 1px solid rgba(0, 124, 186, 0.12);
    font-size: 12px;
    font-weight: 800;
    transition: transform 220ms ease, background-color 220ms ease, color 220ms ease;
}

.mex-about-focus span:hover {
    transform: translateY(-2px);
    color: #ffffff;
    background: #007cba;
}

.mex-about-panel {
    position: relative;
    overflow: hidden;
    padding: 26px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid rgba(24, 43, 77, 0.08);
    box-shadow: 0 20px 54px rgba(24, 43, 77, 0.1);
}

.mex-about-panel:before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, #007cba, #13b8d6, #22c55e);
}

.mex-about-stat-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 22px;
}

.mex-about-stat {
    min-height: 94px;
    padding: 16px 12px;
    border-radius: 8px;
    background: #f4f9fd;
    border: 1px solid rgba(0, 124, 186, 0.1);
    text-align: center;
    transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.mex-about-stat:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 124, 186, 0.28);
    box-shadow: 0 14px 28px rgba(24, 43, 77, 0.08);
}

.mex-about-stat span {
    display: block;
    margin-bottom: 8px;
    color: #007cba;
    font-size: 28px;
    font-weight: 900;
    line-height: 1;
}

.mex-about-stat p {
    margin: 0;
    color: #475467;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.35;
}

.mex-about-pipeline {
    display: grid;
    gap: 12px;
}

.mex-about-step {
    position: relative;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 14px;
    align-items: flex-start;
    padding: 15px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(0, 124, 186, 0.06), rgba(255, 255, 255, 0.96));
    border: 1px solid rgba(0, 124, 186, 0.1);
    transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.mex-about-step:hover {
    transform: translateX(5px);
    border-color: rgba(0, 124, 186, 0.28);
    box-shadow: 0 14px 30px rgba(24, 43, 77, 0.09);
}

.mex-about-step svg {
    width: 24px;
    height: 24px;
    padding: 8px;
    box-sizing: content-box;
    border-radius: 8px;
    color: #ffffff;
    background: linear-gradient(135deg, #007cba, #13b8d6);
    box-shadow: 0 10px 20px rgba(0, 124, 186, 0.22);
}

.mex-about-step strong {
    display: block;
    margin-bottom: 4px;
    color: #1f2933;
    font-size: 14px;
    font-weight: 900;
}

.mex-about-step p {
    margin: 0;
    color: #475467;
    line-height: 1.62;
}

.mex-about-assurance {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.mex-about-assurance span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    color: #1f2933;
    background: #eef7fc;
    border: 1px solid rgba(0, 124, 186, 0.12);
    font-size: 12px;
    font-weight: 800;
}

.mex-about-assurance svg {
    width: 16px;
    height: 16px;
    color: #007cba;
}

.is-rtl .mex-about-panel {
    text-align: right;
}

.is-rtl .mex-about-insight div:hover {
    transform: translateX(-4px);
}

.is-rtl .mex-about-step:hover {
    transform: translateX(-5px);
}

.mex-theme-dark .mex-about-copy p,
.mex-theme-dark .mex-about-insight p,
.mex-theme-dark .mex-about-stat p,
.mex-theme-dark .mex-about-step p {
    color: #d6dee8;
}

.mex-theme-dark .mex-about-panel {
    background: #0f1722;
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 54px rgba(0, 0, 0, 0.26);
}

.mex-theme-dark .mex-about-stat,
.mex-theme-dark .mex-about-insight div,
.mex-theme-dark .mex-about-step,
.mex-theme-dark .mex-about-assurance span,
.mex-theme-dark .mex-about-focus span {
    background: #142033;
    border-color: rgba(255, 255, 255, 0.1);
}

.mex-theme-dark .mex-about-step strong,
.mex-theme-dark .mex-about-assurance span {
    color: #ffffff;
}

.mex-team-grid {
    display: flex;
    flex-wrap: wrap;
}

.mex-team-grid > [class*="col-"] {
    display: flex;
}

.mex-team-card {
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid rgba(24, 43, 77, 0.08);
    box-shadow: 0 16px 42px rgba(24, 43, 77, 0.09);
    transition: transform 280ms ease, box-shadow 280ms ease, border-color 280ms ease;
}

.mex-team-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 124, 186, 0.26);
    box-shadow: 0 28px 64px rgba(24, 43, 77, 0.15);
}

.mex-team-card a {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.mex-team-media {
    position: relative;
    min-height: 250px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background:
        linear-gradient(135deg, rgba(7, 20, 33, 0.96), rgba(0, 124, 186, 0.72)),
        radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.22), transparent 28%);
    overflow: hidden;
}

.mex-team-media:after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 34px 34px;
    opacity: 0.55;
}

.mex-team-media img {
    position: relative;
    z-index: 1;
    max-height: 245px;
    width: auto;
    max-width: 82%;
    object-fit: contain;
    filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.28));
    transform: translateY(8px);
    transition: transform 320ms ease, filter 320ms ease;
}

.mex-team-card:hover .mex-team-media img {
    transform: translateY(2px) scale(1.035);
    filter: drop-shadow(0 22px 28px rgba(0, 0, 0, 0.32));
}

.mex-team-role-tag {
    position: absolute;
    left: 18px;
    bottom: 18px;
    z-index: 2;
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(7, 20, 33, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 12px;
    font-weight: 800;
    backdrop-filter: blur(10px);
}

.mex-team-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 24px;
}

.mex-team-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 12px;
}

.mex-team-heading h6 {
    margin: 0;
    color: #1f2933;
    font-size: 18px;
    font-weight: 900;
    line-height: 1.3;
}

.mex-team-heading h6 span {
    color: #007cba;
}

.mex-team-heading svg {
    width: 20px;
    height: 20px;
    color: #007cba;
    transition: transform 240ms ease;
}

.mex-team-card:hover .mex-team-heading svg {
    transform: translate(3px, -3px);
}

.mex-team-body p {
    min-height: 92px;
    margin-bottom: 18px;
    color: #475467;
    line-height: 1.68;
}

.mex-team-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}

.mex-team-skills span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 5px;
    color: #007cba;
    background: rgba(0, 124, 186, 0.08);
    border: 1px solid rgba(0, 124, 186, 0.12);
    font-size: 12px;
    font-weight: 800;
}

.is-rtl .mex-team-role-tag {
    left: auto;
    right: 18px;
}

.is-rtl .mex-team-card:hover .mex-team-heading svg {
    transform: translate(-3px, -3px);
}

.mex-theme-dark .mex-team-card {
    background: #0f1722;
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.22);
}

.mex-theme-dark .mex-team-heading h6 {
    color: #ffffff;
}

.mex-theme-dark .mex-team-body p {
    color: #d6dee8;
}

.mex-theme-dark .mex-team-skills span {
    color: #86d8ff;
    background: rgba(49, 177, 255, 0.1);
    border-color: rgba(49, 177, 255, 0.18);
}

.mex-team-profile-hero {
    position: relative;
    max-width: 1168px;
    min-height: auto;
    display: block;
    overflow: visible;
    margin: 0 auto 42px;
    padding: 0;
    color: #17202b;
    isolation: isolate;
}

.mex-team-profile-page {
    padding-top: 98px;
}

.mex-exec-slide {
    position: relative;
    display: grid;
    grid-template-columns: 40% 60%;
    min-height: 560px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(24, 43, 77, 0.08);
    box-shadow: 0 30px 80px rgba(24, 43, 77, 0.16);
}

.mex-exec-slide:before {
    content: "";
    position: absolute;
    left: 40%;
    top: 0;
    bottom: 0;
    width: 12px;
    z-index: 3;
    background: linear-gradient(180deg, #007cba, #13b8d6, #22c55e);
}

.mex-exec-copy-panel {
    position: relative;
    z-index: 4;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 58px 48px;
    color: #ffffff;
    background:
        linear-gradient(135deg, rgba(7, 20, 33, 0.98), rgba(11, 35, 55, 0.96)),
        radial-gradient(circle at 18% 18%, rgba(49, 177, 255, 0.22), transparent 32%);
}

.mex-exec-copy-panel:after {
    content: "";
    position: absolute;
    right: 34px;
    bottom: 34px;
    width: 86px;
    height: 86px;
    border-right: 2px solid rgba(255, 255, 255, 0.18);
    border-bottom: 2px solid rgba(255, 255, 255, 0.18);
}

.mex-exec-visual-panel {
    position: relative;
    min-width: 0;
    overflow: hidden;
    background: #dce8ef;
}

.mex-team-profile-hero-bg {
    position: absolute;
    inset: -10px;
    z-index: 1;
    background-image: var(--teamHeroImage, url("../images/slider.jpg"));
    background-size: cover;
    background-position: center right;
    filter: blur(1.2px) saturate(1.02);
    transform: scale(1.01);
}

.mex-member-misbah-hassan .mex-team-profile-hero-bg {
    background-image: url("../MisbahHassan/img/misbah_bg.jpg");
}

.mex-member-kamran-shehzad .mex-team-profile-hero-bg {
    background-image: url("../KamranShehzad/img/kamibg.jpg");
}

.mex-member-zeshan-said .mex-team-profile-hero-bg {
    background-image: url("../images/zeecover.jpg");
}

.mex-exec-visual-panel:before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(90deg, rgba(7, 20, 33, 0.3), rgba(255, 255, 255, 0.05) 42%, rgba(255, 255, 255, 0.18) 100%),
        linear-gradient(0deg, rgba(7, 20, 33, 0.14), transparent 38%);
}

.mex-exec-visual-panel:after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background-image:
        linear-gradient(rgba(7, 20, 33, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(7, 20, 33, 0.055) 1px, transparent 1px);
    background-size: 36px 36px;
    opacity: 0.42;
}

.mex-team-profile-hero-content {
    width: min(980px, 100%);
    margin: 0 auto;
    animation: mexProfileRise 700ms ease both;
}

.mex-team-hero-back,
.mex-team-hero-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.mex-team-hero-back {
    margin-bottom: 24px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    width: fit-content;
}

.mex-team-hero-kicker {
    margin-bottom: 16px;
    width: fit-content;
    color: #ffffff;
    background: rgba(0, 124, 186, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.mex-exec-copy-panel h1 {
    max-width: 460px;
    margin: 0 0 16px;
    color: #ffffff !important;
    font-size: 48px;
    font-weight: 900;
    line-height: 1.08;
}

.mex-exec-role {
    position: relative;
    display: inline-flex;
    width: fit-content;
    margin-bottom: 24px !important;
    padding-bottom: 12px;
    color: #31b1ff !important;
    font-weight: 800;
}

.mex-exec-role:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 72px;
    height: 3px;
    background: #22c55e;
}

.mex-exec-message {
    max-width: 520px;
    margin: 0;
    color: rgba(255, 255, 255, 0.82) !important;
    font-size: 15px;
    line-height: 1.75;
}

.mex-exec-image-caption {
    position: absolute;
    right: 30px;
    bottom: 30px;
    z-index: 4;
    min-width: 220px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.86);
    border-left: 4px solid #007cba;
    box-shadow: 0 18px 44px rgba(7, 20, 33, 0.16);
    backdrop-filter: blur(12px);
}

.mex-exec-image-caption span,
.mex-exec-image-caption strong {
    display: block;
}

.mex-exec-image-caption span {
    color: #667085;
    font-size: 12px;
    font-weight: 800;
}

.mex-exec-image-caption strong {
    margin-top: 4px;
    color: #17202b;
    font-size: 22px;
    font-weight: 900;
}

.mex-team-hero-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

.mex-team-hero-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 3px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-weight: 800;
    backdrop-filter: blur(12px);
    transition: transform 220ms ease, background-color 220ms ease;
}

.mex-team-hero-links a:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.2);
}

.mex-team-hero-links svg {
    width: 17px;
    height: 17px;
}

.mex-team-profile-body {
    display: grid;
    grid-template-columns: 34% minmax(0, 1fr);
    gap: 0;
    max-width: 1168px;
    margin: 0 auto 28px;
    padding: 0;
    position: relative;
    z-index: 2;
    background: #ffffff;
    border: 1px solid rgba(24, 43, 77, 0.08);
    box-shadow: 0 22px 70px rgba(24, 43, 77, 0.1);
    animation: mexProfileRise 520ms ease both;
}

.mex-team-profile-photo {
    position: relative;
    top: auto;
    overflow: hidden;
    align-self: stretch;
    min-height: 100%;
    height: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 112px;
    border-radius: 0;
    background:
        linear-gradient(135deg, rgba(7, 20, 33, 0.96), rgba(0, 124, 186, 0.74)),
        radial-gradient(circle at 26% 18%, rgba(255, 255, 255, 0.24), transparent 30%);
}

.mex-team-profile-photo img {
    position: relative;
    z-index: 1;
    max-height: 430px;
    max-width: 88%;
    object-fit: contain;
    filter: drop-shadow(0 24px 30px rgba(0, 0, 0, 0.34));
    animation: mexTeamFloat 4.8s ease-in-out infinite;
}

.mex-team-profile-meta {
    position: absolute;
    left: 18px;
    right: 18px;
    top: 510px;
    bottom: auto;
    z-index: 2;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding: 12px;
    border-radius: 8px;
    color: #ffffff;
    background: rgba(7, 20, 33, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(10px);
    font-weight: 800;
}

.mex-team-profile-meta svg {
    width: 20px;
    height: 20px;
}

.mex-team-profile-metrics {
    position: absolute;
    left: 18px;
    right: 18px;
    top: 18px;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.mex-team-profile-metrics div {
    min-height: 64px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8px;
    border-radius: 8px;
    color: #ffffff;
    background: rgba(7, 20, 33, 0.58);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(10px);
}

.mex-team-profile-metrics strong {
    font-size: 18px;
    line-height: 1;
}

.mex-team-profile-metrics span {
    margin-top: 5px;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.25;
    opacity: 0.78;
}

.mex-team-profile-main {
    display: grid;
    gap: 0;
    padding: 44px 48px;
}

.mex-team-profile-card,
.mex-team-profile-tail {
    position: relative;
    overflow: visible;
    padding: 0 0 34px;
    border-radius: 0;
    background: #ffffff;
    border: 0;
    box-shadow: none;
    transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.mex-team-profile-card:hover {
    transform: none;
    border-color: transparent;
    box-shadow: none;
}

.mex-team-profile-card h2,
.mex-team-profile-tail h2 {
    margin: 0;
    color: #1f2933;
    font-size: 28px;
    font-weight: 600;
    line-height: 1.18;
    letter-spacing: 0;
}

.mex-team-profile-card p,
.mex-team-profile-tail p {
    color: #475467;
    line-height: 1.72;
}

.mex-profile-section-head {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    margin-bottom: 18px;
}

.mex-profile-section-head > span {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: #ffffff;
    background: #007cba;
    font-size: 13px;
    font-weight: 900;
}

.mex-profile-section-head > span:after {
    content: "";
    position: absolute;
    right: -12px;
    width: 24px;
    height: 2px;
    background: #22c55e;
}

.mex-profile-lead {
    margin: 0;
    padding-left: 74px;
    font-size: 15px;
}

.mex-team-duty-list,
.mex-team-operating-list {
    display: grid;
    gap: 0;
}

.mex-team-duty-list div {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 13px 0 13px 74px;
    border-bottom: 1px solid #e8edf2;
    background: transparent;
    border-radius: 0;
    transition: transform 220ms ease, border-color 220ms ease;
}

.mex-team-duty-list div:hover {
    transform: translateX(4px);
    border-color: rgba(0, 124, 186, 0.32);
}

.mex-team-duty-list svg {
    width: 20px;
    height: 20px;
    color: #007cba;
}

.mex-team-duty-list span {
    color: #344054;
    font-weight: 500;
    line-height: 1.5;
}

.mex-team-operating-list div {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
    padding: 13px 0;
    border-bottom: 1px solid #e8edf2;
    transition: transform 220ms ease, border-color 220ms ease;
}

.mex-team-operating-list div:hover {
    transform: translateX(4px);
    border-color: rgba(0, 124, 186, 0.32);
}

.mex-team-operating-list span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    color: #007cba;
    background: #eef7fc;
    font-weight: 900;
}

.mex-team-operating-list p {
    margin: 0;
}

.mex-team-journey-list {
    position: relative;
    display: grid;
    gap: 0;
}

.mex-team-journey-list div {
    position: relative;
    padding: 16px 0 16px 74px;
    border-left: 0;
    border-bottom: 1px solid #e8edf2;
    background: transparent;
    border-radius: 0;
    transition: transform 220ms ease, border-color 220ms ease;
}

.mex-team-journey-list div:hover {
    transform: translateX(3px);
    border-color: rgba(0, 124, 186, 0.28);
}

.mex-team-journey-list span {
    display: inline-flex;
    margin-bottom: 7px;
    color: #007cba;
    font-size: 12px;
    font-weight: 900;
}

.mex-team-journey-list strong {
    display: block;
    margin-bottom: 5px;
    color: #1f2933;
    font-weight: 600;
}

.mex-team-journey-list p {
    margin: 0;
}

.mex-team-profile-tail {
    display: grid;
    max-width: 1168px;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 20px;
    align-items: center;
    margin: 0 auto;
    padding: 34px 42px;
    border-left: 12px solid #007cba;
    background:
        linear-gradient(90deg, rgba(7, 20, 33, 0.96), rgba(11, 35, 55, 0.94)),
        #ffffff;
    box-shadow: 0 18px 58px rgba(24, 43, 77, 0.12);
    animation: mexProfileRise 620ms ease both;
}

.mex-team-profile-tail h2 {
    color: #ffffff;
}

.mex-team-profile-tail p {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.78);
}

.mex-team-source-list {
    display: grid;
    gap: 8px;
    margin-top: 18px;
}

.mex-team-source-list strong {
    color: #ffffff;
    font-weight: 900;
}

.mex-team-source-list span {
    display: block;
    position: relative;
    padding-left: 18px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
    line-height: 1.55;
}

.mex-team-source-list span:before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: #007cba;
}

.is-rtl .mex-team-journey-list div {
    padding: 16px 74px 16px 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 1px solid #e8edf2;
    border-radius: 0;
}

.is-rtl .mex-team-journey-list div:hover {
    transform: translateX(-4px);
}

.is-rtl .mex-profile-section-head > span:after {
    right: auto;
    left: -12px;
}

.is-rtl .mex-profile-lead {
    padding-left: 0;
    padding-right: 74px;
}

.is-rtl .mex-team-duty-list div {
    padding-left: 0;
    padding-right: 74px;
}

.is-rtl .mex-team-duty-list div:hover,
.is-rtl .mex-team-operating-list div:hover {
    transform: translateX(-4px);
}

.is-rtl .mex-team-source-list span {
    padding-left: 0;
    padding-right: 18px;
}

.is-rtl .mex-team-source-list span:before {
    left: auto;
    right: 0;
}

@keyframes mexTeamFloat {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

@keyframes mexProfileRise {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mex-theme-dark .mex-team-profile-body,
.mex-theme-dark .mex-team-profile-card {
    background: #0f1722;
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 18px 56px rgba(0, 0, 0, 0.28);
}

.mex-theme-dark .mex-team-profile-tail {
    background:
        linear-gradient(90deg, rgba(7, 20, 33, 0.98), rgba(0, 76, 115, 0.9)),
        #0f1722;
    border-color: #007cba;
    box-shadow: 0 18px 56px rgba(0, 0, 0, 0.3);
}

.mex-theme-dark .mex-team-profile-card h2,
.mex-theme-dark .mex-team-profile-tail h2 {
    color: #ffffff;
}

.mex-theme-dark .mex-team-profile-card p,
.mex-theme-dark .mex-team-profile-tail p,
.mex-theme-dark .mex-team-duty-list span {
    color: #d6dee8;
}

.mex-theme-dark .mex-team-duty-list div {
    border-color: rgba(255, 255, 255, 0.1);
    background: transparent;
}

.mex-theme-dark .mex-team-operating-list div,
.mex-theme-dark .mex-team-journey-list div {
    border-color: rgba(255, 255, 255, 0.1);
    background: transparent;
}

.mex-theme-dark .mex-team-journey-list strong,
.mex-theme-dark .mex-team-source-list strong {
    color: #ffffff;
}

.mex-theme-dark .mex-team-source-list span {
    color: #d6dee8;
}

.mex-theme-dark .mex-team-operating-list span {
    color: #8dd7ff;
    background: rgba(0, 124, 186, 0.14);
}

.mex-product-grid {
    display: flex;
    flex-wrap: wrap;
}

.mex-product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #f8fbff;
    border: 1px solid rgba(24, 43, 77, 0.08);
    border-radius: 8px;
    box-shadow: 0 18px 50px rgba(24, 43, 77, 0.08);
    overflow: hidden;
    position: relative;
    transition: transform 280ms ease, box-shadow 280ms ease, border-color 280ms ease;
}

.mex-product-card:hover {
    transform: translateY(-7px);
    border-color: rgba(0, 124, 186, 0.35);
    box-shadow: 0 26px 70px rgba(24, 43, 77, 0.15);
}

.mex-product-card-top {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 42% 58%;
    min-height: 218px;
    background:
        linear-gradient(135deg, rgba(7, 20, 33, 0.96) 0%, rgba(0, 70, 108, 0.94) 55%, rgba(0, 124, 186, 0.88) 100%),
        radial-gradient(circle at 14% 18%, rgba(255, 255, 255, 0.22), transparent 30%);
    box-shadow: 0 22px 34px -24px rgba(24, 43, 77, 0.9);
}

.mex-product-card-top:after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.82), transparent 76%);
}

.mex-product-heading {
    position: absolute;
    inset: 0 0 0 42%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 62px 30px 34px;
}

.mex-product-icon {
    position: absolute;
    top: 16px;
    right: 18px;
    z-index: 2;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #007cba;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 10px 24px rgba(24, 43, 77, 0.12);
}

.mex-product-icon svg {
    width: 21px;
    height: 21px;
}

.mex-product-image {
    min-height: 218px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.09);
    padding: 28px;
}

.mex-product-image img {
    max-width: 100%;
    max-height: 145px;
    object-fit: contain;
    transition: transform 320ms ease;
}

.mex-product-card:hover .mex-product-image img {
    transform: scale(1.04);
}

.mex-product-card h5 {
    margin: 0;
    color: #ffffff;
    font-weight: 800;
    line-height: 1.3;
    text-align: left;
}

.mex-product-kicker {
    align-self: stretch;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1.4;
    text-transform: uppercase;
}

.mex-product-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 28px;
    background: #ffffff;
}

.mex-product-card-body p {
    min-height: 86px;
    margin-bottom: 18px;
    color: #344054;
    line-height: 1.72;
}

.mex-product-fit {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    margin-bottom: 18px;
    padding: 12px;
    border: 1px solid rgba(0, 124, 186, 0.12);
    border-radius: 8px;
    color: #344054;
    background: #f4f9fd;
}

.mex-product-fit svg {
    width: 20px;
    height: 20px;
    color: #007cba;
}

.mex-product-fit span {
    font-weight: 700;
    line-height: 1.55;
}

.mex-product-card-body ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mex-product-card-body li {
    position: relative;
    margin-bottom: 9px;
    padding-left: 22px;
    color: #475467;
    line-height: 1.58;
}

.mex-product-card-body li:before {
    content: "";
    position: absolute;
    top: 9px;
    left: 0;
    width: 10px;
    height: 10px;
    border-radius: 3px;
    background: #007cba;
    box-shadow: 0 0 0 4px rgba(0, 124, 186, 0.12);
}

.mex-card-actions {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 22px;
}

.mex-card-link,
.mex-quote-link {
    font-weight: 700;
    transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.mex-card-link {
    color: #007cba;
    display: inline-flex;
    align-items: center;
    min-height: 42px;
}

.mex-quote-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: #007cba;
    border: 1px solid #007cba;
    border-radius: 5px;
    min-height: 42px;
    padding: 0 15px;
}

.mex-quote-link:hover {
    color: #007cba;
    background: #ffffff;
}

.contact-form select.form-control {
    color: #555555;
    background: #ffffff;
}

.is-rtl {
    direction: rtl;
}

.is-rtl .mex-product-icon {
    right: auto;
    left: 18px;
}

.is-rtl .mex-product-heading {
    inset: 0 44% 0 0;
}

.is-rtl .mex-product-card h5 {
    text-align: right;
}

.is-rtl .mex-product-card-body li {
    padding-left: 0;
    padding-right: 22px;
}

.is-rtl .mex-product-card-body li:before {
    left: auto;
    right: 0;
}

.mex-theme-dark {
    background: #0b111a;
    color: #d6dee8;
}

.mex-theme-dark .bg-very-light-gray,
.mex-theme-dark #contact {
    background: #101926 !important;
}

.mex-theme-dark .mex-products-section,
.mex-theme-dark .mex-product-card,
.mex-theme-dark .mex-product-card-body,
.mex-theme-dark .mex-product-fit,
.mex-theme-dark .mex-detail-page,
.mex-theme-dark .mex-detail-grid article,
.mex-theme-dark .mex-detail-deep article,
.mex-theme-dark .mex-quote-panel {
    background: #0f1722;
    color: #d6dee8;
}

.mex-theme-dark .mex-product-card-body p,
.mex-theme-dark .mex-product-card-body li,
.mex-theme-dark .mex-product-fit {
    color: #d6dee8;
}

.mex-theme-dark .text-dark-gray,
.mex-theme-dark .text-extra-dark-gray,
.mex-theme-dark .mex-product-card h5,
.mex-theme-dark .mex-detail-page h1,
.mex-theme-dark .mex-detail-page h2 {
    color: #ffffff !important;
}

.mex-theme-dark .mex-product-card,
.mex-theme-dark .mex-product-card-body,
.mex-theme-dark .mex-product-fit,
.mex-theme-dark .mex-detail-grid article,
.mex-theme-dark .mex-detail-deep article,
.mex-theme-dark .mex-quote-panel {
    border-color: rgba(255, 255, 255, 0.1);
}

.mex-detail-page {
    min-height: 100vh;
    padding: 110px 24px 70px;
    background: #f5f8fb;
}

.mex-detail-shell {
    max-width: 1120px;
    margin: 0 auto;
}

.mex-detail-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
    gap: 46px;
    align-items: center;
    margin-bottom: 34px;
}

.mex-back-link {
    display: inline-block;
    margin-bottom: 22px;
    color: #007cba;
    font-weight: 700;
}

.mex-detail-icon {
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: #007cba;
    border-radius: 8px;
    margin-bottom: 22px;
}

.mex-detail-icon svg {
    width: 28px;
    height: 28px;
}

.mex-detail-page h1 {
    margin: 0 0 16px;
    color: #1f2933;
    font-size: 44px;
    line-height: 1.15;
    font-weight: 800;
}

.mex-detail-page p {
    color: inherit;
    font-size: 16px;
    line-height: 1.75;
}

.mex-detail-media {
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid #e8edf2;
    box-shadow: 0 18px 50px rgba(24, 43, 77, 0.1);
    padding: 36px;
}

.mex-detail-media img {
    width: 100%;
    max-height: 320px;
    object-fit: contain;
}

.mex-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 24px;
}

.mex-detail-deep {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 24px;
    margin-bottom: 24px;
}

.mex-detail-deep article {
    background: #ffffff;
    border: 1px solid #e8edf2;
    border-radius: 8px;
    padding: 28px;
}

.mex-detail-deep .mex-technical-note {
    grid-column: 1 / -1;
}

.mex-detail-grid article,
.mex-quote-panel {
    background: #ffffff;
    border: 1px solid #e8edf2;
    border-radius: 8px;
    padding: 28px;
}

.mex-detail-grid h2,
.mex-detail-deep h2,
.mex-quote-panel h2 {
    margin-top: 0;
    color: #1f2933;
    font-weight: 800;
}

.mex-workflow-list {
    display: grid;
    gap: 14px;
}

.mex-workflow-step {
    position: relative;
    display: grid;
    grid-template-columns: 36px 44px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 14px;
    border-radius: 8px;
    background: #f4f9fd;
    transition: transform 240ms ease, box-shadow 240ms ease;
}

.mex-workflow-step:hover {
    transform: translateX(4px);
    box-shadow: 0 12px 28px rgba(24, 43, 77, 0.09);
}

.mex-workflow-step svg {
    width: 22px;
    height: 22px;
    color: #007cba;
}

.mex-workflow-step span {
    color: #007cba;
    font-weight: 900;
}

.mex-workflow-step p {
    margin: 0;
    font-weight: 700;
}

.mex-application-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.mex-application-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 12px;
    border-radius: 5px;
    color: #1f2933;
    background: #eef7fc;
    border: 1px solid rgba(0, 124, 186, 0.14);
    font-weight: 700;
}

.mex-theme-dark .mex-workflow-step,
.mex-theme-dark .mex-application-tags span,
.mex-theme-dark .mex-detail-feature-card {
    background: #142033;
    color: #d6dee8;
    border-color: rgba(255, 255, 255, 0.1);
}

.mex-detail-grid ul {
    margin: 0;
    padding-left: 18px;
}

.mex-detail-feature-grid {
    display: grid;
    gap: 12px;
}

.mex-detail-feature-card {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    min-height: 58px;
    padding: 12px;
    border: 1px solid rgba(0, 124, 186, 0.14);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(0, 124, 186, 0.08), rgba(255, 255, 255, 0.92));
    transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.mex-detail-feature-card:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 124, 186, 0.34);
    box-shadow: 0 14px 28px rgba(24, 43, 77, 0.1);
}

.mex-detail-feature-card svg {
    width: 24px;
    height: 24px;
    color: #007cba;
}

.mex-detail-feature-card span {
    font-weight: 700;
    line-height: 1.5;
}

.mex-quote-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.mex-quote-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border-radius: 5px;
    padding: 0 18px;
    color: #ffffff;
    background: #007cba;
    border: 1px solid #007cba;
    font-weight: 700;
}

.mex-quote-actions a:last-child {
    color: #007cba;
    background: transparent;
}

.mex-gateway-page {
    --gateway-ink: #162332;
    --gateway-muted: #607083;
    --gateway-line: #dce5ec;
    --gateway-blue: #007cba;
    --gateway-green: #22c55e;
}

.mex-gateway-page section {
    padding: 0;
    overflow: visible;
}

.mex-gateway-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(360px, 0.78fr) minmax(0, 1.22fr);
    gap: 0;
    min-height: 620px;
    margin-bottom: 26px;
    background: #0d2030;
    box-shadow: 0 26px 70px rgba(24, 43, 77, 0.16);
}

.mex-gateway-hero-copy {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 58px 46px;
    color: #ffffff;
}

.mex-gateway-hero-copy:after {
    content: "";
    position: absolute;
    right: -6px;
    top: 0;
    bottom: 0;
    width: 6px;
    background: linear-gradient(180deg, var(--gateway-blue), var(--gateway-green));
}

.mex-gateway-hero .mex-back-link {
    align-self: flex-start;
    color: rgba(255, 255, 255, 0.76);
}

.mex-gateway-eyebrow,
.mex-gateway-section-head > span,
.mex-gateway-continuity-kicker,
.mex-gateway-quote > div:first-child > span {
    display: block;
    color: var(--gateway-blue);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0;
}

.mex-gateway-eyebrow {
    margin-bottom: 18px;
    color: #4fc3f7;
}

.mex-gateway-hero h1 {
    max-width: 650px;
    margin-bottom: 22px;
    color: #ffffff !important;
    font-size: 45px;
    font-weight: 400;
    line-height: 1.12;
}

.mex-gateway-hero-lead {
    max-width: 620px;
    margin: 0;
    color: rgba(255, 255, 255, 0.76) !important;
    font-size: 16px !important;
    font-weight: 300;
}

.mex-gateway-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}

.mex-gateway-hero-actions a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: 9px;
    padding: 0 17px;
    color: #ffffff;
    background: var(--gateway-blue);
    border: 1px solid var(--gateway-blue);
    font-weight: 600;
    transition: transform 220ms ease, background-color 220ms ease;
}

.mex-gateway-hero-actions a:last-child {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.3);
}

.mex-gateway-hero-actions a:hover {
    transform: translateY(-2px);
}

.mex-gateway-hero-actions svg,
.mex-gateway-hero-note svg {
    width: 18px;
    height: 18px;
}

.mex-gateway-hero-note {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 10px;
    max-width: 600px;
    margin: 26px 0 0;
    color: rgba(255, 255, 255, 0.58) !important;
    font-size: 13px !important;
}

.mex-gateway-hero-note svg {
    color: var(--gateway-green);
}

.mex-gateway-hero-visual {
    position: relative;
    min-height: 620px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: #071722;
}

.mex-gateway-hero-visual:before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(7, 23, 34, 0.38), transparent 38%, transparent 72%, rgba(7, 23, 34, 0.16));
}

.mex-gateway-hero-visual:after {
    content: "";
    position: absolute;
    z-index: 3;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(79, 195, 247, 0.9), transparent);
    box-shadow: 0 0 18px rgba(79, 195, 247, 0.8);
    animation: mexGatewayScan 5s ease-in-out infinite;
}

.mex-gateway-hero-visual img {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: contain;
    object-position: center;
    filter: none;
    transition: transform 700ms ease;
}

.mex-gateway-hero:hover .mex-gateway-hero-visual img {
    transform: scale(1.025);
}

.mex-gateway-visual-label {
    position: absolute;
    top: 26px;
    left: 26px;
    z-index: 4;
    display: grid;
    gap: 3px;
    padding-left: 12px;
    border-left: 3px solid var(--gateway-blue);
}

.mex-gateway-visual-status {
    position: absolute;
    right: 24px;
    bottom: 24px;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 12px;
    color: rgba(255, 255, 255, 0.86);
    background: rgba(5, 20, 32, 0.78);
    border: 1px solid rgba(79, 195, 247, 0.26);
    font-size: 11px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.mex-gateway-visual-status span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--gateway-green);
    box-shadow: 0 0 0 5px rgba(34, 197, 94, 0.14);
    animation: mexGatewayStatus 1.8s ease-in-out infinite;
}

.mex-gateway-visual-label span,
.mex-gateway-visual-label strong {
    color: #ffffff;
}

.mex-gateway-visual-label span {
    font-size: 11px;
    opacity: 0.6;
}

.mex-gateway-node {
    position: absolute;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 10px;
    color: #ffffff;
    background: rgba(7, 23, 34, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 11px;
    font-weight: 600;
    backdrop-filter: blur(8px);
}

.mex-gateway-node svg {
    width: 16px;
    height: 16px;
    color: #4fc3f7;
}

.mex-gateway-node-camera {
    left: 22px;
    bottom: 122px;
}

.mex-gateway-node-sensor {
    right: 22px;
    top: 160px;
}

.mex-gateway-node-cloud {
    right: 32px;
    bottom: 70px;
}

.mex-gateway-signal-row {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    background: #ffffff;
}

.mex-gateway-signal-row div {
    display: grid;
    gap: 4px;
    padding: 20px 26px;
    border-right: 1px solid var(--gateway-line);
}

.mex-gateway-signal-row div:last-child {
    border-right: 0;
}

.mex-gateway-signal-row strong {
    color: var(--gateway-blue);
    font-size: 17px;
    font-weight: 600;
}

.mex-gateway-signal-row span {
    color: var(--gateway-muted);
    font-size: 12px;
}

.mex-gateway-section {
    margin-bottom: 26px;
    padding: 66px 54px !important;
    background: #ffffff;
    border: 1px solid var(--gateway-line);
}

.mex-gateway-section-head {
    max-width: 760px;
    margin-bottom: 38px;
}

.mex-gateway-section-head > span {
    margin-bottom: 12px;
}

.mex-gateway-section h2,
.mex-gateway-quote h2 {
    margin: 0 0 14px;
    color: var(--gateway-ink);
    font-size: 32px;
    font-weight: 400;
    line-height: 1.18;
}

.mex-gateway-section h3 {
    margin: 0 0 9px;
    color: var(--gateway-ink);
    font-size: 17px;
    font-weight: 500;
    line-height: 1.35;
}

.mex-gateway-section p {
    margin: 0;
    color: var(--gateway-muted);
    font-size: 14px;
    font-weight: 300;
    line-height: 1.7;
}

.mex-gateway-architecture-flow {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid var(--gateway-line);
    border-bottom: 1px solid var(--gateway-line);
}

.mex-gateway-network {
    position: relative;
    min-height: 520px;
    margin-bottom: 42px;
    overflow: hidden;
    background:
        linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        radial-gradient(circle at center, #123a54 0, #0a2233 38%, #071722 76%);
    background-size: 36px 36px, 36px 36px, auto;
    border: 1px solid rgba(79, 195, 247, 0.18);
}

.mex-gateway-network:after {
    content: "";
    position: absolute;
    inset: 22px;
    border: 1px solid rgba(79, 195, 247, 0.09);
    pointer-events: none;
}

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

.mex-gateway-network-lines path {
    fill: none;
    stroke: rgba(79, 195, 247, 0.72);
    stroke-width: 2;
    stroke-dasharray: 7 13;
    vector-effect: non-scaling-stroke;
    filter: drop-shadow(0 0 4px rgba(79, 195, 247, 0.75));
    animation: mexGatewayDataFlow 2.4s linear infinite;
}

.mex-gateway-network-lines path:nth-child(2n) {
    animation-duration: 3.1s;
    animation-direction: reverse;
}

.mex-gateway-network-core {
    position: absolute;
    z-index: 3;
    left: 50%;
    top: 50%;
    width: 164px;
    height: 164px;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: linear-gradient(145deg, #0f4260, #071722);
    border: 1px solid rgba(79, 195, 247, 0.56);
    border-radius: 50%;
    box-shadow: 0 0 0 12px rgba(79, 195, 247, 0.05), 0 18px 42px rgba(0, 0, 0, 0.3);
}

.mex-gateway-network-core svg {
    width: 36px;
    height: 36px;
    margin-bottom: 12px;
    color: #4fc3f7;
}

.mex-gateway-network-core strong {
    font-size: 13px;
}

.mex-gateway-network-core small {
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 10px;
}

.mex-gateway-core-rings,
.mex-gateway-core-rings:before,
.mex-gateway-core-rings:after {
    position: absolute;
    inset: -18px;
    content: "";
    border: 1px solid rgba(79, 195, 247, 0.18);
    border-radius: 50%;
    animation: mexGatewayCoreRing 3s ease-out infinite;
}

.mex-gateway-core-rings:before {
    animation-delay: 1s;
}

.mex-gateway-core-rings:after {
    animation-delay: 2s;
}

.mex-gateway-device {
    position: absolute;
    z-index: 4;
    width: 168px;
    min-height: 96px;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 3px 10px;
    align-content: center;
    padding: 14px;
    color: #ffffff;
    background: rgba(7, 23, 34, 0.88);
    border: 1px solid rgba(79, 195, 247, 0.24);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(9px);
    transition: transform 240ms ease, border-color 240ms ease, background-color 240ms ease;
}

.mex-gateway-device:hover {
    transform: translateY(-4px);
    border-color: rgba(79, 195, 247, 0.7);
    background: rgba(10, 48, 70, 0.94);
}

.mex-gateway-device svg {
    grid-row: 1 / span 2;
    width: 26px;
    height: 26px;
    color: #4fc3f7;
}

.mex-gateway-device strong {
    font-size: 12px;
    font-weight: 500;
}

.mex-gateway-device span {
    color: rgba(255, 255, 255, 0.5);
    font-size: 10px;
}

.device-camera { left: 6%; top: 10%; }
.device-access { left: 2%; top: 50%; transform: translateY(-50%); }
.device-access:hover { transform: translateY(calc(-50% - 4px)); }
.device-safety { left: 6%; bottom: 10%; }
.device-operator { right: 6%; top: 10%; }
.device-cloud { right: 2%; top: 50%; transform: translateY(-50%); }
.device-cloud:hover { transform: translateY(calc(-50% - 4px)); }
.device-action { right: 6%; bottom: 10%; }

.mex-gateway-architecture-flow:before {
    content: "";
    position: absolute;
    top: 59px;
    left: 16%;
    right: 16%;
    height: 2px;
    background: linear-gradient(90deg, var(--gateway-blue), var(--gateway-green));
}

.mex-gateway-architecture-flow article {
    position: relative;
    z-index: 1;
    min-height: 235px;
    padding: 32px 30px;
    border-right: 1px solid var(--gateway-line);
    background: #ffffff;
}

.mex-gateway-architecture-flow article:last-child {
    border-right: 0;
}

.mex-gateway-architecture-flow svg {
    width: 38px;
    height: 38px;
    margin-bottom: 25px;
    padding: 8px;
    color: #ffffff;
    background: var(--gateway-blue);
}

.mex-gateway-step-number {
    position: absolute;
    top: 12px;
    right: 14px;
    color: #a8b5c1;
    font-size: 11px;
    font-weight: 700;
}

.mex-gateway-capabilities {
    background: #f8fafc;
}

.mex-product-solution-showcase {
    background: #f8fafc;
}

.mex-product-solution-media {
    position: relative;
    overflow: hidden;
    padding: 18px;
    background: #071722;
    border: 1px solid rgba(0, 124, 186, 0.2);
}

.mex-product-solution-media:after {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    top: 18px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(79, 195, 247, 0.9), transparent);
    box-shadow: 0 0 16px rgba(79, 195, 247, 0.7);
    animation: mexGatewayScan 6s ease-in-out infinite;
    pointer-events: none;
}

.mex-product-solution-media img {
    display: block;
    width: 100%;
    max-height: 920px;
    object-fit: contain;
    transition: transform 500ms ease;
}

.mex-product-solution-media:hover img {
    transform: scale(1.012);
}

.mex-product-solution-status {
    position: absolute;
    right: 34px;
    bottom: 34px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 12px;
    color: #ffffff;
    background: rgba(7, 23, 34, 0.84);
    border: 1px solid rgba(79, 195, 247, 0.32);
    font-size: 11px;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.mex-product-solution-status span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--gateway-green);
    box-shadow: 0 0 0 5px rgba(34, 197, 94, 0.14);
    animation: mexGatewayStatus 1.8s ease-in-out infinite;
}

.is-rtl .mex-product-solution-status {
    right: auto;
    left: 34px;
}

.mex-gateway-capability-grid,
.mex-gateway-use-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    background: var(--gateway-line);
    border: 1px solid var(--gateway-line);
}

.mex-gateway-capability-grid article,
.mex-gateway-use-grid article {
    position: relative;
    min-height: 245px;
    padding: 30px;
    background: #ffffff;
    transition: transform 220ms ease, background-color 220ms ease;
}

.mex-gateway-capability-grid article:hover,
.mex-gateway-use-grid article:hover {
    z-index: 2;
    transform: translateY(-4px);
    background: #f8fcff;
}

.mex-gateway-capability-grid svg,
.mex-gateway-use-grid svg {
    width: 28px;
    height: 28px;
    margin-bottom: 28px;
    color: var(--gateway-blue);
}

.mex-gateway-card-line {
    position: absolute;
    left: 30px;
    right: 30px;
    bottom: 0;
    height: 3px;
    background: var(--gateway-blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 240ms ease;
}

.mex-gateway-capability-grid article:hover .mex-gateway-card-line {
    transform: scaleX(1);
}

.mex-gateway-deployment {
    display: grid;
    grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.22fr);
    gap: 60px;
    background: #10283a;
    border-color: #10283a;
}

.mex-gateway-deployment h2,
.mex-gateway-deployment p {
    color: #ffffff;
}

.mex-gateway-deployment .mex-gateway-section-head > p {
    color: rgba(255, 255, 255, 0.62);
}

.mex-gateway-deployment-list {
    display: grid;
}

.mex-gateway-deployment-list article {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 18px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    transition: transform 220ms ease;
}

.mex-gateway-deployment-list article:hover {
    transform: translateX(5px);
}

.mex-gateway-deployment-list strong {
    color: #4fc3f7;
    font-size: 14px;
    font-weight: 600;
}

.mex-gateway-deployment-list h3 {
    color: #ffffff;
}

.mex-gateway-deployment-list p {
    color: rgba(255, 255, 255, 0.58);
}

.mex-gateway-integration-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 42px;
}

.mex-gateway-integration-grid article {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 16px;
    padding: 22px 0;
    border-bottom: 1px solid var(--gateway-line);
}

.mex-gateway-integration-grid svg {
    width: 24px;
    height: 24px;
    color: var(--gateway-blue);
}

.mex-gateway-use-grid article {
    min-height: 210px;
}

.mex-gateway-continuity {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 60px;
    color: #ffffff;
    background: linear-gradient(120deg, #071722, #0e3a54);
    border-color: #0e3a54;
}

.mex-gateway-continuity h2 {
    color: #ffffff;
}

.mex-gateway-continuity p {
    color: rgba(255, 255, 255, 0.62);
}

.mex-gateway-continuity-kicker {
    margin-bottom: 12px;
    color: #4fc3f7;
}

.mex-gateway-safeguards {
    display: grid;
    gap: 0;
}

.mex-gateway-safeguards span {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.78);
}

.mex-gateway-safeguards svg {
    width: 18px;
    height: 18px;
    color: var(--gateway-green);
}

.mex-gateway-faq-list {
    border-top: 1px solid var(--gateway-line);
}

.mex-gateway-faq details {
    border-bottom: 1px solid var(--gateway-line);
}

.mex-gateway-faq summary {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) 24px;
    gap: 14px;
    align-items: center;
    padding: 21px 0;
    color: var(--gateway-ink);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    list-style: none;
}

.mex-gateway-faq summary::-webkit-details-marker {
    display: none;
}

.mex-gateway-faq summary span {
    color: var(--gateway-blue);
    font-size: 11px;
}

.mex-gateway-faq summary svg {
    width: 19px;
    height: 19px;
    color: var(--gateway-blue);
    transition: transform 220ms ease;
}

.mex-gateway-faq details[open] summary svg {
    transform: rotate(45deg);
}

.mex-gateway-faq details > p {
    max-width: 820px;
    padding: 0 0 24px 54px;
}

.mex-gateway-quote {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 30px;
    align-items: center;
    padding: 42px 46px !important;
    color: #ffffff;
    background: #0d2030;
    border-left: 7px solid var(--gateway-blue);
}

.mex-gateway-quote h2 {
    margin-top: 10px;
    color: #ffffff;
    font-size: 29px;
    font-weight: 400;
}

.mex-gateway-quote p {
    max-width: 760px;
    margin: 0;
    color: rgba(255, 255, 255, 0.62);
}

.mex-gateway-quote .mex-quote-actions {
    justify-content: flex-end;
    margin-top: 0;
}

.mex-gateway-quote .mex-quote-actions a {
    gap: 8px;
    white-space: nowrap;
}

.mex-gateway-quote .mex-quote-actions svg {
    width: 17px;
    height: 17px;
}

.is-rtl .mex-gateway-hero-copy:after {
    right: auto;
    left: -6px;
}

.is-rtl .mex-gateway-visual-label {
    left: auto;
    right: 26px;
    padding-left: 0;
    padding-right: 12px;
    border-left: 0;
    border-right: 3px solid var(--gateway-blue);
}

.is-rtl .mex-gateway-visual-status {
    right: auto;
    left: 24px;
}

.is-rtl .mex-gateway-signal-row div {
    border-right: 0;
    border-left: 1px solid var(--gateway-line);
}

.is-rtl .mex-gateway-signal-row div:last-child {
    border-left: 0;
}

.is-rtl .mex-gateway-architecture-flow article {
    border-right: 0;
    border-left: 1px solid var(--gateway-line);
}

.is-rtl .mex-gateway-architecture-flow article:last-child {
    border-left: 0;
}

.is-rtl .mex-gateway-step-number {
    right: auto;
    left: 14px;
}

.is-rtl .mex-gateway-card-line {
    transform-origin: right;
}

.is-rtl .mex-gateway-deployment-list article:hover {
    transform: translateX(-5px);
}

.is-rtl .mex-gateway-faq details > p {
    padding-left: 0;
    padding-right: 54px;
}

.is-rtl .mex-gateway-quote {
    border-left: 0;
    border-right: 7px solid var(--gateway-blue);
}

.mex-theme-dark .mex-gateway-page {
    --gateway-ink: #f2f6fa;
    --gateway-muted: #b4c0cc;
    --gateway-line: rgba(255, 255, 255, 0.1);
}

.mex-theme-dark .mex-gateway-signal-row,
.mex-theme-dark .mex-gateway-section,
.mex-theme-dark .mex-gateway-architecture-flow article,
.mex-theme-dark .mex-gateway-capability-grid article,
.mex-theme-dark .mex-gateway-use-grid article {
    background: #0f1722;
}

.mex-theme-dark .mex-gateway-capabilities {
    background: #101b29;
}

.mex-theme-dark .mex-gateway-capability-grid article:hover,
.mex-theme-dark .mex-gateway-use-grid article:hover {
    background: #142235;
}

@keyframes mexGatewayPulse {
    0%,
    100% {
        transform: scale(0.96);
        opacity: 0.64;
    }

    50% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes mexGatewayScan {
    0%,
    100% {
        top: 12%;
        opacity: 0;
    }

    18%,
    82% {
        opacity: 0.8;
    }

    50% {
        top: 88%;
        opacity: 0.35;
    }
}

@keyframes mexGatewayStatus {
    0%,
    100% {
        opacity: 0.55;
        transform: scale(0.9);
    }

    50% {
        opacity: 1;
        transform: scale(1.08);
    }
}

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

@keyframes mexGatewayCoreRing {
    0% {
        opacity: 0.65;
        transform: scale(0.84);
    }

    100% {
        opacity: 0;
        transform: scale(1.22);
    }
}

@media (prefers-reduced-motion: reduce) {
    .mex-gateway-hero-visual:after,
    .mex-gateway-visual-status span,
    .mex-gateway-network-lines path,
    .mex-gateway-core-rings,
    .mex-gateway-core-rings:before,
    .mex-gateway-core-rings:after,
    .mex-product-solution-media:after,
    .mex-product-solution-status span {
        animation: none;
    }
}

.mex-quote-actions a:hover {
    transform: translateY(-1px);
}

.mex-services-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

.mex-services-grid > [class*="col-"] {
    display: flex;
}

.mex-services-grid .services-item {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.mex-service-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    border-color: rgba(0, 124, 186, 0.12);
    box-shadow: 0 12px 30px rgba(24, 43, 77, 0.05);
    isolation: isolate;
}

.mex-service-card:before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    z-index: 2;
    height: 4px;
    background: linear-gradient(90deg, #007cba, #23c5d8, #58d68d);
    transform: scaleX(0.28);
    transform-origin: left;
    transition: transform 320ms ease;
}

.mex-service-card:after {
    content: "";
    position: absolute;
    top: -55%;
    left: -80%;
    width: 70%;
    height: 210%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.22), transparent);
    transform: rotate(18deg);
    transition: left 620ms ease;
    pointer-events: none;
    z-index: 0;
}

.mex-service-card > * {
    position: relative;
    z-index: 1;
}

#services .mex-service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 124, 186, 0.28);
    box-shadow: 0 24px 52px rgba(24, 43, 77, 0.13);
}

.mex-service-card:hover:before {
    transform: scaleX(1);
}

.mex-service-card:hover:after {
    left: 120%;
}

.mex-service-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 10px;
}

.mex-service-card .service-container {
    margin-bottom: 16px;
    border-radius: 8px;
    box-shadow: 0 12px 24px rgba(0, 124, 186, 0.18);
    transition: transform 260ms ease, background-color 260ms ease, border-color 260ms ease;
}

.mex-service-card:hover .service-container {
    transform: translateY(-3px) rotate(-2deg);
    background: #007cba;
    border-color: #007cba;
}

.mex-service-card .service-icon {
    transition: transform 260ms ease;
}

.mex-service-card:hover .service-icon {
    transform: scale(1.08);
}

.mex-service-index {
    color: rgba(0, 124, 186, 0.18);
    font-size: 42px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0;
}

.mex-service-title {
    min-height: 48px;
    color: #1f2933;
    font-size: 16px;
    line-height: 1.45;
}

.mex-service-card .services-hr {
    margin: 14px 0;
    transition: width 260ms ease, background-color 260ms ease;
}

.mex-service-card:hover .services-hr {
    width: 86px;
    background: #00abc9;
}

.mex-service-copy {
    min-height: 96px;
    margin-bottom: 18px;
    color: #475467;
    line-height: 1.7;
}

.mex-service-points {
    flex: 1;
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
}

.mex-service-points li {
    position: relative;
    margin-bottom: 9px;
    padding-left: 21px;
    color: #344054;
    font-size: 13px;
    line-height: 1.55;
}

.mex-service-points li:before {
    content: "";
    position: absolute;
    top: 8px;
    left: 0;
    width: 8px;
    height: 8px;
    border-radius: 3px;
    background: #00abc9;
    box-shadow: 0 0 0 4px rgba(0, 171, 201, 0.12);
}

.mex-service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}

.mex-service-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 5px;
    color: #007cba;
    background: rgba(0, 124, 186, 0.08);
    border: 1px solid rgba(0, 124, 186, 0.12);
    font-size: 12px;
    font-weight: 800;
    transition: transform 220ms ease, background-color 220ms ease, color 220ms ease;
}

.mex-service-card:hover .mex-service-tags span {
    background: #007cba;
    color: #ffffff;
    transform: translateY(-1px);
}

.is-rtl .mex-service-card:before {
    transform-origin: right;
}

.is-rtl .mex-service-points li {
    padding-left: 0;
    padding-right: 21px;
}

.is-rtl .mex-service-points li:before {
    left: auto;
    right: 0;
}

.mex-theme-dark .mex-service-card {
    background: #0f1722;
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.mex-theme-dark .mex-service-title {
    color: #ffffff;
}

.mex-theme-dark .mex-service-copy,
.mex-theme-dark .mex-service-points li {
    color: #d6dee8;
}

.mex-theme-dark .mex-service-index {
    color: rgba(49, 177, 255, 0.16);
}

.mex-theme-dark .mex-service-tags span {
    color: #86d8ff;
    background: rgba(49, 177, 255, 0.1);
    border-color: rgba(49, 177, 255, 0.18);
}

.mex-theme-dark #services .mex-service-card:hover {
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.36);
}

@media (max-width: 991px) {
    .mex-gateway-hero {
        grid-template-columns: 1fr;
    }

    .mex-gateway-hero-copy,
    .mex-gateway-hero-visual {
        min-height: auto;
    }

    .mex-gateway-hero-visual {
        min-height: 460px;
    }

    .mex-gateway-hero-copy:after {
        left: 0;
        right: 0;
        top: auto;
        bottom: -6px;
        width: auto;
        height: 6px;
    }

    .mex-gateway-signal-row {
        grid-column: auto;
    }

    .mex-gateway-deployment,
    .mex-gateway-continuity,
    .mex-gateway-quote {
        grid-template-columns: 1fr;
    }

    .mex-gateway-quote .mex-quote-actions {
        justify-content: flex-start;
    }

    .mex-gateway-network {
        min-height: 600px;
    }

    .mex-gateway-device {
        width: 150px;
    }

    .mex-product-card-body p {
        min-height: auto;
    }

    .mex-service-copy {
        min-height: auto;
    }

    .mex-about-stat-row {
        grid-template-columns: 1fr;
    }

    .mex-team-profile-body,
    .mex-team-profile-tail {
        grid-template-columns: 1fr;
    }

    .mex-team-profile-main {
        padding: 36px 34px;
    }

    .mex-exec-slide {
        grid-template-columns: 1fr;
    }

    .mex-exec-slide:before {
        left: 0;
        right: 0;
        top: auto;
        bottom: 0;
        width: auto;
        height: 8px;
    }

    .mex-exec-copy-panel {
        min-height: 430px;
    }

    .mex-exec-visual-panel {
        min-height: 360px;
    }

    .mex-team-profile-photo {
        position: relative;
        top: auto;
        height: auto;
        min-height: 440px;
        align-items: flex-end;
        padding-top: 90px;
    }

    .mex-team-profile-meta {
        top: auto;
        bottom: 18px;
    }
}

@media (max-width: 767px) {
    .mex-gateway-hero-copy {
        padding: 42px 24px;
    }

    .mex-gateway-hero h1 {
        font-size: 36px;
    }

    .mex-gateway-hero-visual {
        min-height: 360px;
    }

    .mex-gateway-hero-visual img {
        object-position: 50% center;
    }

    .mex-gateway-visual-status {
        right: 14px;
        bottom: 14px;
    }

    .is-rtl .mex-gateway-visual-status {
        right: auto;
        left: 14px;
    }

    .mex-gateway-signal-row {
        grid-template-columns: 1fr;
    }

    .mex-gateway-signal-row div,
    .is-rtl .mex-gateway-signal-row div {
        border-right: 0;
        border-left: 0;
        border-bottom: 1px solid var(--gateway-line);
    }

    .mex-gateway-section {
        padding: 42px 24px !important;
    }

    .mex-gateway-section h2,
    .mex-gateway-quote h2 {
        font-size: 27px;
    }

    .mex-gateway-architecture-flow,
    .mex-gateway-capability-grid,
    .mex-gateway-use-grid,
    .mex-gateway-integration-grid {
        grid-template-columns: 1fr;
    }

    .mex-gateway-network {
        min-height: auto;
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 26px 18px;
    }

    .mex-gateway-network-lines {
        display: none;
    }

    .mex-gateway-network-core,
    .mex-gateway-device,
    .device-camera,
    .device-access,
    .device-safety,
    .device-operator,
    .device-cloud,
    .device-action {
        position: relative;
        inset: auto;
        left: auto;
        right: auto;
        top: auto;
        bottom: auto;
        width: 100%;
        min-height: 76px;
        transform: none;
    }

    .mex-gateway-network-core {
        order: -1;
        height: 126px;
        border-radius: 0;
    }

    .mex-gateway-device:hover,
    .device-access:hover,
    .device-cloud:hover {
        transform: translateY(-2px);
    }

    .mex-gateway-architecture-flow:before {
        display: none;
    }

    .mex-gateway-architecture-flow article,
    .is-rtl .mex-gateway-architecture-flow article {
        min-height: auto;
        border-right: 0;
        border-left: 0;
        border-bottom: 1px solid var(--gateway-line);
    }

    .mex-gateway-capability-grid article,
    .mex-gateway-use-grid article {
        min-height: auto;
    }

    .mex-gateway-deployment {
        gap: 20px;
    }

    .mex-gateway-deployment-list article {
        grid-template-columns: 42px minmax(0, 1fr);
    }

    .mex-gateway-faq summary {
        grid-template-columns: 28px minmax(0, 1fr) 20px;
        font-size: 14px;
    }

    .mex-gateway-faq details > p,
    .is-rtl .mex-gateway-faq details > p {
        padding-left: 42px;
        padding-right: 0;
    }

    .is-rtl .mex-gateway-faq details > p {
        padding-left: 0;
        padding-right: 42px;
    }

    .mex-gateway-quote {
        padding: 32px 24px !important;
    }

    .mex-product-solution-media {
        padding: 8px;
    }

    .mex-product-solution-media:after {
        left: 8px;
        right: 8px;
        top: 8px;
    }

    .mex-product-solution-status,
    .is-rtl .mex-product-solution-status {
        position: relative;
        right: auto;
        left: auto;
        bottom: auto;
        width: 100%;
        justify-content: center;
        margin-top: 8px;
    }

    .mex-gateway-quote .mex-quote-actions a {
        width: 100%;
    }

    .mex-product-card-top {
        grid-template-columns: 42% 58%;
        min-height: 175px;
    }

    .mex-product-heading {
        inset: 0 0 0 42%;
        padding: 52px 18px 24px;
    }

    .mex-product-image {
        min-height: 175px;
        padding: 20px;
    }

    .mex-product-card h5 {
        font-size: 18px;
    }

    .mex-product-card-body {
        padding: 20px;
    }

    .is-rtl .mex-product-heading {
        inset: 0 42% 0 0;
    }

    .mex-top-controls {
        height: 58px;
        gap: 10px;
    }

    .mex-detail-hero,
    .mex-detail-grid,
    .mex-detail-deep {
        grid-template-columns: 1fr;
    }

    .mex-detail-page {
        padding-top: 92px;
    }

    .mex-detail-page h1 {
        font-size: 34px;
    }

    .mex-service-title {
        min-height: auto;
    }

    .mex-about-panel {
        padding: 20px;
    }

    .mex-about-step {
        grid-template-columns: 38px minmax(0, 1fr);
    }

    .mex-about-focus,
    .mex-about-assurance {
        justify-content: center;
    }

    .mex-team-media {
        min-height: 220px;
    }

    .mex-team-body p {
        min-height: auto;
    }

    .mex-team-profile-hero {
        margin-left: -24px;
        margin-right: -24px;
    }

    .mex-exec-copy-panel {
        padding: 40px 28px;
    }

    .mex-exec-copy-panel h1 {
        font-size: 34px;
    }

    .mex-exec-message {
        font-size: 15px;
    }

    .mex-exec-image-caption {
        left: 22px;
        right: 22px;
        bottom: 22px;
    }

    .mex-team-profile-photo {
        min-height: 340px;
        padding-top: 72px;
    }

    .mex-team-profile-photo img {
        max-height: 320px;
    }

    .mex-team-profile-card,
    .mex-team-profile-tail {
        padding: 24px;
    }

    .mex-team-profile-main {
        padding: 30px 22px;
    }

    .mex-profile-section-head {
        grid-template-columns: 44px minmax(0, 1fr);
        gap: 14px;
    }

    .mex-profile-section-head > span {
        width: 38px;
        height: 38px;
    }

    .mex-profile-section-head > span:after {
        width: 18px;
        right: -10px;
    }

    .is-rtl .mex-profile-section-head > span:after {
        right: auto;
        left: -10px;
    }

    .mex-profile-lead,
    .mex-team-duty-list div,
    .mex-team-journey-list div {
        padding-left: 0;
    }

    .is-rtl .mex-profile-lead,
    .is-rtl .mex-team-duty-list div,
    .is-rtl .mex-team-journey-list div {
        padding-right: 0;
    }

    .mex-team-profile-card h2,
    .mex-team-profile-tail h2 {
        font-size: 24px;
    }

    .mex-team-operating-list div {
        grid-template-columns: 44px minmax(0, 1fr);
        gap: 12px;
    }

    .mex-team-profile-tail {
        border-left-width: 8px;
    }
}
