@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@300;400;500;600;700&family=IBM+Plex+Sans+Arabic:wght@300;400;500;600;700&display=swap");

html,
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
li,
span,
button,
input,
textarea,
select,
.navbar-brand,
.title-style,
.btn,
.nav-cta,
#site-header .navbar-nav .nav-link {
    font-family: "IBM Plex Sans", sans-serif !important;
}

html[dir="rtl"],
html[dir="rtl"] body,
html[lang="ar"],
html[lang="ar"] body,
html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4,
html[dir="rtl"] h5,
html[dir="rtl"] h6,
html[dir="rtl"] p,
html[dir="rtl"] a,
html[dir="rtl"] li,
html[dir="rtl"] button,
html[dir="rtl"] input,
html[dir="rtl"] textarea,
html[dir="rtl"] select,
html[dir="rtl"] label,
html[dir="rtl"] .navbar-brand,
html[dir="rtl"] .title-style,
html[dir="rtl"] .btn,
html[dir="rtl"] .nav-cta,
html[dir="rtl"] .nav-link,
html[dir="rtl"] .dropdown-item,
html[dir="rtl"] .inner-text-title,
html[dir="rtl"] .banner-sub,
html[dir="rtl"] .hero-badge,
html[dir="rtl"] .hero-copy,
html[dir="rtl"] [data-i18n],
body.is-rtl,
body.lang-ar,
body.lang-ar h1,
body.lang-ar h2,
body.lang-ar h3,
body.lang-ar h4,
body.lang-ar h5,
body.lang-ar h6,
body.lang-ar p,
body.lang-ar a,
body.lang-ar li,
body.lang-ar button,
body.lang-ar span {
    font-family: "IBM Plex Sans Arabic", "IBM Plex Sans", sans-serif !important;
}

html body .fa,
html body .fas,
html body .far {
    font-family: "Font Awesome 5 Free" !important;
}

html body .fa,
html body .fas {
    font-weight: 900 !important;
}

html body .far {
    font-weight: 400 !important;
}

html body .fab {
    font-family: "Font Awesome 5 Brands" !important;
    font-weight: 400 !important;
}

/* Dark mode: dark gray background, no black navbar */
:root {
    --site-red: #e53935;
    --site-dark-red: #8b1111;
    --site-navy-red: #6b1220;
    --site-baby-red: #ff8a8a;
    --site-gray: #2f2f2f;
    --bg-color: #F2F2F2;
    --bg-page: #F2F2F2;
    --bg-grey: #F2F2F2;
    --bg-light: #ffffff;
    --card-bg: #ffffff;
}

html,
body {
    background: #171717 !important;
}

html[data-theme="light"],
html[data-theme="light"] body {
    background: #F2F2F2 !important;
}

[data-theme="dark"] {
    --bg-color: #171717;
    --heading-color: #ffffff;
    --font-color: #f3f3f3;
    --bg-grey: #171717;
    --bg-light: #1f1f1f;
    --card-bg: #262626;
    --border-color: #2f2f2f;
    --border-color-light: #2f2f2f;
    --banner-layer: rgba(20, 20, 20, .78);
    --bg-page: #171717;
    --nav-glass: transparent;
}

[data-theme="dark"] body,
[data-theme="dark"] html,
[data-theme="dark"] .services-w3l-block,
[data-theme="dark"] .w3l-service-1,
[data-theme="dark"] .home-course-bg {
    background: #171717 !important;
    color: #ffffff;
}

#site-header,
#site-header.nav-fixed,
[data-theme="dark"] #site-header,
[data-theme="dark"] #site-header.nav-fixed {
    background: transparent !important;
    box-shadow: none !important;
}

#site-header .navbar,
#site-header.nav-fixed .navbar {
    border-radius: 16px !important;
    border: 1px solid rgba(255, 255, 255, .45) !important;
    background: rgba(255, 255, 255, .38) !important;
    box-shadow: 0 12px 32px rgba(16, 24, 40, .1) !important;
    backdrop-filter: blur(18px) saturate(160%) !important;
    -webkit-backdrop-filter: blur(18px) saturate(160%) !important;
}

[data-theme="dark"] #site-header .navbar,
[data-theme="dark"] #site-header.nav-fixed .navbar {
    border-color: rgba(255, 255, 255, .14) !important;
    background: rgba(23, 23, 23, .42) !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .28) !important;
    backdrop-filter: blur(18px) saturate(160%) !important;
    -webkit-backdrop-filter: blur(18px) saturate(160%) !important;
}

[data-theme="dark"] #site-header .navbar-nav .nav-link,
[data-theme="dark"] #site-header .nav-search,
[data-theme="dark"] #site-header .gg-sun,
[data-theme="dark"] #site-header .gg-moon {
    color: #f4f4f4 !important;
}

[data-theme="dark"] #site-header .navbar-nav .nav-link:hover,
[data-theme="dark"] #site-header .navbar-nav .nav-link.active {
    color: var(--site-red) !important;
}

@media (max-width: 991px) {
    #site-header .navbar-collapse {
        background: rgba(255, 255, 255, .72) !important;
        backdrop-filter: blur(18px) saturate(160%);
        -webkit-backdrop-filter: blur(18px) saturate(160%);
        border: 1px solid rgba(255, 255, 255, .45);
    }

    [data-theme="dark"] #site-header .navbar-collapse {
        background: rgba(23, 23, 23, .72) !important;
        border-color: rgba(255, 255, 255, .14);
    }
}

/* Language button shown in the top mobile bar, next to the theme toggle */
.mobile-lang-toggle {
    display: none !important;
}

.mobile-nav-tools {
    display: flex;
    align-items: center;
    gap: 8px;
}

@media (min-width: 992px) {
    #site-header .navbar-brand {
        order: 1 !important;
        margin-right: auto;
    }

    #site-header .navbar-collapse {
        order: 2 !important;
        flex-grow: 1;
    }

    .mobile-nav-tools {
        order: 3 !important;
        margin-left: 8px;
    }

    .mobile-nav-tools .mobile-lang-toggle,
    .mobile-nav-tools .navbar-toggler {
        display: none !important;
    }
}

.lang-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 16px;
    border: 0;
    border-radius: 10px;
    color: #fff;
    background: var(--site-red);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.lang-toggle:hover {
    color: #fff;
    background: var(--site-dark-red);
    box-shadow: 0 8px 18px rgba(229, 57, 53, .28);
    transform: translateY(-1px);
}

#site-header .nav-cta.lang-toggle {
    border-radius: 10px;
    background: var(--site-red);
}

#site-header .nav-cta.lang-toggle:hover {
    background: var(--site-dark-red);
}

/* 2. Mobile menu: hamburger right, theme toggle left of it, red 3-line icon */
.navbar-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 28px;
    height: 22px;
}

.navbar-hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    border-radius: 2px;
    background: var(--site-red);
}

@media (max-width: 991px) {
    #site-header .navbar {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        border-radius: 12px !important;
    }

    #site-header .navbar-brand {
        margin-inline-end: auto;
        margin-right: 0;
        order: 1;
    }

    #site-header .cont-ser-position {
        position: static !important;
        order: 2;
        display: flex;
        align-items: center;
        gap: 8px;
        margin: 0 8px 0 6px !important;
        right: auto;
        top: auto;
    }

    #site-header .mobile-nav-tools .mobile-lang-toggle {
        display: inline-flex !important;
        min-height: 34px;
        padding: 0 10px;
        border-radius: 8px;
        font-size: 15px;
        min-width: 36px;
    }

    /* Hide the duplicate language button inside the collapsed menu on mobile */
    #site-header .nav-actions {
        display: none !important;
    }

    #site-header .mobile-nav-tools {
        order: 2;
        display: flex !important;
        align-items: center;
        justify-content: flex-end;
        gap: 8px;
        margin-left: auto;
        margin-right: 0;
    }

    #site-header .navbar-toggler {
        order: 3;
        margin-left: 0;
        padding: 0 !important;
        border: 0;
        background: transparent !important;
        box-shadow: none !important;
        display: flex;
        align-items: center;
    }

    .navbar-toggler-icon,
    .navbar-toggler-icon.fa,
    button.navbar-toggler .icon-expand,
    button.navbar-toggler .icon-close {
        display: none !important;
        background: none !important;
    }

    /* Smaller mobile menu (hamburger) icon */
    .navbar-hamburger {
        display: flex;
        gap: 4px;
        width: 20px;
        height: 16px;
    }

    .navbar-hamburger span {
        height: 2px;
    }

    button.navbar-toggler:not(.collapsed) .navbar-hamburger span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    button.navbar-toggler:not(.collapsed) .navbar-hamburger span:nth-child(2) {
        opacity: 0;
    }

    button.navbar-toggler:not(.collapsed) .navbar-hamburger span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    .navbar-hamburger span {
        transition: transform .2s ease, opacity .2s ease;
    }

    #site-header .navbar-collapse {
        order: 4;
        width: 100%;
        flex-basis: 100%;
        border-radius: 12px;
    }

    #site-header .nav-actions {
        width: 100%;
        justify-content: center;
    }
}

/* 3. Hero text aligned with navbar; RTL flips to right */
#site-header>.container,
.w3l-banner .banner-content>.container,
.w3l-banner .container {
    width: min(94%, 1440px);
    max-width: none;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
}

#site-header>.container {
    padding-left: 28px;
    padding-right: 28px;
    box-sizing: border-box;
}

/* 3b. Every section and footer container aligns with the navbar start/end lines */
body .container {
    width: min(94%, 1440px) !important;
    max-width: none !important;
    padding-left: 28px !important;
    padding-right: 28px !important;
    box-sizing: border-box;
}

/* Hero: two columns like the reference (title left, copy/actions right) */
.w3l-banner .hero-side {
    padding-left: 28px;
    padding-right: 28px;
    text-align: left;
}

.w3l-banner .hero-side .banner-sub {
    margin-bottom: 1.4rem;
    max-width: 560px;
}

html[dir="rtl"] .w3l-banner .hero-side {
    text-align: right !important;
}

html[dir="rtl"] .w3l-banner .hero-side .hero-metrics,
html[dir="rtl"] .w3l-banner .hero-side .buttons-banner {
    justify-content: flex-start !important;
}

/* About: rounded white card, text left, image right (as in the reference) */
#about .about-card {
    position: relative;
    overflow: hidden;
    margin-left: 0;
    margin-right: 0;
    padding: 2.4rem;
    border: 1px solid #ececec;
    border-radius: 30px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(16, 24, 40, .08);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease;
}

#about .about-card-bg {
    position: absolute;
    inset: 0;
    background: url("https://images.unsplash.com/photo-1500382017468-9049fed747ef?auto=format&fit=crop&w=1400&q=85") center/cover no-repeat;
    opacity: .3;
    pointer-events: none;
    z-index: 0;
}

#about .about-card .company-glass-card {
    position: relative;
    z-index: 1;
}

#about .about-card:hover,
#about .about-card.is-hover {
    border-color: var(--site-red);
    background: #fff5f5;
    box-shadow: 0 24px 48px rgba(229, 57, 53, .18);
    transform: translateY(-4px);
}

#about .about-card .company-glass-card {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    animation: none;
}

[data-theme="dark"] #about .about-card {
    background: #262626;
    border-color: #333;
}

[data-theme="dark"] #about .about-card:hover,
[data-theme="dark"] #about .about-card.is-hover {
    background: #3a1c1c;
    border-color: var(--site-red);
}

@media (max-width: 991px) {
    #about .about-card {
        padding: 1.6rem;
        border-radius: 22px;
    }
}

/* Machines: four cards in a single row on desktop */
.home-course-bg .col-lg-3 {
    flex: 0 0 25%;
    max-width: 25%;
}

@media (max-width: 991px) {
    .home-course-bg .col-lg-3 {
        flex: 0 0 auto;
        max-width: 100%;
    }
}

.w3l-banner .banner-content>.container {
    padding-left: 15px;
    padding-right: 15px;
}

.w3l-banner .hero-copy {
    padding-left: 28px;
    padding-right: 28px;
    margin-left: 0;
    margin-right: auto;
    text-align: left;
    max-width: 680px;
}

.w3l-banner .row {
    margin-left: 0;
    margin-right: 0;
}

.w3l-banner .hero-copy.col-md-6 {
    padding-left: 28px;
    padding-right: 28px;
}

.w3l-banner .hero-copy h3,
.w3l-banner .hero-copy h3 span,
.w3l-banner h3,
.w3l-banner h3 span[data-i18n="heroTitle"],
.w3l-banner h3 span[data-i18n="heroTitleSpan"] {
    font-weight: 700 !important;
}

html[dir="rtl"] .w3l-banner .hero-copy h3,
html[dir="rtl"] .w3l-banner .hero-copy h3 span,
html[dir="rtl"] .w3l-banner h3 span[data-i18n="heroTitle"],
html[dir="rtl"] .w3l-banner h3 span[data-i18n="heroTitleSpan"] {
    font-weight: 700 !important;
}

html[dir="rtl"] .w3l-banner .hero-copy,
html[dir="rtl"] .w3l-banner .hero-copy h3,
html[dir="rtl"] .w3l-banner .hero-badge,
html[dir="rtl"] .w3l-banner .banner-sub {
    direction: rtl;
    text-align: right !important;
}

html[dir="rtl"] .w3l-banner .hero-copy,
html[dir="rtl"] .w3l-banner .hero-copy.col-md-6 {
    margin-left: auto !important;
    margin-right: 0 !important;
    padding-left: 24px;
    padding-right: 28px;
}

html[dir="rtl"] .w3l-banner .row {
    justify-content: flex-end;
}

html[dir="rtl"] .w3l-banner {
    padding-top: 7rem !important;
}

html[dir="rtl"] .w3l-banner .banner-content>.container {
    padding-top: 1.5rem;
}

.buttons-banner {
    display: flex;
    align-items: center;
    flex-wrap: nowrap !important;
    gap: 12px;
    justify-content: flex-start;
}

.buttons-banner .btn,
.w3l-banner .buttons-banner .btn-style,
.w3l-banner .buttons-banner .btn-style-secondary {
    margin-top: 1.15rem !important;
    white-space: nowrap;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 210px;
    width: 210px;
    min-height: 52px;
    height: 52px;
    padding: 12px 22px !important;
    box-sizing: border-box;
    font-size: 15px !important;
    line-height: 1.2 !important;
}

@media (max-width: 767px) {
    .buttons-banner {
        flex-wrap: nowrap !important;
        width: 100%;
        gap: 10px;
    }

    .buttons-banner .btn,
    .w3l-banner .buttons-banner .btn-style,
    .w3l-banner .buttons-banner .btn-style-secondary {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        text-align: center;
        flex: 1 1 0;
        width: auto;
        min-width: 0;
        max-width: none;
        min-height: 52px;
        height: 52px;
        padding: 12px 14px !important;
        font-size: 14px !important;
        line-height: 1.2 !important;
        white-space: nowrap;
    }
}

html[dir="rtl"] .hero-metrics,
html[dir="rtl"] .buttons-banner {
    justify-content: flex-start !important;
    direction: rtl !important;
    flex-wrap: nowrap !important;
}

html[dir="rtl"] .buttons-banner .btn {
    margin-top: 0.85rem !important;
}

html[dir="rtl"] .hero-metrics {
    padding-right: 0;
}

.trusted-brands,
.trusted-brands-viewport,
.trusted-brands-track,
.trusted-brands-group {
    direction: ltr !important;
    unicode-bidi: isolate;
}

html[dir="rtl"] .trusted-brands,
html[dir="rtl"] .trusted-brands-viewport,
html[dir="rtl"] .trusted-brands-track,
html[dir="rtl"] .trusted-brands-group {
    direction: ltr !important;
    text-align: left;
    unicode-bidi: isolate;
}

html[dir="rtl"] .trusted-brands-track {
    animation-direction: normal !important;
}

/* 4. Trusted brands: PNG logos, animation, no label */
.trusted-brands {
    display: block;
    min-height: 112px;
    padding: 28px 0;
    background: transparent;
    border-top: 1px solid rgba(0, 0, 0, .06);
    border-bottom: 1px solid rgba(0, 0, 0, .06);
}

.trusted-brands-viewport {
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.brand-logo-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 132px;
    min-height: 64px;
    padding: 10px 18px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, .55);
    background: rgba(255, 255, 255, .42);
    box-shadow: 0 10px 24px rgba(16, 24, 40, .08);
    backdrop-filter: blur(14px) saturate(160%);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
}

.trusted-brands-label {
    display: none !important;
}

.brand-logo-img {
    display: block;
    height: 36px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    filter: grayscale(1) contrast(1.05);
    opacity: .78;
    transition: transform .25s ease, filter .25s ease, opacity .25s ease;
}

.brand-logo-wrap:hover .brand-logo-img,
.brand-logo-img:hover {
    transform: translateY(-2px) scale(1.04);
    filter: grayscale(0) drop-shadow(0 8px 14px rgba(229, 57, 53, .22));
    opacity: 1;
}

.trusted-brands-group .brand-logo-wrap:nth-child(2) .brand-logo-img {
    animation-delay: .35s;
}

.trusted-brands-group .brand-logo-wrap:nth-child(3) .brand-logo-img {
    animation-delay: .7s;
}

.trusted-brands-group .brand-logo-wrap:nth-child(4) .brand-logo-img {
    animation-delay: 1.05s;
}

.trusted-brands-group .brand-logo-wrap:nth-child(5) .brand-logo-img {
    animation-delay: 1.4s;
}

.trusted-brands-group .brand-logo-wrap:nth-child(6) .brand-logo-img {
    animation-delay: 1.75s;
}

@keyframes brand-float {

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

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

[data-theme="dark"] .trusted-brands {
    background: transparent;
    border-top-color: rgba(255, 255, 255, .08);
    border-bottom-color: rgba(255, 255, 255, .08);
}

[data-theme="dark"] .brand-logo-wrap {
    border-color: rgba(255, 255, 255, .12);
    background: rgba(38, 38, 38, .55);
}

[data-theme="dark"] .brand-logo-img {
    filter: grayscale(1) brightness(1.4);
    opacity: .82;
}

/* 5. Services heading left / RTL right; Our services big; subtitle small; red icons */
.services-w3l-block .title-main,
.section-heading {
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: auto !important;
    text-align: left !important;
}

html[dir="rtl"] .services-w3l-block .title-main,
html[dir="rtl"] .section-heading {
    margin-left: auto !important;
    margin-right: 0 !important;
    text-align: right !important;
}

.services-w3l-block .title-main p,
.section-heading .section-kicker {
    font-size: clamp(2rem, 4vw, 3.1rem);
    letter-spacing: .02em;
    font-weight: 700;
    text-transform: none;
    color: var(--heading-color);
    margin-bottom: .35rem;
}

.services-w3l-block .title-main .title-style,
.section-heading .section-sub {
    font-size: 1rem !important;
    font-weight: 400 !important;
    line-height: 1.5;
    color: #6b6b6b;
}

.services-w3l-block .icon-box {
    width: 100%;
    max-width: none;
    min-height: 300px;
    margin: 0 auto;
    padding: 32px 22px !important;
    border-radius: 24px !important;
    border: 1px solid rgba(255, 255, 255, .55) !important;
    background: rgba(255, 255, 255, .42) !important;
    color: #2f2f2f;
    box-shadow: 0 12px 32px rgba(16, 24, 40, .1);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    transition: transform .25s ease, background .25s ease, border-color .25s ease, box-shadow .25s ease, color .25s ease;
}

.services-w3l-block .icon-box .title a,
.services-w3l-block .icon-box p {
    color: #2f2f2f !important;
}

.services-w3l-block .icon i {
    width: 64px !important;
    height: 64px !important;
    line-height: 64px !important;
    font-size: 28px !important;
    margin-bottom: 16px !important;
    background: rgba(229, 57, 53, .12) !important;
    color: var(--site-red) !important;
}

.services-w3l-block .title a {
    font-size: 18px !important;
    line-height: 1.35 !important;
    margin-bottom: 10px !important;
}

.services-w3l-block .icon-box p {
    font-size: 14px;
    line-height: 1.45;
    margin-bottom: 0;
}

.services-w3l-block .icon-box:hover,
.services-w3l-block .icon-box.is-hover {
    transform: translateY(-8px);
    background: var(--site-red) !important;
    border-color: var(--site-red) !important;
    box-shadow: 0 18px 36px rgba(229, 57, 53, .32);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.services-w3l-block .icon-box:hover .title a,
.services-w3l-block .icon-box:hover p,
.services-w3l-block .icon-box.is-hover .title a,
.services-w3l-block .icon-box.is-hover p {
    color: #ffffff !important;
}

.services-w3l-block .icon-box:hover .icon i,
.services-w3l-block .icon-box.is-hover .icon i {
    background: rgba(255, 255, 255, .18) !important;
    color: #ffffff !important;
}

[data-theme="dark"] .services-w3l-block .icon-box {
    border-color: rgba(255, 255, 255, .16) !important;
    background: rgba(47, 47, 47, .42) !important;
    color: #ffffff;
}

[data-theme="dark"] .services-w3l-block .icon-box .title a,
[data-theme="dark"] .services-w3l-block .icon-box p {
    color: #ffffff !important;
}

[data-theme="dark"] .services-w3l-block .icon-box:hover,
[data-theme="dark"] .services-w3l-block .icon-box.is-hover {
    background: var(--site-red) !important;
    border-color: var(--site-red) !important;
}

.company-values-row .icon-box {
    width: 100%;
}

@media (min-width: 992px) {
    .company-values-row .col-lg {
        flex: 1 1 18%;
        max-width: none;
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* 6. Loading bar red/black; loader ring red/black */
#scroll-progress {
    background: linear-gradient(90deg, #e53935, #111111, #e53935) !important;
    box-shadow: 0 0 18px rgba(229, 57, 53, .45) !important;
}

.page-loader {
    background: radial-gradient(circle at top, rgba(229, 57, 53, .28), rgba(17, 17, 17, .96)) !important;
}

.loader-ring::before {
    border-color: rgba(229, 57, 53, .9);
    border-top-color: transparent;
}

.loader-ring::after {
    border-color: rgba(17, 17, 17, .9);
    border-bottom-color: transparent;
}

[data-theme="dark"] .page-loader {
    background: radial-gradient(circle at top, rgba(229, 57, 53, .22), rgba(47, 47, 47, .96)) !important;
}

/* 7. Company data glassy card with red hover */
.company-glass-card {
    padding: 2rem 2.1rem;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 18px;
    background: rgba(255, 255, 255, .18);
    box-shadow: 0 18px 40px rgba(16, 24, 40, .12);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    animation: glass-rise .8s ease both;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease;
}

.company-glass-card:hover,
.company-glass-card.is-hover {
    transform: translateY(-6px);
    border-color: rgba(229, 57, 53, .55);
    background: rgba(229, 57, 53, .08);
    box-shadow: 0 22px 44px rgba(229, 57, 53, .22);
}

.company-glass-card .title-style,
.company-glass-card ul.list-style-lis li i {
    color: inherit;
}

.company-glass-card:hover .title-style,
.company-glass-card:hover a,
.company-glass-card:hover ul.list-style-lis li i,
.company-glass-card.is-hover .title-style,
.company-glass-card.is-hover a,
.company-glass-card.is-hover ul.list-style-lis li i {
    color: var(--site-red);
}

@keyframes glass-rise {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

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

[data-theme="dark"] .company-glass-card {
    background: rgba(58, 58, 58, .55);
    border-color: rgba(255, 255, 255, .12);
    color: #fff;
}

/* 8. Course cards navy-red / baby-red gradient */
.coursecard-single {
    min-height: 320px !important;
    border-radius: 18px !important;
    border: 1px solid rgba(255, 255, 255, .48) !important;
    background: rgba(255, 255, 255, .38) !important;
    box-shadow: 0 16px 36px rgba(16, 24, 40, .1) !important;
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    overflow: hidden;
}

.coursecard-single .grids5-info {
    flex: 0 0 62% !important;
    min-height: 210px !important;
    background: transparent !important;
}

.coursecard-single .grids5-info img {
    min-height: 210px !important;
}

.coursecard-single .grids5-info::before {
    content: none !important;
    display: none !important;
}

.coursecard-single .content-main-top {
    padding: 12px 14px 14px !important;
    background: transparent !important;
}

.coursecard-single .content-main-top p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 13px;
    line-height: 1.35;
    margin-bottom: 0;
}

.coursecard-single .content-main-top h4 a {
    font-size: 16px !important;
    line-height: 1.3 !important;
    margin-bottom: 4px !important;
}

.coursecard-single .content-top {
    margin: 0 0 4px !important;
}

.coursecard-single .content-top.mb-4 {
    margin-bottom: 4px !important;
}

.coursecard-single .top-content-border {
    margin-top: 8px !important;
    padding-top: 8px !important;
}

.coursecard-single .content-top ul:empty,
.coursecard-single .meta-list:empty {
    display: none;
}

.coursecard-single .content-main-top .content-top:has(ul:empty) {
    display: none;
}

.coursecard-single:hover,
.coursecard-single.is-hover {
    box-shadow: 0 18px 36px rgba(229, 57, 53, .18) !important;
    border-color: rgba(229, 57, 53, .45) !important;
    transform: translateY(-4px);
}

[data-theme="dark"] .coursecard-single {
    border-color: rgba(255, 255, 255, .12) !important;
    background: rgba(38, 38, 38, .55) !important;
}

[data-theme="dark"] .coursecard-single .grids5-info,
[data-theme="dark"] .coursecard-single .content-main-top {
    background: transparent !important;
}

.home-course-bg {
    background: #F2F2F2 !important;
}

[data-theme="dark"] .home-course-bg {
    background: #171717 !important;
}

.home-course-bg .col-lg-4 {
    max-width: 25%;
    flex: 0 0 25%;
}

.products-results .col-lg-4,
#product-grid .col-lg-4 {
    max-width: 33.333%;
    flex: 0 0 33.333%;
}

.products-page .coursecard-single,
.w3l-grids-block-5:not(.home-course-bg) .coursecard-single {
    background: #ffffff !important;
    border: 1px solid #ececec !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

[data-theme="dark"] .products-page .coursecard-single,
[data-theme="dark"] .w3l-grids-block-5:not(.home-course-bg) .coursecard-single {
    background: #2a2a2a !important;
    border-color: #3a3a3a !important;
}

@media (max-width: 575.98px) {

    .products-results,
    .products-results #product-grid,
    .products-results .row {
        justify-content: start !important;
        text-align: start;
    }
}

@media (max-width: 991px) {
    .home-course-bg .col-lg-4 {
        max-width: 100%;
        flex: 0 0 auto;
    }
}

/* 9. Leadership rectangle red/dark-red gradient + hover */
.company-leader-card {
    background: linear-gradient(160deg, #e53935 0%, #b71c1c 52%, #6b1220 100%) !important;
    transition: transform .25s ease, box-shadow .25s ease;
}

.company-vision-card {
    border: 1px solid #ececec;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease;
}

.company-leader-card:hover,
.company-leader-card.is-hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 36px rgba(183, 28, 28, .28);
}

.company-vision-card:hover,
.company-vision-card.is-hover,
.team-intro-card:hover,
.team-intro-card.is-hover {
    transform: translateY(-6px);
    border-color: var(--site-red);
    background: #fff5f5;
    box-shadow: 0 20px 36px rgba(183, 28, 28, .28);
}

.vision-desc-box,
.leader-desc-box,
.team-intro-card {
    padding: 1rem 1.15rem;
    border: 1px solid #ececec;
    border-radius: 14px;
    background: #fff;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease;
}

.vision-desc-box:hover,
.vision-desc-box.is-hover,
.leader-desc-box:hover,
.leader-desc-box.is-hover,
.team-intro-card:hover,
.team-intro-card.is-hover {
    transform: translateY(-4px);
    border-color: var(--site-red);
    background: #fff5f5;
    box-shadow: 0 16px 28px rgba(229, 57, 53, .2);
}

.leader-desc-box {
    background: rgba(255, 255, 255, .14);
    border-color: rgba(255, 255, 255, .22);
    color: #fff;
}

.leader-desc-box:hover,
.leader-desc-box.is-hover {
    background: rgba(255, 255, 255, .22);
    border-color: #ffcdd2;
    color: #fff;
}

.team-intro-card {
    max-width: 920px;
}

[data-theme="dark"] .company-vision-card,
[data-theme="dark"] .vision-desc-box,
[data-theme="dark"] .team-intro-card {
    background: #3a3a3a;
    border-color: #4a4a4a;
    color: #fff;
}

[data-theme="dark"] .company-vision-card:hover,
[data-theme="dark"] .company-vision-card.is-hover,
[data-theme="dark"] .vision-desc-box:hover,
[data-theme="dark"] .vision-desc-box.is-hover,
[data-theme="dark"] .team-intro-card:hover,
[data-theme="dark"] .team-intro-card.is-hover {
    background: #4a2424;
    border-color: var(--site-red);
}

.company-leader-card p.text-uppercase {
    color: #ffcdd2 !important;
}

/* 10-11. Team cards as horizontal rectangles, 2x2, heading left/RTL right */
.team-heading {
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: auto !important;
    text-align: left !important;
}

html[dir="rtl"] .team-heading {
    margin-left: auto !important;
    margin-right: 0 !important;
    text-align: right !important;
}

.team-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.team-role-card {
    display: flex;
    align-items: center;
    gap: 16px;
    text-align: left !important;
    padding: 1.15rem 1.25rem !important;
    border-radius: 8px !important;
    border: 1px solid #e6e6e6 !important;
    background: #ffffff !important;
    box-shadow: 0 8px 18px rgba(16, 24, 40, .06) !important;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease;
}

.team-role-card:hover,
.team-role-card.is-hover {
    transform: translateY(-4px);
    border-color: var(--site-red) !important;
    background: #fff5f5 !important;
    box-shadow: 0 16px 28px rgba(229, 57, 53, .2) !important;
}

.team-role-card .icon {
    margin: 0 !important;
    flex: 0 0 58px;
}

.team-role-copy {
    flex: 1;
    padding: .85rem 1rem;
    border: 1px solid #ececec;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 16px rgba(16, 24, 40, .04);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease;
}

.team-role-card:hover .team-role-copy,
.team-role-card.is-hover .team-role-copy,
.team-role-copy:hover,
.team-role-copy.is-hover {
    border-color: var(--site-red);
    background: #fff5f5;
    box-shadow: 0 14px 24px rgba(229, 57, 53, .18);
}

.team-role-card .team-role-copy h4 {
    margin-bottom: .35rem;
}

.team-role-card .team-role-copy p {
    margin: 0;
    font-size: .9rem;
    color: #666;
}

[data-theme="dark"] .team-role-card {
    background: #3a3a3a !important;
    border-color: #4a4a4a !important;
}

[data-theme="dark"] .team-role-copy {
    background: #323232;
    border-color: #4a4a4a;
}

[data-theme="dark"] .team-role-card:hover,
[data-theme="dark"] .team-role-card.is-hover {
    background: #4a2424 !important;
    border-color: var(--site-red) !important;
}

[data-theme="dark"] .team-role-card:hover .team-role-copy,
[data-theme="dark"] .team-role-card.is-hover .team-role-copy,
[data-theme="dark"] .team-role-copy:hover,
[data-theme="dark"] .team-role-copy.is-hover {
    background: #4a2424;
    border-color: var(--site-red);
}

html[dir="rtl"] .team-role-card {
    text-align: right !important;
    flex-direction: row-reverse;
}

@media (max-width: 767px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
}

[data-theme="dark"] .team-role-card .team-role-copy p {
    color: #d0d0d0;
}

/* 12. Stats section navy-red / black gradient */
.w3-stats {
    position: relative;
    background: linear-gradient(135deg, #6b1220 0%, #111111 100%) !important;
    color: #fff;
}

#stats .section-heading {
    max-width: 760px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
}

html[dir="rtl"] #stats .section-heading {
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
}

.w3-stats .title-style,
.w3-stats .count-text,
.w3-stats .timer,
.w3-stats .stats-icon,
.w3-stats .title-main p {
    color: #fff !important;
}

[data-theme="dark"] .w3-stats {
    background: linear-gradient(135deg, #6b1220 0%, #111111 100%) !important;
}

/* 13. Blog glassy cards */
.blog-card-single,
.blog-standard-card,
.blog-featured-card,
.blog-grid-item {
    background: rgba(255, 255, 255, .28) !important;
    border: 1px solid rgba(255, 255, 255, .48) !important;
    box-shadow: 0 18px 40px rgba(16, 24, 40, .1) !important;
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease;
}

.w3l-blog-block-5 .blog-info,
.blog-standard-card .blog-info {
    background: transparent !important;
}

.blog-card-single:hover,
.blog-card-single.is-hover,
.blog-standard-card:hover,
.blog-standard-card.is-hover,
.blog-featured-card:hover,
.blog-featured-card.is-hover,
.blog-grid-item:hover,
.blog-grid-item.is-hover {
    transform: translateY(-6px);
    border-color: rgba(229, 57, 53, .5) !important;
    background: rgba(255, 255, 255, .42) !important;
    box-shadow: 0 22px 44px rgba(229, 57, 53, .18) !important;
}

[data-theme="dark"] .blog-card-single,
[data-theme="dark"] .blog-standard-card,
[data-theme="dark"] .blog-featured-card,
[data-theme="dark"] .blog-grid-item {
    background: rgba(47, 47, 47, .42) !important;
    border-color: rgba(255, 255, 255, .16) !important;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .28) !important;
}

[data-theme="dark"] .blog-card-single:hover,
[data-theme="dark"] .blog-card-single.is-hover,
[data-theme="dark"] .blog-standard-card:hover,
[data-theme="dark"] .blog-standard-card.is-hover,
[data-theme="dark"] .blog-featured-card:hover,
[data-theme="dark"] .blog-featured-card.is-hover,
[data-theme="dark"] .blog-grid-item:hover,
[data-theme="dark"] .blog-grid-item.is-hover {
    background: rgba(74, 36, 36, .55) !important;
    border-color: rgba(229, 57, 53, .5) !important;
}

[data-theme="dark"] .w3l-blog-block-5 .blog-info,
[data-theme="dark"] .blog-standard-card .blog-info,
[data-theme="dark"] .blog-standard-card h4 a,
[data-theme="dark"] .blog-card-single h4 a {
    color: #f4f4f4;
}

/* 14. Section spacing + main titles left EN / right AR */
section,
.home-course-bg,
.w3l-blog-block-5,
.w3l-call-to-action-6 {
    padding-top: 3.2rem !important;
    padding-bottom: 3.2rem !important;
}

.w3l-banner {
    padding-top: 7rem !important;
}

.w3l-banner .banner-content {
    width: 100%;
}

.w3l-banner .banner-content>.container>.row {
    --bs-gutter-x: 0;
}

.title-main,
.section-heading,
.left-content-call {
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: auto !important;
    text-align: left !important;
}

html[dir="rtl"] .title-main,
html[dir="rtl"] .section-heading,
html[dir="rtl"] .left-content-call {
    margin-left: auto !important;
    margin-right: 0 !important;
    text-align: right !important;
}

.call-block-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: nowrap;
}

@media (max-width: 991px) {
    .call-block-inner {
        flex-wrap: wrap;
    }
}

.w3l-call-to-action-6 .right-content-call .buttons {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

.w3l-call-to-action-6 .right-content-call .buttons li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.w3l-call-to-action-6 .btn-style-2 {
    margin-top: 0 !important;
    white-space: nowrap;
    background: #a00a0a !important;
    border-color: #8b0c0c !important;
}

.w3l-call-to-action-6 .btn-style-2:hover,
.w3l-call-to-action-6 .btn-style-2:focus-visible {
    background: #a00a0a !important;
    border-color: #8b0c0c !important;
}

html[dir="rtl"] .call-block-inner {
    flex-direction: row;
    text-align: right;
}

html[dir="rtl"] .w3l-call-to-action-6 .right-content-call .buttons {
    flex-direction: row;
    justify-content: flex-start;
}

html[dir="rtl"] .w3l-call-to-action-6 .btn,
html[dir="rtl"] .w3l-call-to-action-6 .btn-style,
html[dir="rtl"] .w3l-call-to-action-6 .btn-style-2 {
    margin-top: 0 !important;
}

html[dir="rtl"] body {
    text-align: right;
}

html[dir="rtl"] section,
html[dir="rtl"] .home-course-bg,
html[dir="rtl"] .w3l-blog-block-5,
html[dir="rtl"] .w3l-call-to-action-6 {
    padding-top: 2.2rem !important;
    padding-bottom: 2.2rem !important;
}

html[dir="rtl"] .title-main,
html[dir="rtl"] .section-heading {
    margin-bottom: 1.35rem !important;
}

html[dir="rtl"] p,
html[dir="rtl"] .banner-sub,
html[dir="rtl"] .company-glass-card p,
html[dir="rtl"] .company-vision-card p,
html[dir="rtl"] .team-heading p {
    margin-bottom: 0.7rem;
    line-height: 1.55;
}

html[dir="rtl"] .btn,
html[dir="rtl"] .btn-style,
html[dir="rtl"] .btn-style-secondary {
    margin-top: 0.75rem !important;
}

html[dir="rtl"] .w3l-call-to-action-6 .d-lg-flex,
html[dir="rtl"] .w3l-call-to-action-6 .call-block-inner {
    flex-direction: row;
}

.inner-banner .inner-text-title,
.inner-banner .breadcrumbs-custom-path,
.w3l-breadcrumb {
    text-align: left;
}

html[dir="rtl"] .inner-banner .inner-text-title,
html[dir="rtl"] .inner-banner .breadcrumbs-custom-path,
html[dir="rtl"] .w3l-breadcrumb {
    text-align: right;
}

html[dir="rtl"] .breadcrumbs-custom-path {
    padding-right: 0;
}

/* 15. Footer social icons */
.footer-social {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-social li a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.footer-social i {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    color: #fff;
    font-size: 14px;
}

.footer-social a:hover i {
    background: var(--site-red);
    color: #fff;
}

.footer-stay-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-stay-title i {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--site-red);
    color: #fff;
    font-size: 13px;
}

#movetop {
    display: none !important;
}

.nav-products-wrap {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0;
    white-space: nowrap;
}

.nav-products-wrap .nav-link {
    display: inline-flex;
    align-items: center;
    padding-right: 4px !important;
}

html[dir="rtl"] .nav-products-wrap .nav-link,
body.is-rtl .nav-products-wrap .nav-link {
    padding-right: 14px !important;
    padding-left: 4px !important;
}

.products-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 22px;
    margin-inline-start: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
}

.products-menu-toggle i {
    font-size: 11px;
    transition: transform .2s ease;
}

.products-dropdown.open .products-menu-toggle i,
.products-dropdown.show .products-menu-toggle i {
    transform: rotate(180deg);
}

.products-dropdown {
    position: relative;
}

.nav-item.dropdown .dropdown-menu,
.products-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 30;
    min-width: 220px;
    padding: 8px 0;
    margin-top: 0;
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: 12px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 16px 32px rgba(16, 24, 40, .12);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.products-dropdown.open>.products-dropdown-menu,
.products-dropdown.show>.products-dropdown-menu,
.products-dropdown:hover>.products-dropdown-menu {
    display: block;
}

@media (min-width: 992px) {
    .products-dropdown:hover .products-menu-toggle i {
        transform: rotate(180deg);
    }
}

html[dir="rtl"] .nav-item.dropdown .dropdown-menu,
html[dir="rtl"] .products-dropdown-menu {
    left: auto;
    right: 0;
}

.nav-item.dropdown .dropdown-item {
    font-family: "IBM Plex Sans", sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #2f2f2f;
    padding: 8px 16px;
}

.nav-item.dropdown .dropdown-item:hover,
.nav-item.dropdown .dropdown-item:focus,
.nav-item.dropdown .dropdown-item.active {
    color: #fff;
    background: var(--site-red);
}

[data-theme="dark"] .nav-item.dropdown .dropdown-menu {
    border-color: rgba(255, 255, 255, .14);
    background: rgba(47, 47, 47, .92);
}

[data-theme="dark"] .nav-item.dropdown .dropdown-item {
    color: #f4f4f4;
}

[data-theme="dark"] .nav-item.dropdown .dropdown-item:hover,
[data-theme="dark"] .nav-item.dropdown .dropdown-item:focus,
[data-theme="dark"] .nav-item.dropdown .dropdown-item.active {
    color: #fff;
    background: var(--site-red);
}

@media (max-width: 991px) {

    .nav-item.dropdown .dropdown-menu,
    .products-dropdown-menu {
        position: static;
        float: none;
        width: 100%;
        margin: 0 0 8px;
        box-shadow: none;
    }
}

#site-header,
#site-header .navbar,
#site-header .navbar-nav,
#site-header .navbar-nav-scroll,
#site-header .navbar-collapse {
    overflow: visible;
}

#site-header .navbar-nav .products-menu-toggle {
    color: inherit;
}

[data-theme="dark"] #site-header .navbar-nav .products-menu-toggle {
    color: #f4f4f4;
}

.product-detail-hero {
    padding-top: 3rem !important;
}

/* Keep theme toggle visible on the navbar line */
#site-header .navbar {
    position: relative;
}

@media (min-width: 992px) {
    #site-header .cont-ser-position {
        position: static;
        margin-left: 14px;
    }
}

#site-header .navbar {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
}

#site-header .navbar-brand {
    order: 1 !important;
    margin-right: auto;
    margin-left: 0 !important;
}

html[dir="rtl"] #site-header .navbar,
body.is-rtl #site-header .navbar {
    display: flex !important;
    flex-direction: row !important;
    direction: rtl !important;
}

html[dir="rtl"] #site-header .navbar-brand,
body.is-rtl #site-header .navbar-brand {
    order: 1 !important;
    margin-left: auto !important;
    margin-right: 0 !important;
}

html[dir="rtl"] #site-header .navbar-collapse,
body.is-rtl #site-header .navbar-collapse {
    order: 2 !important;
    direction: rtl;
}

html[dir="rtl"] #site-header .navbar-toggler,
body.is-rtl #site-header .navbar-toggler {
    order: 1 !important;
}

html[dir="rtl"] #site-header .cont-ser-position,
body.is-rtl #site-header .cont-ser-position {
    order: 1 !important;
    margin-left: 0 !important;
    margin-right: 14px !important;
}

html[dir="rtl"] #site-header .nav-actions,
body.is-rtl #site-header .nav-actions {
    margin-left: 0;
    margin-right: 12px;
}

html[dir="rtl"] #site-header .navbar-nav,
body.is-rtl #site-header .navbar-nav {
    margin: 0 auto;
}

@media (max-width: 991px) {

    html[dir="rtl"] #site-header .navbar,
    body.is-rtl #site-header .navbar {
        flex-wrap: wrap !important;
    }

    html[dir="rtl"] #site-header .navbar-toggler,
    body.is-rtl #site-header .navbar-toggler {
        order: 1 !important;
        margin-right: auto !important;
        margin-left: 0 !important;
    }

    html[dir="rtl"] #site-header .cont-ser-position,
    body.is-rtl #site-header .cont-ser-position {
        order: 2 !important;
        margin: 0 10px 0 0 !important;
    }

    html[dir="rtl"] #site-header .navbar-brand,
    body.is-rtl #site-header .navbar-brand {
        order: 3 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    html[dir="rtl"] #site-header .navbar-collapse,
    body.is-rtl #site-header .navbar-collapse {
        order: 4 !important;
        width: 100%;
        flex-basis: 100%;
    }
}

.product-detail-card {
    max-width: 100%;
    margin: 0 auto;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: 18px;
    background: rgba(255, 255, 255, .22);
    box-shadow: 0 18px 40px rgba(16, 24, 40, .1);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease;
}

.product-detail-card:hover,
.product-detail-card.is-hover {
    transform: translateY(-6px);
    border-color: rgba(229, 57, 53, .55);
    background: rgba(229, 57, 53, .08);
    box-shadow: 0 22px 44px rgba(229, 57, 53, .22);
}

.product-detail-card img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 1.25rem;
}

[data-theme="dark"] .product-detail-card {
    background: rgba(47, 47, 47, .42);
    border-color: rgba(255, 255, 255, .16);
    color: #fff;
}

[data-theme="dark"] .product-detail-card:hover,
[data-theme="dark"] .product-detail-card.is-hover {
    background: rgba(74, 36, 36, .55);
    border-color: rgba(229, 57, 53, .5);
}

.machine-products-section .admin-panel {
    max-width: none;
    margin: 0 0 2rem;
}

.machine-products-section .col-lg-4 {
    max-width: 20%;
    flex: 0 0 20%;
}

@media (max-width: 575.98px) {
    .machine-products-section .col-lg-4 {
        max-width: none;
        flex: none;
    }
}

@media (max-width: 767px) {
    .product-detail-card img {
        height: 240px;
    }
}

.inner-banner {
    position: relative;
    overflow: hidden;
    background: url("https://images.unsplash.com/photo-1499529112087-3cb3b73cec95?auto=format&fit=crop&w=2200&q=85") no-repeat center !important;
    background-size: cover !important;
}

.inner-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(17, 17, 17, .46);
}

.inner-banner .w3l-breadcrumb {
    position: relative;
    z-index: 3;
}

.inner-banner::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 140px;
    pointer-events: none;
    z-index: 2;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #ffffff 100%);
}

[data-theme="dark"] .inner-banner::after {
    background: linear-gradient(180deg, rgba(23, 23, 23, 0) 0%, #171717 100%);
}

.w3l-footer-29-main {
    position: relative;
    margin-top: 0;
    padding-top: 0;
    background: #171717 !important;
}

.w3l-footer-29-main .footer-29 {
    position: relative;
    z-index: 2;
    padding-top: 4.5rem !important;
}

.w3l-footer-29-main::before {
    content: none;
    display: none;
}

[data-theme="dark"] .w3l-footer-29-main {
    background: #171717 !important;
}

[data-theme="dark"] .w3l-footer-29-main::before {
    content: none;
    display: none;
}

.hero-badge {
    display: inline-flex !important;
    align-items: center;
    width: max-content;
    max-width: 100%;
    white-space: nowrap;
    box-sizing: border-box;
    overflow: visible;
}

html[lang="ar"] .hero-badge,
html[dir="rtl"] .hero-badge,
body.lang-ar .hero-badge {
    letter-spacing: .02em;
    white-space: nowrap;
    overflow: visible;
    padding: 12px 22px;
    font-size: .78rem;
    min-height: 44px;
}

.hero-badge::before {
    background: var(--site-red) !important;
    box-shadow: 0 0 12px rgba(229, 57, 53, 0.8) !important;
    flex: 0 0 auto;
}

.contact-info-grid {
    display: none !important;
}

.contact-stack {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 28px;
}

.contact-stack-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px 18px;
    border: 1px solid #ececec;
    border-radius: 14px;
    background: #fff;
}

.contact-stack-item span {
    font-size: .78rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #888;
}

.contact-stack-item a,
.contact-stack-item strong {
    font-size: 1.05rem;
    color: inherit;
    text-decoration: none;
}

[data-theme="dark"] .contact-stack-item {
    background: #262626;
    border-color: #333;
}

.contact-map-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: start;
    width: 100%;
}

.contact-map-form .eco-map,
.contact-map-form iframe {
    width: 100%;
    min-height: 420px;
    border: 0;
    border-radius: 16px;
}

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

.contact-info-card {
    min-height: 0 !important;
    padding: 36px 20px 18px !important;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease;
}

.contact-info-card-featured {
    transform: none !important;
}

.contact-info-card h2 {
    font-size: 1.05rem !important;
    margin-bottom: 8px !important;
}

.contact-info-card>p:not(.eco-card-label) {
    min-height: 0 !important;
    margin-bottom: 10px !important;
    font-size: .82rem !important;
}

.contact-info-card:hover,
.contact-info-card.is-hover,
.contact-info-card-featured:hover,
.contact-info-card-featured.is-hover {
    transform: translateY(-4px) !important;
    border-color: var(--site-red) !important;
    background: #fff5f5 !important;
    box-shadow: 0 16px 28px rgba(229, 57, 53, .18) !important;
    color: inherit !important;
}

.contact-info-card:hover h2,
.contact-info-card:hover .eco-card-label,
.contact-info-card:hover .eco-card-link,
.contact-info-card.is-hover h2,
.contact-info-card.is-hover .eco-card-label,
.contact-info-card.is-hover .eco-card-link,
.contact-info-card-featured:hover h2,
.contact-info-card-featured:hover .eco-card-label,
.contact-info-card-featured:hover .eco-card-link,
.contact-info-card-featured.is-hover h2,
.contact-info-card-featured.is-hover .eco-card-label,
.contact-info-card-featured.is-hover .eco-card-link {
    color: var(--site-red) !important;
}

.contact-info-card:hover>p:not(.eco-card-label),
.contact-info-card.is-hover>p:not(.eco-card-label),
.contact-info-card-featured:hover>p:not(.eco-card-label),
.contact-info-card-featured.is-hover>p:not(.eco-card-label) {
    color: #5c2a2a !important;
}

.contact-page,
.contact-page .eco-contact,
.contact-page .contact-info-grid,
.contact-page .contact-lower-grid,
.contact-page .contact-hours-column,
.contact-page .contact-form-column {
    direction: ltr !important;
    text-align: left;
}

.machine-hero {
    position: relative;
    min-height: auto;
    display: block;
    overflow: visible;
    background: transparent;
    isolation: auto;
    padding: 8.5rem 0 2.5rem;
}

.machine-hero-media {
    position: relative;
    inset: auto;
    z-index: 0;
    width: 100%;
    max-width: 720px;
    margin: 0 auto 1.5rem;
}

.machine-hero-media img {
    width: 100%;
    height: auto;
    max-height: 52vh;
    object-fit: contain;
    display: block;
    border-radius: 18px;
}

.machine-hero-media::after,
.machine-hero::after {
    content: none;
    display: none;
}

.machine-hero-copy {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 0;
    color: inherit;
    text-align: center;
}

.machine-hero-copy .text-uppercase,
.machine-hero-copy .title-style,
.machine-hero-copy p {
    color: inherit;
}

.machine-hero-copy .title-style {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.machine-hero-copy p.mt-3 {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    opacity: .92;
}

.machine-cta-wrap {
    display: none !important;
}

.product-card-home .meta-list,
.product-card-home .content-top,
.product-card-home .content-top ul:empty,
.coursecard-single .meta-list a {
    display: none;
}

.home-course-bg .coursecard-single .meta-list,
.home-course-bg .coursecard-single .content-top {
    display: none;
}

.w3l-grids-block-5 .coursecard-single .meta-list,
.w3l-grids-block-5 .coursecard-single .content-top {
    display: none;
}

.coursecard-single .top-content-border li {
    list-style: none;
    color: #4a4a4a;
    font-size: 13px;
}

.coursecard-single .top-content-border h6,
.coursecard-single .content-main-top h4 a,
.coursecard-single .content-main-top p {
    color: #1f1f1f;
}

[data-theme="dark"] .coursecard-single .top-content-border li,
[data-theme="dark"] .coursecard-single .top-content-border h6,
[data-theme="dark"] .coursecard-single .content-main-top h4 a,
[data-theme="dark"] .coursecard-single .content-main-top p {
    color: #f4f4f4;
}

@media (max-width: 767px) {
    .machine-hero {
        min-height: auto;
        padding-top: 7.5rem;
        padding-bottom: 1.5rem;
    }

    .machine-hero-media {
        max-width: 92%;
        margin-bottom: 1.25rem;
    }

    .machine-hero-media img {
        max-height: 38vh;
    }

    .machine-hero-copy {
        text-align: center;
        padding: 0 12px;
    }

    .hero-badge {
        font-size: .64rem;
        padding: 8px 12px;
        letter-spacing: .04em;
    }
}

[data-theme="dark"] body,
[data-theme="dark"] html,
[data-theme="dark"] .product-detail-hero,
[data-theme="dark"] .machine-products-section,
[data-theme="dark"] .w3l-grids-block-5,
[data-theme="dark"] .w3l-grids-block-6,
[data-theme="dark"] .w3l-blog-block-5,
[data-theme="dark"] .eco-contact,
[data-theme="dark"] .company-story,
[data-theme="dark"] .w3l-servicesblock {
    background: #171717 !important;
    color: #ffffff;
}

.home-block-3-left .imginfo__box {
    display: none !important;
}

.home-block-3-left .position-relative {
    overflow: hidden;
    border-radius: 18px;
}

.home-block-3-left img {
    transition: transform .35s ease, filter .35s ease;
}

.home-block-3-left:hover img,
.home-block-3-left.is-hover img {
    transform: scale(1.04);
    filter: brightness(.92) saturate(1.05);
}

.home-block-3-left .position-relative::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 2px solid transparent;
    pointer-events: none;
    transition: border-color .25s ease, background .25s ease;
}

.home-block-3-left:hover .position-relative::after,
.home-block-3-left.is-hover .position-relative::after {
    border-color: var(--site-red);
    background: rgba(229, 57, 53, .12);
}

.lang-toggle {
    min-width: 42px;
    font-size: 16px;
    letter-spacing: 0;
}

#site-header .navbar-toggler,
#site-header .cont-ser-position,
#site-header .mobile-lang-toggle {
    flex-shrink: 0;
}

@media (max-width: 991px) {
    #site-header .navbar {
        gap: 0;
        flex-wrap: nowrap !important;
    }

    #site-header .navbar-brand {
        flex: 1 1 auto;
        margin-right: auto !important;
        order: 1 !important;
    }

    #site-header .mobile-nav-tools {
        order: 2 !important;
        display: flex !important;
        align-items: center;
        justify-content: flex-end;
        gap: 10px;
        margin: 0 !important;
        flex: 0 0 auto;
    }

    #site-header .navbar-collapse {
        order: 3 !important;
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        right: 0;
        width: 100%;
        flex-basis: auto;
    }

    html[dir="rtl"] #site-header .navbar-brand,
    body.is-rtl #site-header .navbar-brand {
        margin-right: 0 !important;
        margin-left: auto !important;
        order: 2 !important;
    }

    html[dir="rtl"] #site-header .mobile-nav-tools,
    body.is-rtl #site-header .mobile-nav-tools {
        order: 1 !important;
        margin-right: auto !important;
    }
}

.blog-latest-column {
    max-height: none;
}

.contact-lower-grid {
    display: block !important;
}

.contact-hours-column .working-hours,
.contact-hours-column .eco-section-heading {
    display: none !important;
}

.contact-form-column,
.contact-hours-column,
.contact-map-form {
    width: 100%;
}

.machine-hero .container {
    text-align: center;
}

.machine-hero-copy .mt-4 {
    display: flex;
    justify-content: center;
}

.products-page .products-results #product-grid,
.products-page .products-results .row {
    justify-content: flex-start;
}

#site-header {
    z-index: 1050;
}

#site-header .navbar {
    position: relative;
}

.blog-latest-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.lang-toggle.lang-toggle-globe,
#site-header .nav-cta.lang-toggle.lang-toggle-globe {
    min-width: 42px;
    padding: 0 12px;
    font-size: 16px;
}

.lang-toggle.lang-toggle-globe i {
    font-size: 16px;
    line-height: 1;
}

/* Arabic desktop: theme toggle at far left, logo at far right */
@media (min-width: 992px) {

    html[dir="rtl"] #site-header .navbar,
    body.is-rtl #site-header .navbar {
        flex-direction: row !important;
        direction: rtl !important;
    }

    html[dir="rtl"] #site-header .navbar-brand,
    body.is-rtl #site-header .navbar-brand {
        order: 1 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    html[dir="rtl"] #site-header .navbar-collapse,
    body.is-rtl #site-header .navbar-collapse {
        order: 2 !important;
        flex-grow: 1;
        justify-content: center;
    }

    html[dir="rtl"] #site-header .mobile-nav-tools,
    body.is-rtl #site-header .mobile-nav-tools {
        order: 3 !important;
        margin: 0 !important;
        justify-content: flex-start;
    }

    html[dir="rtl"] #site-header .nav-actions,
    body.is-rtl #site-header .nav-actions {
        margin-left: 12px;
        margin-right: 0;
    }
}

/* Arabic mobile: logo far right, hamburger far left, theme + lang beside menu */
@media (max-width: 991px) {

    html[dir="rtl"] #site-header .navbar,
    body.is-rtl #site-header .navbar {
        direction: ltr !important;
        flex-wrap: nowrap !important;
        justify-content: flex-start;
    }

    html[dir="rtl"] #site-header .mobile-nav-tools,
    body.is-rtl #site-header .mobile-nav-tools {
        order: 1 !important;
        direction: ltr !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center;
        justify-content: flex-start;
        gap: 8px;
        margin: 0 !important;
        margin-right: auto !important;
        flex: 0 0 auto;
    }

    html[dir="rtl"] #site-header .navbar-toggler,
    body.is-rtl #site-header .navbar-toggler {
        order: 1 !important;
        margin: 0 !important;
    }

    html[dir="rtl"] #site-header .mobile-nav-tools .navigation,
    body.is-rtl #site-header .mobile-nav-tools .navigation {
        order: 2 !important;
        display: flex;
        align-items: center;
    }

    html[dir="rtl"] #site-header .mobile-nav-tools .mobile-lang-toggle,
    body.is-rtl #site-header .mobile-nav-tools .mobile-lang-toggle {
        order: 3 !important;
        display: inline-flex !important;
    }

    html[dir="rtl"] #site-header .navbar-brand,
    body.is-rtl #site-header .navbar-brand {
        order: 2 !important;
        margin: 0 0 0 auto !important;
        margin-left: auto !important;
        margin-right: 0 !important;
        flex: 0 0 auto;
    }

    html[dir="rtl"] #site-header .navbar-collapse,
    body.is-rtl #site-header .navbar-collapse {
        order: 3 !important;
        direction: rtl;
    }
}

/* Hero Arabic title fills the same start/end as the adjacent copy */
html[dir="rtl"] .w3l-banner .hero-row,
html[lang="ar"] .w3l-banner .hero-row {
    align-items: stretch !important;
}

html[dir="rtl"] .w3l-banner .hero-copy,
html[lang="ar"] .w3l-banner .hero-copy,
html[dir="rtl"] .w3l-banner .hero-side,
html[lang="ar"] .w3l-banner .hero-side {
    max-width: none !important;
    width: 50%;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.w3l-banner .hero-copy h3,
.w3l-banner .hero-copy h3.hero-title,
.w3l-banner .hero-copy h3 span,
html[dir="rtl"] .w3l-banner .hero-copy h3,
html[lang="ar"] .w3l-banner .hero-copy h3,
html[dir="rtl"] .w3l-banner .hero-copy h3 span,
html[lang="ar"] .w3l-banner .hero-copy h3 span {
    font-size: clamp(2.05rem, 4vw, 3.6rem) !important;
    line-height: 1.12 !important;
    max-width: none !important;
    width: 100% !important;
    font-weight: 700 !important;
}

.w3l-banner .hero-copy h3 span[data-i18n="heroTitle"] {
    display: inline !important;
}

.w3l-banner .hero-copy h3 span[data-i18n="heroTitleSpan"] {
    display: block !important;
}

html[dir="rtl"] .w3l-banner .hero-side .banner-sub,
html[lang="ar"] .w3l-banner .hero-side .banner-sub {
    max-width: none !important;
    width: 100%;
}

@media (max-width: 991px) {

    html[dir="rtl"] .w3l-banner .hero-copy,
    html[lang="ar"] .w3l-banner .hero-copy,
    html[dir="rtl"] .w3l-banner .hero-side,
    html[lang="ar"] .w3l-banner .hero-side {
        width: 100%;
    }
}

/* Explore products: glass button */
.w3l-banner .buttons-banner .btn-style-secondary,
.w3l-banner a.btn-style-secondary {
    background: rgba(255, 255, 255, .18) !important;
    border: 1px solid rgba(255, 255, 255, .48) !important;
    color: #fff !important;
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    box-shadow: 0 10px 28px rgba(16, 24, 40, .12);
}

.w3l-banner .buttons-banner .btn-style-secondary:hover,
.w3l-banner a.btn-style-secondary:hover {
    background: rgba(255, 255, 255, .3) !important;
    border-color: rgba(255, 255, 255, .7) !important;
    color: #fff !important;
}

/* Machines section: image card + glass text panel */
.home-course-bg .coursecard-single {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    min-height: 360px !important;
    overflow: hidden !important;
    border: 1px solid rgba(255, 255, 255, .4) !important;
    background: transparent !important;
}

.home-course-bg .coursecard-single .grids5-info {
    flex: 1 1 auto !important;
    min-height: 220px !important;
    height: 220px !important;
    margin: 0 !important;
}

.home-course-bg .coursecard-single .grids5-info img {
    width: 100% !important;
    height: 100% !important;
    min-height: 220px !important;
    object-fit: cover !important;
}

.home-course-bg .coursecard-single .content-main-top {
    position: relative !important;
    z-index: 2;
    margin: 0 !important;
    padding: 14px 16px 16px !important;
    background: rgba(255, 255, 255, .28) !important;
    border-top: 1px solid rgba(255, 255, 255, .5) !important;
    backdrop-filter: blur(18px) saturate(170%);
    -webkit-backdrop-filter: blur(18px) saturate(170%);
}

[data-theme="dark"] .home-course-bg .coursecard-single {
    border-color: rgba(255, 255, 255, .14) !important;
    background: transparent !important;
}

[data-theme="dark"] .home-course-bg .coursecard-single .content-main-top {
    background: rgba(32, 32, 32, .42) !important;
    border-top-color: rgba(255, 255, 255, .16) !important;
}

/* Footer color on every page */
.w3l-footer-29-main,
.w3l-footer-29-main .footer-29,
[data-theme="dark"] .w3l-footer-29-main,
[data-theme="dark"] .w3l-footer-29-main .footer-29 {
    background: #383838 !important;
}

/* Machine pages: full-viewport photo; glass copy stays below the navbar */
.machine-hero {
    position: relative !important;
    min-height: 100vh !important;
    height: 100vh !important;
    padding: 0 !important;
    overflow: hidden;
}

.machine-hero .container {
    position: relative;
    height: 100%;
    width: 100% !important;
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    text-align: left !important;
}

.machine-hero-media {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    z-index: 0;
}

.machine-hero-media img {
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    object-fit: cover !important;
    border-radius: 0 !important;
}

.machine-hero-media::after {
    content: "" !important;
    display: block !important;
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, .12) 0%, rgba(0, 0, 0, .48) 100%);
    pointer-events: none;
}

.machine-hero-copy {
    position: absolute !important;
    z-index: 2;
    top: auto !important;
    left: max(20px, calc((100% - 1140px) / 2));
    right: auto;
    bottom: 32px !important;
    width: min(520px, calc(100% - 48px));
    max-height: calc(100vh - 160px);
    overflow: hidden;
    padding: 0 !important;
    text-align: left !important;
    color: #fff !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.machine-hero-copy .text-uppercase,
.machine-hero-copy .title-style,
.machine-hero-copy p {
    color: #fff !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: none !important;
}

.machine-hero-copy .mt-4 {
    display: flex !important;
    justify-content: flex-start !important;
    margin-top: 12px !important;
}

html[dir="rtl"] .machine-hero-copy,
body.is-rtl .machine-hero-copy {
    left: auto !important;
    right: max(20px, 3vw) !important;
    text-align: right !important;
}

html[dir="rtl"] .machine-hero-copy .mt-4,
body.is-rtl .machine-hero-copy .mt-4 {
    justify-content: flex-start !important;
}

@media (max-width: 767px) {
    .machine-hero {
        min-height: 100vh !important;
        height: 100vh !important;
    }

    .machine-hero-copy {
        position: absolute !important;
        left: max(16px, calc((100% - 1140px) / 2)) !important;
        right: auto !important;
        bottom: 18px !important;
        width: min(320px, calc(100% - 32px)) !important;
        max-height: calc(100vh - 120px);
        padding: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        text-align: left !important;
    }

    .machine-hero-copy .text-uppercase {
        font-size: .68rem !important;
        margin-bottom: 4px !important;
    }

    .machine-hero-copy .title-style {
        font-size: 1rem !important;
        line-height: 1.2 !important;
        margin: 0 !important;
    }

    .machine-hero-copy p.mt-3 {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        margin-top: 6px !important;
        font-size: .78rem !important;
        line-height: 1.3 !important;
    }

    .machine-hero-copy .mt-4 {
        margin-top: 8px !important;
    }

    .machine-hero-copy .btn {
        padding: 6px 12px !important;
        font-size: .78rem !important;
        min-height: 0 !important;
    }

    html[dir="rtl"] .machine-hero-copy,
    body.is-rtl .machine-hero-copy {
        left: auto !important;
        right: 14px !important;
        text-align: right !important;
    }
}

/* Blog featured rectangle matches latest-posts start and end */
.blog-editorial-layout {
    align-items: stretch !important;
}

.blog-featured-column,
.blog-featured-card {
    display: block !important;
    width: 100%;
}

.blog-featured-card {
    position: relative !important;
    min-height: 420px !important;
    height: auto !important;
}

.blog-featured-image {
    position: absolute !important;
    inset: 0 !important;
}

.blog-latest-column {
    height: auto;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

@media (max-width: 767px) {
    .blog-editorial-layout {
        display: flex !important;
        flex-direction: column;
        gap: 24px;
    }

    .blog-featured-column,
    .blog-featured-card {
        display: block !important;
        width: 100% !important;
        min-height: 380px !important;
        height: 380px !important;
    }

    .blog-featured-card {
        overflow: hidden;
    }
}

@media (min-width: 768px) {
    .blog-editorial-layout {
        grid-template-columns: minmax(0, 1.45fr) minmax(260px, .75fr);
        align-items: stretch !important;
    }

    .blog-featured-column {
        display: flex !important;
        height: 100%;
    }

    .blog-featured-card {
        flex: 1 1 auto;
        min-height: 100% !important;
        height: auto !important;
    }

    .blog-latest-column {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        gap: 12px;
        height: 100%;
    }
}

/* Contact: info fields beside form, map under fields, matching heights */
.contact-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: stretch;
    width: 100%;
}

.contact-split-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 100%;
}

.contact-split .contact-stack {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 0;
}

.contact-split .location-panel {
    margin-top: 0;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

.contact-split .eco-map,
.contact-split .eco-map iframe {
    flex: 1 1 auto;
    min-height: 320px;
    height: 100%;
}

.contact-split .contact-form-column {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.contact-split .eco-form-card {
    flex: 1 1 auto;
    margin-top: 16px;
    height: 100%;
}

@media (max-width: 991px) {
    .contact-split {
        grid-template-columns: 1fr;
    }
}

.w3l-banner .hero-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 760px;
}

.w3l-banner .hero-copy,
.w3l-banner .hero-side {
    width: 100% !important;
    max-width: 760px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

html[dir="rtl"] .w3l-banner .hero-row,
html[lang="ar"] .w3l-banner .hero-row {
    align-items: flex-start !important;
}

html[dir="rtl"] .w3l-banner .hero-copy,
html[lang="ar"] .w3l-banner .hero-copy,
html[dir="rtl"] .w3l-banner .hero-side,
html[lang="ar"] .w3l-banner .hero-side {
    width: 100% !important;
    max-width: 760px !important;
}

.home-course-bg {
    position: relative;
    overflow: visible;
}

.machines-slider {
    position: relative;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 72px 28px;
}

.machines-slider-viewport {
    overflow: hidden;
    padding: 10px 4px 22px;
    direction: ltr;
}

.machines-slider-track {
    display: flex;
    gap: 18px;
    will-change: transform;
    direction: ltr;
}

.machines-slider-viewport .machine-slide {
    flex: 0 0 calc((100% - 54px) / 4);
    max-width: calc((100% - 54px) / 4);
    min-width: 0;
}

.machines-slider-viewport .machine-slide a.machine-slide-link {
    display: block;
    color: inherit;
    text-decoration: none;
    height: 100%;
}

.machines-slider-btn {
    position: absolute;
    top: 42%;
    transform: translateY(-50%);
    z-index: 4;
    width: 52px;
    height: 52px;
    border: 1px solid rgba(255, 255, 255, .4);
    border-radius: 50%;
    background: rgba(32, 32, 32, .72);
    color: #fff;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease, border-color .2s ease;
}

.machines-slider-btn:hover {
    background: var(--site-red);
    border-color: var(--site-red);
}

.machines-slider-btn.prev {
    left: 12px;
}

.machines-slider-btn.next {
    right: 12px;
}

html[dir="rtl"] .machines-slider-btn.prev {
    left: auto;
    right: 12px;
}

html[dir="rtl"] .machines-slider-btn.next {
    right: auto;
    left: 12px;
}

html[dir="rtl"] .machines-slider-btn.prev i,
html[lang="ar"] .machines-slider-btn.prev i {
    transform: scaleX(-1);
}

html[dir="rtl"] .machines-slider-btn.next i,
html[lang="ar"] .machines-slider-btn.next i {
    transform: scaleX(-1);
}

.machines-slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 4px;
}

.machines-slider-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(229, 57, 53, .28);
    cursor: pointer;
    transition: width .2s ease, background .2s ease;
}

.machines-slider-dot.active {
    width: 22px;
    background: var(--site-red);
}

.home-block-3-left img {
    opacity: .3;
}

.home-block-3-left:hover img,
.home-block-3-left.is-hover img {
    opacity: .3;
}

html[dir="rtl"] ul.list-style-lis li i,
html[lang="ar"] ul.list-style-lis li i {
    margin-right: 0;
    margin-left: 10px;
}

html[dir="rtl"] ul.list-style-lis li,
html[lang="ar"] ul.list-style-lis li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.products-page #product-grid,
.products-results #product-grid {
    display: flex;
    flex-wrap: wrap;
}

.products-results .col-lg-4,
#product-grid .col-lg-4,
.products-page #product-grid .product-item {
    max-width: 33.333%;
    flex: 0 0 33.333%;
}

.machine-products-section .row,
.machine-products-section #product-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.machine-products-section .col-lg-4,
.machine-products-section #product-grid .col-lg-4 {
    max-width: 20%;
    flex: 0 0 20%;
}

.pagination-style ul {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.pagination-style li:not(.page-arrow):not(.page-numbers-host) {
    display: none;
}

.pagination-style .page-numbers-host {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.pagination-style .page-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(229, 57, 53, .35);
    color: inherit;
    font-weight: 600;
}

.pagination-style .page-num.active,
.pagination-style .page-num:hover,
.pagination-style a.page-prev:hover,
.pagination-style a.page-next:hover {
    background: var(--site-red);
    color: #fff;
    border-color: var(--site-red);
}

.pagination-style a.page-prev,
.pagination-style a.page-next {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(229, 57, 53, .4);
    background: rgba(32, 32, 32, .72);
    color: #fff;
}

.eco-contact .eco-form-card,
.contact-split .eco-form-card {
    background: #212121 !important;
    border-color: rgba(255, 255, 255, .12) !important;
}

html[data-theme="light"] .contact-split .eco-form-card {
    background: #FAFAFA !important;
}

html[data-theme="light"] .contact-split .eco-form-card label,
html[data-theme="light"] .contact-split .eco-form-card input,
html[data-theme="light"] .contact-split .eco-form-card textarea,
html[data-theme="light"] .contact-split .eco-form-card .form-status {
    color: #000 !important;
}

html[data-theme="light"] .contact-split .eco-form-card input::placeholder,
html[data-theme="light"] .contact-split .eco-form-card textarea::placeholder {
    color: #000 !important;
    opacity: 1;
}

.eco-contact .eco-form-card label,
.eco-contact .eco-form-card input,
.eco-contact .eco-form-card textarea {
    color: #f4f4f4 !important;
}

.inner-banner {
    background: url("https://images.unsplash.com/photo-1499529112087-3cb3b73cec95?auto=format&fit=crop&w=2200&q=85") no-repeat center !important;
    background-size: cover !important;
}

[data-theme="dark"] .inner-banner,
[data-theme="light"] .inner-banner {
    background: url("https://images.unsplash.com/photo-1499529112087-3cb3b73cec95?auto=format&fit=crop&w=2200&q=85") no-repeat center !important;
    background-size: cover !important;
}

.inner-banner .inner-text-title,
.inner-banner .breadcrumbs-custom-path,
.inner-banner .breadcrumbs-custom-path a,
.inner-banner .breadcrumbs-custom-path li {
    color: #f4f4f4 !important;
}

.blog-read-more {
    display: inline-flex;
    margin-top: 12px;
    color: var(--site-red);
    font-weight: 600;
}

.blog-detail-page .w3l-blog-block-5 {
    padding-top: 10.25rem !important;
}

.blog-detail-page .blog-detail-article {
    max-width: 860px;
}

.blog-detail-page .blog-detail-media {
    margin-top: 18px;
}

.blog-detail-media img {
    width: 100%;
    max-height: 460px;
    object-fit: cover;
    border-radius: 18px;
    margin-bottom: 28px;
}

.blog-detail-copy h1 {
    margin-bottom: 12px;
}

.blog-detail-text {
    font-size: 1.05rem;
    line-height: 1.8;
}

.trusted-brands-heading {
    margin: 0 auto 18px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: .08em;
}

@media (max-width: 1199px) {
    .machines-slider-viewport .machine-slide {
        flex: 0 0 calc((100% - 36px) / 3);
        max-width: calc((100% - 36px) / 3);
    }
}

@media (max-width: 991px) {
    .machines-slider {
        padding: 0 52px 24px;
    }

    .machines-slider-viewport .machine-slide {
        flex: 0 0 calc((100% - 18px) / 2);
        max-width: calc((100% - 18px) / 2);
    }

    .machines-slider-btn {
        width: 40px;
        height: 40px;
    }

    #about .about-card {
        padding: 1rem;
        border-radius: 16px;
    }
}

.products-dropdown {
    padding-bottom: 8px;
}

#product-grid:empty {
    display: none !important;
}

.machine-products-section .machine-products-row {
    justify-content: flex-start !important;
}

html[dir="rtl"] .machine-products-section .machine-products-row,
html[dir="rtl"] .products-page #product-grid,
html[dir="rtl"] .products-results #product-grid {
    justify-content: flex-start !important;
}

.pagination-style a.page-prev,
.pagination-style a.page-next {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
}

.inner-banner {
    background: url("https://images.unsplash.com/photo-1499529112087-3cb3b73cec95?auto=format&fit=crop&w=2200&q=85") no-repeat center !important;
    background-size: cover !important;
}

.w3l-grids-block-5 .container>.title-main,
.machine-products-section .container>.title-main,
.products-page .w3l-grids-block-5 .container>.title-main {
    text-align: left !important;
}

html[dir="rtl"] .w3l-grids-block-5 .container>.title-main,
html[dir="rtl"] .machine-products-section .container>.title-main,
html[dir="rtl"] .products-page .w3l-grids-block-5 .container>.title-main {
    text-align: right !important;
}

.machine-hero-copy {
    --machine-hero-gutter: calc((100% - min(94%, 1440px)) / 2 + 56px);
    left: var(--machine-hero-gutter) !important;
    width: min(520px, calc(100% - var(--machine-hero-gutter) - 16px)) !important;
}

html[dir="rtl"] .machine-hero-copy,
body.is-rtl .machine-hero-copy {
    --machine-hero-gutter: calc((100% - min(94%, 1440px)) / 2 + 52px);
    left: auto !important;
    right: var(--machine-hero-gutter) !important;
}

@media (max-width: 767px) {
    .machine-hero-copy {
        --machine-hero-gutter: calc((100% - min(94%, 1440px)) / 2 + 48px);
        width: min(320px, calc(100% - var(--machine-hero-gutter) - 16px)) !important;
    }

    html[dir="rtl"] .machine-hero-copy,
    body.is-rtl .machine-hero-copy {
        --machine-hero-gutter: calc((100% - min(94%, 1440px)) / 2 + 44px);
    }
}

.machine-hero-copy .text-uppercase,
.machine-hero-copy .title-style,
.machine-hero-copy p,
.machine-hero-copy .btn {
    color: #fff !important;
}

.machine-products-section .col-lg-4,
.machine-products-section #product-grid .col-lg-4,
.machine-products-section .product-item {
    max-width: 20% !important;
    flex: 0 0 20% !important;
}

.products-page #product-grid .product-item,
.products-results .col-lg-4,
.products-page #product-grid .col-lg-4 {
    max-width: 33.333% !important;
    flex: 0 0 33.333% !important;
}

.home-blog-row .home-blog-card {
    display: flex !important;
    flex-direction: column !important;
}

.home-blog-row .home-blog-card .grids5-info {
    flex: 1 1 auto !important;
    width: 100% !important;
    min-height: 250px !important;
    height: 250px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.home-blog-row .coursecard-single .grids5-info img,
.home-blog-row .home-blog-card .grids5-info img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 250px !important;
    object-fit: cover !important;
}

.home-blog-card .content-main-top {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.home-blog-card .blog-read-more.btn {
    min-width: 0 !important;
    min-height: 0 !important;
    width: auto !important;
    margin-top: 14px !important;
    padding: 6px 12px !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
    align-self: flex-start;
    color: #fff !important;
}

html[dir="rtl"] .home-blog-card .content-main-top,
html[lang="ar"] .home-blog-card .content-main-top {
    align-items: flex-start;
    text-align: right;
}

html[dir="rtl"] .home-blog-card .blog-read-more.btn,
html[lang="ar"] .home-blog-card .blog-read-more.btn {
    align-self: flex-start;
}

.machine-blog-card .blog-card-image,
.machine-blog-card .grids5-info img {
    display: block;
    width: 100%;
    height: 210px;
    object-fit: cover;
}

.machine-blog-card .blog-info {
    padding: 16px;
}

.trusted-brands-collab .trusted-brands-heading {
    width: 100%;
    max-width: none;
    margin: 0 auto 22px;
    text-align: center;
    text-transform: none;
    letter-spacing: 0;
    font-size: clamp(1.3rem, 2.4vw, 2rem);
    font-weight: 700;
}

#site-header .navbar-brand {
    display: flex !important;
    align-items: center;
    flex: 0 0 auto;
    padding: 0 !important;
}

#site-header .site-logo {
    width: 220px !important;
    height: 52px !important;
    max-height: 52px;
    object-fit: contain !important;
    object-position: left center;
}

html[dir="rtl"] #site-header .site-logo,
body.is-rtl #site-header .site-logo {
    object-position: right center;
}

@media (max-width: 991px) {
    #site-header .site-logo {
        width: 138px !important;
        height: 34px !important;
        max-height: 34px;
    }
}

@media (min-width: 992px) {
    #site-header .navbar-brand {
        order: 1 !important;
        margin-right: auto !important;
        margin-left: 0 !important;
    }

    html[dir="rtl"] #site-header .navbar-brand,
    body.is-rtl #site-header .navbar-brand {
        order: 1 !important;
        margin-left: auto !important;
        margin-right: 0 !important;
    }
}

@media (max-width: 767px) {
    #about .about-card {
        padding: .85rem !important;
        border-radius: 14px !important;
    }

    .w3l-banner .hero-copy h3,
    .w3l-banner .hero-copy h3 span,
    html[dir="rtl"] .w3l-banner .hero-copy h3,
    html[lang="ar"] .w3l-banner .hero-copy h3 {
        font-size: clamp(1.85rem, 7.2vw, 2.2rem) !important;
        line-height: 1.18 !important;
    }

    .w3l-banner .buttons-banner .btn-style,
    .w3l-banner .buttons-banner .btn-style-secondary {
        width: auto;
        min-width: 0;
        flex: 1 1 0;
    }

    .machines-slider {
        padding: 0 44px 18px;
    }

    .machines-slider-viewport .machine-slide {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .machine-blog-card .blog-card-image,
    .machine-blog-card .grids5-info img {
        height: 180px;
    }
}

#courses .machine-blog-card {
    overflow: hidden;
    height: 100%;
    min-height: 340px;
    border-radius: 22px;
    display: flex;
    flex-direction: column;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease;
}

#courses .machine-blog-card .grids5-info {
    display: flex;
    flex-direction: column;
    height: 100%;
}

#courses .machine-blog-card .blog-info {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

#courses .machine-blog-card .blog-info h4 {
    margin-bottom: 8px;
    transition: color .2s ease;
}

#courses .machine-blog-card .blog-card-image img,
#courses .machine-blog-card .grids5-info img {
    transition: transform .45s ease;
}

#courses .machine-blog-card:hover .blog-card-image img,
#courses .machine-blog-card.is-hover .blog-card-image img,
#courses .machine-slide-link:hover .blog-card-image img {
    transform: scale(1.06);
}

#courses .machine-blog-card:hover .blog-info h4,
#courses .machine-blog-card.is-hover .blog-info h4,
#courses .machine-slide-link:hover .blog-info h4 {
    color: var(--site-red) !important;
}

.machine-products-section .container,
.products-page .w3l-grids-block-5 .container {
    width: min(94%, 1440px) !important;
    max-width: none !important;
    margin-left: auto;
    margin-right: auto;
    padding-left: 28px !important;
    padding-right: 28px !important;
}

.machine-products-section .machine-products-row,
.machine-products-section #product-grid.row,
.machine-products-section .row.machine-products-row {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100%;
    justify-content: start;
    align-items: stretch;
}

.products-page .products-results #product-grid,
.products-page #product-grid.row,
.products-results #product-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100%;
    justify-content: start;
}

.machine-products-section .col-lg-4,
.machine-products-section #product-grid .col-lg-4,
.machine-products-section .product-item,
.products-page #product-grid .product-item,
.products-results .col-lg-4,
.products-page #product-grid .col-lg-4,
#product-grid .col-lg-4 {
    max-width: none !important;
    flex: none !important;
    width: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin: 0 !important;
}

.machine-products-section .coursecard-single,
.products-page .coursecard-single {
    width: 100% !important;
    height: 100%;
    min-height: 0 !important;
}

html[dir="rtl"] .machine-products-section .machine-products-row,
html[dir="rtl"] .machine-products-section #product-grid,
html[dir="rtl"] .products-page #product-grid,
html[dir="rtl"] .products-results #product-grid {
    justify-content: start;
    direction: rtl;
}

@media (max-width: 1199.98px) {

    .machine-products-section .machine-products-row,
    .machine-products-section #product-grid.row,
    .machine-products-section .row.machine-products-row {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 991.98px) {

    .machine-products-section .machine-products-row,
    .machine-products-section #product-grid.row,
    .machine-products-section .row.machine-products-row {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }
}

@media (max-width: 767.98px) {

    .machine-products-section .machine-products-row,
    .machine-products-section #product-grid.row,
    .machine-products-section .row.machine-products-row {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }
}

@media (max-width: 575.98px) {

    .machine-products-section .machine-products-row,
    .machine-products-section #product-grid.row,
    .machine-products-section .row.machine-products-row {
        grid-template-columns: 1fr;
    }

    .products-page .products-results #product-grid,
    .products-page #product-grid.row,
    .products-results #product-grid {
        grid-template-columns: 1fr;
    }
}