/*
 * Itihad Elhelal brand foundation.
 *
 * Font files expected at:
 *   /assets/fonts/montserrat/Montserrat-VariableFont_wght.ttf
 *   /assets/fonts/montserrat/Montserrat-Italic-VariableFont_wght.ttf
 *   /assets/fonts/montserrat/MontserratZ-Regular.otf
 *   /assets/fonts/montserrat/Montserrat-Arabic Regular.ttf
 */

@font-face {
    font-family: 'Montserrat';
    src: url('/assets/fonts/montserrat/Montserrat-VariableFont_wght.ttf') format('truetype');
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/assets/fonts/montserrat/Montserrat-Italic-VariableFont_wght.ttf') format('truetype');
    font-style: italic;
    font-weight: 100 900;
    font-display: swap;
}

@font-face {
    font-family: 'MontserratGreek';
    src: url('/assets/fonts/montserrat/MontserratZ-Regular.otf') format('opentype');
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'MontserratArabic';
    src: url('/assets/fonts/montserrat/Montserrat-Arabic Regular.ttf') format('truetype');
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

:root {
    --elhelal-red: #EA0029;
    --elhelal-cyan: #2DCCD3;
    --elhelal-green: #6CC24A;
    --elhelal-orange: #FF9015;
    --elhelal-black: #000000;
    --elhelal-gray: #212529;
    --elhelal-white: #FFFFFF;
    --elhelal-font: 'Montserrat', Arial, sans-serif;
}

html[lang="el"] {
    --elhelal-font: 'MontserratGreek', 'Montserrat', Arial, sans-serif;
}

html[lang="ar"] {
    --elhelal-font: 'MontserratArabic', 'Montserrat', Arial, sans-serif;
}

/*
 * Public-site typography foundation. Icon fonts retain their own explicit
 * font-family rules; normal text is standardized to the El Helal brand stack.
 */
html,
body,
body button,
body input,
body select,
body textarea,
body optgroup,
body h1,
body h2,
body h3,
body h4,
body h5,
body h6,
body p,
body a,
body li,
body label,
body dt,
body dd,
body th,
body td,
body caption,
body blockquote,
body cite,
body figcaption,
body strong,
body b,
body em,
body small,
body .btn,
body .form-control,
body .tp-caption,
body .menu-links,
body .menu-links a,
body .mega-menu,
body .mega-menu a,
body .footer,
body .footer a {
    font-family: var(--elhelal-font) !important;
}

/* ========================================================================
   Shared public header
   ======================================================================== */
.elhelal-site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    background: var(--elhelal-white);
    border: 0;
}

.elhelal-site-header .elhelal-topbar {
    max-height: 44px;
    overflow: hidden;
    background: var(--elhelal-red);
    color: var(--elhelal-white);
    border: 0;
    padding: 0;
    opacity: 1;
    transform: translateY(0);
    transition: max-height 220ms ease, opacity 160ms ease, transform 220ms ease;
}

.elhelal-site-header.is-scrolled .elhelal-topbar {
    max-height: 6px;   
    opacity: 1;
    transform: translateY(0);
    pointer-events: none;
}

.elhelal-site-header .elhelal-topbar-inner {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.elhelal-site-header .elhelal-topbar-location,
.elhelal-site-header .elhelal-topbar-contact {
    display: flex;
    align-items: center;
    gap: 22px;
    min-width: 0;
}

.elhelal-site-header .elhelal-topbar-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0;
    color: var(--elhelal-white) !important;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.3;
    white-space: nowrap;
    opacity: 0.94;
}

.elhelal-site-header a.elhelal-topbar-item {
    transition: opacity 180ms ease;
}

.elhelal-site-header a.elhelal-topbar-item:hover,
.elhelal-site-header a.elhelal-topbar-item:focus {
    color: var(--elhelal-white) !important;
    opacity: 1;
}

.elhelal-site-header .elhelal-topbar-item i {
    color: currentColor !important;
    font-size: 13px;
    width: 14px;
    margin: 0;
    text-align: center;
}

.elhelal-site-header .elhelal-navbar {
    position: relative;
    background: var(--elhelal-white);
    border-bottom: 1px solid #ececec;
}

.elhelal-site-header .mega-menu {
    min-height: 0;
    margin: 0;
}

.elhelal-site-header .mega-menu > section.menu-list-items {
    height: 82px !important;
    min-height: 82px;
    padding: 0 !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    float: none;
    background: var(--elhelal-white);
    box-shadow: none;
}

.elhelal-site-header .mega-menu .menu-logo {
    flex: 0 0 auto;
    float: none;
    padding: 0;
    margin: 0;
}

.elhelal-site-header .mega-menu .menu-logo > li,
.elhelal-site-header .mega-menu .menu-logo > li > a {
    float: none;
    width: auto;
    line-height: 1;
}

.elhelal-site-header .mega-menu .menu-logo > li > a {
    display: flex;
    align-items: center;
    padding: 0;
}

.elhelal-site-header .mega-menu .menu-logo img {
    width: 170px;
    height: auto !important;
    max-height: 61px;
    object-fit: contain;
}

.elhelal-site-header .mega-menu .menu-bar {
    height: 100%;
    margin-inline-start: auto;
    float: none;
    display: flex;
    align-items: center;
    gap: 18px;
}

.elhelal-site-header .mega-menu .menu-links {
    height: 100%;
    padding: 0;
    margin: 0;
    float: none;
    align-items: stretch;
}

.elhelal-site-header .mega-menu .menu-links > li {
    height: 100%;
    float: none;
    display: flex;
    align-items: center;
    position: relative;
    background: transparent !important;
}

.elhelal-site-header .mega-menu .menu-links > li > a {
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 12px;
    color: #242424;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.01em;
    text-transform: none;
    transition: color 120ms ease;
}

.elhelal-site-header .mega-menu .menu-links > li > a::after {
    content: '';
    position: absolute;
    inset-inline: 12px;
    bottom: 0;
    height: 2px;
    background: var(--elhelal-red);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 180ms ease;
}

.elhelal-site-header .mega-menu .menu-links > li:hover > a,
.elhelal-site-header .mega-menu .menu-links > li.active > a,
.elhelal-site-header .mega-menu .menu-links > li > a:hover,
.elhelal-site-header .mega-menu .menu-links > li > a:focus {
    color: var(--elhelal-red);
}

.elhelal-site-header .mega-menu .menu-links > li:hover > a::after,
.elhelal-site-header .mega-menu .menu-links > li.active > a::after,
.elhelal-site-header .mega-menu .menu-links > li > a:focus::after {
    transform: scaleX(1);
}

.elhelal-site-header .mega-menu .drop-down-multilevel {
    min-width: 245px;
    max-width: 290px;
    padding: 9px 0;
    border: 1px solid #ededed;
    border-top: 2px solid var(--elhelal-red);
    border-radius: 0 0 4px 4px;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.09);
}

.elhelal-site-header .mega-menu .drop-down-multilevel li {
    background: transparent;
}

.elhelal-site-header .mega-menu .drop-down-multilevel li:hover,
.elhelal-site-header .mega-menu .drop-down-multilevel li.activeTrigger {
    background: #fafafa;
}

.elhelal-site-header .mega-menu .drop-down-multilevel a,
.elhelal-site-header .mega-menu .menu-links > li.active .drop-down-multilevel a {
    min-height: 0;
    padding: 10px 18px;
    color: #333333;
    font-size: 12.5px;
    font-weight: 500;
    line-height: 1.45;
}

.elhelal-site-header .mega-menu .drop-down-multilevel > li:first-child > a,
.elhelal-site-header .mega-menu .drop-down-multilevel > li:last-child > a {
    padding-top: 10px;
    padding-bottom: 10px;
}

.elhelal-site-header .mega-menu .drop-down-multilevel li:hover > a,
.elhelal-site-header .mega-menu .menu-links > li.active .drop-down-multilevel a:hover {
    color: var(--elhelal-red);
}

.elhelal-site-header .elhelal-language-switch {
    padding-inline-start: 17px;
    border-inline-start: 1px solid #e8e8e8;
}

.elhelal-site-header .elhelal-language-switch a {
    color: #242424;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.elhelal-site-header .elhelal-language-switch a.is-current {
    color: var(--elhelal-red);
}

.elhelal-site-header .elhelal-language-switch a + a::before {
    content: '|';
    display: inline-block;
    margin-inline: 8px;
    color: #a7a7a7;
    font-weight: 400;
}

.elhelal-site-header .elhelal-language-switch a:hover,
.elhelal-site-header .elhelal-language-switch a:focus {
    color: var(--elhelal-red);
}

/* The legacy mega-menu plugin used to create a second visual header when
   scrolling. Sticky behaviour is now owned by .elhelal-site-header itself. */
.elhelal-site-header .mega-menu.desktopTopFixed,
.elhelal-site-header .mega-menu.mobileTopFixed {
    position: relative !important;
    top: auto !important;
    background: transparent;
    box-shadow: none;
}

.elhelal-site-header .mega-menu.desktopTopFixed > section.menu-list-items,
.elhelal-site-header .mega-menu.mobileTopFixed > section.menu-list-items {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    height: 82px !important;
    min-height: 82px;
    padding: 0 !important;
    background: var(--elhelal-white);
    border: 0;
    border-bottom: 0;
    box-shadow: none;
}

.elhelal-site-header .mega-menu.desktopTopFixed .menu-logo img,
.elhelal-site-header .mega-menu.mobileTopFixed .menu-logo img {
    width: 170px;
    height: auto !important;
    max-height: 61px;
    margin: 0;
}

@media (min-width: 992px) {
    .elhelal-site-header .mega-menu .menu-links {
        display: flex !important;
    }
}

@media (max-width: 1199px) and (min-width: 992px) {
    .elhelal-site-header .mega-menu .menu-logo img {
        width: 145px;
    }

    .elhelal-site-header .mega-menu .menu-bar {
        gap: 8px;
    }

    .elhelal-site-header .mega-menu .menu-links > li > a {
        padding-inline: 8px;
        font-size: 12px;
    }
}

@media (max-width: 991px) {
    .elhelal-site-header .mega-menu .menu-links > li.activeTriggerMobile {
        /* Keep expanded submenu children above the following top-level row. */
        z-index: 60;
    }

    body.elhelal-mobile-menu-open {
        overflow: hidden;
    }

    .elhelal-site-header .elhelal-topbar {
        max-height: 82px;
    }

    .elhelal-site-header .elhelal-topbar-inner {
        min-height: 0;
        justify-content: center;
        flex-wrap: wrap;
        gap: 5px 18px;
        padding: 8px 0;
    }

    .elhelal-site-header .elhelal-topbar-location,
    .elhelal-site-header .elhelal-topbar-contact {
        justify-content: center;
        gap: 18px;
    }

    .elhelal-site-header .elhelal-topbar-item {
        font-size: 11px;
    }

    .elhelal-site-header .mega-menu,
    .elhelal-site-header .mega-menu.desktopTopFixed,
    .elhelal-site-header .mega-menu.mobileTopFixed {
        width: 100%;
        min-height: 0;
    }

    .elhelal-site-header .mega-menu > section.menu-list-items,
    .elhelal-site-header .mega-menu.desktopTopFixed > section.menu-list-items,
    .elhelal-site-header .mega-menu.mobileTopFixed > section.menu-list-items {
        width: 100%;
        height: 68px !important;
        min-height: 68px;
        padding: 0 !important;
        position: relative !important;
        display: block;
    }

    .elhelal-site-header .mega-menu .menu-logo,
    .elhelal-site-header .mega-menu.desktopTopFixed .menu-logo,
    .elhelal-site-header .mega-menu.mobileTopFixed .menu-logo {
        width: 100%;
        height: 68px;
        padding: 0;
        display: flex;
        align-items: center;
    }

    .elhelal-site-header .mega-menu .menu-logo > li,
    .elhelal-site-header .mega-menu.desktopTopFixed .menu-logo > li,
    .elhelal-site-header .mega-menu.mobileTopFixed .menu-logo > li {
        width: 100%;
        height: 68px;
        display: flex;
        align-items: center;
    }

    .elhelal-site-header .mega-menu .menu-logo > li > a,
    .elhelal-site-header .mega-menu.desktopTopFixed .menu-logo > li > a,
    .elhelal-site-header .mega-menu.mobileTopFixed .menu-logo > li > a {
        padding: 0;
        line-height: 1;
    }

    .elhelal-site-header .mega-menu .menu-logo img,
    .elhelal-site-header .mega-menu.desktopTopFixed .menu-logo img,
    .elhelal-site-header .mega-menu.mobileTopFixed .menu-logo img {
        width: 146px;
        height: auto !important;
        max-height: 52px;
        margin: 0;
    }

    .elhelal-site-header .mega-menu .menu-mobile-collapse-trigger {
        top: 50% !important;
        right: 0;
        width: 42px;
        height: 42px !important;
        transform: translateY(-50%);
    }

    html[dir="rtl"] .elhelal-site-header .mega-menu .menu-mobile-collapse-trigger {
        right: auto;
        left: 0;
    }

    .elhelal-site-header .mega-menu .menu-mobile-collapse-trigger::before,
    .elhelal-site-header .mega-menu .menu-mobile-collapse-trigger::after,
    .elhelal-site-header .mega-menu .menu-mobile-collapse-trigger span {
        width: 25px;
        height: 2px;
        background: #242424;
        transform-origin: center;
    }

    .elhelal-site-header .mega-menu .menu-mobile-collapse-trigger::before {
        top: 12px;
    }

    .elhelal-site-header .mega-menu .menu-mobile-collapse-trigger span {
        top: 20px;
    }

    .elhelal-site-header .mega-menu .menu-mobile-collapse-trigger::after {
        top: 28px;
    }

    .elhelal-site-header .mega-menu .menu-mobile-collapse-trigger.active::before {
        transform: translateY(8px) rotate(45deg);
    }

    .elhelal-site-header .mega-menu .menu-mobile-collapse-trigger.active::after {
        transform: translateY(-8px) rotate(-45deg);
    }

    .elhelal-site-header .mega-menu .menu-bar {
        width: 100%;
        height: auto;
        display: block;
        margin: 0;
    }

    .elhelal-site-header .mega-menu .menu-links {
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        width: 100%;
        height: auto;
        max-height: calc(100vh - 150px) !important;
        max-height: calc(100dvh - 150px) !important;
        overflow-y: auto !important;
        overscroll-behavior: contain;
        padding: 6px 0;
        margin: 0;
        background: var(--elhelal-white);
        border-top: 1px solid #ededed;
        border-bottom: 1px solid #ededed;
        box-shadow: 0 18px 30px rgba(0, 0, 0, 0.10);
    }

    .elhelal-site-header.is-scrolled .mega-menu .menu-links {
        max-height: calc(100vh - 68px) !important;
        max-height: calc(100dvh - 68px) !important;
    }

    .elhelal-site-header .mega-menu .menu-links,
    .elhelal-site-header .mega-menu .menu-links * {
        word-break: normal !important;
        overflow-wrap: normal;
    }

    .elhelal-site-header .mega-menu .menu-links > li {
        width: 100%;
        height: auto;
        min-height: 0;
        display: block;
        float: none;
        border-bottom: 1px solid #f1f1f1;
    }

    .elhelal-site-header .mega-menu .menu-links > li:last-child {
        border-bottom: 0;
    }

    .elhelal-site-header .mega-menu .menu-links > li > a {
        position: relative;
        width: 100%;
        height: auto;
        min-height: 48px;
        padding: 13px 56px 13px 18px;
        display: flex;
        align-items: center;
        color: #242424;
        font-size: 13px;
        font-weight: 600;
        line-height: 1.4;
        white-space: normal;
    }

    html[dir="rtl"] .elhelal-site-header .mega-menu .menu-links > li > a {
        padding: 13px 18px 13px 56px;
        text-align: right;
    }

    .elhelal-site-header .mega-menu .menu-links > li > a::after {
        display: none;
    }

    .elhelal-site-header .mega-menu .mobileTriggerButton {
        left: auto;
        right: 0;
        width: 54px;
        height: 48px;
        z-index: 2;
    }

    html[dir="rtl"] .elhelal-site-header .mega-menu .mobileTriggerButton {
        left: 0;
        right: auto;
    }

    .elhelal-site-header .mega-menu .drop-down-multilevel {
        position: relative;
        top: 0;
        left: 0;
        right: 0;
        max-width: none !important;
        width: 100%;
        padding: 4px 0 7px 16px;
        border: 0;
        border-top: 1px solid #f1f1f1 !important;
        border-radius: 0;
        box-shadow: none;
        background: #fafafa;
    }

    html[dir="rtl"] .elhelal-site-header .mega-menu .drop-down-multilevel {
        padding: 4px 16px 7px 0;
    }

    .elhelal-site-header .mega-menu .drop-down-multilevel li {
        float: none;
    }

    .elhelal-site-header .mega-menu .drop-down-multilevel a,
    .elhelal-site-header .mega-menu .menu-links > li.active .drop-down-multilevel a {
        width: 100%;
        padding: 10px 18px;
        font-size: 12px;
        line-height: 1.45;
    }

    .elhelal-site-header .elhelal-language-switch {
        position: absolute;
        top: 0;
        right: 50px;
        height: 68px;
        display: flex;
        align-items: center;
        padding: 0 10px;
        border: 0;
    }

    html[dir="rtl"] .elhelal-site-header .elhelal-language-switch {
        right: auto;
        left: 50px;
    }

    .elhelal-site-header .menu-links > [data-language-switch] {
        position: static;
        top: auto;
        right: auto;
        left: auto;
        width: 100%;
        min-height: 52px;
        height: auto;
        display: flex;
        align-items: center;
        gap: 14px;
        padding: 10px 18px;
        border-top: 1px solid #ededed;
        background: #fafafa;
    }

    .elhelal-site-header .menu-links > [data-language-switch] a {
        display: inline-flex;
        align-items: center;
        min-height: 32px;
        padding: 0 4px;
    }

}

@media (max-width: 575px) {
    .elhelal-site-header .elhelal-topbar {
        max-height: 92px;
    }

    .elhelal-site-header .elhelal-topbar-inner {
        padding: 8px 0;
        gap: 5px;
    }

    .elhelal-site-header .elhelal-topbar-location,
    .elhelal-site-header .elhelal-topbar-contact {
        width: 100%;
        justify-content: center;
        gap: 6px 14px;
        flex-wrap: wrap;
    }

    .elhelal-site-header .elhelal-topbar-location {
        display: none;
    }

    .elhelal-site-header .elhelal-topbar-item {
        font-size: 10px;
    }

    .elhelal-site-header .mega-menu > section.menu-list-items,
    .elhelal-site-header .mega-menu.desktopTopFixed > section.menu-list-items,
    .elhelal-site-header .mega-menu.mobileTopFixed > section.menu-list-items,
    .elhelal-site-header .mega-menu .menu-logo,
    .elhelal-site-header .mega-menu .menu-logo > li {
        height: 64px !important;
        min-height: 64px;
    }

    .elhelal-site-header .mega-menu .menu-logo img,
    .elhelal-site-header .mega-menu.desktopTopFixed .menu-logo img,
    .elhelal-site-header .mega-menu.mobileTopFixed .menu-logo img {
        width: 136px;
        max-height: 48px;
    }

    .elhelal-site-header .mega-menu .menu-links {
        top: 64px;
        max-height: calc(100vh - 146px) !important;
        max-height: calc(100dvh - 146px) !important;
    }

    .elhelal-site-header.is-scrolled .mega-menu .menu-links {
        max-height: calc(100vh - 64px) !important;
        max-height: calc(100dvh - 64px) !important;
    }

    .elhelal-site-header .elhelal-language-switch {
        height: 64px;
    }
}

@media (max-width: 359px) {
    .elhelal-site-header .elhelal-topbar-item {
        font-size: 9.5px;
    }

    .elhelal-site-header .elhelal-topbar-contact {
        gap: 4px 10px;
    }

    .elhelal-site-header .mega-menu .menu-logo img {
        width: 126px;
    }
}

/* ========================================================================
   Header interaction refinements
   ======================================================================== */
/* Smoothly collapse only the topbar while keeping the navbar itself stable.
   The scroll script uses separate collapse/expand thresholds, so this can
   animate without repeatedly flipping state near the trigger point. */
.elhelal-site-header .elhelal-topbar {
    max-height: var(--elhelal-topbar-expanded-height, 96px) !important;
    transition: max-height 260ms cubic-bezier(0.22, 1, 0.36, 1) !important;
}

.elhelal-site-header .elhelal-topbar-inner {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 130ms ease, transform 220ms cubic-bezier(0.4, 0, 0.2, 1);
}

.elhelal-site-header.is-scrolled .elhelal-topbar {
    max-height: 5px !important;
    opacity: 1 !important;
    transform: none !important;
    pointer-events: none;
}

.elhelal-site-header.is-scrolled .elhelal-topbar-inner {
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
}

@media (max-width: 991px) {
    /* Parent rows expose a clear, touch-sized chevron for their submenus. */
    .elhelal-site-header .mega-menu .menu-links > li.hoverTrigger > a {
        cursor: pointer;
    }

    .elhelal-site-header .mega-menu .mobileTriggerButton {
        display: block;
        opacity: 1;
    }

    .elhelal-site-header .mega-menu .mobileTriggerButton::after {
        content: '';
        position: absolute;
        top: 50%;
        right: 19px;
        width: 8px;
        height: 8px;
        border-right: 1.5px solid #333333;
        border-bottom: 1.5px solid #333333;
        transform: translateY(-65%) rotate(45deg);
        transition: transform 150ms ease;
    }

    html[dir="rtl"] .elhelal-site-header .mega-menu .mobileTriggerButton::after {
        right: auto;
        left: 19px;
    }

    .elhelal-site-header .mega-menu li.activeTriggerMobile > a > .mobileTriggerButton::after {
        transform: translateY(-25%) rotate(225deg);
    }

    .elhelal-site-header .mega-menu li.activeTriggerMobile > a {
        color: var(--elhelal-red);
        background: #fafafa;
    }

    .elhelal-site-header .mega-menu .drop-down-multilevel,
    .elhelal-site-header .mega-menu .drop-down,
    .elhelal-site-header .mega-menu .drop-down-tab-bar {
        transition: none !important;
    }
}

/* ========================================================================
   Footer
   ======================================================================== */
.elhelal-footer {
    position: relative;
    background: #f7f7f5;
    color: #454545;
    border-top: 1px solid #e5e5e2;
}

.elhelal-footer__main {
    padding: 64px 0 56px;
}

.elhelal-footer__grid {
    display: grid;
    grid-template-columns: minmax(260px, 1.45fr) repeat(3, minmax(150px, 0.75fr));
    gap: 48px;
    align-items: start;
}

.elhelal-footer__brand {
    min-width: 0;
}

.elhelal-footer__logo {
    display: inline-flex;
    align-items: center;
    max-width: 300px;
    margin-bottom: 0;
}

.elhelal-footer__logo img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 118px;
    object-fit: contain;
    object-position: left center;
}

html[dir="rtl"] .elhelal-footer__logo img {
    object-position: right center;
}

.elhelal-footer__contact {
    display: grid;
    gap: 11px;
    max-width: 330px;
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px solid #dededb;
}

.elhelal-footer__contact-item {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    color: #555;
    font-size: 13px;
    line-height: 1.6;
    transition: color 150ms ease;
}

.elhelal-footer a.elhelal-footer__contact-item:hover {
    color: var(--elhelal-red);
}

.elhelal-footer__contact-item i {
    flex: 0 0 16px;
    width: 16px;
    margin-top: 4px;
    color: var(--elhelal-red);
    text-align: center;
}

.elhelal-footer__heading {
    margin: 3px 0 22px;
    color: var(--elhelal-red);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.01em;
}

.elhelal-footer__nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.elhelal-footer__nav li + li {
    margin-top: 11px;
}

.elhelal-footer__nav a {
    position: relative;
    display: inline-block;
    color: #555;
    font-size: 13px;
    line-height: 1.5;
    transition: color 150ms ease, transform 150ms ease;
}

.elhelal-footer__nav a:hover,
.elhelal-footer__nav a:focus-visible {
    color: var(--elhelal-red);
    transform: translateX(3px);
}

html[dir="rtl"] .elhelal-footer__nav a:hover,
html[dir="rtl"] .elhelal-footer__nav a:focus-visible {
    transform: translateX(-3px);
}

.elhelal-footer__socials {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.elhelal-footer__socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #d6d6d2;
    border-radius: 50%;
    color: var(--elhelal-red);
    font-size: 14px;
    transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.elhelal-footer__socials a:hover,
.elhelal-footer__socials a:focus-visible {
    background: var(--elhelal-red);
    border-color: var(--elhelal-red);
    color: #fff;
    transform: translateY(-2px);
}

.elhelal-footer__bottom {
    background: #efefec;
    border-top: 1px solid #dededb;
}

.elhelal-footer__bottom-inner {
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.elhelal-footer__bottom-inner--centered {
    justify-content: center;
}

.elhelal-footer__copyright {
    margin: 0;
    color: #555;
    font-size: 11px;
    line-height: 1.5;
}

.elhelal-footer__legal {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 22px;
}

.elhelal-footer__legal a {
    color: #555;
    font-size: 11px;
    line-height: 1.5;
    transition: color 150ms ease;
}

.elhelal-footer__legal a:hover,
.elhelal-footer__legal a:focus-visible {
    color: var(--elhelal-red);
}

.elhelal-footer--compact {
    border-top-width: 0;
}

@media (max-width: 991px) {
    .elhelal-footer__main {
        padding: 52px 0 46px;
    }

    .elhelal-footer__grid {
        grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(150px, 1fr));
        gap: 42px 34px;
    }

    .elhelal-footer__brand {
        grid-column: 1 / -1;
    }

    .elhelal-footer__logo {
        max-width: 280px;
    }
}

@media (max-width: 767px) {
    .elhelal-footer__main {
        padding: 44px 0 38px;
    }

    .elhelal-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 36px 28px;
    }

    .elhelal-footer__logo {
        max-width: 240px;
    }

    .elhelal-footer__social-block {
        grid-column: 1 / -1;
        max-width: 420px;
    }

    .elhelal-footer__bottom-inner {
        min-height: 78px;
        padding: 18px 0;
        flex-direction: column;
        justify-content: center;
        gap: 10px;
        text-align: center;
    }

    .elhelal-footer__legal {
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px 18px;
    }
}

@media (max-width: 479px) {
    .elhelal-footer__main {
        padding: 40px 0 34px;
    }

    .elhelal-footer__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .elhelal-footer__brand {
        grid-column: auto;
    }

    .elhelal-footer__social-block {
        grid-column: auto;
        max-width: none;
    }

    .elhelal-footer__heading {
        margin-bottom: 16px;
    }

    .elhelal-footer__nav li + li {
        margin-top: 9px;
    }

    .elhelal-footer__socials a {
        width: 38px;
        height: 38px;
    }
}

/* Cyprus identity uses the supplied English logo in both language versions. */
.elhelal-site-header .mega-menu .menu-logo a.elhelal-cyprus-logo {
    width: 128px;
    height: 82px;
    justify-content: center;
    overflow: hidden;
}
.elhelal-site-header .mega-menu .menu-logo a.elhelal-cyprus-logo img {
    width: 140px;
    height: 140px !important;
    max-width: none;
    max-height: none;
    flex: none;
}
.elhelal-footer__logo.elhelal-cyprus-logo {
    width: 200px;
    height: 124px;
    justify-content: center;
    overflow: hidden;
}
.elhelal-footer__logo.elhelal-cyprus-logo img {
    width: 240px;
    height: 240px;
    max-width: none;
    max-height: none;
    flex: none;
    object-position: center;
}
html[dir="rtl"] .elhelal-site-header .elhelal-topbar-contact > .elhelal-topbar-item {
    direction: ltr;
    unicode-bidi: isolate;
}
@media (max-width: 991px) {
    .elhelal-site-header .mega-menu .menu-logo a.elhelal-cyprus-logo { width: 112px; height: 68px; }
    .elhelal-site-header .mega-menu .menu-logo a.elhelal-cyprus-logo img { width: 124px; height: 124px !important; }
}
