
/* =========================================================
       XERAA CORPORATE WEBSITE
       Main Stylesheet
    ========================================================= */

:root {
    --x-navy: #071c35;
    --x-navy-2: #0b2948;
    --x-blue: #1A63D8;
    --x-blue-light: #4B8BEA;
    --x-gold: #1A63D8;

    --x-white: #ffffff;
    --x-black: #101820;
    --x-text: #4f5c68;
    --x-muted: #7c8791;
    --x-border: #e4e8ec;
    --x-bg: #f7f9fb;

    --x-container: 1240px;

    --x-transition: 0.35s cubic-bezier(.2,.7,.2,1);
}


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    font-family: "Montserrat", "Cairo", sans-serif;
    color: var(--x-black);
    background: var(--x-white);
    overflow-x: hidden;
}


html[dir="rtl"] body {
    font-family: "Cairo", "Montserrat", sans-serif;
}


img {
    max-width: 100%;
    display: block;
}


a {
    color: inherit;
    text-decoration: none;
}


button {
    font: inherit;
}


.x-container {
    width: min(
        calc(100% - 80px),
        var(--x-container)
    );

    margin-inline: auto;
}


/* =========================================================
   TOP BAR
========================================================= */

.x-topbar {
    height: 38px;
    background: var(--x-navy);
    color: rgba(255,255,255,.85);
    font-size: 12px;
}


.x-topbar-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.x-top-left {
    display: flex;
    align-items: center;
    gap: 28px;
}


.x-top-left a {
    display: flex;
    align-items: center;
    gap: 7px;
    transition: var(--x-transition);
}


.x-top-left a:hover {
    color: var(--x-gold);
}


.x-top-icon {
    color: var(--x-gold);
    font-size: 13px;
}


.x-top-right {
    opacity: .75;
}


/* =========================================================
   NAVBAR
========================================================= */

.x-navbar {
    position: sticky;
    top: 0;
    z-index: 1000;

    height: 82px;

    background: rgba(255,255,255,.96);

    border-bottom: 1px solid rgba(0,0,0,.06);

    backdrop-filter: blur(14px);

    transition: .3s ease;
}


.x-navbar.scrolled {
    height: 70px;
    box-shadow: 0 8px 30px rgba(7,28,53,.08);
}


.x-nav-inner {
    height: 100%;

    display: flex;
    align-items: center;
    gap: 36px;
}


/* =========================================================
   LOGO
========================================================= */

.x-logo {
    display: flex;
    align-items: center;
    gap: 11px;

    flex-shrink: 0;
}


.x-logo-mark {
    width: 43px;
    height: 43px;

    display: grid;
    place-items: center;

    color: var(--x-white);
    background: var(--x-navy);

    font-family: "Montserrat", sans-serif;
    font-size: 24px;
    font-weight: 700;

    border-radius: 2px;

    position: relative;
}


.x-logo-mark::after {
    content: "";

    position: absolute;

    right: -4px;
    bottom: -4px;

    width: 15px;
    height: 15px;

    border-right: 2px solid var(--x-gold);
    border-bottom: 2px solid var(--x-gold);
}


.x-logo-text {
    display: flex;
    flex-direction: column;
}


.x-logo-text strong {
    color: var(--x-navy);

    font-family: "Montserrat", sans-serif;

    font-size: 22px;
    line-height: 1;

    letter-spacing: 2px;
}


.x-logo-text small {
    margin-top: 4px;

    color: var(--x-muted);

    font-family: "Montserrat", sans-serif;

    font-size: 7px;
    font-weight: 600;

    letter-spacing: 1.4px;
}


/* =========================================================
   DESKTOP MENU
========================================================= */

.x-menu {
    height: 100%;

    display: flex;
    align-items: center;

    gap: 26px;

    margin-inline: auto;
}


.x-menu-link {
    height: 100%;

    display: flex;
    align-items: center;

    color: #293846;

    font-size: 13px;
    font-weight: 500;

    white-space: nowrap;

    position: relative;

    transition: var(--x-transition);
}


.x-menu-link::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 2px;

    background: var(--x-gold);

    transform: scaleX(0);

    transition: var(--x-transition);
}


.x-menu-link:hover,
.x-menu-link.active {
    color: var(--x-navy);
}


.x-menu-link:hover::after,
.x-menu-link.active::after {
    transform: scaleX(1);
}


.x-arrow {
    margin-inline-start: 6px;
    color: var(--x-muted);
    font-size: 15px;
}


/* =========================================================
   DROPDOWN
========================================================= */

.x-dropdown {
    height: 100%;
    position: relative;
}


.x-dropdown-menu {
    position: absolute;

    top: calc(100% + 1px);

    inset-inline-start: 50%;

    min-width: 235px;

    padding: 10px;

    background: var(--x-white);

    border: 1px solid var(--x-border);

    box-shadow: 0 18px 45px rgba(7,28,53,.13);

    opacity: 0;
    visibility: hidden;

    transform: translate(-50%, 12px);

    transition: .25s ease;
}


.x-dropdown:hover .x-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}


.x-dropdown-menu a {
    display: block;

    padding: 12px 15px;

    color: #40505f;

    font-size: 12px;

    transition: var(--x-transition);
}


.x-dropdown-menu a:hover {
    color: var(--x-white);
    background: var(--x-navy);
}


/* =========================================================
   NAV ACTIONS
========================================================= */

.x-nav-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}


.x-language {
    font-size: 12px;
    font-weight: 600;
    color: var(--x-navy);
}


.x-consult-btn {
    padding: 12px 18px;

    color: var(--x-white);

    background: var(--x-navy);

    font-size: 11px;
    font-weight: 600;

    letter-spacing: .3px;

    transition: var(--x-transition);
}


.x-consult-btn:hover {
    background: var(--x-gold);
    color: var(--x-navy);
}


/* =========================================================
   MOBILE
========================================================= */

.x-mobile-btn {
    display: none;

    width: 42px;
    height: 42px;

    border: 0;
    background: transparent;

    cursor: pointer;
}


.x-mobile-btn span {
    display: block;

    width: 24px;
    height: 2px;

    margin: 5px auto;

    background: var(--x-navy);

    transition: .25s ease;
}


.x-mobile-menu {
    display: none;
}


/* =========================================================
   HERO
========================================================= */

.x-hero {
    position: relative;

    height: min(
        calc(100vh - 120px),
        760px
    );

    min-height: 620px;

    overflow: hidden;

    color: var(--x-white);
}


.x-slider,
.x-slide {
    position: absolute;

    inset: 0;
}


.x-slide {
    background-position: center;
    background-size: cover;

    opacity: 0;

    transform: scale(1.04);

    transition:
        opacity 1.2s ease,
        transform 7s ease;
}


.x-slide.active {
    opacity: 1;
    transform: scale(1);
}


.x-hero-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(4,18,34,.92) 0%,
            rgba(4,18,34,.72) 42%,
            rgba(4,18,34,.25) 100%
        );

    z-index: 2;
}


html[dir="rtl"] .x-hero-overlay {
    background:
        linear-gradient(
            270deg,
            rgba(4,18,34,.92) 0%,
            rgba(4,18,34,.72) 42%,
            rgba(4,18,34,.25) 100%
        );
}


.x-hero-grid {
    position: absolute;

    inset: 0;

    z-index: 3;

    opacity: .11;

    background-image:
        linear-gradient(
            rgba(255,255,255,.35) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,.35) 1px,
            transparent 1px
        );

    background-size: 90px 90px;

    mask-image: linear-gradient(
        to right,
        black,
        transparent 75%
    );
}


.x-hero-content {
    position: relative;

    z-index: 5;

    height: 100%;

    display: flex;
    flex-direction: column;

    justify-content: center;

    padding-top: 30px;
}


.x-hero-label {
    display: flex;
    align-items: center;
    gap: 12px;

    margin-bottom: 24px;

    color: var(--x-gold);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 2px;

    text-transform: uppercase;
}


.x-hero-label span {
    width: 38px;
    height: 1px;

    background: var(--x-gold);
}


.x-hero h1 {
    max-width: 760px;

    font-size: clamp(
        48px,
        6vw,
        82px
    );

    line-height: 1.05;

    font-weight: 400;

    letter-spacing: -2px;
}


html[dir="rtl"] .x-hero h1 {
    line-height: 1.25;
    letter-spacing: 0;
}


.x-hero h1 strong {
    display: block;

    color: var(--x-gold);

    font-weight: 700;
}


.x-hero p {
    max-width: 650px;

    margin-top: 25px;

    color: rgba(255,255,255,.78);

    font-size: 15px;

    line-height: 2;
}


.x-hero-buttons {
    display: flex;

    align-items: center;

    gap: 13px;

    margin-top: 35px;
}


.x-btn {
    min-width: 170px;

    padding: 15px 22px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    font-size: 12px;
    font-weight: 600;

    transition: var(--x-transition);
}


.x-btn-primary {
    color: var(--x-navy);

    background: var(--x-gold);
}


.x-btn-primary:hover {
    background: var(--x-white);

    transform: translateY(-3px);
}


.x-btn-outline {
    color: var(--x-white);

    border: 1px solid rgba(255,255,255,.45);
}


.x-btn-outline:hover {
    color: var(--x-navy);

    background: var(--x-white);

    border-color: var(--x-white);
}


/* =========================================================
   SLIDER CONTROLS
========================================================= */

.x-slider-controls {
    position: absolute;

    z-index: 7;

    left: 50%;
    bottom: 36px;

    transform: translateX(-50%);

    display: flex;

    align-items: center;

    gap: 18px;
}


.x-slider-arrow {
    width: 38px;
    height: 38px;

    border: 1px solid rgba(255,255,255,.35);

    color: white;

    background: rgba(0,0,0,.12);

    cursor: pointer;

    transition: var(--x-transition);
}


.x-slider-arrow:hover {
    color: var(--x-navy);

    background: var(--x-gold);

    border-color: var(--x-gold);
}


.x-slider-dots {
    display: flex;
    gap: 7px;
}


.x-slider-dots button {
    width: 30px;
    height: 2px;

    border: 0;

    background: rgba(255,255,255,.35);

    cursor: pointer;

    transition: .3s ease;
}


.x-slider-dots button.active {
    width: 55px;
    background: var(--x-gold);
}


/* =========================================================
   SCROLL
========================================================= */

.x-scroll-down {
    position: absolute;

    z-index: 7;

    bottom: 36px;

    inset-inline-end: 50px;

    display: flex;
    align-items: center;
    gap: 13px;

    color: rgba(255,255,255,.65);

    font-size: 9px;

    text-transform: uppercase;

    letter-spacing: 1.4px;

    writing-mode: vertical-rl;
}


.x-scroll-down i {
    display: block;

    width: 1px;
    height: 42px;

    background: var(--x-gold);

    animation: scrollLine 1.7s infinite;
}


@keyframes scrollLine {

    0% {
        transform: scaleY(.2);
        transform-origin: top;
    }

    50% {
        transform: scaleY(1);
    }

    100% {
        transform: scaleY(.2);
        transform-origin: bottom;
    }

}


/* =========================================================
   SECTIONS
========================================================= */

.x-section {
    padding: 115px 0;
}


.x-section-grid {
    display: grid;

    grid-template-columns: .85fr 1.15fr;

    gap: 100px;

    align-items: start;
}


.x-kicker {
    display: inline-block;

    margin-bottom: 18px;

    color: var(--x-blue);

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 2px;

    text-transform: uppercase;
}


.x-kicker.light {
    color: var(--x-gold);
}


.x-section-heading h2,
.x-services-header h2,
.x-centered-heading h2,
.x-dark-title h2 {
    color: var(--x-navy);

    font-size: clamp(
        32px,
        4vw,
        50px
    );

    line-height: 1.15;

    font-weight: 500;

    letter-spacing: -1.5px;
}


html[dir="rtl"] .x-section-heading h2,
html[dir="rtl"] .x-services-header h2,
html[dir="rtl"] .x-centered-heading h2,
html[dir="rtl"] .x-dark-title h2 {
    letter-spacing: 0;
    line-height: 1.45;
}


.x-section-text p {
    color: var(--x-text);

    font-size: 15px;

    line-height: 2.1;
}


.x-text-link {
    display: inline-flex;

    align-items: center;

    gap: 12px;

    margin-top: 30px;

    color: var(--x-navy);

    font-size: 12px;

    font-weight: 700;

    border-bottom: 1px solid var(--x-gold);

    padding-bottom: 6px;
}


.x-text-link span {
    color: var(--x-gold);

    transition: .3s ease;
}


.x-text-link:hover span {
    transform: translateX(5px);
}


/* =========================================================
   STATS
========================================================= */

.x-stats {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    margin-top: 90px;

    border-top: 1px solid var(--x-border);
    border-bottom: 1px solid var(--x-border);
}


.x-stat {
    padding: 30px 25px;

    border-inline-end: 1px solid var(--x-border);
}


.x-stat:last-child {
    border-inline-end: 0;
}


.x-stat strong {
    display: block;

    color: var(--x-navy);

    font-family: "Montserrat", sans-serif;

    font-size: 42px;
    font-weight: 500;
}


.x-stat span {
    display: block;

    margin-top: 6px;

    color: var(--x-muted);

    font-size: 11px;
}


/* =========================================================
   DARK SECTION
========================================================= */

.x-dark-section {
    background: var(--x-navy);
}


.x-dark-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 100px;
}


.x-dark-title h2 {
    color: var(--x-white);
}


.x-dark-text p {
    color: rgba(255,255,255,.68);

    font-size: 14px;

    line-height: 2;
}


.x-dark-text h3 {
    margin: 24px 0 12px;

    color: var(--x-white);

    font-size: 22px;
}


.x-mini-line {
    width: 45px;
    height: 2px;

    margin-top: 35px;

    background: var(--x-gold);
}


/* =========================================================
   CENTER HEADING
========================================================= */

.x-centered-heading {
    max-width: 750px;

    margin: 0 auto 65px;

    text-align: center;
}


.x-centered-heading h2 {
    max-width: 700px;
    margin-inline: auto;
}


.x-values {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    border-top: 1px solid var(--x-border);
    border-inline-start: 1px solid var(--x-border);
}


.x-value {
    min-height: 260px;

    padding: 34px;

    border-inline-end: 1px solid var(--x-border);
    border-bottom: 1px solid var(--x-border);

    transition: var(--x-transition);
}


.x-value:hover {
    background: var(--x-navy);

    transform: translateY(-5px);
}


.x-value:hover h3,
.x-value:hover p {
    color: white;
}


.x-value-number {
    margin-bottom: 35px;

    color: var(--x-gold);

    font-family: "Montserrat", sans-serif;

    font-size: 12px;
}


.x-value h3 {
    margin-bottom: 14px;

    color: var(--x-navy);

    font-size: 21px;
}


.x-value p {
    color: var(--x-text);

    font-size: 12px;

    line-height: 1.9;

    transition: .3s ease;
}


/* =========================================================
   SERVICES
========================================================= */

.x-services-section {
    background: var(--x-bg);
}


.x-services-header {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 100px;

    margin-bottom: 55px;
}


.x-services-header > p {
    align-self: end;

    max-width: 500px;

    color: var(--x-text);

    font-size: 14px;

    line-height: 2;
}


.x-services-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 1px;

 
}


.x-service-card {
    min-height: 390px;

    padding: 34px;

    background: white;

    transition: var(--x-transition);
}


.x-service-card:hover {
    background: var(--x-navy);

    transform: translateY(-7px);

    box-shadow: 0 25px 60px rgba(7,28,53,.17);
}


.x-service-top {
    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 60px;
}


.x-service-top > span {
    color: var(--x-gold);

    font-family: "Montserrat", sans-serif;

    font-size: 11px;
}


.x-service-icon {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    color: var(--x-navy);

    border: 1px solid var(--x-border);

    font-size: 18px;
}


.x-service-card:hover .x-service-icon {
    color: white;
    border-color: rgba(255,255,255,.25);
}


.x-service-card h3 {
    min-height: 55px;

    color: var(--x-navy);

    font-size: 19px;

    line-height: 1.5;
}


.x-service-card:hover h3 {
    color: white;
}


.x-service-card p {
    margin-top: 18px;

    color: var(--x-text);

    font-size: 11px;

    line-height: 1.9;
}


.x-service-card:hover p {
    color: rgba(255,255,255,.65);
}


.x-service-card > a {
    display: inline-flex;

    gap: 10px;

    margin-top: 25px;

    color: var(--x-navy);

    font-size: 10px;

    font-weight: 700;
}


.x-service-card:hover > a {
    color: var(--x-gold);
}


/* =========================================================
   PROJECTS
========================================================= */

.x-projects {
    background: #06182d;
}


.light-heading h2 {
    color: white;
}


.x-project-grid {
    display: grid;

    grid-template-columns:
        1.2fr 1fr 1fr;

    gap: 18px;
}


.x-project {
    min-height: 460px;

    display: flex;

    align-items: end;

    padding: 30px;

    position: relative;

    background-size: cover;
    background-position: center;

    overflow: hidden;
}


.x-project::before {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(4,18,34,.9),
            rgba(4,18,34,.05)
        );
}


.x-project > div {
    position: relative;

    z-index: 2;
}


.x-project small {
    color: var(--x-gold);

    font-size: 9px;

    letter-spacing: 1.4px;

    text-transform: uppercase;
}


.x-project h3 {
    margin-top: 8px;

    color: white;

    font-size: 24px;

    font-weight: 500;
}


/* =========================================================
   INSIGHTS
========================================================= */

.x-insights-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 24px;
}


.x-insight {
    border: 1px solid var(--x-border);

    background: white;

    transition: var(--x-transition);
}


.x-insight:hover {
    transform: translateY(-7px);

    box-shadow: 0 20px 50px rgba(7,28,53,.1);
}


.x-insight-image {
    height: 230px;

    background:
        linear-gradient(
            135deg,
            rgba(7,28,53,.4),
            rgba(21,91,145,.25)
        ),
        url("../images/projects/project-1.jpg")
        center / cover;
}


.x-insight-image.second {
    background:
        linear-gradient(
            135deg,
            rgba(7,28,53,.4),
            rgba(21,91,145,.25)
        ),
        url("../images/projects/project-2.jpg")
        center / cover;
}


.x-insight-image.third {
    background:
        linear-gradient(
            135deg,
            rgba(7,28,53,.4),
            rgba(21,91,145,.25)
        ),
        url("../images/projects/project-3.jpg")
        center / cover;
}


.x-insight-body {
    padding: 27px;
}


.x-insight-body > span {
    color: var(--x-blue);

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 1px;

    text-transform: uppercase;
}


.x-insight-body h3 {
    min-height: 65px;

    margin-top: 13px;

    color: var(--x-navy);

    font-size: 17px;

    line-height: 1.6;
}


.x-insight-body a {
    display: inline-block;

    margin-top: 20px;

    color: var(--x-navy);

    font-size: 10px;

    font-weight: 700;
}


/* =========================================================
   CONTACT
========================================================= */

.x-contact {
    position: relative;

    overflow: hidden;

    background: var(--x-gold);
}


.x-contact-shape {
    position: absolute;

    width: 600px;
    height: 600px;

    border: 1px solid rgba(7,28,53,.15);

    border-radius: 50%;

    top: -350px;
    inset-inline-end: -100px;
}


.x-contact-inner {
    min-height: 360px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 70px;

    position: relative;
}


.x-contact h2 {
    max-width: 750px;

    margin-bottom: 17px;

    color: var(--x-navy);

    font-size: clamp(
        34px,
        4vw,
        58px
    );

    font-weight: 500;

    line-height: 1.2;
}


.x-contact p {
    color: rgba(7,28,53,.7);

    font-size: 14px;
}


.x-contact-button {
    flex-shrink: 0;

    display: flex;

    align-items: center;

    gap: 30px;

    padding: 18px 24px;

    color: white;

    background: var(--x-navy);

    font-size: 11px;

    font-weight: 700;

    transition: var(--x-transition);
}


.x-contact-button span {
    color: var(--x-gold);
}


.x-contact-button:hover {
    background: white;
    color: var(--x-navy);

    transform: translateY(-4px);
}


/* =========================================================
   FOOTER
========================================================= */

.x-footer {
    padding-top: 75px;

    background: #041426;

    color: rgba(255,255,255,.65);
}


.x-footer-grid {
    display: grid;

    grid-template-columns:
        1.5fr 1fr 1fr 1.1fr;

    gap: 70px;

    padding-bottom: 60px;
}


.footer-logo .x-logo-mark {
    background: var(--x-gold);
    color: var(--x-navy);
}


.footer-logo .x-logo-text strong {
    color: white;
}


.footer-logo .x-logo-text small {
    color: rgba(255,255,255,.45);
}


.x-footer-brand p {
    max-width: 300px;

    margin-top: 25px;

    font-size: 12px;

    line-height: 1.9;
}


.x-footer h4 {
    margin-bottom: 25px;

    color: white;

    font-size: 12px;
}


.x-footer-grid > div:not(.x-footer-brand) a,
.footer-address {
    display: block;

    margin-bottom: 13px;

    font-size: 11px;

    transition: .25s ease;
}


.x-footer-grid > div:not(.x-footer-brand) a:hover {
    color: var(--x-gold);
}


.x-footer-bottom {
    min-height: 70px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

    border-top: 1px solid rgba(255,255,255,.08);

    font-size: 9px;
}


/* =========================================================
   BACK TO TOP
========================================================= */

.x-back-top {
    position: fixed;

    right: 25px;
    left: auto;

    bottom: 25px;
    z-index: 900;

    width: 43px;
    height: 43px;

    border: 0;
    color: white;
    background: var(--x-navy);

    cursor: pointer;

    opacity: 0;
    visibility: hidden;

    transform: translateY(15px);

    transition: .3s ease;
}

/* English: Left */
html[dir="ltr"] .x-back-top {
    right: auto;
    left: 25px;
}

/* Show button */
.x-back-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* =========================================================
   REVEAL ANIMATION
========================================================= */

.reveal {
    opacity: 0;

    transform: translateY(35px);

    transition:
        opacity .8s ease,
        transform .8s ease;
}


.reveal.visible {
    opacity: 1;

    transform: translateY(0);
}


/* =========================================================
   RTL
========================================================= */

html[dir="rtl"] .x-hero-buttons {
    flex-direction: row-reverse;
}


html[dir="rtl"] .x-slider-controls {
    direction: ltr;
}


html[dir="rtl"] .x-text-link:hover span,
html[dir="rtl"] .x-service-card > a:hover span {
    transform: translateX(-5px);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1200px) {

    .x-menu {
        gap: 17px;
    }

    .x-menu-link {
        font-size: 11px;
    }

    .x-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media (max-width: 1000px) {

    .x-container {
        width: min(
            calc(100% - 40px),
            var(--x-container)
        );
    }


    .x-menu,
    .x-nav-actions {
        display: none;
    }


    .x-mobile-btn {
        display: block;
        margin-inline-start: auto;
    }


    .x-mobile-menu {
        position: absolute;

        top: 100%;
        left: 0;
        right: 0;

        display: flex;

        flex-direction: column;

        padding: 10px 20px 20px;

        background: white;

        border-top: 1px solid var(--x-border);

        box-shadow: 0 20px 35px rgba(7,28,53,.12);

        opacity: 0;
        visibility: hidden;

        transform: translateY(-10px);

        transition: .3s ease;
    }


    .x-mobile-menu.open {
        opacity: 1;
        visibility: visible;

        transform: translateY(0);
    }


    .x-mobile-menu a {
        padding: 15px;

        color: var(--x-navy);

        border-bottom: 1px solid var(--x-border);

        font-size: 13px;
    }


    .x-mobile-menu .mobile-consult {
        margin-top: 10px;

        color: white;

        background: var(--x-navy);

        text-align: center;
    }


    .x-section-grid,
    .x-dark-grid {
        grid-template-columns: 1fr;

        gap: 45px;
    }


    .x-stats {
        grid-template-columns: repeat(2, 1fr);
    }


    .x-stat:nth-child(2) {
        border-inline-end: 0;
    }


    .x-stat:nth-child(3),
    .x-stat:nth-child(4) {
        border-top: 1px solid var(--x-border);
    }


    .x-values {
        grid-template-columns: repeat(2, 1fr);
    }


    .x-services-header {
        grid-template-columns: 1fr;
        gap: 20px;
    }


    .x-project-grid {
        grid-template-columns: 1fr 1fr;
    }


    .x-project:first-child {
        grid-column: span 2;
    }


    .x-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media (max-width: 700px) {

    .x-topbar {
        display: none;
    }


    .x-navbar {
        height: 70px;
    }


    .x-logo-mark {
        width: 38px;
        height: 38px;

        font-size: 21px;
    }


    .x-logo-text strong {
        font-size: 19px;
    }


    .x-hero {
        height: 680px;

        min-height: 680px;
    }


    .x-hero-content {
        padding-top: 0;
    }


    .x-hero h1 {
        font-size: 46px;
    }


    .x-hero p {
        font-size: 13px;
    }


    .x-hero-buttons {
        flex-direction: column !important;

        align-items: stretch;
    }


    .x-btn {
        width: 100%;
    }


    .x-slider-controls {
        bottom: 22px;
    }


    .x-scroll-down {
        display: none;
    }


    .x-section {
        padding: 75px 0;
    }


    .x-stats {
        margin-top: 60px;

        grid-template-columns: 1fr 1fr;
    }


    .x-stat {
        padding: 25px 15px;
    }


    .x-stat strong {
        font-size: 31px;
    }


    .x-values,
    .x-services-grid,
    .x-insights-grid,
    .x-project-grid {
        grid-template-columns: 1fr;
    }


    .x-project:first-child {
        grid-column: auto;
    }


    .x-project {
        min-height: 340px;
    }


    .x-contact-inner {
        padding: 75px 0;

        flex-direction: column;

        align-items: flex-start;

        gap: 35px;
    }


    .x-contact h2 {
        font-size: 38px;
    }


    .x-footer-grid {
        grid-template-columns: 1fr;

        gap: 40px;
    }


    .x-footer-bottom {
        padding: 20px 0;

        flex-direction: column;

        align-items: flex-start;

        justify-content: center;
    }

}


@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }

}
/* =========================================================
       XERAA FOOTER
    ========================================================= */

.xeraa-footer {
    background: #071b31;
    color: #fff;
}


/* Main */

.xeraa-footer-main {
    padding: 80px 0 65px;
}


.xeraa-footer-grid {
    display: grid;

    grid-template-columns:
        1.5fr
        1fr
        1fr
        1.2fr;

    gap: 60px;
}


/* Logo */

.xeraa-footer-logo {
    display: inline-flex;

    align-items: center;

    gap: 12px;

    text-decoration: none;

    margin-bottom: 25px;
}


.xeraa-footer-logo .xeraa-logo-mark {
    background: #1A63D8;
    color: #071b31;
}


.xeraa-footer-logo .xeraa-logo-text strong {
    color: #fff;
}


.xeraa-footer-logo .xeraa-logo-text small {
    color: rgba(255,255,255,.55);
}


.xeraa-footer-description {
    max-width: 390px;

    color: rgba(255,255,255,.68);

    font-size: 14px;

    line-height: 2;

    margin: 0 0 25px;
}


/* Footer Titles */

.xeraa-footer-column h4 {
    margin: 0 0 25px;

    color: #fff;

    font-size: 18px;

    font-weight: 700;
}


.xeraa-footer-column h4::after {
    content: "";

    display: block;

    width: 35px;
    height: 2px;

    margin-top: 10px;

    background: #1A63D8;
}


/* Lists */

.xeraa-footer-column ul {
    list-style: none;

    margin: 0;
    padding: 0;
}


.xeraa-footer-column li {
    margin-bottom: 12px;
}


.xeraa-footer-column li a {
    color: rgba(255,255,255,.65);

    text-decoration: none;

    font-size: 14px;

    transition:
        color .25s ease,
        padding .25s ease;
}


.xeraa-footer-column li a:hover {
    color: #1A63D8;

    padding-right: 5px;
}


/* Social */

.xeraa-footer-social {
    display: flex;

    gap: 9px;
}


.xeraa-footer-social a {
    width: 38px;
    height: 38px;

    display: flex;

    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255,255,255,.18);

    color: #fff;

    text-decoration: none;

    font-size: 13px;

    transition: all .25s ease;
}


.xeraa-footer-social a:hover {
    background: #1A63D8;

    border-color: #1A63D8;

    color: #071b31;

    transform: translateY(-3px);
}


/* Contact */

.xeraa-footer-contact {
    display: flex;

    flex-direction: column;

    gap: 18px;
}


.xeraa-contact-item {
    display: flex;

    align-items: flex-start;

    gap: 12px;

    color: rgba(255,255,255,.68);

    font-size: 14px;

    line-height: 1.7;
}


.contact-icon {
    color: #1A63D8;

    min-width: 22px;
}


/* Bottom */

.xeraa-footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);

    padding: 20px 0;
}


.xeraa-footer-bottom-inner {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;
}


.xeraa-footer-bottom p {
    margin: 0;

    color: rgba(255,255,255,.5);

    font-size: 13px;
}


.xeraa-footer-links {
    display: flex;

    gap: 25px;
}


.xeraa-footer-links a {
    color: rgba(255,255,255,.5);

    text-decoration: none;

    font-size: 13px;
}


.xeraa-footer-links a:hover {
    color: #1A63D8;
}


/* =========================================================
       FOOTER RESPONSIVE
    ========================================================= */

@media (max-width: 991px) {

    .xeraa-footer-grid {
        grid-template-columns: 1fr 1fr;

        gap: 45px;
    }

}


@media (max-width: 600px) {

    .xeraa-footer-main {
        padding: 60px 0 45px;
    }

    .xeraa-footer-grid {
        grid-template-columns: 1fr;

        gap: 35px;
    }

    .xeraa-footer-bottom-inner {
        flex-direction: column;

        align-items: flex-start;
    }

    .xeraa-footer-links {
        flex-direction: column;

        gap: 8px;
    }

}
/* =========================================================
       XERAA HEADER - NEW BLADE HEADER
       Add this section at the END of xeraa.css
    ========================================================= */

:root {
    --xeraa-header-height: 88px;
}


/* =========================================================
       HEADER
    ========================================================= */

.xeraa-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;

    width: 100%;
    height: var(--xeraa-header-height, 88px);

    z-index: 99999;

    background: rgba(255, 255, 255, 0.97);

    border-bottom: 1px solid rgba(7, 28, 53, 0.08);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    transition:
        height 0.3s ease,
        background 0.3s ease,
        box-shadow 0.3s ease;
}


/* عند النزول بالصفحة */

.xeraa-header.scrolled {
    --xeraa-header-height: 76px;

    background: rgba(255, 255, 255, 0.99);

    box-shadow:
        0 8px 30px rgba(7, 28, 53, 0.10);
}


/* =========================================================
       NAV
    ========================================================= */

.xeraa-nav {
    width: 100%;
    height: 100%;
}


.xeraa-nav-inner {
    width: min(
        calc(100% - 60px),
        var(--x-container)
    );

    height: 100%;

    margin-inline: auto;

    display: flex;

    align-items: center;

    gap: 30px;
}


/* =========================================================
       LOGO
    ========================================================= */

/* =========================================================
    LOGO
 ========================================================= */

.xeraa-logo {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    height: 100%;

    text-decoration: none;

    line-height: 0;
}


/* =========================================================
       LOGO IMAGE
    ========================================================= */

.xeraa-logo-image {
    display: block;

    width: auto;

    /*
         * حجم اللوجو الأساسي
         * قريب من شكل لوجو TIEMS في الصورة
         */
    height: 64px;

    max-width: 180px;

    object-fit: contain;

    object-position: center;

    transition:
        height 0.3s ease,
        transform 0.25s ease;
}


/* Hover */

.xeraa-logo:hover .xeraa-logo-image {
    transform: scale(1.03);
}


/* =========================================================
       SCROLLED HEADER
    ========================================================= */

.xeraa-header.scrolled .xeraa-logo-image {
    height: 56px;
}


/* =========================================================
       FALLBACK LOGO TEXT
       يظهر فقط لو مفيش صورة Logo
    ========================================================= */

.xeraa-logo-text {
    display: flex;

    align-items: center;

    justify-content: center;

    color: var(--x-navy);

    font-family:
        "Barlow Condensed",
        "Barlow",
        sans-serif;

    font-size: 32px;

    font-weight: 800;

    line-height: 1;

    letter-spacing: 1px;

    white-space: nowrap;

    text-decoration: none;
}


/* Arabic fallback */

html[lang="ar"] .xeraa-logo-text {
    font-family:
        "Tajawal",
        sans-serif;

    font-size: 27px;

    letter-spacing: 0;
}


/* =========================================================
       MAIN MENU
    ========================================================= */

.xeraa-menu {
    height: 100%;

    display: flex;

    align-items: center;

    gap: 2px;

    margin-inline: auto;
}

/* =========================================================
       MAIN MENU
    ========================================================= */

.xeraa-menu {
    height: 100%;

    display: flex;

    align-items: center;

    gap: 2px;

    margin-inline: auto;
}


.xeraa-menu > a,
.xeraa-dropdown-toggle {

    height: 100%;

    display: inline-flex;

    align-items: center;

    position: relative;

    padding: 0 13px;

    border: 0;

    background: transparent;

    color: #293846;

    font-size: 16px;

    font-weight: 600;

    font-family: "Cairo", "Montserrat", sans-serif;

    white-space: nowrap;

    cursor: pointer;

    transition:
        color 0.25s ease,
        background 0.25s ease;
}


/* الخط الذهبي تحت العنصر */

.xeraa-menu > a::after,
.xeraa-dropdown-toggle::after {

    content: "";

    position: absolute;

    left: 13px;
    right: 13px;

    bottom: 0;

    height: 2px;

    background: var(--x-gold);

    transform: scaleX(0);

    transform-origin: center;

    transition: transform 0.25s ease;
}


.xeraa-menu > a:hover,
.xeraa-menu > a.active,
.xeraa-dropdown-toggle:hover {

    color: var(--x-blue);
}


.xeraa-menu > a:hover::after,
.xeraa-menu > a.active::after,
.xeraa-menu-item:hover
.xeraa-dropdown-toggle::after {

    transform: scaleX(1);
}


/* =========================================================
       DROPDOWN ITEM
    ========================================================= */

.xeraa-menu-item {

    height: 100%;

    display: flex;

    align-items: center;

    position: relative;
}


.xeraa-dropdown-toggle {

    gap: 7px;
}





/* =========================================================
       DROPDOWN MENU
    ========================================================= */

.xeraa-dropdown {

    position: absolute;

    top: calc(100% + 1px);

    inset-inline-end: 0;

    width: 270px;

    padding: 10px;

    background: #fff;

    border: 1px solid var(--x-border);

    box-shadow:
        0 18px 45px rgba(7, 28, 53, 0.14);

    border-radius: 0 0 6px 6px;

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transform: translateY(10px);

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease,
        transform 0.25s ease;
}


.xeraa-menu-item:hover .xeraa-dropdown {

    opacity: 1;

    visibility: visible;

    pointer-events: auto;

    transform: translateY(0);
}


.xeraa-dropdown a {

    display: flex;

    align-items: center;

    min-height: 44px;

    padding: 9px 13px;

    color: #40505f;

    font-size: 14px;

    font-weight: 500;

    border-radius: 4px;

    transition:
        color 0.2s ease,
        background 0.2s ease,
        padding 0.2s ease;
}


.xeraa-dropdown a:hover {

    color: var(--x-navy);

    background: #f2f5f8;

    padding-inline-start: 18px;
}


/* =========================================================
       NAV ACTIONS
    ========================================================= */

.xeraa-nav-actions {

    display: flex;

    align-items: center;

    gap: 18px;

    flex-shrink: 0;
}


.xeraa-language {

    color: var(--x-navy);

    font-size: 14px;

    font-weight: 600;

    white-space: nowrap;

    transition: color 0.25s ease;
}


.xeraa-language:hover {

    color: var(--x-gold);
}


/* =========================================================
       CONSULTATION BUTTON
    ========================================================= */

.xeraa-consultation {

    position: relative;

    min-height: 44px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 0 20px;

    overflow: hidden;

    color: #fff;

    background: var(--x-navy);

    border: 1px solid var(--x-navy);

    border-radius: 3px;

    font-size: 13px;

    font-weight: 700;

    white-space: nowrap;

    isolation: isolate;

    transition:
        color 0.3s ease,
        border-color 0.3s ease,
        transform 0.25s ease;
}


.xeraa-consultation::before {

    content: "";

    position: absolute;

    inset: 0;

    z-index: -1;

    background: var(--x-gold);

    transform: translateX(-101%);

    transition: transform 0.3s ease;
}


.xeraa-consultation:hover {

    color: var(--x-navy);

    border-color: var(--x-gold);

    transform: translateY(-2px);
}


.xeraa-consultation:hover::before {

    transform: translateX(0);
}


/* RTL */

html[dir="rtl"] .xeraa-consultation::before {

    transform: translateX(101%);
}


html[dir="rtl"] .xeraa-consultation:hover::before {

    transform: translateX(0);
}


/* =========================================================
       MOBILE BUTTON
    ========================================================= */

.xeraa-mobile-toggle {

    display: none;

    width: 44px;
    height: 44px;

    margin-inline-start: auto;

    padding: 0;

    border: 1px solid var(--x-border);

    border-radius: 4px;

    background: #fff;

    cursor: pointer;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 5px;
}


.xeraa-mobile-toggle span {

    display: block;

    width: 22px;

    height: 2px;

    background: var(--x-navy);

    transition:
        transform 0.25s ease,
        opacity 0.25s ease;
}


.xeraa-mobile-toggle.active
span:nth-child(1) {

    transform:
        translateY(7px)
        rotate(45deg);
}


.xeraa-mobile-toggle.active
span:nth-child(2) {

    opacity: 0;
}


.xeraa-mobile-toggle.active
span:nth-child(3) {

    transform:
        translateY(-7px)
        rotate(-45deg);
}


/* =========================================================
       MAIN CONTENT OFFSET
    ========================================================= */

#xeraaMain {
    padding-top: calc(var(--xeraa-header-height) - 50px);
}

/* =========================================================
       OLD TOP BAR
       لأنك طلبت إلغاء الـ Black Top Bar
    ========================================================= */

.x-topbar {

    display: none !important;
}


/* =========================================================
       OLD NAVBAR
       لا تستخدمه مع الـ xeraa-header الجديد
    ========================================================= */

.x-navbar {

    position: relative;
}


/* =========================================================
       MOBILE
    ========================================================= */

@media (max-width: 1200px) {

    .xeraa-nav-inner {

        width: calc(100% - 40px);

        gap: 18px;
    }


    .xeraa-menu > a,
    .xeraa-dropdown-toggle {

        padding-inline: 9px;

        font-size: 14px;
    }


    .xeraa-nav-actions {

        gap: 10px;
    }


    .xeraa-consultation {

        padding-inline: 14px;

        font-size: 12px;
    }

}


@media (max-width: 1000px) {

    :root {

        --xeraa-header-height: 76px;
    }


    .xeraa-header {

        height: var(--xeraa-header-height);
    }


    .xeraa-nav-inner {

        width: calc(100% - 30px);

        gap: 15px;
    }


    /* إخفاء القائمة الأساسية */

    .xeraa-menu {

        position: fixed;

        top: var(--xeraa-header-height);

        left: 15px;
        right: 15px;

        height: auto;

        max-height:
            calc(100vh - var(--xeraa-header-height) - 20px);

        overflow-y: auto;

        padding: 10px;

        display: flex;

        flex-direction: column;

        align-items: stretch;

        margin: 0;

        background: #fff;

        border: 1px solid var(--x-border);

        border-radius: 6px;

        box-shadow:
            0 20px 50px rgba(7, 28, 53, 0.15);

        opacity: 0;

        visibility: hidden;

        pointer-events: none;

        transform: translateY(-10px);

        transition:
            opacity 0.25s ease,
            visibility 0.25s ease,
            transform 0.25s ease;
    }


    .xeraa-menu.active {

        opacity: 1;

        visibility: visible;

        pointer-events: auto;

        transform: translateY(0);
    }


    .xeraa-menu > a,
    .xeraa-dropdown-toggle {

        width: 100%;

        min-height: 50px;

        height: auto;

        justify-content: space-between;

        padding: 10px 14px;

        font-size: 16px;

        border-bottom: 1px solid #edf1f4;
    }


    .xeraa-menu > a::after,
    .xeraa-dropdown-toggle::after {

        display: none;
    }


    .xeraa-menu-item {

        width: 100%;

        height: auto;

        display: block;
    }


    /* Dropdown Mobile */

    .xeraa-dropdown {

        position: static;

        width: 100%;

        max-height: 0;

        overflow: hidden;

        padding: 0;

        border: 0;

        border-radius: 0;

        box-shadow: none;

        opacity: 1;

        visibility: visible;

        pointer-events: auto;

        transform: none;

        transition:
            max-height 0.3s ease,
            padding 0.3s ease;
    }


    .xeraa-menu-item.open
    .xeraa-dropdown {

        max-height: 600px;

        padding: 5px 0 8px;
    }


    .xeraa-menu-item:hover
    .xeraa-dropdown {

        opacity: 1;

        visibility: visible;

        transform: none;
    }


    .xeraa-dropdown a {

        min-height: 44px;

        padding: 9px 20px;

        background: #f7f9fb;

        font-size: 14px;
    }


    .xeraa-dropdown a:hover {

        padding-inline-start: 20px;

        background: #edf2f6;
    }

    .dropdown-arrow {
        width: 8px;
        height: 8px;
        border-right: 1.5px solid currentColor;
        border-bottom: 1.5px solid currentColor;
        transform: rotate(45deg);
        transition: all .3s cubic-bezier(.4, 0, .2, 1);
        display: inline-block;
        margin-top: -4px;
    }

    .xeraa-menu-item.has-dropdown:hover .dropdown-arrow {
        transform: rotate(225deg);
        margin-top: 4px;
    }
    .xeraa-menu-item.open
    .dropdown-arrow {

        transform: rotate(180deg);
    }


    /* Actions */

    .xeraa-nav-actions {

        display: none;
    }


    /* Mobile button */

    .xeraa-mobile-toggle {

        display: flex;
    }


    /* Logo */

    .xeraa-logo-mark {

        width: 42px;
        height: 42px;

        font-size: 22px;
    }


    .xeraa-logo-text strong {

        font-size: 21px;
    }


    .xeraa-logo-text small {

        font-size: 7px;
    }


    #xeraaMain {

        padding-top:
            var(--xeraa-header-height);
    }

}


@media (max-width: 575px) {

    .xeraa-nav-inner {

        width: calc(100% - 22px);
    }


    .xeraa-logo {

        gap: 8px;
    }


    .xeraa-logo-mark {

        width: 39px;
        height: 39px;

        font-size: 20px;
    }


    .xeraa-logo-text strong {

        font-size: 19px;
    }


    .xeraa-logo-text small {

        display: none;
    }


    .xeraa-mobile-toggle {

        width: 41px;
        height: 41px;
    }


    .xeraa-menu {

        left: 10px;
        right: 10px;
    }

}


/* =========================================================
       HERO OFFSET FIX
    ========================================================= */

.x-hero {

    margin-top: 0;
}


/* =========================================================
       OLD SLIDER CONTROLS
       إخفاء الأسهم والنقط والـ controls
    ========================================================= */

.x-slider-controls,
.x-slider-arrow,
.x-slider-dots {

    display: none !important;
}


/* =========================================================
       RTL DROPDOWN
    ========================================================= */

html[dir="rtl"] .xeraa-dropdown {

    inset-inline-end: auto;

    inset-inline-start: 0;
}


html[dir="rtl"] .xeraa-dropdown a:hover {

    padding-inline-start: 13px;

    padding-inline-end: 18px;
}


/* =========================================================
       MOBILE BODY
    ========================================================= */

@media (max-width: 1000px) {

    body.xeraa-menu-open {

        overflow: hidden;
    }

}
/* =========================================================
       XERAA SCROLL REVEAL ANIMATIONS
    ========================================================= */

.x-reveal,
.xeraa-reveal {
    opacity: 0;
    transform: translateY(55px);
    transition:
        opacity 0.85s cubic-bezier(.22, 1, .36, 1),
        transform 0.85s cubic-bezier(.22, 1, .36, 1);
    will-change: opacity, transform;
}

.x-reveal.show,
.xeraa-reveal.show {
    opacity: 1;
    transform: translateY(0);
}


/* From Left */

.x-reveal-left {
    opacity: 0;
    transform: translateX(-70px);
    transition:
        opacity 0.9s cubic-bezier(.22, 1, .36, 1),
        transform 0.9s cubic-bezier(.22, 1, .36, 1);
}

.x-reveal-left.show {
    opacity: 1;
    transform: translateX(0);
}


/* From Right */

.x-reveal-right {
    opacity: 0;
    transform: translateX(70px);
    transition:
        opacity 0.9s cubic-bezier(.22, 1, .36, 1),
        transform 0.9s cubic-bezier(.22, 1, .36, 1);
}

.x-reveal-right.show {
    opacity: 1;
    transform: translateX(0);
}


/* Scale */

.x-reveal-scale {
    opacity: 0;
    transform: scale(.88);
    transition:
        opacity 0.8s ease,
        transform 0.8s cubic-bezier(.22, 1, .36, 1);
}

.x-reveal-scale.show {
    opacity: 1;
    transform: scale(1);
}


/* =========================================================
       STAGGER
       العناصر تظهر واحد وراء التاني
    ========================================================= */

.x-stagger > * {
    opacity: 0;
    transform: translateY(40px);
    transition:
        opacity 0.7s cubic-bezier(.22, 1, .36, 1),
        transform 0.7s cubic-bezier(.22, 1, .36, 1);
}

.x-stagger.show > * {
    opacity: 1;
    transform: translateY(0);
}

.x-stagger.show > *:nth-child(1) {
    transition-delay: .05s;
}

.x-stagger.show > *:nth-child(2) {
    transition-delay: .15s;
}

.x-stagger.show > *:nth-child(3) {
    transition-delay: .25s;
}

.x-stagger.show > *:nth-child(4) {
    transition-delay: .35s;
}

.x-stagger.show > *:nth-child(5) {
    transition-delay: .45s;
}

.x-stagger.show > *:nth-child(6) {
    transition-delay: .55s;
}

.x-stagger.show > *:nth-child(7) {
    transition-delay: .65s;
}

.x-stagger.show > *:nth-child(8) {
    transition-delay: .75s;
}


/* =========================================================
       SECTION TITLES
    ========================================================= */

.x-section-title-reveal {
    opacity: 0;
    transform: translateY(35px);
    transition:
        opacity .8s ease,
        transform .8s cubic-bezier(.22, 1, .36, 1);
}

.x-section-title-reveal.show {
    opacity: 1;
    transform: translateY(0);
}


/* =========================================================
       STATS
       بدون عداد - تظهر ثابتة
    ========================================================= */

.x-stats-static {
    position: relative;
}

.x-stats-static .x-stat-item {
    opacity: 0;
    transform: translateY(35px);
    transition:
        opacity .7s ease,
        transform .7s cubic-bezier(.22, 1, .36, 1);
}

.x-stats-static.show .x-stat-item {
    opacity: 1;
    transform: translateY(0);
}

.x-stats-static.show .x-stat-item:nth-child(1) {
    transition-delay: .05s;
}

.x-stats-static.show .x-stat-item:nth-child(2) {
    transition-delay: .15s;
}

.x-stats-static.show .x-stat-item:nth-child(3) {
    transition-delay: .25s;
}

.x-stats-static.show .x-stat-item:nth-child(4) {
    transition-delay: .35s;
}


/* =========================================================
       IMAGE REVEAL
    ========================================================= */

.x-image-reveal {
    overflow: hidden;
}

.x-image-reveal img {
    opacity: 0;
    transform: scale(1.08);
    transition:
        opacity 1s ease,
        transform 1.2s cubic-bezier(.22, 1, .36, 1);
}

.x-image-reveal.show img {
    opacity: 1;
    transform: scale(1);
}


/* =========================================================
       WHATSAPP FLOATING BUTTON
    ========================================================= */

.xeraa-whatsapp {
    position: fixed;
    right: 24px;
    bottom: 24px;

    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    z-index: 99999;

    border-radius: 50%;

    background: #25D366;
    color: #fff;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, .20);

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.xeraa-whatsapp:hover {
    transform: translateY(-5px) scale(1.05);

    box-shadow:
        0 12px 30px rgba(0, 0, 0, .28);
}

.xeraa-whatsapp svg {
    width: 30px;
    height: 30px;
    fill: currentColor;
}


/* Pulse */

.xeraa-whatsapp::before {
    content: "";

    position: absolute;

    inset: -6px;

    border-radius: 50%;

    border: 2px solid rgba(37, 211, 102, .45);

    animation: xeraaWhatsappPulse 2s infinite;
}

@keyframes xeraaWhatsappPulse {

    0% {
        transform: scale(.85);
        opacity: .9;
    }

    70% {
        transform: scale(1.2);
        opacity: 0;
    }

    100% {
        transform: scale(1.2);
        opacity: 0;
    }

}


/* RTL */

html[dir="rtl"] .xeraa-whatsapp {
    right: auto;
    left: 24px;
}


/* =========================================================
       MOBILE
    ========================================================= */

@media (max-width: 575px) {

    .xeraa-whatsapp {
        width: 52px;
        height: 52px;

        right: 16px;
        bottom: 16px;
    }

    html[dir="rtl"] .xeraa-whatsapp {
        right: auto;
        left: 16px;
    }

    .xeraa-whatsapp svg {
        width: 27px;
        height: 27px;
    }

}


/* =========================================================
       ACCESSIBILITY
    ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .x-reveal,
    .xeraa-reveal,
    .x-reveal-left,
    .x-reveal-right,
    .x-reveal-scale,
    .x-stagger > *,
    .x-section-title-reveal,
    .x-stats-static .x-stat-item,
    .x-image-reveal img {

        opacity: 1 !important;

        transform: none !important;

        transition: none !important;
    }

    .xeraa-whatsapp::before {
        animation: none;
    }

}
/* =========================================================
   XERAA TYPOGRAPHY
   Corporate Financial Consultancy
========================================================= */

:root {
    --xeraa-font: "Tajawal", sans-serif;
}


/* Global */

html,
body {
    font-family: var(--xeraa-font);
}


/* All elements */

body,
button,
input,
textarea,
select {
    font-family: var(--xeraa-font);
}


/* =========================================================
       NAVIGATION
    ========================================================= */

.xeraa-menu > a,
.xeraa-dropdown-toggle {
    font-family: var(--xeraa-font);
    font-size: 17px;
    font-weight: 600;
}

.xeraa-dropdown a {
    font-family: var(--xeraa-font);
    font-size: 15px;
    font-weight: 500;
}

.xeraa-language {
    font-family: var(--xeraa-font);
    font-size: 15px;
    font-weight: 600;
}

.xeraa-consultation {
    font-family: var(--xeraa-font);
    font-size: 14px;
    font-weight: 700;
}


/* =========================================================
       LOGO
    ========================================================= */

.xeraa-logo-text strong {
    font-family: var(--xeraa-font);
    font-weight: 900;
}

.xeraa-logo-text small {
    font-family: var(--xeraa-font);
    font-size: 9px;
}


/* =========================================================
       HERO
    ========================================================= */

.x-hero-label {
    font-family: var(--xeraa-font);
    font-size: 17px;
    font-weight: 600;
}

.x-hero h1 {
    font-family: var(--xeraa-font);
    font-size: clamp(42px, 5vw, 76px);
    font-weight: 700;
    line-height: 1.18;
}

.x-hero h1 strong {
    font-family: var(--xeraa-font);
    font-weight: 900;
}

.x-hero p {
    font-family: var(--xeraa-font);
    font-size: 19px;
    line-height: 2;
    font-weight: 400;
    max-width: 720px;
}


/* Hero buttons */

.x-btn {
    font-family: var(--xeraa-font);
    font-size: 16px;
    font-weight: 700;
}


/* =========================================================
       SECTION HEADINGS
    ========================================================= */

.x-kicker {
    font-family: var(--xeraa-font);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0;
}

.x-section-heading h2,
.x-centered-heading h2,
.x-services-header h2,
.x-dark-title h2,
.x-contact h2 {
    font-family: var(--xeraa-font);
    font-size: clamp(32px, 3.5vw, 52px);
    font-weight: 800;
    line-height: 1.35;
}


/* =========================================================
       GENERAL TEXT
    ========================================================= */

.x-section-text p,
.x-dark-text p,
.x-services-header > p,
.x-contact p {
    font-family: var(--xeraa-font);
    font-size: 18px;
    line-height: 2;
    font-weight: 400;
}


/* =========================================================
       STATS
    ========================================================= */

.x-stat strong {
    font-family: var(--xeraa-font);
    font-size: clamp(38px, 4vw, 58px);
    font-weight: 800;
}

.x-stat span {
    font-family: var(--xeraa-font);
    font-size: 16px;
    font-weight: 500;
}


/* =========================================================
       VALUES
    ========================================================= */

.x-value h3 {
    font-family: var(--xeraa-font);
    font-size: 23px;
    font-weight: 800;
}

.x-value p {
    font-family: var(--xeraa-font);
    font-size: 16px;
    line-height: 1.9;
}


/* =========================================================
       SERVICES
    ========================================================= */

.x-service-card h3 {
    font-family: var(--xeraa-font);
    font-size: 24px;
    font-weight: 800;
}

.x-service-card p {
    font-family: var(--xeraa-font);
    font-size: 16px;
    line-height: 1.9;
}

.x-service-card a {
    font-family: var(--xeraa-font);
    font-size: 15px;
    font-weight: 700;
}


/* =========================================================
       PROJECTS
    ========================================================= */

.x-project small {
    font-family: var(--xeraa-font);
    font-size: 14px;
    font-weight: 600;
}

.x-project h3 {
    font-family: var(--xeraa-font);
    font-size: 26px;
    font-weight: 800;
}


/* =========================================================
       INSIGHTS
    ========================================================= */

.x-insight-body > span {
    font-family: var(--xeraa-font);
    font-size: 14px;
    font-weight: 600;
}

.x-insight-body h3 {
    font-family: var(--xeraa-font);
    font-size: 22px;
    font-weight: 800;
    line-height: 1.6;
}

.x-insight-body a {
    font-family: var(--xeraa-font);
    font-size: 15px;
    font-weight: 700;
}


/* =========================================================
       CONTACT
    ========================================================= */

.x-contact-button {
    font-family: var(--xeraa-font);
    font-size: 16px;
    font-weight: 700;
}


/* =========================================================
       MOBILE
    ========================================================= */

@media (max-width: 1000px) {

    .xeraa-menu > a,
    .xeraa-dropdown-toggle {
        font-size: 17px;
    }

    .x-hero h1 {
        font-size: clamp(36px, 8vw, 58px);
    }

    .x-hero p {
        font-size: 17px;
        line-height: 1.9;
    }

    .x-section-heading h2,
    .x-centered-heading h2,
    .x-services-header h2,
    .x-dark-title h2,
    .x-contact h2 {
        font-size: 34px;
    }

}


@media (max-width: 575px) {

    .x-hero h1 {
        font-size: 35px;
    }

    .x-hero p {
        font-size: 16px;
        line-height: 1.85;
    }

    .x-section-heading h2,
    .x-centered-heading h2,
    .x-services-header h2,
    .x-dark-title h2,
    .x-contact h2 {
        font-size: 29px;
    }

    .x-section-text p,
    .x-dark-text p,
    .x-services-header > p,
    .x-contact p {
        font-size: 16px;
        line-height: 1.9;
    }

}

/* =========================================================
       XERAA HERO - SMOOTH CROSS FADE
       ========================================================= */

.x-hero {
    position: relative;
    width: 100%;
    height: 680px;
    min-height: 600px;
    overflow: hidden;
    background: #071a33;
}

.x-hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* =========================================================
       SLIDES
       ========================================================= */

.x-slide {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    opacity: 0;
    visibility: hidden;

    z-index: 1;

    overflow: hidden;

    /*
         * انتقال واحد فقط بين الصور
         */
    transition:
        opacity 1.2s ease-in-out,
        visibility 1.2s ease-in-out;
}

.x-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}


/* =========================================================
       IMAGE
       ========================================================= */

.x-slide picture {
    position: absolute;
    inset: 0;

    display: block;

    width: 100%;
    height: 100%;
}

.x-slide picture img {
    display: block;

    width: 100%;
    height: 100%;

    max-width: none;

    /*
         * كل الصور نفس المساحة
         */
    object-fit: cover;
    object-position: center center;

    /*
         * مهم:
         * مفيش Zoom
         * مفيش Transform
         * مفيش حركة
         */
    transform: none !important;

    transition: none !important;
}


/* =========================================================
       OVERLAY
       ========================================================= */

.x-slide-overlay {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    z-index: 2;

    background:
        linear-gradient(
            90deg,
            rgba(3, 17, 35, 0.78) 0%,
            rgba(3, 17, 35, 0.52) 45%,
            rgba(3, 17, 35, 0.25) 75%,
            rgba(3, 17, 35, 0.18) 100%
        );
}


/* =========================================================
       CONTENT
       ========================================================= */

.x-hero-content {
    position: absolute;

    top: 50%;
    left: 0;

    z-index: 3;

    width: 100%;
    max-width: 1250px;

    padding: 0 60px;

    transform: translateY(-50%);

    color: #ffffff;
}

html[dir="rtl"] .x-hero-content {
    text-align: right;
}

html[dir="ltr"] .x-hero-content {
    text-align: left;
}


/* =========================================================
       TITLE
       ========================================================= */

.x-hero-title {
    margin: 0 0 24px;

    max-width: 850px;

    color: #ffffff !important;

    font-size: clamp(38px, 5vw, 72px);

    font-weight: 800;

    line-height: 1.15;

    text-shadow:
        0 3px 15px rgba(0, 0, 0, 0.45);

    /*
         * مفيش حركة للعنوان
         */
    opacity: 1;
    transform: none;

    transition: none;
}


/* =========================================================
       DESCRIPTION
       ========================================================= */

.x-hero-description {
    margin: 0 0 32px;

    max-width: 720px;

    color: rgba(255, 255, 255, 0.95) !important;

    font-size: clamp(18px, 2vw, 24px);

    font-weight: 400;

    line-height: 1.8;

    text-shadow:
        0 2px 10px rgba(0, 0, 0, 0.4);

    opacity: 1;
    transform: none;

    transition: none;
}


/* =========================================================
       BUTTON
       ========================================================= */

.x-hero-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-width: 180px;

    padding: 15px 30px;

    border-radius: 5px;

    background: #1A63D8;

    color: #ffffff !important;

    font-size: 17px;
    font-weight: 700;

    text-decoration: none;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.20);

    opacity: 1;
    transform: none;

    transition:
        background 0.25s ease,
        color 0.25s ease;
}

.x-hero-button:hover {
    background: #ffffff;
    color: #071a33 !important;
}


/* =========================================================
       REMOVE OLD ANIMATIONS
       ========================================================= */

.x-slide.active picture img {
    transform: none !important;
}

.x-slide.active .x-hero-title {
    opacity: 1;
    transform: none;
}

.x-slide.active .x-hero-description {
    opacity: 1;
    transform: none;
}

.x-slide.active .x-hero-button {
    opacity: 1;
    transform: none;
}


/* =========================================================
       MOBILE
       ========================================================= */

@media (max-width: 768px) {

    .x-hero {
        height: 620px;
        min-height: 620px;
    }

    .x-slide picture img {
        object-position: center center;
    }
    body {
        font-family: 'Tajawal', sans-serif !important;
    }
    .x-slide-overlay {
        background:
            linear-gradient(
                180deg,
                rgba(3, 17, 35, 0.30) 0%,
                rgba(3, 17, 35, 0.60) 55%,
                rgba(3, 17, 35, 0.88) 100%
            );
    }

    .x-hero-content {
        top: 50%;
        padding: 0 25px;
        text-align: center !important;
    }

    .x-hero-title {
        max-width: 100%;
        margin-bottom: 18px;
        font-size: 38px;
        line-height: 1.25;
    }

    .x-hero-description {
        max-width: 100%;
        margin-bottom: 25px;
        font-size: 17px;
        line-height: 1.7;
    }

    .x-hero-button {
        min-width: 160px;
        padding: 13px 24px;
        font-size: 16px;
    }
}


@media (max-width: 480px) {

    .x-hero {
        height: 580px;
        min-height: 580px;
    }

    .x-hero-title {
        font-size: 31px;
    }

    .x-hero-description {
        font-size: 16px;
    }
}
/* =========================================================
       XERAA PROJECTS
       ========================================================= */

.x-projects-section {
    position: relative;

    padding: 110px 0 120px;

    background:
        linear-gradient(
            180deg,
            #061a32 0%,
            #08213d 100%
        );

    overflow: hidden;
}


/* =========================================================
       HEADER
       ========================================================= */

.x-projects-header {
    display: grid;

    grid-template-columns:
        minmax(0, 1.2fr)
        minmax(300px, .8fr);

    align-items: end;

    gap: 70px;

    margin-bottom: 55px;
}


.x-projects-heading {
    max-width: 750px;
}


.x-projects-heading .x-kicker {
    display: inline-block;

    margin-bottom: 16px;

    color: #1A63D8;
}


.x-projects-heading h2 {
    margin: 0;

    color: #ffffff;

    font-size: clamp(34px, 4vw, 54px);

    font-weight: 800;

    line-height: 1.2;
}


.x-projects-header > p {
    margin: 0;

    max-width: 520px;

    color: rgba(255,255,255,.72);

    font-size: 18px;

    line-height: 1.9;
}


/* =========================================================
       GRID
       ========================================================= */

.x-project-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 24px;
}


/* =========================================================
       PROJECT CARD
       ========================================================= */

.x-project-card {
    position: relative;

    height: 470px;

    overflow: hidden;

    border-radius: 4px;

    background: #0b2948;

    cursor: pointer;

    box-shadow:
        0 15px 45px rgba(0,0,0,.18);

    isolation: isolate;
}


/* =========================================================
       IMAGE
       ========================================================= */

.x-project-image {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    overflow: hidden;
}


.x-project-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position: center;

    transform: scale(1);

    transition:
        transform .8s cubic-bezier(.22,1,.36,1);
}


/* =========================================================
       OVERLAY
       ========================================================= */

.x-project-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(4,20,39,.02) 10%,
            rgba(4,20,39,.08) 30%,
            rgba(4,20,39,.52) 62%,
            rgba(4,20,39,.94) 100%
        );

    z-index: 1;

    transition:
        background .5s ease;
}


/* =========================================================
       CONTENT
       ========================================================= */

.x-project-content {
    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    z-index: 2;

    padding: 32px 30px;

    color: #ffffff;
}


.x-project-category {
    display: block;

    margin-bottom: 10px;

    color: #d3ad5c;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 1.5px;

    text-transform: uppercase;
}


.x-project-content h3 {
    margin: 0;

    padding-right: 45px;

    color: #ffffff;

    font-size: 28px;

    font-weight: 800;

    line-height: 1.3;
}


.x-project-arrow {
    position: absolute;

    right: 30px;
    bottom: 33px;

    display: flex;

    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    border: 1px solid rgba(255,255,255,.35);

    border-radius: 50%;

    color: #ffffff;

    font-size: 20px;

    transition:
        background .3s ease,
        border-color .3s ease,
        transform .3s ease;
}


/* =========================================================
       HOVER
       ========================================================= */

.x-project-card:hover .x-project-image img {
    transform: scale(1.06);
}


.x-project-card:hover .x-project-overlay {
    background:
        linear-gradient(
            180deg,
            rgba(4,20,39,.05) 5%,
            rgba(4,20,39,.18) 35%,
            rgba(4,20,39,.62) 65%,
            rgba(4,20,39,.96) 100%
        );
}


.x-project-card:hover .x-project-arrow {
    background: #1A63D8;

    border-color: #1A63D8;

    color: #071a33;

    transform: translateX(-4px);
}


/* =========================================================
       RTL
       ========================================================= */

html[dir="rtl"] .x-project-arrow {
    right: auto;
    left: 30px;
}


html[dir="rtl"] .x-project-content h3 {
    padding-right: 0;
    padding-left: 45px;
}


html[dir="rtl"] .x-project-card:hover .x-project-arrow {
    transform: translateX(4px);
}


/* =========================================================
       TABLET
       ========================================================= */

@media (max-width: 1000px) {

    .x-projects-section {
        padding: 90px 0;
    }


    .x-projects-header {
        grid-template-columns: 1fr;

        gap: 20px;

        margin-bottom: 40px;
    }


    .x-project-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    .x-project-card {
        height: 430px;
    }

}


/* =========================================================
       MOBILE
       ========================================================= */

@media (max-width: 650px) {

    .x-projects-section {
        padding: 75px 0 85px;
    }


    .x-projects-header {
        margin-bottom: 30px;
    }


    .x-projects-heading h2 {
        font-size: 34px;
    }


    .x-projects-header > p {
        font-size: 16px;

        line-height: 1.8;
    }


    .x-project-grid {
        grid-template-columns: 1fr;

        gap: 18px;
    }


    .x-project-card {
        height: 400px;
    }


    .x-project-content {
        padding: 25px;
    }


    .x-project-content h3 {
        font-size: 25px;
    }


    .x-project-arrow {
        right: 25px;
        bottom: 27px;
    }


    html[dir="rtl"] .x-project-arrow {
        right: auto;
        left: 25px;
    }

}
/* =========================================================
       CONTACT PAGE
    ========================================================= */

.x-contact-page {
    background: #fff;
    color: #10243e;
}


/* =========================================================
       HERO
    ========================================================= */

.x-contact-hero {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: center;
    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #071b35 0%,
            #0d2b4d 55%,
            #123c65 100%
        );
}

.x-contact-hero::before {
    content: "";
    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(198, 159, 77, .18),
            transparent 35%
        );

    pointer-events: none;
}

.x-contact-hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(5, 21, 40, .9),
            rgba(5, 21, 40, .45)
        );
}

[dir="rtl"] .x-contact-hero-overlay {
    background:
        linear-gradient(
            270deg,
            rgba(5, 21, 40, .9),
            rgba(5, 21, 40, .45)
        );
}

.x-contact-hero-content {
    position: relative;
    z-index: 2;

    max-width: 760px;

    padding: 100px 0;
}

.x-contact-hero .x-section-kicker {
    color: #d2ad62;
}

.x-contact-hero h1 {
    margin: 16px 0 18px;

    color: #fff;

    font-size: clamp(42px, 5vw, 68px);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -.03em;
}

.x-contact-hero p {
    max-width: 680px;

    margin: 0;

    color: rgba(255, 255, 255, .78);

    font-size: 19px;
    line-height: 1.9;
}


/* =========================================================
       MAIN SECTION
    ========================================================= */

.x-contact-section {
    padding: 100px 0;
    background: #f7f9fc;
}

.x-contact-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 80px;

    align-items: start;
}


/* =========================================================
       CONTACT INFO
    ========================================================= */

.x-contact-info {
    padding-top: 10px;
}

.x-contact-info .x-section-kicker,
.x-contact-form-header .x-section-kicker {
    display: block;

    margin-bottom: 12px;

    color: #b08a3e;

    font-size: 13px;
    font-weight: 800;

    letter-spacing: .14em;
    text-transform: uppercase;
}

.x-contact-info h2,
.x-contact-form-header h2 {
    margin: 0 0 22px;

    color: #10243e;

    font-size: clamp(32px, 3vw, 46px);
    line-height: 1.2;
    font-weight: 800;
}

.x-contact-intro {
    margin-bottom: 38px;

    color: #65758a;

    font-size: 16px;
    line-height: 1.9;
}


.x-contact-item {
    display: flex;
    align-items: center;
    gap: 18px;

    margin-bottom: 22px;

    color: inherit;
    text-decoration: none;
}

.x-contact-item:hover {
    text-decoration: none;
}

.x-contact-icon {
    flex: 0 0 56px;

    width: 56px;
    height: 56px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: #b08a3e;
    background: rgba(176, 138, 62, .10);
}

.x-contact-icon svg {
    width: 25px;
    height: 25px;
}

.x-contact-item small {
    display: block;

    margin-bottom: 4px;

    color: #8996a7;

    font-size: 12px;
    font-weight: 600;
}

.x-contact-item strong {
    display: block;

    color: #10243e;

    font-size: 15px;
    font-weight: 700;
    line-height: 1.7;
}


/* =========================================================
       FORM
    ========================================================= */

.x-contact-form-wrapper {
    padding: 46px;

    background: #fff;

    border: 1px solid #e5eaf0;

    box-shadow:
        0 20px 60px rgba(15, 35, 60, .08);
}

.x-contact-form-header {
    margin-bottom: 32px;
}

.x-contact-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.x-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.x-form-group {
    display: flex;
    flex-direction: column;
}

.x-form-group label {
    margin-bottom: 9px;

    color: #263b55;

    font-size: 14px;
    font-weight: 700;
}

.x-form-group label span {
    color: #b08a3e;
}

.x-form-group input,
.x-form-group textarea {
    width: 100%;

    padding: 14px 16px;

    border: 1px solid #dce3eb;
    border-radius: 2px;

    outline: none;

    background: #fff;

    color: #10243e;

    font-family: inherit;
    font-size: 14px;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

.x-form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.x-form-group input::placeholder,
.x-form-group textarea::placeholder {
    color: #a6b0bd;
}

.x-form-group input:focus,
.x-form-group textarea:focus {
    border-color: #b08a3e;

    box-shadow:
        0 0 0 3px rgba(176, 138, 62, .10);
}

.x-form-error {
    margin-top: 7px;

    color: #c0392b;

    font-size: 12px;
}


/* =========================================================
       BUTTON
    ========================================================= */

.x-contact-submit {
    width: 100%;

    min-height: 56px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;

    border: 0;
    border-radius: 2px;

    background: #10243e;
    color: #fff;

    font-family: inherit;
    font-size: 14px;
    font-weight: 800;

    cursor: pointer;

    transition:
        background .25s ease,
        transform .25s ease;
}

.x-contact-submit:hover {
    background: #b08a3e;
    transform: translateY(-2px);
}

.x-contact-submit svg {
    width: 20px;
    height: 20px;
}


/* =========================================================
       SUCCESS
    ========================================================= */

.x-contact-success {
    display: flex;
    align-items: center;
    gap: 12px;

    margin-bottom: 25px;
    padding: 15px 18px;

    border: 1px solid rgba(46, 125, 50, .18);

    background: rgba(46, 125, 50, .07);

    color: #28742d;

    font-size: 14px;
    line-height: 1.7;
}

.x-contact-success svg {
    flex: 0 0 22px;

    width: 22px;
    height: 22px;
}


/* =========================================================
       RTL
    ========================================================= */

[dir="rtl"] .x-contact-submit svg {
    transform: scaleX(-1);
}


/* =========================================================
       RESPONSIVE
    ========================================================= */

@media (max-width: 991px) {

    .x-contact-grid {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .x-contact-info {
        max-width: 700px;
    }

    .x-contact-form-wrapper {
        padding: 35px;
    }

}


@media (max-width: 767px) {

    .x-contact-hero {
        min-height: 360px;
    }

    .x-contact-hero-content {
        padding: 80px 0;
    }

    .x-contact-hero h1 {
        font-size: 42px;
    }

    .x-contact-hero p {
        font-size: 16px;
    }

    .x-contact-section {
        padding: 65px 0;
    }

    .x-form-grid {
        grid-template-columns: 1fr;
    }

    .x-contact-form-wrapper {
        padding: 25px 20px;
    }

}
/* =========================================================
       CONTACT PAGE - ALIGNMENT FIX
    ========================================================= */

.x-contact-hero {
    position: relative;
    width: 100%;
    min-height: 410px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 85% 45%,
            rgba(39, 91, 135, 0.30),
            transparent 42%
        ),
        linear-gradient(
            110deg,
            #03172d 0%,
            #071f38 55%,
            #102d48 100%
        );
}

.x-contact-hero .xeraa-container,
.x-contact-section .xeraa-container {
    width: min(1240px, calc(100% - 48px));
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
}


/* =========================================================
       HERO
    ========================================================= */

.x-contact-hero-content {
    width: 100%;
    max-width: 900px;
    padding: 70px 0;
}

.x-contact-hero-content .x-section-kicker {
    display: inline-block;
    margin-bottom: 20px;
    color: #1A63D8;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.x-contact-hero-content h1 {
    margin: 0 0 22px;
    color: #fff;
    font-size: clamp(42px, 5vw, 68px);
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -1.5px;
}

.x-contact-hero-content p {
    max-width: 760px;
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 18px;
    line-height: 1.9;
}


/* =========================================================
       CONTACT SECTION
    ========================================================= */

.x-contact-section {
    position: relative;
    width: 100%;
    padding: 95px 0 110px;
    background: #f5f7fa;
}

.x-contact-grid {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 70px;
    align-items: start;
}


/* =========================================================
       LEFT SIDE
    ========================================================= */

.x-contact-info {
    width: 100%;
    padding-top: 12px;
}

.x-contact-info .x-section-kicker,
.x-contact-form-header .x-section-kicker {
    display: block;
    margin-bottom: 18px;
    color: #b7892d;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.x-contact-info h2,
.x-contact-form-header h2 {
    margin: 0 0 22px;
    color: #092542;
    font-size: clamp(34px, 3.5vw, 48px);
    line-height: 1.2;
    font-weight: 800;
}

.x-contact-intro {
    max-width: 570px;
    margin: 0 0 35px;
    color: #64748b;
    font-size: 16px;
    line-height: 1.9;
}


/* =========================================================
       CONTACT ITEMS
    ========================================================= */

.x-contact-item {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 20px;
    padding: 17px 0;
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid rgba(9, 37, 66, 0.09);
}

.x-contact-item:last-child {
    margin-bottom: 0;
}

.x-contact-icon {
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #092542;
    color: #1A63D8;
    font-size: 18px;
}

.x-contact-item > span:last-child {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.x-contact-item small {
    color: #8a96a5;
    font-size: 12px;
    font-weight: 600;
}

.x-contact-item strong {
    color: #092542;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.6;
    word-break: break-word;
}


/* =========================================================
       FORM CARD
    ========================================================= */

.x-contact-form-wrapper {
    width: 100%;
    padding: 48px;
    background: #fff;
    border: 1px solid #e3e8ee;
    box-shadow: 0 20px 55px rgba(9, 37, 66, 0.08);
}

.x-contact-form-header {
    margin-bottom: 35px;
}

.x-contact-form-header h2 {
    margin-bottom: 0;
    font-size: clamp(32px, 3vw, 44px);
}


/* =========================================================
       FORM
    ========================================================= */

.x-contact-form {
    width: 100%;
}

.x-form-row {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.x-form-group {
    width: 100%;
    margin-bottom: 22px;
}

.x-form-group label {
    display: block;
    margin-bottom: 9px;
    color: #092542;
    font-size: 13px;
    font-weight: 700;
}

.x-form-group label span {
    color: #1A63D8;
}

.x-form-group input,
.x-form-group textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #dce2e8;
    background: #fff;
    color: #092542;
    padding: 14px 16px;
    border-radius: 0;
    outline: none;
    font-family: inherit;
    font-size: 14px;
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.x-form-group input {
    height: 52px;
}

.x-form-group textarea {
    min-height: 150px;
    resize: vertical;
    line-height: 1.7;
}

.x-form-group input:focus,
.x-form-group textarea:focus {
    border-color: #092542;
    box-shadow: 0 0 0 3px rgba(9, 37, 66, 0.06);
}


/* =========================================================
       SUBMIT
    ========================================================= */

.x-contact-submit {
    width: 100%;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 5px;
    border: 0;
    background: #092542;
    color: #fff;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.x-contact-submit:hover {
    background: #1A63D8;
    transform: translateY(-2px);
}

.x-contact-submit i {
    font-size: 13px;
}


/* =========================================================
       SUCCESS / ERRORS
    ========================================================= */

.x-contact-success,
.x-contact-errors {
    margin-bottom: 25px;
    padding: 15px 18px;
}

.x-contact-success {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #edf8f1;
    border: 1px solid #c8e8d3;
    color: #1d6b3d;
}

.x-contact-errors {
    background: #fff5f5;
    border: 1px solid #f0cccc;
    color: #9f2525;
}

.x-contact-errors ul {
    margin: 8px 0 0;
    padding-inline-start: 20px;
}


/* =========================================================
       RTL
    ========================================================= */

html[dir="rtl"] .x-contact-hero-content {
    text-align: right;
}

html[dir="rtl"] .x-contact-item {
    text-align: right;
}

html[dir="rtl"] .x-contact-submit i {
    transform: rotate(180deg);
}


/* =========================================================
       TABLET
    ========================================================= */

@media (max-width: 991px) {

    .x-contact-hero {
        min-height: 360px;
    }

    .x-contact-grid {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .x-contact-info {
        padding-top: 0;
    }

    .x-contact-form-wrapper {
        padding: 40px;
    }
}


/* =========================================================
       MOBILE
    ========================================================= */

@media (max-width: 767px) {

    .x-contact-hero .xeraa-container,
    .x-contact-section .xeraa-container {
        width: min(100% - 32px, 1240px);
    }

    .x-contact-hero {
        min-height: 330px;
    }

    .x-contact-hero-content {
        padding: 55px 0;
    }

    .x-contact-hero-content h1 {
        font-size: 38px;
        letter-spacing: -0.5px;
    }

    .x-contact-hero-content p {
        font-size: 15px;
        line-height: 1.8;
    }

    .x-contact-section {
        padding: 65px 0 75px;
    }

    .x-contact-grid {
        gap: 45px;
    }

    .x-contact-info h2 {
        font-size: 34px;
    }

    .x-contact-form-wrapper {
        padding: 28px 22px;
    }

    .x-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .x-contact-item {
        padding: 14px 0;
    }

    .x-contact-icon {
        flex-basis: 46px;
        width: 46px;
        height: 46px;
    }
}
/* =========================================================
   SERVICES PAGE
========================================================= */

.x-services-hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 85% 40%,
            rgba(39, 91, 135, 0.30),
            transparent 42%
        ),
        linear-gradient(
            110deg,
            #03172d 0%,
            #071f38 55%,
            #102d48 100%
        );
}

.x-services-hero::after {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    right: -170px;
    bottom: -220px;
    border: 1px solid rgba(200, 155, 60, 0.20);
    border-radius: 50%;
}

.x-services-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 930px;
    padding: 90px 0;
}

.x-services-hero .x-section-kicker {
    display: inline-block;
    margin-bottom: 20px;
    color: #1A63D8;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 2px;
}

.x-services-hero h1 {
    max-width: 900px;
    margin: 0 0 25px;
    color: #fff;
    font-size: clamp(42px, 5vw, 70px);
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -1.5px;
}

.x-services-hero p {
    max-width: 780px;
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 18px;
    line-height: 1.9;
}


/* =========================================================
       INTRO
    ========================================================= */

.x-services-intro {
    padding: 100px 0;
    background: #fff;
}

.x-services-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 90px;
    align-items: start;
}

.x-services-intro-title .x-section-kicker,
.x-services-heading .x-section-kicker,
.x-services-why .x-section-kicker,
.x-services-cta .x-section-kicker {
    display: block;
    margin-bottom: 18px;
    color: #b7892d;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.x-services-intro-title h2 {
    margin: 0;
    color: #092542;
    font-size: clamp(35px, 4vw, 52px);
    line-height: 1.2;
    font-weight: 800;
}

.x-services-intro-text {
    padding-top: 8px;
}

.x-services-intro-text p {
    margin: 0 0 22px;
    color: #64748b;
    font-size: 17px;
    line-height: 1.95;
}

.x-services-intro-text p:last-child {
    margin-bottom: 0;
}


/* =========================================================
       SERVICES LIST
    ========================================================= */

.x-services-list {
    padding: 105px 0 115px;
    background: #f5f7fa;
}

.x-services-heading {
    max-width: 780px;
    margin-bottom: 55px;
}

.x-services-heading h2 {
    margin: 0 0 18px;
    color: #092542;
    font-size: clamp(35px, 4vw, 52px);
    line-height: 1.2;
    font-weight: 800;
}

.x-services-heading p {
    margin: 0;
    color: #64748b;
    font-size: 16px;
    line-height: 1.8;
}


/* =========================================================
       SERVICE CARDS
    ========================================================= */

.x-services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.x-service-card {
    position: relative;
    min-height: 310px;
    display: flex;
    flex-direction: column;
    padding: 32px;
    background: #fff;
    border: 1px solid #e2e8ee;
    overflow: hidden;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.x-service-card:hover {
    transform: translateY(-7px);
    border-color: rgba(200, 155, 60, 0.55);
    box-shadow: 0 20px 45px rgba(9, 37, 66, 0.10);
}

.x-service-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
}

.x-service-number {
    color: #d4dce4;
    font-size: 42px;
    line-height: 1;
    font-weight: 800;
}

.x-service-icon {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #092542;
    color: #1A63D8;
    font-size: 21px;
}

.x-service-card-content {
    flex: 1;
}

.x-service-card h3 {
    margin: 0 0 15px;
    color: #092542;
    font-size: 23px;
    line-height: 1.4;
    font-weight: 800;
}

.x-service-card p {
    margin: 0;
    color: #68778a;
    font-size: 14px;
    line-height: 1.9;
}

.x-service-card-line {
    width: 45px;
    height: 3px;
    margin-top: 28px;
    background: #1A63D8;
    transition: width 0.3s ease;
}

.x-service-card:hover .x-service-card-line {
    width: 80px;
}


/* =========================================================
       EMPTY
    ========================================================= */

.x-services-empty {
    padding: 80px 20px;
    text-align: center;
    background: #fff;
    border: 1px solid #e2e8ee;
}

.x-services-empty i {
    margin-bottom: 20px;
    color: #1A63D8;
    font-size: 45px;
}

.x-services-empty h3 {
    margin: 0;
    color: #092542;
}


/* =========================================================
       WHY XERAA
    ========================================================= */

.x-services-why {
    padding: 110px 0;
    background: #fff;
}

.x-services-why-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 90px;
    align-items: center;
}

.x-services-why-content h2 {
    margin: 0 0 22px;
    color: #092542;
    font-size: clamp(36px, 4vw, 52px);
    line-height: 1.2;
    font-weight: 800;
}

.x-services-why-content > p {
    max-width: 560px;
    margin: 0;
    color: #64748b;
    font-size: 17px;
    line-height: 1.95;
}

.x-services-why-items {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.x-services-why-item {
    display: flex;
    align-items: flex-start;
    gap: 22px;
    padding: 25px 0;
    border-bottom: 1px solid #e5eaf0;
}

.x-services-why-item:first-child {
    border-top: 1px solid #e5eaf0;
}

.x-services-why-icon {
    flex: 0 0 55px;
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #092542;
    color: #1A63D8;
    font-size: 19px;
}

.x-services-why-item h3 {
    margin: 0 0 7px;
    color: #092542;
    font-size: 19px;
    font-weight: 800;
}

.x-services-why-item p {
    margin: 0;
    color: #718096;
    font-size: 14px;
    line-height: 1.8;
}


/* =========================================================
       CTA
    ========================================================= */

.x-services-cta {
    padding: 75px 0;
    background: #092542;
}

.x-services-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.x-services-cta .x-section-kicker {
    color: #1A63D8;
}

.x-services-cta h2 {
    margin: 0 0 12px;
    color: #fff;
    font-size: clamp(30px, 3vw, 43px);
    line-height: 1.25;
    font-weight: 800;
}

.x-services-cta p {
    margin: 0;
    color: rgba(255, 255, 255, 0.70);
    font-size: 15px;
    line-height: 1.8;
}

.x-services-cta-button {
    flex: 0 0 auto;
    min-width: 210px;
    min-height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 0 25px;
    background: #1A63D8;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.x-services-cta-button:hover {
    background: #fff;
    color: #092542;
    transform: translateY(-2px);
}


/* =========================================================
       RTL
    ========================================================= */

html[dir="rtl"] .x-services-hero-content,
html[dir="rtl"] .x-services-intro-title,
html[dir="rtl"] .x-services-intro-text,
html[dir="rtl"] .x-services-heading,
html[dir="rtl"] .x-services-why-content {
    text-align: right;
}

html[dir="rtl"] .x-services-cta-inner {
    direction: rtl;
}


/* =========================================================
       TABLET
    ========================================================= */

@media (max-width: 991px) {

    .x-services-intro-grid,
    .x-services-why-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .x-services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .x-services-cta-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}


/* =========================================================
       MOBILE
    ========================================================= */

@media (max-width: 767px) {

    .x-services-hero {
        min-height: 410px;
    }

    .x-services-hero-content {
        padding: 65px 0;
    }

    .x-services-hero h1 {
        font-size: 38px;
        letter-spacing: -0.5px;
    }

    .x-services-hero p {
        font-size: 15px;
    }

    .x-services-intro,
    .x-services-list,
    .x-services-why {
        padding: 70px 0;
    }

    .x-services-intro-grid,
    .x-services-why-grid {
        gap: 40px;
    }

    .x-services-grid {
        grid-template-columns: 1fr;
    }

    .x-service-card {
        min-height: 280px;
    }

    .x-services-cta {
        padding: 60px 0;
    }

    .x-services-cta-inner {
        gap: 30px;
    }

    .x-services-cta-button {
        width: 100%;
    }
}
/* =========================================================
   XERAA SERVICES - FINAL LAYOUT FIX
========================================================= */

.x-services-hero,
.x-services-intro,
.x-services-list,
.x-services-cta {
    width: 100%;
    overflow: hidden;
}


/* =========================================================
       CONTAINER
    ========================================================= */

.x-services-hero .xeraa-container,
.x-services-intro .xeraa-container,
.x-services-list .xeraa-container,
.x-services-cta .xeraa-container {
    width: min(1240px, calc(100% - 48px));
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
}


/* =========================================================
       HERO
    ========================================================= */

.x-services-hero {
    position: relative;
    min-height: 500px;

    display: flex;
    align-items: center;

    background:
        radial-gradient(
            circle at 85% 40%,
            rgba(39, 91, 135, 0.30),
            transparent 42%
        ),
        linear-gradient(
            110deg,
            #03172d 0%,
            #071f38 55%,
            #102d48 100%
        );
}

.x-services-hero-content {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 900px;

    padding: 90px 0;
}


/* LTR */

html[dir="ltr"] .x-services-hero-content {
    margin-left: 0;
    margin-right: auto;
    text-align: left;
}


/* RTL */

html[dir="rtl"] .x-services-hero-content {
    margin-left: auto;
    margin-right: 0;
    text-align: right;
}


.x-services-hero .x-section-kicker {
    display: block;

    margin-bottom: 20px;

    color: #1A63D8;

    font-size: 14px;
    font-weight: 800;

    letter-spacing: 1.5px;
}


.x-services-hero h1 {
    width: 100%;
    max-width: 850px;

    margin: 0 0 25px;

    color: #fff;

    font-size: clamp(38px, 4.5vw, 64px);

    line-height: 1.18;

    font-weight: 800;

    letter-spacing: -1px;

    overflow-wrap: break-word;
    word-break: normal;
}


.x-services-hero p {
    width: 100%;
    max-width: 760px;

    margin: 0;

    color: rgba(255, 255, 255, 0.78);

    font-size: 17px;

    line-height: 2;
}


/* =========================================================
       INTRO
    ========================================================= */

.x-services-intro {
    padding: 105px 0;

    background: #fff;
}


.x-services-intro-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 0.9fr)
        minmax(0, 1.1fr);

    gap: 90px;

    align-items: start;
}


/*
    |--------------------------------------------------------------------------
    | RTL
    |--------------------------------------------------------------------------
    */

html[dir="rtl"] .x-services-intro-grid {
    direction: rtl;
}

html[dir="rtl"] .x-services-intro-title {
    text-align: right;
}

html[dir="rtl"] .x-services-intro-text {
    text-align: right;
}


/*
    |--------------------------------------------------------------------------
    | LTR
    |--------------------------------------------------------------------------
    */

html[dir="ltr"] .x-services-intro-grid {
    direction: ltr;
}

html[dir="ltr"] .x-services-intro-title,
html[dir="ltr"] .x-services-intro-text {
    text-align: left;
}


.x-services-intro-title .x-section-kicker,
.x-services-heading .x-section-kicker,
.x-services-cta .x-section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    margin-bottom: 18px;

    color: #b7892d;

    font-family: 'Tajawal', sans-serif;
    font-size: 16px;
    font-weight: 700;

    line-height: 1.7;
    letter-spacing: 0;

    white-space: nowrap;
}

/* الخط بجانب العنوان */
.x-services-intro-title .x-section-kicker::before,
.x-services-heading .x-section-kicker::before,
.x-services-cta .x-section-kicker::before {
    content: "";

    width: 38px;
    height: 2px;

    flex: 0 0 38px;

    background: #b7892d;
}

/* العربي */
html[dir="rtl"] .x-services-intro-title .x-section-kicker,
html[dir="rtl"] .x-services-heading .x-section-kicker,
html[dir="rtl"] .x-services-cta .x-section-kicker {
    font-family: 'Tajawal', sans-serif;
    letter-spacing: 0;
}

/* الإنجليزي */
html[dir="ltr"] .x-services-intro-title .x-section-kicker,
html[dir="ltr"] .x-services-heading .x-section-kicker,
html[dir="ltr"] .x-services-cta .x-section-kicker {
    letter-spacing: .02em;
}


.x-services-intro-title h2 {
    max-width: 600px;

    margin: 0;

    color: #092542;

    font-size: clamp(34px, 3.8vw, 50px);

    line-height: 1.25;

    font-weight: 800;

    overflow-wrap: break-word;
}


.x-services-intro-text {
    padding-top: 5px;
}

.x-services-intro-text p,
.x-services-intro-text {
    color: #64748b;

    font-family: 'Tajawal', sans-serif;

    font-size: 17px;

    line-height: 2;

    letter-spacing: 0;
}

/* =========================================================
       SERVICES LIST
    ========================================================= */
/* =========================================================
       XERAA SERVICES PAGE
    ========================================================= */

.x-services-hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
    color: #fff;
    background: linear-gradient(135deg, #061d36 0%, #092945 55%, #0d3556 100%);
}

.x-services-hero-pattern {
    position: absolute;
    inset: 0;
    opacity: .08;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px);
    background-size: 70px 70px;
}

.x-services-hero::before,
.x-services-hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.x-services-hero::before {
    width: 520px;
    height: 520px;
    right: -180px;
    top: -100px;
    border: 1px solid rgba(255,255,255,.08);
}

.x-services-hero::after {
    width: 380px;
    height: 380px;
    right: -70px;
    top: -30px;
    border: 1px solid rgba(212,168,75,.18);
}

.x-services-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 100px 0 90px;
}

.x-services-kicker,
.x-section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #1553B5;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.6;
}

.x-services-kicker::before,
.x-section-kicker::before {
    content: "";
    width: 35px;
    height: 2px;
    flex: 0 0 auto;
    background: #1553B5;
}

.x-services-kicker {
    color: #d7b15d;
}

.x-services-kicker::before {
    background: #d7b15d;
}

.x-services-hero h1 {
    margin: 20px 0 0;
    max-width: 900px;
    color: #fff;
    font-size: clamp(42px, 5vw, 70px);
    line-height: 1.18;
    font-weight: 800;
}

.x-services-hero-line {
    width: 75px;
    height: 4px;
    margin: 28px 0;
    background: #d7b15d;
}

.x-services-hero p {
    max-width: 760px;
    margin: 0;
    color: rgba(255,255,255,.78);
    font-size: 18px;
    line-height: 2;
}

.x-services-hero-bottom {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: rgba(255,255,255,.15);
}


/* =========================================================
       INTRO
    ========================================================= */

.x-services-intro {
    padding: 100px 0 85px;
    background: #fff;
}

.x-services-intro-grid {
    display: grid;
    grid-template-columns: minmax(280px,.9fr) minmax(400px,1.4fr);
    gap: 90px;
    align-items: start;
}

[dir="rtl"] .x-services-intro-grid {
    grid-template-columns: minmax(400px,1.4fr) minmax(280px,.9fr);
}

.x-services-intro-title h2,
.x-services-heading h2 {
    margin: 15px 0 0;
    color: #092844;
    font-size: clamp(32px,4vw,48px);
    line-height: 1.25;
    font-weight: 800;
}

.x-services-intro-text {
    padding-top: 28px;
}

.x-services-intro-text p {
    margin: 0;
    color: #596a7b;
    font-size: 18px;
    line-height: 2.1;
}


/* =========================================================
       SERVICES LIST
    ========================================================= */

.x-services-list {
    padding: 100px 0 120px;
    background: #f5f7fa;
}

.x-services-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 50px;
    margin-bottom: 55px;
}

.x-services-heading-side {
    max-width: 360px;
    padding-bottom: 8px;
    color: #718096;
    font-size: 15px;
    line-height: 1.8;
}

[dir="rtl"] .x-services-heading-side {
    text-align: left;
}

.x-services-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 24px;
}


/* =========================================================
       SERVICE CARD
    ========================================================= */

.x-service-card {
    min-width: 0;
    background: #fff;
    border: 1px solid #e4e9ef;
    transition: .35s ease;
}

.x-service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(177,138,53,.35);
    box-shadow: 0 22px 55px rgba(8,36,63,.10);
}

.x-service-card-link {
    position: relative;
    min-height: 365px;
    height: 100%;
    padding: 32px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
}

.x-service-card-link::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #d3ad59;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s ease;
}

[dir="rtl"] .x-service-card-link::before {
    transform-origin: right;
}

.x-service-card:hover .x-service-card-link::before {
    transform: scaleX(1);
}

.x-service-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 45px;
}

.x-service-number {
    color: #d6dee7;
    font-size: 38px;
    line-height: 1;
    font-weight: 800;
}

.x-service-icon {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #092844;
    color: #d7b15d;
    font-size: 21px;
    transition: .35s ease;
}

.x-service-card:hover .x-service-icon {
    background: #d7b15d;
    color: #092844;
    transform: rotate(-4deg);
}

.x-service-card-content {
    flex: 1;
}

.x-service-card-content h3 {
    margin: 0 0 17px;
    color: #092844;
    font-size: 23px;
    line-height: 1.45;
    font-weight: 800;
}

.x-service-card-content p {
    margin: 0;
    color: #718096;
    font-size: 15px;
    line-height: 1.95;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.x-service-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid #edf0f3;
    color: #1553B5;
    font-size: 14px;
    font-weight: 800;
}

.x-service-arrow {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e7ec;
    color: #092844;
    transition: .3s ease;
}

.x-service-card:hover .x-service-arrow {
    background: #092844;
    border-color: #092844;
    color: #fff;
}


/* =========================================================
       EMPTY
    ========================================================= */

.x-services-empty {
    padding: 80px 30px;
    text-align: center;
    background: #fff;
    border: 1px solid #e5eaf0;
}

.x-services-empty-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #092844;
    color: #d7b15d;
    font-size: 24px;
}

.x-services-empty h3 {
    margin: 0;
    color: #092844;
    font-size: 20px;
}


/* =========================================================
       CTA
    ========================================================= */

.x-services-cta {
    position: relative;
    overflow: hidden;
    padding: 85px 0;
    background: #092844;
    color: #fff;
}

.x-services-cta-shape {
    position: absolute;
    width: 500px;
    height: 500px;
    right: -220px;
    top: -250px;
    border: 1px solid rgba(215,177,93,.18);
    border-radius: 50%;
}

[dir="rtl"] .x-services-cta-shape {
    right: auto;
    left: -220px;
}

.x-services-cta-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.x-services-cta-content {
    max-width: 760px;
}

.x-services-cta-content .x-section-kicker {
    color: #d7b15d;
}

.x-services-cta-content h2 {
    margin: 15px 0;
    color: #fff;
    font-size: clamp(30px,4vw,48px);
    line-height: 1.3;
    font-weight: 800;
}

.x-services-cta-content p {
    max-width: 700px;
    margin: 0;
    color: rgba(255,255,255,.72);
    font-size: 16px;
    line-height: 1.9;
}

.x-services-cta-button {
    flex: 0 0 auto;
    min-height: 58px;
    padding: 0 27px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    background: #d7b15d;
    color: #092844;
    text-decoration: none;
    font-size: 15px;
    font-weight: 800;
    transition: .3s ease;
}

.x-services-cta-button:hover {
    background: #fff;
    color: #092844;
    transform: translateY(-3px);
}


/* =========================================================
       SERVICE SHOW PAGE
    ========================================================= */

.x-service-show-hero {
    background:
        radial-gradient(circle at 85% 30%,rgba(48,93,132,.35),transparent 42%),
        linear-gradient(110deg,#03172d,#071f38 55%,#112f4b);
    color: #fff;
}

.x-service-show-hero .xeraa-container,
.x-service-show-section .xeraa-container,
.x-service-show-bottom .xeraa-container {
    width: min(1240px,calc(100% - 48px));
    max-width: 1240px;
    margin-inline: auto;
}

.x-service-show-hero-content {
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 0;
}

.x-service-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 35px;
    color: rgba(255,255,255,.55);
    font-size: 13px;
}

.x-service-breadcrumb a {
    color: rgba(255,255,255,.75);
    text-decoration: none;
}

.x-service-breadcrumb span:last-child {
    color: #1A63D8;
}

.x-service-show-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1A63D8;
    color: #fff;
    font-size: 25px;
}

.x-service-show-hero h1 {
    max-width: 900px;
    margin: 0 0 22px;
    color: #fff;
    font-size: clamp(38px,5vw,64px);
    line-height: 1.18;
    font-weight: 800;
}

.x-service-show-hero p {
    max-width: 760px;
    margin: 0;
    color: rgba(255,255,255,.75);
    font-size: 17px;
    line-height: 2;
}

.x-service-show-section {
    padding: 100px 0 110px;
    background: #f5f7fa;
}

.x-service-show-grid {
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(300px,370px);
    gap: 65px;
    align-items: start;
}

.x-service-show-main,
.x-service-show-sidebar-box {
    background: #fff;
    border: 1px solid #e3e8ed;
}

.x-service-show-image {
    width: 100%;
    height: 430px;
    overflow: hidden;
}

.x-service-show-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.x-service-show-content {
    padding: 48px;
    color: #5f6f82;
    font-size: 16px;
    line-height: 2;
}

.x-service-show-content p {
    margin: 0 0 22px;
}

.x-service-show-content h2,
.x-service-show-content h3 {
    color: #092542;
    font-weight: 800;
}

.x-service-show-content h2 {
    margin: 35px 0 18px;
    font-size: 30px;
}

.x-service-show-content h3 {
    margin: 30px 0 15px;
    font-size: 23px;
}

.x-service-show-content ul,
.x-service-show-content ol {
    margin: 20px 0;
    padding-inline-start: 25px;
}

.x-service-show-content a {
    color: #b7892d;
}

.x-service-show-sidebar {
    position: sticky;
    top: 110px;
}

.x-service-show-sidebar-box {
    padding: 32px;
    margin-bottom: 24px;
}

.x-service-sidebar-kicker {
    display: block;
    margin-bottom: 12px;
    color: #b7892d;
    font-size: 12px;
    font-weight: 800;
}

.x-service-show-sidebar-box h3,
.x-service-show-contact-box h3 {
    margin: 0 0 25px;
    color: #092542;
    font-size: 24px;
    font-weight: 800;
}

.x-service-sidebar-services {
    border-top: 1px solid #e6eaee;
}

.x-service-sidebar-services a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 17px 0;
    border-bottom: 1px solid #e6eaee;
    color: #56677a;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
}

.x-service-sidebar-services a:hover,
.x-service-sidebar-services a.active {
    color: #b7892d;
}

.x-service-show-contact-box {
    padding: 34px;
    background: #092542;
}

.x-service-show-contact-box h3 {
    color: #fff;
}

.x-service-show-contact-box p {
    margin: 0 0 25px;
    color: rgba(255,255,255,.68);
    font-size: 14px;
    line-height: 1.9;
}

.x-service-contact-button {
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #1A63D8;
    color: #fff;
    text-decoration: none;
    font-weight: 800;
}

.x-service-show-bottom {
    padding: 35px 0;
    background: #fff;
    border-top: 1px solid #e5e9ee;
}

.x-service-back-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #092542;
    text-decoration: none;
    font-weight: 800;
}


/* =========================================================
       RESPONSIVE
    ========================================================= */

@media (max-width:1100px) {

    .x-services-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .x-services-intro-grid {
        grid-template-columns: 1fr !important;
        gap: 25px;
    }

    .x-services-intro-text {
        padding-top: 0;
        max-width: 800px;
    }

    .x-service-show-grid {
        grid-template-columns: 1fr;
    }

    .x-service-show-sidebar {
        position: static;
    }
}

@media (max-width:768px) {

    .x-services-hero {
        min-height: auto;
    }

    .x-services-hero-content {
        padding: 80px 0 70px;
    }

    .x-services-hero h1 {
        font-size: 38px;
    }

    .x-services-intro,
    .x-services-list {
        padding: 70px 0;
    }

    .x-services-heading {
        display: block;
        margin-bottom: 35px;
    }

    .x-services-heading-side {
        max-width: 100%;
        margin-top: 20px;
    }

    .x-services-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .x-service-card-link {
        min-height: 330px;
        padding: 28px;
    }

    .x-services-cta {
        padding: 65px 0;
    }

    .x-services-cta-inner {
        display: block;
    }

    .x-services-cta-button {
        margin-top: 30px;
    }

    .x-service-show-hero-content {
        min-height: 430px;
        padding: 60px 0;
    }

    .x-service-show-hero h1 {
        font-size: 38px;
    }

    .x-service-show-section {
        padding: 60px 0 70px;
    }

    .x-service-show-image {
        height: 260px;
    }

    .x-service-show-content {
        padding: 30px 22px;
        font-size: 15px;
    }

    .x-service-show-sidebar-box,
    .x-service-show-contact-box {
        padding: 25px 22px;
    }
}

@media (max-width:480px) {

    .x-services-hero-content {
        padding: 65px 0 55px;
    }

    .x-services-hero h1 {
        font-size: 31px;
    }

    .x-services-intro-title h2,
    .x-services-heading h2 {
        font-size: 30px;
    }

    .x-service-card-link {
        min-height: 310px;
        padding: 24px;
    }

    .x-service-card-top {
        margin-bottom: 35px;
    }

    .x-service-number {
        font-size: 32px;
    }

    .x-service-icon {
        width: 52px;
        height: 52px;
    }

    .x-service-show-hero .xeraa-container,
    .x-service-show-section .xeraa-container,
    .x-service-show-bottom .xeraa-container {
        width: calc(100% - 32px);
    }
}


.xeraa-about {
    background: #fff;
    color: #172033;
    overflow: hidden;
}

.about-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}


/* HERO */

.about-hero {
    position: relative;
    min-height: 560px;

    display: flex;
    align-items: center;

    background-color: #111827;
    background-size: cover;
    background-position: center;
}

.about-hero-content {
    position: relative;
    z-index: 2;

    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;

    color: #fff;
}

.about-eyebrow,
.about-section-label {
    display: inline-block;

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 2px;
    text-transform: uppercase;

    margin-bottom: 18px;
}

.about-eyebrow {
    color: #1A63D8;
}

.about-hero h1 {
    max-width: 850px;

    margin: 0 0 22px;

    font-size: clamp(42px, 6vw, 76px);
    line-height: 1.05;
    font-weight: 800;
}

.about-hero-subtitle {
    max-width: 760px;

    margin: 0;

    font-size: clamp(20px, 2.2vw, 28px);
    line-height: 1.6;

    color: rgba(255,255,255,.88);
}


/* GENERAL */

.about-section {
    padding: 110px 0;
}

.about-section-label {
    color: #1553B5;
}

.about-section-label.light {
    color: #1A63D8;
}


/* INTRO */

.about-intro {
    background: #fff;
}

.about-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 90px;
    align-items: start;
}

.about-heading h2 {
    margin: 0;

    font-size: clamp(36px, 4vw, 56px);
    line-height: 1.15;
    font-weight: 800;
}

.about-text {
    font-size: 18px;
    line-height: 2;
    color: #5c6575;
}

.about-text p {
    margin: 0 0 24px;
}


/* DARK */

.about-dark {
    background: #111827;
    color: #fff;
}

.about-center {
    max-width: 850px;
    margin: auto;
    text-align: center;
}

.about-center h2 {
    margin: 0;

    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.15;
}

.about-divider {
    width: 70px;
    height: 3px;

    margin: 30px auto;

    background: #1A63D8;
}

.about-center p {
    margin: 0 auto;

    max-width: 750px;

    color: rgba(255,255,255,.72);

    font-size: 18px;
    line-height: 2;
}


/* SMART CFO */

.smart-cfo {
    background: #f7f8fa;
}

.smart-cfo-header {
    max-width: 850px;
    margin-bottom: 55px;
}

.smart-cfo-header h2 {
    margin: 0 0 20px;

    font-size: clamp(36px, 4vw, 58px);
    line-height: 1.15;
}

.smart-cfo-header p {
    margin: 0;

    font-size: 20px;
    line-height: 1.8;

    color: #657084;
}

.smart-cfo-box {
    padding: 50px;

    background: #fff;

    border: 1px solid #e7e9ee;

    box-shadow: 0 20px 60px rgba(15,23,42,.07);
}

.smart-cfo-intro {
    margin-bottom: 35px;

    font-size: 20px;
    font-weight: 700;
}

.smart-cfo-items {
    display: grid;

    grid-template-columns: repeat(5, 1fr);

    gap: 18px;
}

.smart-item {
    position: relative;

    padding: 30px 22px;

    min-height: 170px;

    background: #f7f8fa;

    border: 1px solid #e6e8ed;

    transition: .3s ease;
}

.smart-item:hover {
    transform: translateY(-6px);

    box-shadow: 0 15px 35px rgba(15,23,42,.08);
}

.smart-number {
    display: block;

    margin-bottom: 30px;

    color: #1553B5;

    font-size: 13px;
    font-weight: 800;
}

.smart-item h3 {
    margin: 0;

    font-size: 18px;
    line-height: 1.5;
}


/* EXPERIENCE */

.experience-section {
    background: #fff;
}

.experience-grid {
    display: grid;

    grid-template-columns: .8fr 1.2fr;

    gap: 80px;
}

.experience-grid h2 {
    margin: 0;

    font-size: clamp(36px, 4vw, 55px);
    line-height: 1.15;
}

.experience-cards {
    display: grid;
    gap: 18px;
}

.experience-card {
    padding: 30px;

    border: 1px solid #e6e8ed;

    background: #fff;

    transition: .3s ease;
}

.experience-card:hover {
    transform: translateX(6px);

    box-shadow: 0 15px 40px rgba(15,23,42,.07);
}

.experience-icon {
    margin-bottom: 18px;

    color: #1553B5;

    font-size: 13px;
    font-weight: 800;
}

.experience-card h3 {
    margin: 0 0 10px;

    font-size: 21px;
}

.experience-card p {
    margin: 0;

    color: #687386;

    line-height: 1.8;
}


/* CENTER HEADING */

.section-heading-center {
    max-width: 800px;

    margin: 0 auto 55px;

    text-align: center;
}

.section-heading-center h2 {
    margin: 0;

    font-size: clamp(36px, 4vw, 54px);
    line-height: 1.15;
}


/* INDUSTRIES */

.industries-section {
    background: #f7f8fa;
}

.industries-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}

.industry-card {
    padding: 32px;

    background: #fff;

    border: 1px solid #e6e8ed;

    transition: .3s ease;
}

.industry-card:hover {
    transform: translateY(-5px);

    box-shadow: 0 15px 40px rgba(15,23,42,.07);
}

.industry-icon {
    margin-bottom: 20px;

    font-size: 26px;
    color: #1553B5;
}

.industry-card h3 {
    margin: 0 0 12px;

    font-size: 20px;
}

.industry-card p {
    margin: 0;

    color: #687386;

    line-height: 1.8;
}


/* SERVICES */

.services-section {
    background: #fff;
}

.services-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}

.about-service-card {
    position: relative;

    display: block;

    padding: 35px;

    color: inherit;
    text-decoration: none;

    border: 1px solid #e6e8ed;

    transition: .3s ease;
}

.about-service-card:hover {
    transform: translateY(-6px);

    color: inherit;

    box-shadow: 0 20px 45px rgba(15,23,42,.08);
}

.service-icon {
    margin-bottom: 22px;

    color: #1553B5;

    font-size: 28px;
}

.about-service-card h3 {
    margin: 0 0 12px;

    font-size: 21px;
}

.about-service-card p {
    margin: 0;

    color: #687386;

    line-height: 1.8;
}

.service-arrow {
    display: block;

    margin-top: 25px;

    color: #1553B5;

    font-size: 22px;
}


/* CTA */

.about-cta {
    padding: 110px 0;

    background:
        linear-gradient(
            135deg,
            #111827,
            #1f2937
        );

    color: #fff;
}

.cta-content {
    max-width: 850px;
}

.cta-content h2 {
    margin: 0 0 20px;

    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.12;
}

.cta-content p {
    margin: 0 0 30px;

    color: rgba(255,255,255,.72);

    font-size: 19px;
}

.about-cta-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 52px;

    padding: 0 28px;

    background: #1A63D8;

    color: #111827;

    font-weight: 800;

    text-decoration: none;

    transition: .3s ease;
}

.about-cta-button:hover {
    transform: translateY(-3px);

    background: #4B8BEA;

    color: #111827;
}


/* RTL */

[dir="rtl"] .about-grid,
[dir="rtl"] .experience-grid {
    direction: rtl;
}

[dir="rtl"] .about-hero-content {
    text-align: right;
}

[dir="rtl"] .experience-card:hover {
    transform: translateX(-6px);
}


/* RESPONSIVE */

@media (max-width: 992px) {

    .about-section {
        padding: 80px 0;
    }

    .about-grid,
    .experience-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .smart-cfo-items {
        grid-template-columns: repeat(2, 1fr);
    }

    .industries-grid,
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media (max-width: 640px) {

    .about-container {
        width: min(100% - 28px, 1180px);
    }

    .about-hero {
        min-height: 500px;
    }

    .about-section {
        padding: 65px 0;
    }

    .smart-cfo-box {
        padding: 25px;
    }

    .smart-cfo-items {
        grid-template-columns: 1fr;
    }

    .industries-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .cta-content h2 {
        font-size: 38px;
    }

}

.xeraa-footer {
    width: 100%;
    margin: 0;
    padding: 0;
    border-radius: 0;
    overflow: hidden;
}

.xeraa-footer-main,
.xeraa-footer-bottom {
    width: calc(100% - 20px);
    max-width: none;
    margin: 0 auto;
}

/* Mobile */
@media (max-width: 640px) {
    .xeraa-footer-main,
    .xeraa-footer-bottom {
        width: calc(100% - 14px);
    }
}
/* =========================================================
   OUR CLIENTS
========================================================= */

.sk-clients {
    position: relative;
    width: 100%;
    padding: 90px 0 100px;
    background: #ffffff;
    overflow: hidden;
}


/* =========================================================
       SECTION TITLE
    ========================================================= */

.sk-clients .sk-container {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto 45px;
}

.sk-clients .sk-section-label {
    position: relative;
    display: inline-block;

    color: #0c2945;

    font-size: 15px;
    font-weight: 800;

    letter-spacing: 1px;

    padding-bottom: 12px;
}

.sk-clients .sk-section-label::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 45px;
    height: 3px;

    background: #1A63D8;

    border-radius: 10px;
}


/* =========================================================
       MARQUEE
    ========================================================= */

.clients-marquee {
    position: relative;

    width: 100%;

    overflow: hidden;

    direction: ltr;

    padding: 10px 0;
}


/* =========================================================
       TRACK
    ========================================================= */

.clients-track {
    display: flex;

    width: max-content;

    align-items: center;

    gap: 25px;

    animation: clientsMarquee 30s linear infinite;

    will-change: transform;
}


/* =========================================================
       SLIDE
    ========================================================= */

.client-slide {
    flex: 0 0 auto;

    width: 210px;
}


/* =========================================================
       CLIENT CARD
    ========================================================= */

.client-card {
    position: relative;

    width: 210px;
    height: 130px;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 25px;

    background: #ffffff;

    border: 1px solid #e7ebef;

    border-radius: 16px;

    box-shadow: 0 8px 25px rgba(7, 25, 43, .06);

    text-decoration: none;

    transition:
        transform .35s ease,
        box-shadow .35s ease,
        border-color .35s ease;
}

.client-card:hover {
    transform: translateY(-7px);

    border-color: rgba(197, 150, 63, .45);

    box-shadow: 0 18px 40px rgba(7, 25, 43, .12);
}


/* =========================================================
       CLIENT LOGO
    ========================================================= */

.client-logo {
    display: block;

    width: auto;
    max-width: 100%;
    height: auto;

    max-height: 75px;

    object-fit: contain;

    filter: grayscale(100%);

    opacity: .72;

    transition:
        filter .35s ease,
        opacity .35s ease,
        transform .35s ease;
}

.client-card:hover .client-logo {
    filter: grayscale(0);

    opacity: 1;

    transform: scale(1.05);
}


/* =========================================================
       MARQUEE ANIMATION
    ========================================================= */

@keyframes clientsMarquee {

    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }

}


/* =========================================================
       PAUSE ON HOVER
    ========================================================= */

.clients-marquee:hover .clients-track {
    animation-play-state: paused;
}


/* =========================================================
       TABLET
    ========================================================= */

@media (max-width: 991px) {

    .sk-clients {
        padding: 75px 0 80px;
    }

    .sk-clients .sk-container {
        width: calc(100% - 30px);
        margin-bottom: 35px;
    }

    .client-slide {
        width: 180px;
    }

    .client-card {
        width: 180px;
        height: 115px;
    }

    .client-logo {
        max-height: 65px;
    }

}


/* =========================================================
       MOBILE
    ========================================================= */

@media (max-width: 640px) {

    .sk-clients {
        padding: 60px 0 65px;
    }

    .sk-clients .sk-container {
        width: calc(100% - 24px);
    }

    .client-slide {
        width: 155px;
    }

    .client-card {
        width: 155px;
        height: 100px;

        padding: 18px;

        border-radius: 13px;
    }

    .client-logo {
        max-height: 55px;
    }

    .clients-track {
        gap: 18px;

        animation-duration: 24s;
    }

}
.tm-client-marquee {
    width: 100%;
    overflow: hidden;
    position: relative;
    margin-top: 28px;

    /* مهم */
    direction: ltr;
}


/* =========================================================
       TRACK
       ========================================================= */

.tm-client-track {
    display: flex;
    width: max-content;
    flex-wrap: nowrap;

    transform: translate3d(0, 0, 0);

    animation: tmClientMarquee 28s linear infinite;

    will-change: transform;
}


/* =========================================================
       GROUP
       ========================================================= */

.tm-client-group {
    display: flex;
    align-items: center;
    flex-shrink: 0;

    gap: 35px;
    padding-right: 35px;
}


/* =========================================================
       LOGO
       ========================================================= */

.tm-client-logo {
    width: 190px;
    height: 115px;

    flex: 0 0 190px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 15px;

    background: #fff;

    border-radius: 14px;

    box-sizing: border-box;

    overflow: hidden;
}


/* =========================================================
       IMAGE
       ========================================================= */

.tm-client-logo img {
    display: block;

    width: 100%;
    height: 100%;

    max-width: 165px;
    max-height: 90px;

    object-fit: contain;
}


/* =========================================================
       ANIMATION
       ========================================================= */

@keyframes tmClientMarquee {

    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(-50%, 0, 0);
    }

}


/* =========================================================
       HOVER
       ========================================================= */

.tm-client-marquee:hover .tm-client-track {
    animation-play-state: paused;
}

.tm-client-logo {
    transition:
        transform .3s ease,
        box-shadow .3s ease;
}

.tm-client-logo:hover {
    transform: translateY(-4px);

    box-shadow:
        0 10px 25px rgba(0, 0, 0, .10);
}

.tm-client-logo img {
    transition: transform .3s ease;
}

.tm-client-logo:hover img {
    transform: scale(1.08);
}


/* =========================================================
       TABLET
       ========================================================= */

@media (max-width: 992px) {

    .tm-client-track {
        animation-duration: 25s;
    }

    .tm-client-group {
        gap: 28px;
        padding-right: 28px;
    }

    .tm-client-logo {
        width: 165px;
        height: 105px;
        flex-basis: 165px;
    }

    .tm-client-logo img {
        max-width: 145px;
        max-height: 80px;
    }

}


/* =========================================================
       MOBILE
       ========================================================= */

@media (max-width: 576px) {

    .tm-client-track {
        animation-duration: 22s;
    }

    .tm-client-group {
        gap: 20px;
        padding-right: 20px;
    }

    .tm-client-logo {
        width: 140px;
        height: 90px;
        flex-basis: 140px;

        padding: 10px;
    }

    .tm-client-logo img {
        max-width: 120px;
        max-height: 68px;
    }

}
/* =========================================================
       XERAA LOGO
    ========================================================= */

/* =========================================================
       XERAA HOME STATS - CORPORATE CARDS
    ========================================================= */

.x-stats-static {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;

    margin-top: 50px;
}


/* =========================================================
       CARD
    ========================================================= */

.x-stats-static .x-stat-item {

    position: relative;

    min-height: 175px;

    padding: 32px 28px 28px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;

    background: #ffffff;

    border: 1px solid #e7ebf0;

    border-radius: 14px;

    box-shadow:
        0 8px 25px rgba(7, 28, 53, 0.06);

    overflow: hidden;

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}


/* الخط الأزرق العلوي */

.x-stats-static .x-stat-item::before {

    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 4px;

    background: #1688ed;

    transform: scaleX(.35);

    transform-origin: left;

    transition: transform .3s ease;
}


/* Hover */

.x-stats-static .x-stat-item:hover {

    transform: translateY(-6px);

    border-color: rgba(22, 136, 237, .25);

    box-shadow:
        0 18px 40px rgba(7, 28, 53, 0.12);
}


.x-stats-static .x-stat-item:hover::before {

    transform: scaleX(1);
}


/* =========================================================
       NUMBER
    ========================================================= */

.x-stats-static .x-stat-number {

    display: flex;

    align-items: baseline;

    gap: 4px;

    margin-bottom: 14px;
}


.x-stats-static .x-counter {

    display: block;

    color: #071c35;

    font-family:
        "Barlow Condensed",
        "Barlow",
        sans-serif;

    font-size: 56px;

    line-height: 1;

    font-weight: 800;

    letter-spacing: -1px;
}


/* =========================================================
       SUFFIX
    ========================================================= */

.x-stats-static .x-stat-suffix {

    color: #1688ed;

    font-family:
        "Barlow",
        sans-serif;

    font-size: 30px;

    line-height: 1;

    font-weight: 700;
}


/* =========================================================
       TITLE
    ========================================================= */

.x-stats-static .x-stat-title {

    display: block !important;

    width: 100%;

    color: #667085 !important;

    font-family:
        "Barlow",
        "Tajawal",
        sans-serif;

    font-size: 17px;

    line-height: 1.4;

    font-weight: 600;

    opacity: 1 !important;

    visibility: visible !important;

    text-align: left;
}


/* =========================================================
       ARABIC
    ========================================================= */

html[lang="ar"] .x-stats-static .x-stat-title {

    font-family:
        "Tajawal",
        sans-serif;

    text-align: right;
}


html[lang="ar"] .x-stats-static .x-stat-item {

    align-items: flex-start;
}


html[lang="ar"] .x-stats-static .x-stat-item::before {

    left: auto;
    right: 0;

    transform-origin: right;
}


/* =========================================================
       RESPONSIVE - TABLET
    ========================================================= */

@media (max-width: 991px) {

    .x-stats-static {

        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 16px;

        margin-top: 35px;
    }


    .x-stats-static .x-stat-item {

        min-height: 155px;

        padding: 26px 24px;
    }


    .x-stats-static .x-counter {

        font-size: 48px;
    }


    .x-stats-static .x-stat-suffix {

        font-size: 26px;
    }

}


/* =========================================================
       RESPONSIVE - MOBILE
    ========================================================= */

@media (max-width: 600px) {

    .x-stats-static {

        grid-template-columns: 1fr;

        gap: 14px;

        margin-top: 30px;
    }


    .x-stats-static .x-stat-item {

        min-height: 135px;

        padding: 24px 22px;
    }


    .x-stats-static .x-counter {

        font-size: 44px;
    }


    .x-stats-static .x-stat-suffix {

        font-size: 24px;
    }


    .x-stats-static .x-stat-title {

        font-size: 16px;
    }

}
/* =========================================================
       UNIVERSAL SECTION LABEL
       ========================================================= */

.x-section-label {
    width: min(1200px, calc(100% - 80px));
    margin: 0 auto 42px;

    display: flex;
    align-items: center;
    gap: 16px;

    font-size: 15px;
    font-weight: 800;
    letter-spacing: 1.8px;
    text-transform: uppercase;

    color: #0c2945;
}

.x-section-label::before {
    content: "";

    width: 52px;
    height: 2px;

    background: #1A63D8;

    flex: 0 0 auto;
}


/* =========================================================
       DARK SECTION LABEL
       ========================================================= */

.x-dark-section .x-section-label {
    color: #ffffff;
}

.x-dark-section .x-section-label::before {
    background: #1A63D8;
}


/* =========================================================
       CLIENTS STYLE
       ========================================================= */

.x-section-label-blue {
    color: #126dcc;
}

.x-section-label-blue::before {
    background: #126dcc;
}


/* =========================================================
       RTL
       ========================================================= */

html[dir="rtl"] .x-section-label,
body[dir="rtl"] .x-section-label {
    letter-spacing: 0;
}


/* =========================================================
       MOBILE
       ========================================================= */

@media (max-width: 768px) {
    body {
        font-family: 'Tajawal', sans-serif !important;
    }
    .x-section-label {
        width: calc(100% - 30px);

        margin-bottom: 30px;

        font-size: 13px;
        letter-spacing: 1.3px;

        gap: 12px;
    }

    .x-section-label::before {
        width: 36px;
    }
}
/* =========================================================
       USER LOGIN
    ========================================================= */

.xeraa-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    padding: 10px 16px;

    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 10px;

    color: inherit;
    text-decoration: none;

    font-size: 14px;
    font-weight: 600;

    transition:
        background-color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}

.xeraa-login:hover {
    text-decoration: none;
    transform: translateY(-1px);
}

.xeraa-login-icon {
    font-size: 17px;
}


/* =========================================================
       USER MENU
    ========================================================= */

.xeraa-user-menu {
    position: relative;
}


.xeraa-user-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    border: 1px solid rgba(0, 0, 0, 0.12);
    background: transparent;

    border-radius: 10px;

    padding: 9px 13px;

    cursor: pointer;

    font-family: inherit;
    font-size: 14px;
    font-weight: 600;

    color: inherit;

    transition:
        background-color 0.25s ease,
        border-color 0.25s ease;
}


.xeraa-user-button:hover {
    background: rgba(0, 0, 0, 0.04);
}


.xeraa-user-icon {
    width: 30px;
    height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(0, 0, 0, 0.06);

    font-size: 15px;
}


.xeraa-user-name {
    max-width: 130px;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


.xeraa-user-arrow {
    font-size: 16px;
    line-height: 1;
}


/* =========================================================
       USER DROPDOWN
    ========================================================= */

.xeraa-user-dropdown {
    position: absolute;

    top: calc(100% + 10px);

    inset-inline-end: 0;

    width: 250px;

    background: #fff;

    border-radius: 14px;

    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.12);

    border: 1px solid rgba(0, 0, 0, 0.08);

    padding: 8px;

    z-index: 9999;

    opacity: 0;
    visibility: hidden;

    transform: translateY(-8px);

    transition:
        opacity 0.2s ease,
        visibility 0.2s ease,
        transform 0.2s ease;
}


.xeraa-user-menu.active
.xeraa-user-dropdown {

    opacity: 1;

    visibility: visible;

    transform: translateY(0);
}


/* =========================================================
       USER DROPDOWN HEADER
    ========================================================= */

.xeraa-user-dropdown-header {

    display: flex;

    align-items: center;

    gap: 10px;

    padding: 12px;
}


.xeraa-user-avatar {

    width: 42px;
    height: 42px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #f3f4f6;

    font-size: 18px;
}


.xeraa-user-dropdown-header strong {

    display: block;

    font-size: 14px;

    color: #222;
}


.xeraa-user-dropdown-header small {

    display: block;

    margin-top: 3px;

    font-size: 12px;

    color: #777;

    word-break: break-word;
}


/* =========================================================
       DIVIDER
    ========================================================= */

.xeraa-user-dropdown-divider {

    height: 1px;

    background: #eee;

    margin: 4px 0 8px;
}


/* =========================================================
       DROPDOWN ITEMS
    ========================================================= */

.xeraa-user-dropdown-item {

    width: 100%;

    display: flex;

    align-items: center;

    gap: 10px;

    padding: 11px 12px;

    border-radius: 9px;

    background: transparent;

    border: none;

    color: #333;

    text-decoration: none;

    font-family: inherit;

    font-size: 14px;

    cursor: pointer;

    text-align: start;

    transition:
        background-color 0.2s ease;
}


.xeraa-user-dropdown-item:hover {

    background: #f5f5f5;

    text-decoration: none;
}


.xeraa-logout-button {

    color: #c62828;
}


/* =========================================================
       MOBILE
    ========================================================= */

@media (max-width: 991px) {

    .xeraa-login,
    .xeraa-user-menu {

        width: 100%;
    }


    .xeraa-login {

        justify-content: center;
    }


    .xeraa-user-button {

        width: 100%;

        justify-content: center;
    }


    .xeraa-user-dropdown {

        position: static;

        width: 100%;

        margin-top: 8px;

        box-shadow: none;
    }

}
/* =========================================================
       XERAA HERO — ULTRA SMOOTH SLIDER TRANSITION
       ========================================================= */

.x-hero {
    position: relative;
    overflow: hidden;
    background: #07192b;
}

.x-hero .x-slide {
    position: absolute;
    inset: 0;

    opacity: 0;
    visibility: hidden;

    z-index: 0;

    /*
         * Cross Fade ناعم
         */
    transition:
        opacity 1.8s cubic-bezier(.22, .61, .36, 1),
        visibility 0s linear 1.8s;
}

.x-hero .x-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;

    transition:
        opacity 1.4s cubic-bezier(.4, 0, .2, 1),
        visibility 0s linear 0s;
}

/* الصورة نفسها بدون حركة Zoom أثناء تغيير السلايد */
.x-hero .x-slide img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    /*
         * بداية الصورة بحجم طبيعي
         */
    transform: scale(1);

    /*
         * حركة بسيطة جدًا أثناء عرض السلايد
         */
    will-change: transform;

    transition:
        transform 7s cubic-bezier(.22, .61, .36, 1);
}

/* إلغاء الـ Zoom القديم */
.x-hero .x-slide.active img {

    /*
         * Zoom بسيط جدًا
         * لا يلفت النظر
         */
    transform: scale(1.035);

    transition:
        transform 7s cubic-bezier(.22, .61, .36, 1);
}

/* Overlay ثابت وناعم */
.x-slide-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;

    background:
        linear-gradient(
            90deg,
            rgba(7, 25, 43, .88) 0%,
            rgba(7, 25, 43, .62) 38%,
            rgba(7, 25, 43, .25) 72%,
            rgba(7, 25, 43, .35) 100%
        );
}

/* محتوى السلايد */
.x-hero .x-hero-content {
    position: relative;
    z-index: 3;
}

/* منع أنيميشن المحتوى القديم من جعله يقفز */
.x-hero .x-slide:not(.active) .x-hero-content {
    opacity: 0;
}

.x-hero .x-slide.active .x-hero-content {
    opacity: 1;
    transition: opacity 1s ease .2s;
}
.xeraa-powered-by {
    position: relative;
    left: 200px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.55);
    font-size: 13px;
}

.xeraa-powered-by a {
    color: #1A63D8;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
}

.xeraa-powered-by a:hover {
    color: #ffffff;
}


/* =========================================================
   NEW XERAA BRAND IDENTITY — 2026
   Based on the new logo:
   Primary Blue:   #1A63D8
   Secondary Gray: #9AADC8
   ========================================================= */

:root {
    --x-brand-blue: #1A63D8;
    --x-brand-blue-dark: #1553B5;
    --x-brand-blue-light: #4B8BEA;
    --x-brand-gray: #9AADC8;
}

/* ---------------------------------------------------------
   Header logo
   The new logo is a wide horizontal lockup (1966 × 506)
   --------------------------------------------------------- */

.xeraa-logo-image {
    display: block;
    width: auto;
    height: 62px;
    max-width: 250px;
    min-width: 0;
    object-fit: contain;
    object-position: center;
    flex-shrink: 0;
}

.xeraa-header.scrolled .xeraa-logo-image {
    height: 54px;
}

.xeraa-logo {
    gap: 0;
}

/* ---------------------------------------------------------
   Footer logo
   --------------------------------------------------------- */

.xeraa-footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0;
}

.xeraa-footer-logo .xeraa-logo-image {
    height: 62px;
    max-width: 250px;
}

/* ---------------------------------------------------------
   Keep legacy logo fallback consistent with new brand
   --------------------------------------------------------- */

.x-logo-mark {
    background: var(--x-brand-blue);
}

.x-logo-mark::after {
    border-right-color: var(--x-brand-gray);
    border-bottom-color: var(--x-brand-gray);
}

.x-logo-text strong {
    color: var(--x-brand-blue-dark);
}

/* ---------------------------------------------------------
   Header controls
   --------------------------------------------------------- */

.xeraa-language:hover {
    color: var(--x-brand-blue);
}

.xeraa-consultation {
    background: var(--x-brand-blue-dark);
    border-color: var(--x-brand-blue-dark);
}

.xeraa-consultation::before {
    background: var(--x-brand-blue);
}

.xeraa-consultation:hover {
    color: #ffffff;
    border-color: var(--x-brand-blue);
}

/* ---------------------------------------------------------
   Footer brand accents
   --------------------------------------------------------- */

.xeraa-footer-column h4::after {
    background: var(--x-brand-blue);
}

.xeraa-footer-social a:hover {
    background: var(--x-brand-blue);
    border-color: var(--x-brand-blue);
    color: #ffffff;
}

.contact-icon {
    color: var(--x-brand-blue-light);
}

.xeraa-footer-grid > div:not(.x-footer-brand) a:hover,
.xeraa-footer-links a:hover {
    color: var(--x-brand-blue-light);
}

/* ---------------------------------------------------------
   Contact / CTA area
   Replace the old gold block with a brand-aligned light blue.
   --------------------------------------------------------- */

.x-contact {
    background: #EEF4FF;
}

.x-contact h2 {
    color: var(--x-navy);
}

.x-contact p {
    color: #42566E;
}

.x-contact-button {
    color: #ffffff;
    background: var(--x-brand-blue-dark);
}

.x-contact-button span {
    color: var(--x-brand-gray);
}

.x-contact-button:hover {
    color: var(--x-brand-blue-dark);
    background: #ffffff;
}

/* ---------------------------------------------------------
   About / CTA accents that were previously gold
   --------------------------------------------------------- */

.about-cta-button {
    background: var(--x-brand-blue);
    color: #ffffff;
}

.about-cta-button:hover {
    background: var(--x-brand-blue-light);
    color: #ffffff;
}

.xeraa-powered-by a {
    color: var(--x-brand-blue-light);
}

/* ---------------------------------------------------------
   Clients / general accent line
   --------------------------------------------------------- */

.sk-clients .sk-section-label::after {
    background: var(--x-brand-blue);
}

/* ---------------------------------------------------------
   Mobile
   --------------------------------------------------------- */

@media (max-width: 700px) {

    .xeraa-logo-image {
        height: 48px;
        max-width: 188px;
    }

    .xeraa-header.scrolled .xeraa-logo-image {
        height: 44px;
    }

    .xeraa-footer-logo .xeraa-logo-image {
        height: 52px;
        max-width: 205px;
    }
}

@media (max-width: 420px) {

    .xeraa-logo-image {
        height: 44px;
        max-width: 171px;
    }

    .xeraa-footer-logo .xeraa-logo-image {
        height: 48px;
        max-width: 186px;
    }
}

/* =========================================================
   SERVICES CARDS - FINAL OVERRIDE
   Animation + Single Color Icons
   ========================================================= */

/* الكروت */
.x-services-list .x-services-grid > .x-service-card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    background: #ffffff !important;
    border: 1px solid #e4e9ef;
    box-shadow: 0 0 0 rgba(8, 36, 63, 0);
    opacity: 1;

    animation: serviceCardEntrance 0.75s
    cubic-bezier(.22, 1, .36, 1) both;

    transition:
        transform 0.4s cubic-bezier(.22, 1, .36, 1),
        background-color 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.4s ease;
}

/* ظهور تدريجي لكل كارت */
.x-services-list .x-services-grid > .x-service-card:nth-child(3n + 1) {
    animation-delay: 0.05s;
}

.x-services-list .x-services-grid > .x-service-card:nth-child(3n + 2) {
    animation-delay: 0.15s;
}

.x-services-list .x-services-grid > .x-service-card:nth-child(3n + 3) {
    animation-delay: 0.25s;
}

@keyframes serviceCardEntrance {
    from {
        opacity: 0;
        transform: translateY(28px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* حركة الكارت عند الوقوف عليه */
.x-services-list .x-services-grid > .x-service-card:hover {
    background: #071c35 !important;
    border-color: #071c35 !important;
    transform: translateY(-8px);
    box-shadow: 0 22px 50px rgba(7, 28, 53, 0.16);
}

/* الخط العلوي المتحرك */
.x-services-list .x-service-card-link::before {
    background: #1A63D8 !important;
    transform-origin: left center;
    transition: transform 0.4s ease;
}

html[dir="rtl"] .x-services-list .x-service-card-link::before {
    transform-origin: right center;
}

.x-services-list .x-service-card:hover .x-service-card-link::before {
    transform: scaleX(1);
}

/* الأيقونة بلون واحد حتى عند Hover */
.x-services-list .x-service-icon,
.x-services-list .x-service-card:hover .x-service-icon {
    background: rgba(26, 99, 216, 0.10) !important;
    color: #1A63D8 !important;
    border: 1px solid rgba(26, 99, 216, 0.22);
    transform: none;
    transition:
        background-color 0.3s ease,
        border-color 0.3s ease;
}

/* عنوان الخدمة */
.x-services-list .x-service-card-content h3 {
    color: #071c35;
    transition: color 0.3s ease;
}

.x-services-list .x-service-card:hover .x-service-card-content h3 {
    color: #ffffff !important;
}

/* وصف الخدمة */
.x-services-list .x-service-card-content p {
    color: #718096;
    transition: color 0.3s ease;
}

.x-services-list .x-service-card:hover .x-service-card-content p {
    color: rgba(255, 255, 255, 0.78) !important;
}

/* رابط تفاصيل الخدمة */
.x-services-list .x-service-card-footer {
    transition: color 0.3s ease, border-color 0.3s ease;
}

.x-services-list .x-service-card:hover .x-service-card-footer {
    color: #ffffff !important;
    border-top-color: rgba(255, 255, 255, 0.18);
}

/* سهم الرابط */
.x-services-list .x-service-arrow {
    transition:
        background-color 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease;
}

.x-services-list .x-service-card:hover .x-service-arrow {
    background: #1A63D8 !important;
    border-color: #1A63D8 !important;
    color: #ffffff !important;
}

/* مراعاة إعدادات تقليل الحركة */
@media (prefers-reduced-motion: reduce) {
    .x-services-list .x-services-grid > .x-service-card {
        animation: none !important;
        transition: none !important;
    }

    .x-services-list .x-services-grid > .x-service-card:hover {
        transform: none;
    }
}

/* WhatsApp: Arabic Right / English Left */
.xeraa-whatsapp {
    position: fixed !important;
    bottom: 24px !important;
    z-index: 99999 !important;
}

/* Arabic */
html[dir="rtl"] .xeraa-whatsapp,
body[dir="rtl"] .xeraa-whatsapp {
    right: 24px !important;
    left: auto !important;
}

/* English */
html[dir="ltr"] .xeraa-whatsapp,
body[dir="ltr"] .xeraa-whatsapp {
    left: 24px !important;
    right: auto !important;
}

/* Mobile */
@media (max-width: 575px) {
    html[dir="rtl"] .xeraa-whatsapp,
    body[dir="rtl"] .xeraa-whatsapp {
        right: 16px !important;
        left: auto !important;
    }

    html[dir="ltr"] .xeraa-whatsapp,
    body[dir="ltr"] .xeraa-whatsapp {
        left: 16px !important;
        right: auto !important;
    }
}

