/* ETE Group fonts (same as ete-group/index) ? home + all inner pages */
:root {
    --font-primary: "Barlow Semi Condensed", sans-serif;
    --font-secondary: "Barlow Condensed", sans-serif;
}

html,
body,
p,
input,
textarea,
button,
.btn,
.navbar,
.footer,
.cms-rich-text {
    font-family: var(--font-primary) !important;
}

h1, h2, h3, h4, h5, h6,
.section-title,
.section-subtitle,
.navbar .nav-link,
.acc-btn,
.tour-title {
    font-family: var(--font-secondary) !important;
}

/* Condensed font + negative tracking made titles look stuck together */
.section-title,
.ete-page-header__title,
.ete-career-apply-aside .section-title,
.ete-career-apply-card__header .section-title,
.ete-careers-head .section-title,
.ete-contact-info .section-title,
.ete-contact-form-wrap .section-title,
.ete-detail .section-title,
header h2,
.contact h3,
h1, h2, h3 {
    letter-spacing: 0.02em !important;
}

.section-subtitle,
.ete-career-apply-aside .section-subtitle,
.ete-career-apply-card__header .section-subtitle,
.ete-careers-head .section-subtitle {
    letter-spacing: 0.12em !important;
}

html[dir="rtl"] body,
html[dir="rtl"] p,
html[dir="rtl"] .cms-rich-text,
html[dir="rtl"] .navbar,
html[dir="rtl"] .footer {
    font-family: "Cairo", "Noto Kufi Arabic", sans-serif !important;
}

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"] .section-title,
html[dir="rtl"] .section-subtitle,
html[dir="rtl"] .navbar .nav-link,
html[dir="rtl"] .navbar .nav-link .rolling-text,
html[dir="rtl"] .navbar .nav-link .rolling-text--static,
html[dir="rtl"] .navbar .dropdown-item,
html[dir="rtl"] .navbar .dropdown-item span,
html[dir="rtl"] .navbar .dropdown-menu,
html[dir="rtl"] .navbar .navbar-nav,
html[dir="rtl"] .acc-btn,
html[dir="rtl"] .card-title {
    font-family: "Cairo", "Noto Kufi Arabic", "Tahoma", sans-serif !important;
    letter-spacing: normal !important;
    text-transform: none !important;
}

/* Arabic nav: keep joined letters (no roll-split animation) */
html[dir="rtl"] .navbar .nav-link .rolling-text,
html[dir="rtl"] .navbar .nav-link .rolling-text--static,
html[dir="rtl"] .rolling-text.rolling-text--static {
    display: inline-block;
    overflow: visible;
    height: auto;
    line-height: inherit;
    white-space: nowrap;
}
html[dir="rtl"] .navbar .navbar-nav .nav-link {
    letter-spacing: normal !important;
    text-transform: none !important;
    line-height: 1.4 !important;
}

/* Nested dropdown + arrow fixes (ete-group header) */
.navbar .dropdown-menu {
    overflow: visible !important;
    z-index: 1050;
}

@media screen and (min-width: 992px) {
    .navbar .nav-item.dropdown {
        position: relative;
    }

    .navbar .nav-item > .dropdown-menu {
        width: auto !important;
        min-width: 280px;
        max-width: 340px;
        left: 0;
        right: auto;
    }

    /* Arabic: anchor top dropdown under parent (open to the right edge / RTL) */
    html[dir="rtl"] .navbar .nav-item > .dropdown-menu {
        left: auto !important;
        right: 0 !important;
        text-align: right;
    }

    .navbar .dropdown-menu .dropdown > .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        left: calc(100% + 8px);
        top: -8px;
        right: auto;
        width: auto !important;
        min-width: 280px;
        max-width: 420px;
        transform: translateY(8px);
        z-index: 1060;
        margin: 0;
    }

    /* Arabic: nested submenu opens to the LEFT of parent item */
    html[dir="rtl"] .navbar .dropdown-menu .dropdown > .dropdown-menu {
        left: auto !important;
        right: calc(100% + 8px) !important;
    }

    .navbar .dropdown-menu .dropdown:hover > .dropdown-menu,
    .navbar .dropdown-menu .dropdown:focus-within > .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .navbar .nav-item.dropdown:hover > .dropdown-menu,
    .navbar .nav-item.dropdown:focus-within > .dropdown-menu {
        z-index: 1055;
    }
}

.navbar .dropdown-menu .dropdown-item {
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    width: 100%;
    position: relative;
    padding-right: 22px !important;
    white-space: normal;
    line-height: 1.35;
}

html[dir="rtl"] .navbar .dropdown-menu {
    text-align: right;
    direction: rtl;
}

html[dir="rtl"] .navbar .dropdown-menu .dropdown-item {
    direction: rtl;
    text-align: right;
    justify-content: flex-start;
    padding-right: 12px !important;
    padding-left: 22px !important;
}

.navbar .dropdown-menu .dropdown-item span {
    flex: 1 1 auto;
    display: block;
    white-space: normal;
    word-break: normal;
    overflow-wrap: anywhere;
}

html[dir="rtl"] .navbar .dropdown-menu .dropdown-item span {
    text-align: right;
}

.navbar .dropdown-menu .dropdown-item i,
.navbar .dropdown-menu .dropdown-item .menu-arrow {
    position: absolute !important;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    float: none !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: 10px;
    line-height: 1;
    color: #1f75bb;
    flex: 0 0 auto;
}

/* Arabic: chevron on the left, pointing left (submenu direction) */
html[dir="rtl"] .navbar .dropdown-menu .dropdown-item i,
html[dir="rtl"] .navbar .dropdown-menu .dropdown-item .menu-arrow {
    right: auto;
    left: 0;
    transform: translateY(-50%) scaleX(-1);
}

.navbar .dropdown-menu .dropdown:hover > .dropdown-item,
.navbar .dropdown-menu .dropdown-item.active,
.navbar .dropdown-menu .dropdown-item:hover {
    color: #1f75bb;
}

.navbar .dropdown-menu .dropdown:hover > .dropdown-item i,
.navbar .dropdown-menu .dropdown-item:hover i {
    color: #1f75bb;
}

@media screen and (max-width: 991px) {
    .navbar .dropdown-menu .dropdown > .dropdown-menu {
        display: none;
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        width: 100% !important;
        max-width: none;
        padding: 0 0 0 16px;
        min-width: 0;
    }

    html[dir="rtl"] .navbar .dropdown-menu .dropdown > .dropdown-menu {
        padding: 0 16px 0 0;
    }

    .navbar .dropdown-menu .dropdown.open > .dropdown-menu {
        display: block;
    }

    .navbar .dropdown-menu .dropdown-item .menu-arrow {
        transition: transform .2s ease;
    }

    .navbar .dropdown-menu .dropdown.open > .dropdown-item .menu-arrow {
        transform: translateY(-50%) rotate(90deg);
    }

    html[dir="rtl"] .navbar .dropdown-menu .dropdown.open > .dropdown-item .menu-arrow {
        transform: translateY(-50%) scaleX(-1) rotate(-90deg);
    }
}


/* Home hero slider (ete-group style) */
.ete-hero-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    min-height: calc(90vh - 100px);
}

/* Keep one-slide height on refresh: stack slides so they don't add vertical space */
.ete-hero-slider.swiper .swiper-wrapper {
    position: relative;
    width: 100%;
    min-height: calc(90vh - 100px);
}

.ete-hero-slider.swiper .swiper-slide {
    width: 100% !important;
    margin: 0 !important;
    position: absolute !important;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 0;
}

/* Before Swiper init: show first real slide only */
.ete-hero-slider.swiper:not(.swiper-initialized) .swiper-slide:first-child {
    position: relative !important;
    opacity: 1 !important;
    pointer-events: auto;
    z-index: 2;
}

/* After init: active slide must stay visible (fade can stick at opacity 0) */
.ete-hero-slider.swiper .swiper-slide-active {
    position: relative !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    z-index: 2;
}

.ete-hero-slider .swiper-slide header.full-height {
    width: 100%;
    min-height: calc(90vh - 100px);
    transform: none !important;
}

.ete-hero-slider .swiper-slide header.full-height .container {
    transform: none !important;
}

.ete-hero-slider header.full-height .container,
.ete-hero-slider header.full-height .cont {
    position: relative;
    z-index: 3;
}

.ete-hero-slider header h2,
.ete-hero-slider header h2.text-white,
.ete-hero-slider header h2.white {
    color: #fff !important;
}

.ete-hero-slider header h6 {
    color: #fff !important;
}

.ete-hero-slider header p {
    color: #fff !important;
}

.ete-hero-slider .swiper-pagination {
    display: none !important;
}

.ete-hero-slider .ete-hero-nav {
    position: absolute;
    top: 50%;
    z-index: 20;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(31, 117, 187, 0.92);
    color: #fff;
    cursor: pointer;
    pointer-events: auto !important;
    transition: background .25s ease, transform .25s ease, opacity .25s ease;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

.ete-hero-slider .ete-hero-nav i {
    font-size: 16px;
    line-height: 1;
    pointer-events: none;
}

.ete-hero-slider .ete-hero-nav:hover {
    background: #1f75bb;
    transform: translateY(-50%) scale(1.05);
}

.ete-hero-slider .ete-hero-nav--prev {
    left: 22px;
}

.ete-hero-slider .ete-hero-nav--next {
    right: 22px;
}

@media (max-width: 767px) {
    .ete-hero-slider .ete-hero-nav {
        width: 42px;
        height: 42px;
    }

    .ete-hero-slider .ete-hero-nav--prev {
        left: 12px;
    }

    .ete-hero-slider .ete-hero-nav--next {
        right: 12px;
    }
}

/* Who We Are accordion: theme sets .content to white on light bg */
.faqs .accordion-box .block .content,
.faqs .accordion-box .block .content p,
.faqs .accordion-box .block .content .cms-rich-text,
.faqs .accordion-box .block .content .cms-rich-text * {
    color: var(--clr-body, #555) !important;
}

/* Home scroll: native document scroll (ScrollSmoother disabled ? wheel was broken) */
html.ete-home-page,
body.ete-home-page {
    overflow-x: hidden !important;
    overflow-y: auto !important;
    height: auto !important;
    min-height: 100%;
    position: static !important;
}

body.ete-home-page #smooth-wrapper,
body.ete-home-page #smooth-content,
body.ete-home-page main.ete-main {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
    transform: none !important;
}

body.ete-home-page.ete-scroll-native,
body.ete-home-page.ete-smoother-ready {
    overflow-x: hidden !important;
    overflow-y: auto !important;
}

body.ete-home-page.loaded {
    overflow-x: hidden !important;
    overflow-y: auto !important;
    height: auto !important;
}

body.ete-home-page .loader-wrap.is-hidden {
    display: none !important;
    pointer-events: none !important;
    visibility: hidden !important;
}

body.ete-home-page .loader-wrap svg {
    width: 100%;
    max-width: 100%;
}

body.ete-home-page .page-content {
    position: relative;
}

/* Inner pages ? same ETE shell chrome as home */
html.ete-inner-page,
body.ete-inner-page {
    overflow-x: hidden !important;
    overflow-y: auto !important;
    height: auto !important;
    min-height: 100%;
    position: static !important;
}

body.ete-inner-page #smooth-wrapper,
body.ete-inner-page #smooth-content,
body.ete-inner-page main.ete-main {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
    transform: none !important;
}

body.ete-inner-page .page-content,
body.ete-inner-page .page-gray-surface {
    position: relative;
}

/* ------------------------------------------------------------------ */
/* ETE page header (replaces Handyon title bar on all inner pages)     */
/* ------------------------------------------------------------------ */
.ete-page-header {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 280px;
    padding: 140px 0 56px;
    overflow: hidden;
    background: #0f2043;
    color: #fff;
}

.ete-page-header--detail {
    min-height: 220px;
    padding: 120px 0 44px;
}

.ete-page-header--blank {
    background: linear-gradient(135deg, #0f2043 0%, #1f75bb 100%);
}

.ete-page-header__bg {
    position: absolute;
    inset: 0;
    background-image: var(--ete-page-header-bg);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 0;
}

.ete-page-header__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(15, 32, 67, 0.55) 0%, rgba(15, 32, 67, 0.82) 100%);
}

.ete-page-header__inner {
    position: relative;
    z-index: 2;
}

.ete-page-header__breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    font-family: var(--font-secondary, inherit);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.ete-page-header__breadcrumb a {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    transition: color .2s ease;
}

.ete-page-header__breadcrumb a:hover {
    color: #fff;
}

.ete-page-header__sep {
    color: rgba(255, 255, 255, 0.45);
}

.ete-page-header__crumb-current {
    color: #fff;
}

.ete-page-header__title {
    margin: 0;
    font-family: var(--font-secondary, inherit);
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #fff !important;
}

@media (max-width: 767px) {
    .ete-page-header {
        min-height: 220px;
        padding: 110px 0 36px;
    }

    .ete-page-header--detail {
        min-height: 180px;
        padding: 100px 0 30px;
    }
}

.page-careers,
.page-gray-surface {
    background: #f5f7fa;
}

/* ------------------------------------------------------------------ */
/* Contact page                                                        */
/* ------------------------------------------------------------------ */
.ete-contact-section {
    padding: 80px 0;
    background: #f5f7fa;
}

.ete-contact-info .section-title,
.ete-contact-form-wrap .section-title {
    margin-bottom: 28px;
}

.ete-contact-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ete-contact-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px 22px;
    background: #fff;
    border: 1px solid rgba(15, 32, 67, 0.08);
    border-radius: 12px;
}

.ete-contact-card__icon {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(31, 117, 187, 0.12);
    color: #1f75bb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.ete-contact-card__body h3 {
    margin: 0 0 6px;
    font-family: var(--font-secondary, inherit);
    font-size: 18px;
    font-weight: 600;
    color: #0f2043;
    text-transform: uppercase;
}

.ete-contact-card__body p {
    margin: 0;
    color: #555;
    line-height: 1.6;
}

.ete-contact-card__body a {
    color: #1f75bb;
    text-decoration: none;
}

.ete-contact-card__body a:hover {
    text-decoration: underline;
}

.ete-contact-side-image {
    margin-top: 24px;
    border-radius: 12px;
    overflow: hidden;
}

.ete-contact-form-wrap {
    background: #fff;
    border-radius: 16px;
    padding: 32px 28px;
    border: 1px solid rgba(15, 32, 67, 0.08);
    box-shadow: 0 12px 40px rgba(15, 32, 67, 0.06);
}

.ete-contact-map {
    background: #0f2043;
}

.ete-contact-map__inner,
.ete-contact-map__inner iframe {
    width: 100%;
    min-height: 420px;
    border: 0;
    display: block;
}

/* ------------------------------------------------------------------ */
/* Careers                                                             */
/* ------------------------------------------------------------------ */
.ete-careers-section,
.ete-career-apply-section {
    padding: 70px 0 90px;
    background: #f5f7fa;
}

.ete-careers-intro {
    margin-bottom: 40px;
    max-width: 720px;
}

.ete-careers-intro__text,
.ete-careers-intro__text p {
    color: #555;
    line-height: 1.7;
    font-size: 16px;
}

.ete-careers-head {
    margin-bottom: 32px;
}

.ete-careers-head .section-subtitle {
    color: #1f75bb;
    font-size: 14px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 8px;
}

.ete-careers-head .section-title {
    color: #0f2043;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 600;
    margin: 0;
}

.ete-careers-subtitle {
    margin: 10px 0 0;
    color: #7a8494;
    font-size: 15px;
}

.ete-careers-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin-bottom: 32px;
    background: #fff;
    border: 1px solid rgba(15, 32, 67, 0.1);
    border-radius: 10px;
    padding: 6px;
    overflow-x: auto;
}

.ete-careers-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 0;
    background: transparent;
    color: #0f2043;
    border-radius: 8px;
    padding: 12px 18px;
    font-family: var(--font-secondary, inherit);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background .2s ease, color .2s ease;
}

.ete-careers-tab.is-active,
.ete-careers-tab:hover {
    background: rgba(31, 117, 187, 0.12);
    color: #1f75bb;
}

.ete-careers-tab__count {
    display: inline-flex;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 6px;
    align-items: center;
    justify-content: center;
    background: rgba(15, 32, 67, 0.08);
    font-size: 12px;
    font-weight: 700;
}

.ete-careers-tab.is-active .ete-careers-tab__count,
.ete-careers-tab:hover .ete-careers-tab__count {
    background: rgba(31, 117, 187, 0.2);
    color: #1f75bb;
}

.ete-careers-panel[hidden] {
    display: none !important;
}

.ete-career-card {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: #fff;
    border: 1px solid rgba(15, 32, 67, 0.08);
    border-radius: 12px;
    padding: 28px 24px 24px;
    overflow: hidden;
    transition: box-shadow .25s ease, border-color .25s ease, transform .25s ease;
}

.ete-career-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #1f75bb;
    opacity: 0;
    transition: opacity .25s ease;
}

.ete-career-card:hover {
    box-shadow: 0 18px 44px rgba(15, 32, 67, 0.1);
    border-color: rgba(31, 117, 187, 0.28);
    transform: translateY(-4px);
}

.ete-career-card:hover::before {
    opacity: 1;
}

.ete-career-card__badge {
    align-self: flex-start;
    display: inline-block;
    padding: 5px 12px;
    border-radius: 4px;
    background: rgba(31, 117, 187, 0.1);
    color: #1f75bb;
    font-family: var(--font-secondary, inherit);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.ete-career-card__title {
    margin: 0;
    font-family: var(--font-secondary, inherit);
    font-size: 24px;
    font-weight: 600;
    line-height: 1.25;
}

.ete-career-card__title a {
    color: #0f2043;
    text-decoration: none;
}

.ete-career-card__title a:hover {
    color: #1f75bb;
}

.ete-career-card__excerpt {
    margin: 0;
    color: #667;
    flex: 1;
    line-height: 1.65;
    font-size: 15px;
}

.ete-career-card__btn {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    min-height: 42px;
    padding: 10px 18px;
    border-radius: 8px;
    background: #1f75bb;
    color: #fff !important;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    font-family: var(--font-secondary, inherit);
    font-size: 13px;
    letter-spacing: 0.04em;
    transition: background .2s ease;
}

.ete-career-card__btn:hover {
    background: #1f75bb;
    color: #fff !important;
}

.ete-careers-empty {
    padding: 48px 24px;
    text-align: center;
    color: #666;
    background: #fff;
    border-radius: 12px;
    border: 1px solid rgba(15, 32, 67, 0.08);
}

.ete-career-apply-aside {
    background: #1f75bb;
    color: #fff;
    border-radius: 14px;
    padding: 32px 28px;
    border: 0;
    position: sticky;
    top: 100px;
}

.ete-career-apply-aside .section-subtitle {
    color: rgba(255, 255, 255, 0.92);
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.ete-career-apply-aside .section-title {
    color: #fff;
    font-size: 28px;
    margin: 0 0 14px;
    letter-spacing: 0.02em;
    line-height: 1.2;
}

.ete-career-apply-aside__desc {
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.65;
    margin-bottom: 0;
}

.ete-career-apply-aside__tips {
    margin: 22px 0;
    padding-left: 18px;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
}

.ete-career-apply-aside__tips li + li {
    margin-top: 6px;
}

.ete-career-apply-aside__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.7);
    padding-bottom: 2px;
}

.ete-career-apply-aside__link:hover {
    color: #0f2043;
    border-color: #0f2043;
}

.ete-career-apply-card {
    background: #fff;
    border-radius: 14px;
    padding: 36px 32px;
    border: 1px solid rgba(15, 32, 67, 0.08);
    box-shadow: 0 12px 40px rgba(15, 32, 67, 0.05);
}

.ete-career-apply-card__header {
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(15, 32, 67, 0.08);
    margin-bottom: 24px;
}

.ete-career-apply-card__header .section-subtitle {
    color: #1f75bb;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ete-career-apply-card__header .section-title {
    color: #0f2043;
    font-size: 28px;
    margin: 6px 0 10px;
    letter-spacing: 0.02em;
    line-height: 1.2;
}

.ete-career-apply-card__lead {
    color: #666;
    margin: 0;
    line-height: 1.6;
}

.ete-field-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #0f2043;
    font-size: 14px;
}

.ete-field-input,
.ete-contact-form-wrap input,
.ete-contact-form-wrap select,
.ete-contact-form-wrap textarea {
    width: 100%;
    border: 1px solid rgba(15, 32, 67, 0.14);
    border-radius: 8px;
    background: #fff;
    padding: 13px 14px;
    color: #0f2043;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.ete-field-input:focus,
.ete-contact-form-wrap input:focus,
.ete-contact-form-wrap select:focus,
.ete-contact-form-wrap textarea:focus {
    border-color: #1f75bb;
    box-shadow: 0 0 0 3px rgba(31, 117, 187, 0.15);
}

/* Arabic: form placeholders + values align right (incl. tel/email) */
html[dir="rtl"] .ete-field-input,
html[dir="rtl"] .ete-contact-form-wrap input,
html[dir="rtl"] .ete-contact-form-wrap select,
html[dir="rtl"] .ete-contact-form-wrap textarea,
html[dir="rtl"] .ete-career-apply-form .ete-field-input,
html[dir="rtl"] .contact-form .form-control,
html[dir="rtl"] .contact-form .form-select,
html[dir="rtl"] .contact-form input[type="tel"],
html[dir="rtl"] .contact-form input[type="email"],
html[dir="rtl"] .contact-form input[type="text"],
html[dir="rtl"] .contact-form textarea {
    direction: rtl !important;
    text-align: right !important;
}
html[dir="rtl"] .ete-field-input::placeholder,
html[dir="rtl"] .ete-contact-form-wrap input::placeholder,
html[dir="rtl"] .ete-contact-form-wrap textarea::placeholder,
html[dir="rtl"] .ete-career-apply-form .ete-field-input::placeholder,
html[dir="rtl"] .contact-form .form-control::placeholder,
html[dir="rtl"] .contact-form input[type="tel"]::placeholder,
html[dir="rtl"] .contact-form input[type="email"]::placeholder {
    text-align: right !important;
    direction: rtl !important;
}
html[dir="rtl"] .ete-contact-form-wrap .form-select,
html[dir="rtl"] .contact-form .form-select {
    text-align: right !important;
    text-align-last: right !important;
    background-position: left 0.75rem center;
    padding-left: 2.25rem;
    padding-right: 0.75rem;
}

.ete-field-textarea {
    min-height: 130px;
    resize: vertical;
}

.ete-career-dropzone {
    position: relative;
    border: 1.5px dashed rgba(31, 117, 187, 0.45);
    border-radius: 12px;
    padding: 32px 18px;
    text-align: center;
    background: rgba(31, 117, 187, 0.04);
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease;
}

.ete-career-dropzone:hover,
.ete-career-dropzone.is-dragover {
    background: rgba(31, 117, 187, 0.1);
    border-color: #1f75bb;
}

.ete-career-dropzone__input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.ete-career-dropzone__icon {
    font-size: 28px;
    color: #1f75bb;
    margin-bottom: 8px;
}

.ete-career-dropzone__browse {
    color: #1f75bb;
    font-weight: 600;
}

.ete-career-dropzone__hint,
.ete-career-dropzone__filename {
    margin: 6px 0 0;
    font-size: 13px;
    color: #777;
}

.ete-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-top: 8px;
}

.ete-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 12px 22px;
    border-radius: 8px;
    border: 1px solid transparent;
    font-family: var(--font-secondary, inherit);
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
}

.ete-btn--primary {
    background: #1f75bb;
    color: #fff;
}

.ete-btn--primary:hover {
    background: #0f2043;
    color: #fff;
}

.ete-btn--ghost {
    background: transparent;
    border-color: rgba(15, 32, 67, 0.18);
    color: #0f2043;
}

.ete-btn--ghost:hover {
    border-color: #0f2043;
    color: #0f2043;
}

.ete-alert {
    padding: 12px 14px;
    border-radius: 8px;
    margin-bottom: 18px;
}

.ete-alert--success {
    background: #e8f7ee;
    color: #146c43;
}

.ete-alert--danger {
    background: #fdebec;
    color: #b02a37;
}

.ete-field-error {
    display: block;
    margin-top: 6px;
    color: #b02a37;
    font-size: 13px;
}

@media (max-width: 991px) {
    .ete-career-apply-aside {
        position: static;
    }

    .ete-career-apply-card {
        padding: 28px 20px;
    }
}

/* ETE footer */
.footer .footer-gulftech-link {
    color: inherit;
    text-decoration: none;
}

.footer .footer-gulftech-link:hover {
    color: #1f75bb;
}

.footer .newsletter-form-feedback {
    margin-top: 10px;
    font-size: 14px;
}

/* ------------------------------------------------------------------ */
/* Language rail ? edge tab                                            */
/* Critical: theme sets a,a:hover{display:inline-block} which breaks   */
/* flex on hover (icons stack + shake). Force flex with !important.    */
/* ------------------------------------------------------------------ */
.gs-lang-rail {
    position: fixed;
    top: 50%;
    right: 0;
    z-index: 1200;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
}

.gs-lang-rail--rtl {
    right: auto;
    left: 0;
}

/* Must beat style.css `a, a:hover { display: inline-block }` */
.gs-lang-rail a.gs-lang-rail__item,
.gs-lang-rail a.gs-lang-rail__item:hover,
.gs-lang-rail a.gs-lang-rail__item:focus,
.gs-lang-rail a.gs-lang-rail__item:focus-visible,
.gs-lang-rail a.gs-lang-rail__item:active {
    --gs-h: 52px;
    pointer-events: auto;
    box-sizing: border-box;
    position: relative;
    display: inline-flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 0 !important;
    height: var(--gs-h);
    min-height: var(--gs-h);
    max-height: var(--gs-h);
    width: auto;
    max-width: var(--gs-h);
    padding: 0 15px !important;
    margin: 0 !important;
    text-decoration: none !important;
    color: #0f2043 !important;
    background: #fff !important;
    border: 0 !important;
    border-radius: 26px 0 0 26px;
    box-shadow: -4px 4px 18px rgba(15, 32, 67, 0.16);
    overflow: hidden;
    white-space: nowrap;
    line-height: 1;
    vertical-align: middle;
    transform: none !important;
    transition: max-width .28s ease, box-shadow .2s ease;
}

.gs-lang-rail--rtl a.gs-lang-rail__item,
.gs-lang-rail--rtl a.gs-lang-rail__item:hover,
.gs-lang-rail--rtl a.gs-lang-rail__item:focus,
.gs-lang-rail--rtl a.gs-lang-rail__item:focus-visible,
.gs-lang-rail--rtl a.gs-lang-rail__item:active {
    border-radius: 0 26px 26px 0;
    box-shadow: 4px 4px 18px rgba(15, 32, 67, 0.16);
    flex-direction: row-reverse !important;
    justify-content: flex-end !important;
}

/* Mirror inner order: Globe | English | Flag */
.gs-lang-rail--rtl .gs-lang-rail__meta {
    flex-direction: row-reverse !important;
}

.gs-lang-rail a.gs-lang-rail__item:hover,
.gs-lang-rail a.gs-lang-rail__item:focus,
.gs-lang-rail a.gs-lang-rail__item:focus-visible {
    max-width: 280px;
    box-shadow: -6px 6px 22px rgba(15, 32, 67, 0.2);
    outline: none;
}

.gs-lang-rail--rtl a.gs-lang-rail__item:hover,
.gs-lang-rail--rtl a.gs-lang-rail__item:focus,
.gs-lang-rail--rtl a.gs-lang-rail__item:focus-visible {
    box-shadow: 6px 6px 22px rgba(15, 32, 67, 0.2);
}

.gs-lang-rail__meta {
    display: inline-flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 8px;
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    margin: 0 !important;
    padding: 0 !important;
    transition: max-width .28s ease, opacity .18s ease, margin .28s ease;
}

.gs-lang-rail a.gs-lang-rail__item:hover .gs-lang-rail__meta,
.gs-lang-rail a.gs-lang-rail__item:focus .gs-lang-rail__meta,
.gs-lang-rail a.gs-lang-rail__item:focus-visible .gs-lang-rail__meta {
    max-width: 200px;
    opacity: 1;
    margin-right: 10px !important;
}

.gs-lang-rail--rtl a.gs-lang-rail__item:hover .gs-lang-rail__meta,
.gs-lang-rail--rtl a.gs-lang-rail__item:focus .gs-lang-rail__meta,
.gs-lang-rail--rtl a.gs-lang-rail__item:focus-visible .gs-lang-rail__meta {
    margin-right: 0 !important;
    margin-left: 10px !important;
}

.gs-lang-rail__flag {
    width: 28px !important;
    height: 19px !important;
    object-fit: cover;
    border-radius: 2px;
    display: block !important;
    flex: 0 0 28px;
    margin: 0 !important;
    box-shadow: 0 0 0 1px rgba(15, 32, 67, 0.08);
    transition: none !important;
    transform: none !important;
}

.gs-lang-rail__label {
    font-family: "Cairo", "Noto Kufi Arabic", Tahoma, sans-serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #0f2043 !important;
    line-height: 19px !important;
    height: 19px;
    letter-spacing: normal !important;
    text-transform: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    white-space: nowrap;
    flex: 0 0 auto;
}

.gs-lang-rail__icon {
    flex: 0 0 22px !important;
    width: 22px !important;
    height: 22px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
}

.gs-lang-rail__globe {
    width: 20px !important;
    height: 20px !important;
    display: block !important;
    transform: none !important;
    transition: none !important;
}

.gs-lang-rail__item .visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

@media (max-width: 767px) {
    .gs-lang-rail {
        top: auto;
        bottom: 100px;
        right: 0;
        transform: none;
    }

    .gs-lang-rail--rtl {
        left: 0;
        right: auto;
    }

    .gs-lang-rail a.gs-lang-rail__item,
    .gs-lang-rail a.gs-lang-rail__item:hover,
    .gs-lang-rail a.gs-lang-rail__item:focus,
    .gs-lang-rail a.gs-lang-rail__item:focus-visible,
    .gs-lang-rail a.gs-lang-rail__item:active {
        --gs-h: 46px;
        border-radius: 23px 0 0 23px;
    }

    .gs-lang-rail--rtl a.gs-lang-rail__item,
    .gs-lang-rail--rtl a.gs-lang-rail__item:hover,
    .gs-lang-rail--rtl a.gs-lang-rail__item:focus,
    .gs-lang-rail--rtl a.gs-lang-rail__item:focus-visible,
    .gs-lang-rail--rtl a.gs-lang-rail__item:active {
        border-radius: 0 23px 23px 0;
    }

    .gs-lang-rail__label {
        font-size: 14px !important;
    }
}

/* ------------------------------------------------------------------ */
/* Header search overlay ? hidden until opened (was leaking in footer) */
/* ------------------------------------------------------------------ */
.pbmit-header-search-form {
    position: fixed !important;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 10050;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity .35s ease, visibility .35s ease;
}

.pbmit-header-search-form.active,
body.pbmit-search-open .pbmit-header-search-form {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.pbmit-header-search-form .pbmit-search-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 32, 67, 0.72);
    backdrop-filter: blur(6px);
}

.pbmit-header-search-form .pbmit-header-search-form-wrapper {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    padding: 28px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: rgba(15, 32, 67, 0.92);
    transform: translateY(-100%);
    transition: transform .35s ease;
}

.pbmit-header-search-form.active .pbmit-header-search-form-wrapper,
body.pbmit-search-open .pbmit-header-search-form .pbmit-header-search-form-wrapper {
    transform: translateY(0);
}

.pbmit-header-search-form .search-form {
    position: relative;
    width: min(720px, 100%);
    margin: 0;
}

.pbmit-header-search-form .search-field {
    width: 100%;
    height: 56px;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
    background: transparent;
    color: #fff;
    font-size: 22px;
    padding: 0 48px 0 8px;
    outline: none;
}

.pbmit-header-search-form .search-field::placeholder {
    color: rgba(255, 255, 255, 0.55);
}

.pbmit-header-search-form .search-submit {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.pbmit-header-search-form .pbmit-search-close {
    position: absolute;
    top: 18px;
    right: 22px;
    z-index: 2;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.pbmit-header-search-form .pbmit-search-close svg {
    width: 22px;
    height: 22px;
    fill: #fff;
}

.pbmit-header-search-form .pbmit-search-line {
    display: none;
}

html[dir="rtl"] .pbmit-header-search-form .pbmit-search-close {
    right: auto;
    left: 22px;
}

html[dir="rtl"] .pbmit-header-search-form .search-field {
    padding: 0 8px 0 48px;
}

html[dir="rtl"] .pbmit-header-search-form .search-submit {
    right: auto;
    left: 0;
}

/* ------------------------------------------------------------------ */
/* Shared listing / detail surfaces (services, projects, news, CMS)    */
/* ------------------------------------------------------------------ */
body.ete-inner-page .page-gray-surface,
body.ete-inner-page .page-terms-surface,
body.ete-inner-page .ete-page {
    background: #f5f7fa;
}

.ete-listing-section,
.section-lg.pbmit-service-grid-section,
.section-lg.pbmit-project-listing-section,
.section-lg.pbmit-blog-grid-section {
    padding: 70px 0 90px;
    background: #f5f7fa;
}

body.ete-inner-page .pbminfotech-post-item,
body.ete-inner-page .pbmit-portfolio-style-1 .pbminfotech-post-content-wrapper,
body.ete-inner-page article.pbmit-service-style-1 .pbminfotech-post-item,
body.ete-inner-page article.pbmit-blog-style-1 .pbminfotech-post-item {
    background: #fff;
    border: 1px solid rgba(15, 32, 67, 0.08);
    border-radius: 14px;
    overflow: hidden;
    height: 100%;
    transition: box-shadow .25s ease, transform .25s ease;
}

body.ete-inner-page article.pbmit-service-style-1:hover .pbminfotech-post-item,
body.ete-inner-page article.pbmit-blog-style-1:hover .pbminfotech-post-item,
body.ete-inner-page .pbmit-portfolio-style-1:hover {
    box-shadow: 0 16px 40px rgba(15, 32, 67, 0.1);
    transform: translateY(-3px);
}

body.ete-inner-page .pbmit-service-title,
body.ete-inner-page .pbmit-portfolio-title,
body.ete-inner-page .pbmit-post-title {
    font-family: var(--font-secondary, inherit);
    font-weight: 600;
    color: #0f2043;
}

body.ete-inner-page .pbmit-service-title a,
body.ete-inner-page .pbmit-portfolio-title a,
body.ete-inner-page .pbmit-post-title a {
    color: inherit;
    text-decoration: none;
}

body.ete-inner-page .pbmit-service-title a:hover,
body.ete-inner-page .pbmit-portfolio-title a:hover,
body.ete-inner-page .pbmit-post-title a:hover {
    color: #1f75bb;
}

body.ete-inner-page .pbmit-serv-cat,
body.ete-inner-page .pbmit-port-cat,
body.ete-inner-page .pbmit-meta-category-wrapper a {
    color: #1f75bb;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.04em;
}

body.ete-inner-page .pbmit-content-wrap,
body.ete-inner-page .pbmit-featured-container + .pbmit-meta-item,
body.ete-inner-page .pbmit-post-title {
    padding-left: 18px;
    padding-right: 18px;
}

body.ete-inner-page .pbmit-content-wrap {
    padding-top: 16px;
    padding-bottom: 20px;
}

body.ete-inner-page .pbmit-hover-wrap {
    background: #1f75bb !important;
}

/* Detail layouts ? legacy hooks kept light; prefer .ete-detail-* */
body.ete-inner-page .gs-detail-layout,
body.ete-inner-page .site-content {
    padding-top: 0;
    padding-bottom: 0;
}

body.ete-inner-page .pbmit-service-single,
body.ete-inner-page .pbmit-portfolio-single {
    padding-top: 50px;
    padding-bottom: 70px;
}

body.ete-inner-page .gs-detail-sidebar > .widget,
body.ete-inner-page .pbmit-service-sidebar,
body.ete-inner-page aside .widget:not(.ete-sidebar__widget) {
    background: #fff;
    border: 1px solid rgba(15, 32, 67, 0.08);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

body.ete-inner-page .cms-rich-text,
body.ete-inner-page .entry-content,
body.ete-inner-page .pbmit-entry-content {
    color: #555;
    line-height: 1.75;
}

body.ete-inner-page .cms-rich-text h2,
body.ete-inner-page .cms-rich-text h3,
body.ete-inner-page .entry-content h2,
body.ete-inner-page .entry-content h3 {
    font-family: var(--font-secondary, inherit);
    color: #0f2043;
    font-weight: 600;
}

/* ------------------------------------------------------------------ */
/* ------------------------------------------------------------------ */
/* Detail pages ? sidebar + main (news / service / CMS)                */
/* ------------------------------------------------------------------ */
.ete-detail-section {
    padding: 70px 0 90px;
    background: #f5f7fa;
}

.ete-detail-section .gs-detail-row {
    --bs-gutter-x: 2rem;
    --bs-gutter-y: 2rem;
}

.ete-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ete-sidebar__widget {
    background: #fff;
    border: 1px solid rgba(15, 32, 67, 0.08);
    border-radius: 14px;
    padding: 22px 18px;
    box-shadow: 0 10px 30px rgba(15, 32, 67, 0.04);
}

.ete-sidebar__title {
    margin: 0 0 16px;
    padding: 0 8px 12px;
    border-bottom: 1px solid rgba(15, 32, 67, 0.08);
    font-family: var(--font-secondary, inherit);
    font-size: 20px;
    font-weight: 600;
    color: #0f2043;
    line-height: 1.25;
}

.ete-sidebar__title a {
    color: inherit;
    text-decoration: none;
}

.ete-sidebar__title a:hover {
    color: #1f75bb;
}

.ete-sidebar__nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ete-sidebar__nav li + li {
    margin-top: 4px;
}

.ete-sidebar__nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 12px;
    border-radius: 8px;
    color: #445066;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    line-height: 1.35;
    transition: background .2s ease, color .2s ease;
}

.ete-sidebar__nav a i {
    font-size: 12px;
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity .2s ease, transform .2s ease;
    color: #1f75bb;
}

.ete-sidebar__nav a:hover {
    background: rgba(31, 117, 187, 0.08);
    color: #1f75bb;
}

.ete-sidebar__nav a:hover i {
    opacity: 1;
    transform: translateX(0);
}

.ete-sidebar__nav li.is-active a {
    background: rgba(31, 117, 187, 0.12);
    color: #1f75bb;
}

.ete-sidebar__nav li.is-active a i {
    opacity: 1;
    transform: translateX(0);
    color: #1f75bb;
}

.ete-sidebar__download {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 16px;
    border-radius: 14px;
    background: #1f75bb;
    color: #fff;
    text-decoration: none;
    transition: background .2s ease;
}

.ete-sidebar__download:hover {
    background: #0f2043;
    color: #fff;
}

.ete-sidebar__download-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.16);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.ete-sidebar__download-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ete-sidebar__download-label {
    font-family: var(--font-secondary, inherit);
    font-weight: 600;
    font-size: 16px;
}

.ete-sidebar__download-hint {
    font-size: 12px;
    opacity: 0.8;
}

.ete-detail {
    background: #fff;
    border: 1px solid rgba(15, 32, 67, 0.08);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(15, 32, 67, 0.04);
}

.ete-detail__media {
    background: #e8eef5;
}

.ete-detail__image {
    display: block;
    width: 100%;
    max-height: 420px;
    object-fit: cover;
}

.ete-detail__content {
    padding: 32px 28px 36px;
}

.ete-detail__title {
    margin: 0 0 18px;
    font-family: var(--font-secondary, inherit);
    font-size: clamp(26px, 3vw, 34px);
    font-weight: 600;
    line-height: 1.25;
    color: #0f2043;
}

.ete-detail__body,
.ete-detail__body p {
    color: #555;
    line-height: 1.75;
}

.ete-detail__body h2,
.ete-detail__body h3,
.ete-detail__body h4 {
    color: #0f2043;
    font-family: var(--font-secondary, inherit);
    font-weight: 600;
}

[dir="rtl"] .ete-career-card::before {
    left: auto;
    right: 0;
}

[dir="rtl"] .ete-sidebar__nav a i {
    transform: translateX(4px) scaleX(-1);
}

[dir="rtl"] .ete-sidebar__nav a:hover i,
[dir="rtl"] .ete-sidebar__nav li.is-active a i {
    transform: translateX(0) scaleX(-1);
}

@media (max-width: 991px) {
    .ete-detail__content {
        padding: 24px 20px 28px;
    }
}

/* Company News cards ? rounded media + corner action + title/date     */
/* ------------------------------------------------------------------ */
.ete-news-grid-section {
    padding: 70px 0 90px;
    background: #f5f7fa;
}

.ete-news-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.ete-news-card__visual {
    position: relative;
}

.ete-news-card__media {
    aspect-ratio: 1 / 1;
    border-radius: 28px;
    overflow: hidden;
    background: #e8eef5;
    /* Circular cutout (bottom-right) for the action button */
    -webkit-mask-image:
        radial-gradient(circle 34px at calc(100% - 28px) calc(100% - 28px), transparent 33px, #000 34px);
    mask-image:
        radial-gradient(circle 34px at calc(100% - 28px) calc(100% - 28px), transparent 33px, #000 34px);
}

.ete-news-card__image-link {
    display: block;
    width: 100%;
    height: 100%;
}

.ete-news-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .45s ease;
}

.ete-news-card:hover .ete-news-card__image {
    transform: scale(1.04);
}

.ete-news-card__action {
    position: absolute;
    right: 4px;
    bottom: 4px;
    z-index: 2;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #1f75bb;
    color: #fff;
    text-decoration: none;
    border: 6px solid #f5f7fa;
    box-sizing: border-box;
    box-shadow: none;
    transition: background .25s ease, border-color .25s ease, transform .25s ease;
}

.ete-news-card__icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity .2s ease, transform .2s ease;
    pointer-events: none;
}

.ete-news-card__icon svg {
    display: block;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.ete-news-card__icon--default {
    opacity: 1;
    transform: none;
}

.ete-news-card__icon--hover {
    opacity: 0;
    transform: none;
}

/* Hover: brand blue circle + arrow icon */
.ete-news-card:hover .ete-news-card__action,
.ete-news-card__action:hover,
.ete-news-card__action:focus-visible {
    background: #1f75bb;
    color: #fff;
    border-color: #f5f7fa;
    transform: scale(1.04);
}

.ete-news-card:hover .ete-news-card__icon--default,
.ete-news-card__action:hover .ete-news-card__icon--default,
.ete-news-card__action:focus-visible .ete-news-card__icon--default {
    opacity: 0;
}

.ete-news-card:hover .ete-news-card__icon--hover,
.ete-news-card__action:hover .ete-news-card__icon--hover,
.ete-news-card__action:focus-visible .ete-news-card__icon--hover {
    opacity: 1;
}

.ete-news-card__body {
    padding: 18px 8px 0;
}

.ete-news-card__title {
    margin: 0 0 6px;
    font-family: var(--font-secondary, inherit);
    font-size: 22px;
    font-weight: 600;
    line-height: 1.25;
    color: #0f2043;
}

.ete-news-card__title a {
    color: inherit;
    text-decoration: none;
}

.ete-news-card__title a:hover {
    color: #1f75bb;
}

.ete-news-card__meta {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    color: #7a8494;
    font-size: 14px;
    font-weight: 500;
}

.ete-news-card__dot {
    opacity: 0.7;
}

.ete-news-pagination {
    margin-top: 48px;
}

.ete-news-pagination ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.ete-news-pagination a,
.ete-news-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 12px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid rgba(15, 32, 67, 0.1);
    color: #0f2043;
    text-decoration: none;
    font-weight: 600;
}

.ete-news-pagination .is-active span,
.ete-news-pagination a:hover {
    background: #1f75bb;
    border-color: #1f75bb;
    color: #fff;
}

@media (max-width: 575px) {
    .ete-news-card__title {
        font-size: 20px;
    }
}

[dir="rtl"] .ete-news-card__media {
    -webkit-mask-image:
        radial-gradient(circle 34px at 28px calc(100% - 28px), transparent 33px, #000 34px);
    mask-image:
        radial-gradient(circle 34px at 28px calc(100% - 28px), transparent 33px, #000 34px);
}

[dir="rtl"] .ete-news-card__action {
    right: auto;
    left: 4px;
}

/* ------------------------------------------------------------------ */
/* Arabic RTL ? arrows that do NOT break hover animations              */
/* Never put scaleX(-1)!important on .butn-arrow .arrow-inner i ?      */
/* that fights translateY hover and makes the icon shake.              */
/* ------------------------------------------------------------------ */
html[dir="rtl"] .footer .subscribe .newsletter input {
    direction: rtl !important;
    text-align: right !important;
    padding: 0 30px 0 90px !important;
}
html[dir="rtl"] .footer .subscribe .newsletter input::placeholder {
    text-align: right !important;
    direction: rtl !important;
}
html[dir="rtl"] .footer .subscribe .newsletter button {
    right: auto !important;
    left: 7px !important;
}
html[dir="rtl"] .footer .subscribe .newsletter button i {
    display: inline-block !important;
    transform: scaleX(-1) !important;
}

/* Static right-arrows only (NOT butn-arrow / clicko animated icons) */
html[dir="rtl"] .fa-arrow-right,
html[dir="rtl"] .pbmit-base-icon-arrow-right,
html[dir="rtl"] .pbmit-handyon-icon-arrow,
html[dir="rtl"] .pbmit-career-card__btn .pbmit-base-icon-arrow-right {
    display: inline-block;
    transform: scaleX(-1);
}

/* CTA pill: icon left, text right ? flip glyph via wrap so hover still works */
html[dir="rtl"] .butn-arrow,
html[dir="rtl"] .butn-arrow2,
html[dir="rtl"] .ete-hero-slider .butn-arrow2,
html[dir="rtl"] .tours .butn-arrow,
html[dir="rtl"] .faqs .butn-arrow,
html[dir="rtl"] .about .butn-arrow {
    flex-direction: row-reverse !important;
    direction: ltr;
    padding: 0 25px 0 10px !important;
}
html[dir="rtl"] .butn-arrow .btn-text,
html[dir="rtl"] .butn-arrow2 .btn-text {
    direction: rtl;
    text-align: right;
}
/* Flip the circle only ? children keep translateY hover animation */
html[dir="rtl"] .butn-arrow .arrow-wrap,
html[dir="rtl"] .butn-arrow2 .arrow-wrap {
    transform: scaleX(-1);
}
html[dir="rtl"] .butn-arrow .arrow-wrap .arrow-inner i,
html[dir="rtl"] .butn-arrow2 .arrow-wrap .arrow-inner i {
    /* Restore theme flex centering ? do NOT force inline-block / scaleX here */
    display: flex !important;
    transform: none;
}
html[dir="rtl"] .butn-arrow .arrow-wrap .arrow-inner i:first-child,
html[dir="rtl"] .butn-arrow2 .arrow-wrap .arrow-inner i:first-child {
    transform: translateY(-100%) !important;
}
html[dir="rtl"] .butn-arrow .arrow-wrap .arrow-inner i:last-child,
html[dir="rtl"] .butn-arrow2 .arrow-wrap .arrow-inner i:last-child {
    transform: translateY(0) !important;
}
html[dir="rtl"] .butn-arrow:hover .arrow-wrap .arrow-inner i:first-child,
html[dir="rtl"] .butn-arrow2:hover .arrow-wrap .arrow-inner i:first-child {
    transform: translateY(0) !important;
}
html[dir="rtl"] .butn-arrow:hover .arrow-wrap .arrow-inner i:last-child,
html[dir="rtl"] .butn-arrow2:hover .arrow-wrap .arrow-inner i:last-child {
    transform: translateY(100%) !important;
}

/* ------------------------------------------------------------------ */
/* Home page Arabic RTL ? mirror English layout                        */
/* ------------------------------------------------------------------ */
html[dir="rtl"] .ete-hero-slider header.full-height .cont,
html[dir="rtl"] .ete-hero-slider header.full-height h6,
html[dir="rtl"] .ete-hero-slider header.full-height h2,
html[dir="rtl"] .ete-hero-slider header.full-height p {
    direction: rtl !important;
    text-align: right !important;
}

html[dir="rtl"] .ete-hero-slider header.full-height .row {
    justify-content: flex-end;
}

html[dir="rtl"] .ete-hero-slider header.full-height .col-lg-8 {
    text-align: right;
}

html[dir="rtl"] .ete-hero-slider .ete-hero-nav--prev {
    left: auto !important;
    right: 22px !important;
}
html[dir="rtl"] .ete-hero-slider .ete-hero-nav--next {
    right: auto !important;
    left: 22px !important;
}
html[dir="rtl"] .ete-hero-slider .ete-hero-nav i {
    display: inline-block !important;
    transform: scaleX(-1) !important;
}
@media (max-width: 767px) {
    html[dir="rtl"] .ete-hero-slider .ete-hero-nav--prev {
        right: 12px !important;
        left: auto !important;
    }
    html[dir="rtl"] .ete-hero-slider .ete-hero-nav--next {
        left: 12px !important;
        right: auto !important;
    }
}

html[dir="rtl"] .tours .stack-title,
html[dir="rtl"] .tours .section-title,
html[dir="rtl"] .tours .section-subtitle,
html[dir="rtl"] .faqs .section-title,
html[dir="rtl"] .faqs .section-subtitle,
html[dir="rtl"] body.ete-home-page .section-title,
html[dir="rtl"] body.ete-home-page .section-subtitle,
html[dir="rtl"] body.ete-home-page .cms-rich-text {
    direction: rtl;
    text-align: right;
}

html[dir="rtl"] .tours .row.justify-content-between {
    flex-direction: row-reverse;
}

html[dir="rtl"] .faqs .accordion-box .block .acc-btn,
html[dir="rtl"] .faqs .accordion-box .block .content {
    direction: rtl;
    text-align: right;
}

/* Services HSE cards ? top-LEFT blue corner, white arrow ? (match screenshot) */
html[dir="rtl"] .services .item .arrow {
    right: auto !important;
    left: 30px !important;
    transform: none !important; /* never flip the blue shape itself */
}
html[dir="rtl"] .services .item:hover .arrow {
    top: 0 !important;
    right: auto !important;
    left: 0 !important;
    width: 60px !important;
    height: 60px !important;
    line-height: 60px !important;
    border-radius: 20px 0 50px 0 !important;
    background-color: #1f75bb !important;
    color: #fff !important;
    border-top: 1px solid transparent !important;
    border-bottom: 1px solid #1f75bb !important;
    border-right: 1px solid #1f75bb !important;
    border-left: 1px solid transparent !important;
    opacity: 1 !important;
    transform: none !important;
    text-align: center !important;
}
/* Flip only the FA glyph (up-right ? up-left), keep corner shape intact */
html[dir="rtl"] .services .item .arrow::before {
    display: inline-block !important;
    transform: scaleX(-1);
}

/* Tours card corner ? move left; flip wrap only (keep theme hover) */
html[dir="rtl"] .tours .item .clicko {
    right: auto !important;
    left: 20px !important;
}
html[dir="rtl"] .tours .item .clicko .icon-wrap {
    transform: scaleX(-1);
    overflow: hidden;
    width: 1em;
    height: 1em;
}
/* Undo broken per-icon flips ? restore English theme motion inside flipped wrap */
html[dir="rtl"] .tours .item .clicko .icon-wrap .icon,
html[dir="rtl"] .tours .item .clicko .icon-wrap .icon i,
html[dir="rtl"] .tours .item .clicko .ti-arrow-top-right {
    transform: none !important;
}
html[dir="rtl"] .tours .item:hover .clicko .icon-wrap .icon {
    transform: scale(0.26) translate(45px, -50px) !important;
}
html[dir="rtl"] .tours .item .clicko .icon-wrap::before {
    right: 0 !important;
    left: auto !important;
    transform: scale(0.26) translate(-52px, 50px) !important;
}
html[dir="rtl"] .tours .item:hover .clicko .icon-wrap::before {
    transform: scale(1) translate(-2px, 0px) !important;
}

/* Do NOT flip vertical arrows */
html[dir="rtl"] .fa-arrow-down,
html[dir="rtl"] .fa-thin.fa-arrow-down,
html[dir="rtl"] .in-circle .fa-arrow-down {
    transform: none !important;
}

/* Home news (blog-home) ? Arabic: text RTL, arrow ?, no flex break on hover */
html[dir="rtl"] .blog-home .item,
html[dir="rtl"] .blog-home .item .content {
    direction: rtl;
    text-align: right;
}
html[dir="rtl"] .blog-home .item .info span i {
    padding-right: 0;
    padding-left: 5px;
}
html[dir="rtl"] .blog-home .item .arrow a,
html[dir="rtl"] .blog-home .item .arrow a:hover,
html[dir="rtl"] .blog-home .item .arrow a:focus {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transform: none !important;
}
html[dir="rtl"] .blog-home .item .arrow a i,
html[dir="rtl"] .blog-home .item:hover .arrow a i,
html[dir="rtl"] .blog-home .item.active .arrow a i {
    display: inline-block !important;
    transform: scaleX(-1) !important;
    line-height: 1 !important;
}

html[dir="rtl"] .clients,
html[dir="rtl"] .tours .item,
html[dir="rtl"] .blog-list,
html[dir="rtl"] .blog-home,
html[dir="rtl"] .president,
html[dir="rtl"] .about {
    direction: rtl;
}
