:root {
    --waha-green: #003834;
    --waha-teal: #2A8679;
    --waha-brown: #B9835A;
    --waha-light-green: #B9DA8F;
    --waha-cream: #EBE7DC;
    --waha-sand: #ECCEA0;
    --menu-width-desktop: 38.2vw;
    --menu-width-mobile: 100vw;
    --header-z: 1100;
    --page-padding: 5vw;
    --card-radius: 16px;
    --card-bg: rgba(3, 52, 42, 0.8);
}
* {
    box-sizing: border-box;
}
html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
}
body {
    font-family: "Somar Sans", "Inter", "Cairo", "Segoe UI", Arial, sans-serif;
    background: #003834;
    color: var(--waha-cream);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.7;
    direction: ltr; /* lock structural flow; we flip text only when Arabic */
}
body.lang-en {
    font-family: "Somar Sans", "Inter", "Cairo", "Segoe UI", Arial, sans-serif;
}
body.lang-ar {
    font-family: "Somar Sans", "Inter", "Cairo", "Segoe UI", Arial, sans-serif;
}
/* Arabic text flip without moving layout */
.lang-ar h1,
.lang-ar h2,
.lang-ar h3,
.lang-ar h4,
.lang-ar h5,
.lang-ar h6,
.lang-ar p,
.lang-ar li,
.lang-ar label,
.lang-ar input,
.lang-ar textarea,
.lang-ar select,
.lang-ar button,
.lang-ar .page-hero,
.lang-ar .page-section,
.lang-ar .page-hero__content,
.lang-ar .map-sidebar,
.lang-ar .location-card,
.lang-ar .sidebar-search,
.lang-ar .list-card,
.lang-ar .section-heading,
.lang-ar .footer-contact,
.lang-ar .footer-social,
.lang-ar .footer-bottom {
    direction: rtl;
    text-align: right;
}
.lang-ar input,
.lang-ar textarea,
.lang-ar select {
    text-align: right;
}
.lang-ar ::placeholder {
    text-align: right;
}
/* Utility: swap side in Arabic only for elements you opt in */
.rtl-swap { /* default: keep existing alignment in EN */ }
.lang-ar .rtl-swap {
    margin-left: 0 !important;
    margin-right: auto !important;
    float: left;
    text-align: left;
    align-self: flex-start;
    justify-self: start;
}
a {
    color: var(--waha-light-green);
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
img {
    max-width: 100%;
    display: block;
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.page-main {
    padding-top: 0;
    padding-bottom: 120px;
    opacity: 1;
}
.page-hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--page-padding);
    text-align: left;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
}
.page-hero__content {
    max-width: 780px;
}
.page-hero__eyebrow {
    letter-spacing: 0.3em;
    text-transform: uppercase;
    font-size: 0.85rem;
    color: var(--waha-sand);
    margin-bottom: 0.8rem;
    display: block;
}
.page-hero__title {
    font-size: clamp(2.8rem, 4vw, 3.8rem);
    margin: 0 0 1rem;
}
.page-hero__text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 0 0 1.5rem;
    color: rgba(235, 231, 220, 0.92);
}
.page-hero__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.primary-btn {
    background: var(--waha-light-green);
    color: #003834;
    padding: 0.85rem 1.9rem;
    border-radius: 40px;
    font-weight: 600;
    letter-spacing: 0.02em;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s;
}
.primary-btn:hover {
    opacity: 0.85;
}
.ghost-btn {
    border: 1px solid rgba(235, 231, 220, 0.4);
    color: var(--waha-cream);
    padding: 0.85rem 1.8rem;
    border-radius: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: border 0.2s, color 0.2s;
}
.ghost-btn:hover {
    border-color: var(--waha-light-green);
    color: var(--waha-light-green);
}
.section-heading {
    margin-bottom: 2rem;
}
.section-heading .eyebrow {
    letter-spacing: 0.3em;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: #9ac1a6;
    margin-bottom: 0.5rem;
    display: block;
}
.section-heading h2 {
    font-size: clamp(2rem, 3vw, 2.6rem);
    margin: 0;
    font-weight: 300;
    letter-spacing: -0.02em;
    line-height: 1.1;
}
.page-section {
    padding: 64px var(--page-padding);
}
.page-section--compact {
    padding: 48px var(--page-padding);
}
.page-section--dark {
    background: #01241f;
    border-top: 1px solid rgba(235, 231, 220, 0.2);
    border-bottom: 1px solid rgba(235, 231, 220, 0.2);
}
.page-section--accent {
    background: rgba(185, 218, 143, 0.08);
    border-top: 1px solid rgba(185, 218, 143, 0.3);
    border-bottom: 1px solid rgba(185, 218, 143, 0.3);
}
.hero-video {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    padding: 0;
}
.hero-video__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.35;
}
.hero-video__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 56, 52, 0.35) 0%, rgba(0, 56, 52, 0.75) 100%);
    z-index: 1;
}
.hero-video__top {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 160px;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(to bottom, #003834 0%, rgba(0, 56, 52, 0) 100%);
}
.hero-video__bottom {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 180px;
    z-index: 2;
    pointer-events: none;
}
.hero-video__blend {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 56, 52, 0) 0%, #003834 100%);
}
.hero-video__content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8vw 6vw;
}
.hero-video__logo {
    width: min(38vw, 280px);
    max-width: 320px;
    height: auto;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.35));
}
.scroll-cue {
    position: absolute;
    left: 50%;
    bottom: 42px;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: #f7f7f7;
    font-family: "Somar Sans", "Inter", "Cairo", "Segoe UI", Arial, sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.16em;
    text-transform: none;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}
.scroll-cue__arrow {
    animation: scroll-bounce 1.3s infinite alternate cubic-bezier(.68, -0.55, .27, 1.55);
}
@keyframes scroll-bounce {
    0% { transform: translateY(0); }
    100% { transform: translateY(12px); }
}
.section-full {
    min-height: 100vh;
    display: grid;
    align-items: center;
}
.portal-section {
    min-height: 100vh;
    display: grid;
    align-items: center;
    padding: 80px var(--page-padding);
    position: relative;
    border-bottom: 1px solid rgba(235, 231, 220, 0.1);
    background: linear-gradient(135deg, rgba(0, 56, 52, 0.9), rgba(0, 22, 18, 0.9));
    overflow: hidden;
}
.portal-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 30%, rgba(185, 218, 143, 0.12), transparent 35%),
                radial-gradient(circle at 80% 70%, rgba(185, 140, 65, 0.12), transparent 30%);
    pointer-events: none;
}
.portal-content {
    position: relative;
    max-width: 720px;
    display: grid;
    gap: 0.75rem;
    z-index: 1;
}
.portal-eyebrow {
    letter-spacing: 0.28em;
    text-transform: uppercase;
    font-size: 0.82rem;
    color: #9ac1a6;
    margin: 0;
}
.portal-title {
    margin: 0;
    font-size: clamp(2rem, 3.4vw, 3rem);
    color: #fff;
    font-weight: 300;
    letter-spacing: -0.02em;
    line-height: 1.1;
}
.portal-text {
    margin: 0 0 1rem;
    color: rgba(235, 231, 220, 0.92);
    font-size: 1.05rem;
    line-height: 1.8;
}
.portal-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}
.portal-section--about {
    background: linear-gradient(140deg, rgba(42, 134, 121, 0.92), rgba(0, 24, 17, 0.94));
}
.portal-section--projects {
    background: linear-gradient(140deg, rgba(185, 218, 143, 0.18), rgba(0, 30, 16, 0.95));
}
.portal-section--invest {
    background: linear-gradient(140deg, rgba(185, 140, 65, 0.4), rgba(0, 16, 12, 0.95));
}
.portal-section--news {
    background: linear-gradient(150deg, rgba(66, 100, 116, 0.8), rgba(0, 22, 18, 0.95));
    min-height: 100vh;
    max-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px var(--page-padding);
}
.portal-section--join {
    background: linear-gradient(150deg, rgba(235, 231, 220, 0.08), rgba(0, 19, 15, 0.96));
    padding: 0;
    overflow: hidden;
}

/* Modern Join Us Layout */
.joinus-modern {
    display: grid;
    grid-template-columns: 45% 55%;
    min-height: 100vh;
    align-items: stretch;
    position: relative;
}

.joinus-modern__content {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8vw 4vw 8vw 8vw;
    position: relative;
    z-index: 10;
}

.joinus-modern__text {
    max-width: 540px;
}

.joinus-modern__desc {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    opacity: 0.92;
}

/* Modern Gallery with Overlapping Full-Height Images */
.joinus-modern__gallery {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 20px;
    padding: 40px;
    min-height: 100%;
}

.lang-ar .joinus-modern__gallery {
    direction: rtl;
}

.joinus-modern__img-wrapper {
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    min-height: 250px;
}

.joinus-modern__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.joinus-modern__img-wrapper:hover .joinus-modern__img {
    transform: scale(1.08);
}

/* Grid Layout - Office images left, employee right */
.joinus-modern__img-wrapper--1 {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
}

.joinus-modern__img-wrapper--2 {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
}

.joinus-modern__img-wrapper--3 {
    grid-column: 3 / 4;
    grid-row: 1 / 3;
    cursor: default;
    pointer-events: none;
}

.joinus-modern__img-wrapper--3 .joinus-modern__overlay {
    display: none;
}

.joinus-modern__img-wrapper--3:hover {
    transform: none;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.joinus-modern__img-wrapper--3:hover .joinus-modern__img {
    transform: none;
}

.joinus-modern__img-wrapper--4 {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
}

.joinus-modern__img-wrapper--5 {
    display: none;
}

.joinus-modern__img-wrapper--6 {
    display: none;
}

/* Job Info Card Styles - Flat Design */
.joinus-modern__info-card {
    background: linear-gradient(135deg, rgba(0, 56, 52, 0.95), rgba(42, 134, 121, 0.9));
    cursor: default;
}

.joinus-modern__info-card:hover {
    transform: none;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.joinus-modern__card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 30px;
    text-align: center;
}

.joinus-modern__stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.joinus-modern__stat-number {
    font-size: 72px;
    font-weight: 700;
    color: rgba(185, 218, 143, 1);
    line-height: 1;
    margin-bottom: 8px;
}

.joinus-modern__stat-label {
    font-size: 16px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.joinus-modern__card-text {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    max-width: 280px;
}

/* Remove old overlays and blend modes */
.joinus-modern__img-wrapper--4::after,
.joinus-modern__img-wrapper--5::after {
    display: none;
}

/* Interactive Hover Effects */
.joinus-modern__img-wrapper {
    cursor: pointer;
}

.joinus-modern__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 56, 52, 0.85), rgba(185, 131, 90, 0.7));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
}

.joinus-modern__icon {
    font-size: 48px;
    font-weight: 200;
    color: rgba(255, 255, 255, 0.95);
    transform: scale(0.5) rotate(0deg);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.joinus-modern__img-wrapper:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 25px 65px rgba(0, 0, 0, 0.55);
    z-index: 20;
}

.joinus-modern__img-wrapper:hover .joinus-modern__overlay {
    opacity: 1;
}

.joinus-modern__img-wrapper:hover .joinus-modern__icon {
    transform: scale(1) rotate(90deg);
}

/* Lightbox Modal */
.lightbox-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-modal.active {
    display: flex;
    opacity: 1;
}

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 22, 16, 0.95);
    backdrop-filter: blur(10px);
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    z-index: 2;
    animation: lightboxZoom 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes lightboxZoom {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.7);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    z-index: 3;
    width: 50px;
    height: 50px;
    background: rgba(185, 131, 90, 0.9);
    border: none;
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.95);
    font-size: 32px;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close:hover {
    background: rgba(185, 131, 90, 1);
    transform: scale(1.1) rotate(90deg);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 50px;
    height: 50px;
    background: rgba(0, 56, 52, 0.8);
    border: 2px solid rgba(185, 131, 90, 0.4);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(185, 131, 90, 0.9);
    border-color: rgba(185, 131, 90, 0.8);
    transform: translateY(-50%) scale(1.1);
}

/* Scroll Animation */
.joinus-modern__gallery.animate .joinus-modern__img-wrapper {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.joinus-modern__gallery.animate .joinus-modern__img-wrapper--3 {
    opacity: 0.88;
}

.joinus-modern__gallery.animate .joinus-modern__img-wrapper--4 {
    opacity: 0.94;
}

.joinus-modern__gallery.animate .joinus-modern__img-wrapper--5 {
    opacity: 0.90;
}

.joinus-modern__gallery.animate .joinus-modern__img-wrapper--1 {
    transition-delay: 0.1s;
}

.joinus-modern__gallery.animate .joinus-modern__img-wrapper--2 {
    transition-delay: 0.3s;
}

.joinus-modern__gallery.animate .joinus-modern__img-wrapper--3 {
    transition-delay: 0.5s;
}

.joinus-modern__gallery.animate .joinus-modern__img-wrapper--4 {
    transition-delay: 0.65s;
}

.joinus-modern__gallery.animate .joinus-modern__img-wrapper--5 {
    transition-delay: 0.8s;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .joinus-modern {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
    }
    
    .joinus-modern__content {
        padding: 8vh 8vw;
        min-height: 50vh;
    }
    
    .joinus-modern__gallery {
        position: relative;
        width: 100%;
        padding: 30px;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 200px);
        gap: 15px;
    }

    .joinus-modern__img-wrapper--1 {
        grid-column: 1 / 2;
        grid-row: 1 / 3;
    }

    .joinus-modern__img-wrapper--2 {
        grid-column: 2 / 3;
        grid-row: 1 / 2;
    }

    .joinus-modern__img-wrapper--3 {
        grid-column: 2 / 3;
        grid-row: 2 / 3;
    }

    .joinus-modern__img-wrapper--4 {
        grid-column: 1 / 2;
        grid-row: 3 / 4;
    }

    .joinus-modern__img-wrapper--5,
    .joinus-modern__img-wrapper--6 {
        display: none;
    }
    
    .joinus-modern__stat-number {
        font-size: 56px;
    }
    
    .lang-ar .joinus-modern__gallery {
        left: auto;
    }
}

@media (max-width: 600px) {
    .joinus-modern__content {
        padding: 6vh 6vw;
    }
    
    .joinus-modern__gallery {
        padding: 20px;
        grid-template-columns: 1fr;
        grid-template-rows: repeat(5, 180px);
        gap: 12px;
    }
    
    .joinus-modern__img-wrapper--1,
    .joinus-modern__img-wrapper--2,
    .joinus-modern__img-wrapper--3,
    .joinus-modern__img-wrapper--4 {
        grid-column: 1 / 2;
    }

    .joinus-modern__img-wrapper--1 {
        grid-row: 1 / 2;
    }

    .joinus-modern__img-wrapper--2 {
        grid-row: 2 / 3;
    }

    .joinus-modern__img-wrapper--3 {
        grid-row: 3 / 4;
    }

    .joinus-modern__img-wrapper--4 {
        grid-row: 4 / 5;
    }

    .joinus-modern__img-wrapper--5,
    .joinus-modern__img-wrapper--6 {
        display: none;
    }
    
    .joinus-modern__stat-number {
        font-size: 48px;
    }
    
    .joinus-modern__card-text {
        font-size: 14px;
    }
}
.portal-section--vendors {
    background: linear-gradient(150deg, rgba(42, 134, 121, 0.82), rgba(0, 14, 10, 0.94));
}
.portal-section--contact {
    background: linear-gradient(150deg, rgba(185, 218, 143, 0.16), rgba(0, 24, 17, 0.94));
}
.portal-section--map {
    background: linear-gradient(145deg, rgba(0, 56, 52, 0.92), rgba(0, 22, 16, 0.95));
    padding: 0;
    overflow: hidden;
    position: relative;
}

/* Interactive Plus Grid */
.map-plus-grid {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, 40px);
    grid-template-rows: repeat(auto-fill, 40px);
    gap: 0;
}

.map-plus-sign {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 300;
    color: rgba(185, 218, 143, 0.4);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    will-change: transform;
    user-select: none;
}

.map-plus-sign.repel {
    transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Modern Map Layout */
.map-modern {
    display: grid;
    grid-template-columns: 45% 55%;
    min-height: 100vh;
    align-items: stretch;
    position: relative;
}

.map-modern__content {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8vw 4vw 8vw 8vw;
    position: relative;
    z-index: 10;
}

.map-modern__text {
    max-width: 540px;
}

/* Map Visual Container */
.map-modern__visual {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 55%;
    overflow: hidden;
}

.lang-ar .map-modern__visual {
    right: auto;
    left: 0;
}

.map-modern__container {
    position: relative;
    width: 100%;
    height: 100%;
    background: url('../images/home-page/saudi-map.png') left center/cover no-repeat;
    opacity: 0;
    transform: scale(0.95);
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.map-modern__container::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 22, 16, 0.65), rgba(0, 40, 35, 0.55));
    mix-blend-mode: multiply;
    pointer-events: none;
}

.map-modern__container::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 60% 50%, rgba(185, 218, 143, 0.08), transparent 60%);
    pointer-events: none;
}

.map-modern__visual.animate .map-modern__container {
    opacity: 1;
    transform: scale(1);
}

/* Gradient Fade Effect - Right Side (under burger menu) */
.map-modern__fade {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 25%;
    background: linear-gradient(to left, rgba(0, 22, 16, 1) 0%, rgba(0, 22, 16, 0.9) 15%, rgba(0, 22, 16, 0.6) 40%, rgba(0, 22, 16, 0.3) 70%, transparent 100%);
    z-index: 2;
    pointer-events: none;
}

.lang-ar .map-modern__fade {
    right: auto;
    left: 0;
    background: linear-gradient(to right, rgba(0, 22, 16, 1) 0%, rgba(0, 22, 16, 0.9) 15%, rgba(0, 22, 16, 0.6) 40%, rgba(0, 22, 16, 0.3) 70%, transparent 100%);
}

/* Map Markers Container */
.map-modern__markers {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 15;
}

/* Cluster Markers */
.map-cluster {
    position: absolute;
    transform: translate(-50%, -50%);
    cursor: pointer;
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 10;
}

.map-modern__visual.animate .map-cluster {
    opacity: 1;
}

/* Cluster positions across Saudi Arabia */
.map-cluster--1 {
    top: 45%;
    left: 48%;
    transition-delay: 0.2s;
}

.map-cluster--2 {
    top: 52%;
    left: 35%;
    transition-delay: 0.35s;
}

.map-cluster--3 {
    top: 35%;
    left: 42%;
    transition-delay: 0.5s;
}

.map-cluster--4 {
    top: 58%;
    left: 52%;
    transition-delay: 0.65s;
}

.map-cluster--5 {
    top: 42%;
    left: 60%;
    transition-delay: 0.8s;
}

.map-cluster--6 {
    top: 48%;
    left: 25%;
    transition-delay: 0.95s;
}

.map-cluster__circle {
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 
        0 4px 20px rgba(185, 131, 90, 0.3),
        0 0 0 0 rgba(185, 131, 90, 0.4);
}

/* Elegant shades for different cluster sizes */
.map-cluster--1 .map-cluster__circle {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #B9835A 0%, #a57450 100%);
    border: 2.5px solid rgba(255, 255, 255, 0.2);
}

.map-cluster--2 .map-cluster__circle {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #a57450 0%, #9a6d47 100%);
    border: 2px solid rgba(255, 255, 255, 0.15);
}

.map-cluster--3 .map-cluster__circle {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #9a6d47 0%, #8f5f41 100%);
    border: 2px solid rgba(255, 255, 255, 0.15);
}

.map-cluster--4 .map-cluster__circle {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #8f5f41 0%, #7a4f35 100%);
    border: 2px solid rgba(255, 255, 255, 0.12);
}

.map-cluster--5 .map-cluster__circle {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #8f5f41 0%, #7a4f35 100%);
    border: 2px solid rgba(255, 255, 255, 0.12);
}

.map-cluster--6 .map-cluster__circle {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, #7a4f35 0%, #6b442d 100%);
    border: 1.5px solid rgba(255, 255, 255, 0.1);
}

.map-cluster__number {
    font-size: 17px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: 0.3px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.map-cluster--4 .map-cluster__number,
.map-cluster--5 .map-cluster__number {
    font-size: 15px;
}

.map-cluster--6 .map-cluster__number {
    font-size: 13px;
}

/* Hover effects */
.map-cluster:hover .map-cluster__circle {
    transform: scale(1.15);
    box-shadow: 
        0 8px 30px rgba(185, 131, 90, 0.5),
        0 0 0 8px rgba(185, 131, 90, 0.1);
}

.map-cluster:hover .map-cluster__number {
    color: #ffffff;
    transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .map-modern {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
    }
    
    .map-modern__content {
        padding: 8vh 8vw;
        min-height: 50vh;
    }
    
    .map-modern__visual {
        position: relative;
        width: 100%;
        min-height: 60vh;
    }

    .map-cluster__circle {
        width: 50px !important;
        height: 50px !important;
    }

    .map-cluster--4 .map-cluster__circle,
    .map-cluster--5 .map-cluster__circle {
        width: 40px !important;
        height: 40px !important;
    }

    .map-cluster--6 .map-cluster__circle {
        width: 34px !important;
        height: 34px !important;
    }

    .map-cluster__number {
        font-size: 15px;
    }

    .map-cluster--4 .map-cluster__number,
    .map-cluster--5 .map-cluster__number {
        font-size: 13px;
    }

    .map-cluster--6 .map-cluster__number {
        font-size: 11px;
    }
}

@media (max-width: 900px) {
    .portal-section--map {
        background: url('../images/home-page/saudi-map.png') center/cover no-repeat;
        position: relative;
    }

    .portal-section--map::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(145deg, rgba(0, 56, 52, 0.4), rgba(0, 22, 16, 0.5));
        pointer-events: none;
        z-index: 1;
    }

    .map-modern {
        grid-template-columns: 1fr;
        gap: 0;
        position: relative;
        min-height: 650px;
        z-index: 2;
    }

    .map-modern__visual {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        height: 100%;
        border-radius: 0;
        pointer-events: none;
        opacity: 0;
    }

    .map-modern__container {
        border-radius: 0;
        background: none;
    }

    .map-modern__container::before,
    .map-modern__container::after {
        display: none;
    }

    .map-modern__content {
        position: relative;
        z-index: 4;
        background: linear-gradient(to bottom, 
            transparent 0%,
            rgba(0, 22, 16, 0.75) 25%,
            rgba(0, 22, 16, 0.9) 45%,
            rgba(0, 22, 16, 1) 65%
        );
        padding: 350px 30px 60px;
        min-height: 650px;
    }

    .map-modern__fade {
        display: none;
    }

    .map-cluster__circle {
        width: 44px !important;
        height: 44px !important;
    }

    .map-cluster--4 .map-cluster__circle,
    .map-cluster--5 .map-cluster__circle,
    .map-cluster--6 .map-cluster__circle {
        width: 36px !important;
        height: 36px !important;
    }

    .map-cluster__number {
        font-size: 14px;
    }

    .map-cluster--4 .map-cluster__number,
    .map-cluster--5 .map-cluster__number,
    .map-cluster--6 .map-cluster__number {
        font-size: 12px;
    }
}

@media (max-width: 600px) {
    .map-modern {
        min-height: 550px;
    }

    .map-modern__content {
        padding: 280px 25px 50px;
        min-height: 550px;
    }

    .map-cluster__circle {
        width: 38px !important;
        height: 38px !important;
    }

    .map-cluster--4 .map-cluster__circle,
    .map-cluster--5 .map-cluster__circle,
    .map-cluster--6 .map-cluster__circle {
        width: 32px !important;
        height: 32px !important;
    }

    .map-cluster__number {
        font-size: 13px;
    }

    .map-cluster--4 .map-cluster__number,
    .map-cluster--5 .map-cluster__number,
    .map-cluster--6 .map-cluster__number {
        font-size: 11px;
    }
}
    
    .lang-ar .map-modern__visual {
        left: auto;
    }
    
    .map-modern__fade {
        width: 25%;
    }
}

@media (max-width: 900px) {
    .map-modern__visual {
        min-height: 50vh;
    }
}

@media (max-width: 600px) {
    .map-modern__content {
        padding: 6vh 6vw;
    }
    
    .map-modern__visual {
        min-height: 45vh;
    }
    
    .map-modern__fade {
        width: 22%;
        background: linear-gradient(to left, rgba(0, 22, 16, 1) 0%, rgba(0, 22, 16, 0.85) 20%, rgba(0, 22, 16, 0.5) 50%, transparent 100%);
    }
}
.portal-section--opportunities {
    background: linear-gradient(145deg, rgba(249, 200, 98, 0.32), rgba(0, 26, 18, 0.95));
}
.card-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.card {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: var(--card-radius);
    border: 1px solid rgba(235, 231, 220, 0.1);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.3);
}
.card h3 {
    margin-top: 0;
    margin-bottom: 0.6rem;
    font-size: 1.4rem;
}
.card p {
    margin: 0;
    color: rgba(235, 231, 220, 0.92);
}
.card--wide {
    grid-column: span 2;
}
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}
.metric-card {
    padding: 1.5rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(235, 231, 220, 0.2);
    text-align: center;
}
.metric-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
}
.project-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.project-card {
    background: rgba(0, 35, 25, 0.75);
    padding: 1.5rem;
    border-radius: 18px;
    border: 1px solid rgba(235, 231, 220, 0.15);
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}
.project-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.project-card__meta {
    font-size: 0.9rem;
    color: rgba(235, 231, 220, 0.7);
}
.tag-pill {
    padding: 0.25rem 0.85rem;
    border-radius: 999px;
    background: rgba(235, 231, 220, 0.12);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: 1px solid rgba(235, 231, 220, 0.2);
}
.tag-pill--teal {
    border-color: rgba(42, 134, 121, 0.6);
    background: rgba(42, 134, 121, 0.15);
    color: var(--waha-light-green);
}
.tag-pill--olive {
    border-color: rgba(13, 74, 58, 0.6);
    background: rgba(13, 74, 58, 0.25);
    color: #b9da8f;
}
.tag-pill--gold {
    border-color: rgba(249, 200, 98, 0.6);
    background: rgba(249, 200, 98, 0.2);
    color: #B9835A;
}
.list-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.list-card {
    background: rgba(3, 52, 42, 0.55);
    border-radius: 16px;
    padding: 1.25rem;
    border: 1px solid rgba(235, 231, 220, 0.1);
    min-height: 180px;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.list-card h3 {
    margin: 0;
}
.list-card p {
    margin: 0;
    color: rgba(235, 231, 220, 0.9);
}
.list-card a {
    margin-top: auto;
}
.list-card a:hover {
    color: var(--waha-light-green);
}
.journey-steps {
    margin: 0;
    padding-left: 1.1rem;
    color: rgba(235, 231, 220, 0.9);
    line-height: 1.8;
}
.news-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.news-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0.6rem;
    min-height: 220px;
}
.news-date {
    font-size: 0.8rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: rgba(235, 231, 220, 0.7);
}
.contact-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.contact-card {
    background: rgba(0, 36, 24, 0.7);
    border-radius: 18px;
    padding: 1.5rem;
    border: 1px solid rgba(235, 231, 220, 0.12);
}
.contact-card h3 {
    margin-top: 0;
}
.contact-card p {
    margin-bottom: 0.5rem;
}
.contact-card a {
    color: var(--waha-light-green);
    font-weight: 600;
}
.map-placeholder {
    border-radius: 18px;
    border: 2px dashed rgba(235, 231, 220, 0.5);
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(3, 52, 42, 0.7);
    color: rgba(235, 231, 220, 0.85);
    padding: 1.5rem;
}
.map-placeholder p {
    margin: 0;
    font-size: 1rem;
}
.mapbox-map {
    width: 100%;
    height: 100%;
    min-height: 480px;
    border: 0;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
}
.map-viewport {
    position: relative;
    width: 100%;
    height: 100vh;
}
.map-fallback {
    position: absolute;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: radial-gradient(circle at 40% 40%, rgba(0,0,0,0.18), rgba(0,0,0,0.55));
    color: #B9835A;
    padding: 16px;
    font-weight: 600;
    line-height: 1.5;
}
.map-error {
    display: none;
    position: absolute;
    top: calc(var(--header-h, 92px) + 16px);
    left: 50%;
    transform: translateX(-50%);
    width: min(640px, calc(100% - 32px));
    z-index: 12;
    padding: 16px;
    color: #B9835A;
    background: rgba(0, 0, 0, 0.78);
    border: 1px solid rgba(185, 131, 90, 0.5);
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(10px);
}
.map-error.is-visible {
    display: block;
}
.map-section {
    position: relative;
    padding: 0;
    min-height: 100vh;
}
.map-shell {
    position: relative;
    min-height: 100vh;
    --sidebar-width: clamp(320px, 35vw, 400px);
}
.map-shell { padding-left: 0; transition: padding-left 0.28s ease; }
.sidebar-open .map-shell,
body.sidebar-open .map-shell { padding-left: var(--sidebar-width); }
.map-sidebar {
    background: #011e1a;
    border-right: 1px solid rgba(235, 231, 220, 0.08);
    padding: calc(84px + 14px) 16px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.28);
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 2000;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
    width: var(--sidebar-width);
    transform: translateX(-100%);
    overflow: hidden;
}
.sidebar-open .map-sidebar,
.map-sidebar.open {
    transform: translateX(0);
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.28);
    background: #011e1a;
    border-right: 1px solid rgba(235, 231, 220, 0.08);
}
body.sidebar-open .map-shell {
    padding-left: var(--sidebar-width);
}
body.sidebar-open {
    overflow: hidden;
}
body.sidebar-init .map-sidebar {
    transition: none;
}
.sidebar-heading {
    flex-shrink: 0;
}
.map-sidebar h2 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: #EBE7DC;
    letter-spacing: 0.01em;
}
.sidebar-search {
    display: flex;
    flex-direction: column;
    gap: 7px;
    flex-shrink: 0;
}
.sidebar-status {
    margin: 4px 0 2px;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 0.92rem;
    line-height: 1.45;
    color: rgba(235, 231, 220, 0.92);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(235, 231, 220, 0.12);
}
.sidebar-status--info {
    color: #e6f5ef;
    background: rgba(42, 134, 121, 0.2);
    border-color: rgba(42, 134, 121, 0.35);
}
.sidebar-status--quiet {
    color: rgba(235, 231, 220, 0.8);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(235, 231, 220, 0.1);
}
.location-state {
    list-style: none;
    padding: 18px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(235, 231, 220, 0.86);
    line-height: 1.5;
}
#location-search {
    width: 100%;
    padding: 8px 12px;
    border-radius: 10px;
    border: 1px solid rgba(235, 231, 220, 0.15);
    background: rgba(0, 40, 36, 0.7);
    color: #EBE7DC;
    font-size: 0.92rem;
    outline: none;
    transition: border-color 0.15s;
    box-sizing: border-box;
}
#location-search:focus {
    border-color: rgba(249, 200, 98, 0.5);
}
#location-search::placeholder {
    color: rgba(235, 231, 220, 0.45);
}
.location-filters {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}
.location-filter-select {
    width: 100%;
    padding: 7px 28px 7px 10px;
    border-radius: 8px;
    border: 1px solid rgba(235, 231, 220, 0.15);
    background: rgba(0, 40, 36, 0.75);
    color: #EBE7DC;
    font-size: 0.82rem;
    font-family: inherit;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    outline: none;
    transition: border-color 0.15s ease;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='7' viewBox='0 0 10 7'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23ebe7dc' stroke-width='1.4' stroke-linecap='round' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-sizing: border-box;
}
.location-filter-select:hover,
.location-filter-select:focus {
    border-color: rgba(249, 200, 98, 0.5);
}
.location-filter-select option {
    background: #011e1a;
    color: #EBE7DC;
}
.chip-row {
    display: flex;
    gap: 5px;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 2px;
}
.chip-row::-webkit-scrollbar { display: none; }
.chip {
    border: 1px solid rgba(235, 231, 220, 0.22);
    background: rgba(0, 56, 52, 0.35);
    color: rgba(235, 231, 220, 0.85);
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.79rem;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.16s ease;
    flex-shrink: 0;
}
.chip:hover {
    border-color: #B9835A;
    color: #B9835A;
}
.chip--active {
    background: #B9835A;
    border-color: #B9835A;
    color: #003834;
}
.location-list {
    list-style: none;
    margin: 0;
    padding: 0 4px 8px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow-y: auto;
    overflow-x: hidden;
    flex: 1;
    min-height: 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(235,231,220,0.3) transparent;
}
.location-list::-webkit-scrollbar {
    width: 4px;
}
.location-list::-webkit-scrollbar-track {
    background: transparent;
}
.location-list::-webkit-scrollbar-thumb {
    background: rgba(235, 231, 220, 0.3);
    border-radius: 999px;
}
/* Scroll indicator */
.scroll-indicator {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    padding: 6px 0 10px;
    color: rgba(235, 231, 220, 0.45);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
}
.scroll-indicator.visible {
    opacity: 1;
}
.scroll-indicator.hidden {
    opacity: 0;
}
.scroll-arrow-icon {
    width: 18px;
    height: 18px;
    animation: scrollBounce 1.6s ease-in-out infinite;
}
.scroll-more-text {
    opacity: 0.7;
}
@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); opacity: 0.45; }
    50%       { transform: translateY(4px); opacity: 1; }
}
.location-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(235, 231, 220, 0.08);
    border-radius: 10px;
    padding: 8px 11px 7px;
    cursor: pointer;
    transition: border 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
    flex-shrink: 0;
}
.location-card:hover {
    border-color: rgba(185, 218, 143, 0.7);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.28);
}
.location-card.active {
    border-color: #B9835A;
    background: rgba(185, 131, 90, 0.08);
}
.location-card h3 {
    margin: 2px 0 3px;
    font-size: 0.92rem;
}
.location-card p {
    margin: 0 0 8px;
    color: rgba(235, 231, 220, 0.78);
    line-height: 1.4;
}
.location-card .card-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-top: 8px;
    margin-bottom: 8px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    padding: 6px;
    border: 1px solid rgba(0, 0, 0, 0.08);
}
.location-card .card-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0.92;
}
.location-card .card-logo-fallback {
    opacity: 0.5;
}
.card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}
.area {
    color: rgba(235, 231, 220, 0.65);
    font-size: 0.82rem;
}
.pill {
    border-radius: 999px;
    padding: 4px 8px;
    font-size: 0.76rem;
    font-weight: 650;
    letter-spacing: 0.01em;
    text-transform: capitalize;
}
.pill--project { background: rgba(185, 218, 143, 0.15); color: #b9da8f; }
.pill--service { background: rgba(185, 131, 90, 0.18); color: #B9835A; }
.pill--vendor  { background: rgba(42, 134, 121, 0.2); color: #70d3c2; }
.pill--land    { background: rgba(124, 193, 255, 0.15); color: #7cc1ff; }
.card-actions {
    display: flex;
    justify-content: flex-end;
}
.map-shell .ghost-btn.fly-btn {
    padding: 6px 10px;
    border-radius: 10px;
    font-size: 0.88rem;
}
.sidebar-toggle {
    position: fixed;
    top: calc(50% + env(safe-area-inset-top, 0px));
    left: 0;
    transform: translateY(-50%) translateX(0);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 9px 11px 9px 9px;
    min-width: 48px;
    background: linear-gradient(140deg, #ffd978, #f7c547 45%, #ffb347);
    color: #0b1d19;
    border: 1px solid rgba(0, 0, 0, 0.18);
    border-radius: 0 14px 14px 0;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
    transition: background 0.2s, box-shadow 0.2s, transform 0.28s ease, left 0.28s ease;
    pointer-events: auto;
    z-index: 4000;
}
.sidebar-toggle.hidden {
    opacity: 0;
    pointer-events: none;
}
.sidebar-open .sidebar-toggle,
body.sidebar-open .sidebar-toggle {
    transform: translateY(-50%) translateX(var(--sidebar-width));
}
.sidebar-toggle:hover {
    background: #ffd978;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.28);
}
.sidebar-toggle .icon {
    font-size: 1.1rem;
    line-height: 1;
}
.sidebar-toggle .label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.sidebar-toggle .hint {
    display: none;
}
.sidebar-toggle .pulse-dot {
    display: none; /* temporarily hide the status dot */
}
.sidebar-toggle.attention {
    animation: none;
}
.sidebar-toggle.attention .pulse-dot {
    animation: pulseDot 1.9s ease-out infinite;
}
.sidebar-open .sidebar-toggle .pulse-dot {
    background: #2ecc71; /* open = ready/active */
    box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.45);
}
.sidebar-toggle:focus-visible {
    outline: 2px solid #0b1d19;
    outline-offset: 2px;
}
@keyframes pulseDot {
    0% { box-shadow: 0 0 0 0 rgba(230, 57, 70, 0.55); }
    70% { box-shadow: 0 0 0 12px rgba(230, 57, 70, 0); }
    100% { box-shadow: 0 0 0 0 rgba(230, 57, 70, 0); }
}
.marker-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid #0a1d1a;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.25);
}
.mapboxgl-popup-content {
    background: rgba(0, 56, 52, 0.9);
    color: #EBE7DC;
    border: 1px solid rgba(235, 231, 220, 0.18);
    border-radius: 12px;
    padding: 12px 14px 10px;
    font-family: 'Segoe UI', Tahoma, Arial, 'Noto Sans Arabic', 'Arabic Typesetting', sans-serif;
    direction: rtl;
    text-align: right;
}
.popup-card h3 {
    margin: 6px 0;
    font-size: 1.05rem;
    font-family: 'Segoe UI', Tahoma, Arial, 'Noto Sans Arabic', 'Arabic Typesetting', sans-serif;
}
.popup-card p {
    margin: 0;
    line-height: 1.5;
    font-family: 'Segoe UI', Tahoma, Arial, 'Noto Sans Arabic', 'Arabic Typesetting', sans-serif;
}
.popup-pill {
    display: inline-block;
    padding: 4px 8px;
    margin: 0;
    background: rgba(185, 131, 90, 0.15);
    color: #B9835A;
    border-radius: 999px;
    font-size: 0.82rem;
    letter-spacing: 0.01em;
    text-transform: capitalize;
}
.mapboxgl-ctrl button .mapboxgl-ctrl-icon {
    filter: brightness(2);
}

/* Ensure map controls are properly visible and styled */
.mapboxgl-ctrl-top-right,
.mapboxgl-ctrl-bottom-left {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.mapboxgl-ctrl-group {
    background: white !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15) !important;
    border-radius: 4px !important;
}

.mapboxgl-ctrl-group button {
    display: block !important;
    width: 29px !important;
    height: 29px !important;
    background-color: white !important;
    border: none !important;
}

.mapboxgl-ctrl-group button:hover {
    background-color: rgba(0,0,0,0.05) !important;
}

.mapboxgl-ctrl-icon {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
}

/* Navigation control specific styles */
.mapboxgl-ctrl-zoom-in,
.mapboxgl-ctrl-zoom-out,
.mapboxgl-ctrl-compass {
    display: block !important;
}

/* Scale control */
.mapboxgl-ctrl-scale {
    background-color: rgba(255, 255, 255, 0.85) !important;
    font-size: 10px !important;
    border: 2px solid rgba(0,0,0,0.1) !important;
    border-top: none !important;
    padding: 0 5px !important;
    color: #333 !important;
    line-height: 1.8 !important;
}

/* Ensure controls are visible in fullscreen mode */
.mapboxgl-map:-webkit-full-screen .mapboxgl-ctrl-top-right,
.mapboxgl-map:-moz-full-screen .mapboxgl-ctrl-top-right,
.mapboxgl-map:fullscreen .mapboxgl-ctrl-top-right,
.mapboxgl-map:-webkit-full-screen .mapboxgl-ctrl-bottom-left,
.mapboxgl-map:-moz-full-screen .mapboxgl-ctrl-bottom-left,
.mapboxgl-map:fullscreen .mapboxgl-ctrl-bottom-left {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

@media (max-width: 1024px) {
    :root {
        --sidebar-width: min(88vw, 360px);
    }
    body.sidebar-open .map-shell,
    .sidebar-open .map-shell {
        padding-left: 0; /* overlay the map on tablet/mobile */
    }
    .map-sidebar {
        width: var(--sidebar-width);
        box-shadow: 8px 0 26px rgba(0,0,0,0.28);
        padding-top: 88px; /* leave room for header/burger */
        height: 100vh;
    }
    .sidebar-toggle {
        top: calc(22px + env(safe-area-inset-top, 0px));
        left: 0;
        right: auto;
        transform: translateY(0) translateX(0);
        border-radius: 0 12px 12px 0;
    }
    .sidebar-open .sidebar-toggle,
    body.sidebar-open .sidebar-toggle {
        transform: translateY(0) translateX(0);
    }
    .burger {
        top: 20px;
        right: 18px;
        left: auto;
        transform: none;
        width: 52px;
        height: 52px;
    }
    .burger .bar1 { transform: translate(-50%, -50%) translateY(-8px); }
    .burger .bar3 { transform: translate(-50%, -50%) translateY(8px); }
    .sticky-header { height: 84px; }
    .sticky-header .sign-in-btn { left: 12px; top: 50%; transform: translateY(-50%); }
    .sticky-header #lang-toggle { left: 120px; top: 50%; transform: translateY(-50%); }
    .sticky-header .waha-logo { right: 16px; top: 50%; transform: translateY(-50%); height: 44px; }
}

@media (max-width: 640px) {
    .map-sidebar {
        padding: 18px 18px 24px;
        width: 100vw;
        height: 100vh;
    }
    .sidebar-toggle {
        top: calc(18px + env(safe-area-inset-top, 0px));
        left: 0;
        right: auto;
    }
    .sidebar-open .map-shell,
    body.sidebar-open .map-shell {
        padding-left: 0;
    }
    .map-section {
        min-height: 100vh;
    }
    .location-list {
        max-height: calc(100vh - 200px);
    }
    #location-search {
        font-size: 0.98rem;
    }
    .sticky-header { height: 78px; }
    .sticky-header .sign-in-btn { left: 10px; top: 50%; transform: translateY(-50%); }
    .sticky-header #lang-toggle { left: 112px; top: 50%; transform: translateY(-50%); }
    .sticky-header .waha-logo { right: 14px; top: 50%; transform: translateY(-50%); height: 40px; }

    /* Compact header controls on mobile */
    .sticky-header .sign-in-btn {
        width: 44px;
        height: 44px;
        padding: 0;
        border-radius: 22px;
        font-size: 0; /* hide text but keep for accessibility */
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(0,56,52,0.8);
    }
    .sticky-header .sign-in-btn i {
        font-size: 16px;
        margin: 0;
    }
    .sticky-header #lang-toggle {
        width: 40px;
        height: 40px;
        padding: 0;
        border-radius: 20px;
        font-size: 12px;
        letter-spacing: 1px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(42, 134, 121, 0.9);
    }
}
.vendor-list {
    list-style: disc;
    margin-left: 1.4rem;
    padding-left: 0.6rem;
    color: rgba(235, 231, 220, 0.95);
    line-height: 1.6;
}
.vendor-list li {
    margin-bottom: 0.6rem;
}
.footer-grid {
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
}
.footer-contact,
.footer-social {
    flex: 1 1 240px;
    min-width: 220px;
}
.site-footer {
    width: 100%;
    background: #003834;
    color: #EBE7DC;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 8px 20px;
    gap: 1.5rem;
    border-top: 1px solid rgba(185, 218, 143, 0.2);
}
.site-footer h4 {
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}
.site-footer a {
    color: #EBE7DC;
}
.site-footer a:hover {
    color: var(--waha-light-green);
}
.footer-bottom {
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(185, 218, 143, 0.3);
    padding-top: 12px;
    font-size: 0.95rem;
}
.social-links,
.social-icons {
    display: flex;
    gap: 0.6rem;
    flex-direction: column;
}
.social-icons {
    flex-direction: row;
}
.social-icons a {
    font-size: 1.4rem;
}
.sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 88px;
    z-index: var(--header-z);
    pointer-events: none;
}
.sticky-header .lang-toggle,
.sticky-header .sign-in-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;
    font-size: 1em;
    background: rgba(0, 56, 52, 0.7);
    color: #fff;
    padding: 6px 18px;
    border-radius: 18px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    pointer-events: auto;
    min-width: 90px;
    text-align: center;
    white-space: nowrap;
}
.sticky-header .lang-toggle:hover,
.sticky-header .sign-in-btn:hover {
    background: rgba(42, 134, 121, 0.9);
}
.sticky-header .sign-in-btn {
    left: 16px;
}
.sticky-header #lang-toggle {
    left: 140px;
}
.sticky-header .logo-strip,
#logo-bg {
    display: none;
}
.sticky-header .waha-logo {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    height: 48px;
    width: auto;
    object-fit: contain;
    z-index: 9999;
}
.nav-overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 56, 52, 0.95);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s;
}
.nav-overlay.open {
    opacity: 1;
    pointer-events: auto;
}
.nav-menu {
    width: var(--menu-width-desktop);
    max-width: 100vw;
    min-width: 0;
    padding: 0 0 0 48px;
    background: rgba(0, 40, 34, 0.97); /* slightly darker than logo teal for contrast */
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 0;
    box-shadow: none;
    height: 100vh;
    margin: 0;
    margin-left: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    backdrop-filter: blur(12px) saturate(1.2);
    transform: translateX(100vw);
    opacity: 0;
    transition: transform 0.85s cubic-bezier(.23, 1, .32, 1), opacity 1.2s cubic-bezier(.23, 1, .32, 1);
}
.nav-overlay.open .nav-menu {
    transform: translateX(0);
    opacity: 1;
    transition: transform 0.85s cubic-bezier(.23, 1, .32, 1), opacity 0.7s cubic-bezier(.23, 1, .32, 1);
}
.nav-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1.618em;
    width: 100%;
    justify-content: center;
}
.nav-menu a {
    color: var(--waha-cream);
    font-size: 1.13em;
    font-weight: 400;
    text-decoration: none;
    letter-spacing: 0.01em;
    line-height: 1.618;
    padding-bottom: 0.2rem;
}
.nav-menu a:hover {
    color: var(--waha-light-green);
}
.nav-menu ul li {
    opacity: 0;
    transform: translateX(18px);
    transition: opacity 0.7s cubic-bezier(.23, 1, .32, 1), transform 0.7s cubic-bezier(.23, 1, .32, 1);
}
.nav-overlay.open .nav-menu ul li {
    opacity: 1;
    transform: translateX(0);
}
.burger {
    position: fixed;
    top: 50%;
    right: 32px;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    z-index: 3001;
    display: block;
    cursor: pointer;
    background: #B9835A;
    border-radius: 0;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
    border: none;
    color: transparent;
    outline: 2px solid transparent;
    transition: outline 0.2s, transform 0.3s;
}
.burger:focus-visible {
    outline: 2px solid var(--waha-cream);
    outline-offset: 2px;
}
.burger.open .bar1 {
    transform: translate(-50%, -50%) rotate(45deg);
}
.burger.open .bar2 {
    opacity: 0;
}
.burger.open .bar3 {
    transform: translate(-50%, -50%) rotate(-45deg);
}
.burger-bar {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 34px;
    height: 2px;
    background: #B9DA8F;
    margin: 0;
    border-radius: 2px;
    transition: transform 0.35s ease, opacity 0.35s ease;
    transform-origin: center;
}
.burger .bar1 { transform: translate(-50%, -50%) translateY(-9px); }
.burger .bar2 { transform: translate(-50%, -50%); }
.burger .bar3 { transform: translate(-50%, -50%) translateY(9px); }

/* Keep menu text left-aligned regardless of page dir; per-language direction set in JS */
.nav-menu, .nav-menu ul, .nav-menu ul li, .nav-menu ul li a {
    text-align: left !important;
    direction: ltr;
}

/* Match home01 behavior: keep menu anchored left, flip text flow only for Arabic */
body.lang-ar .nav-menu a {
    text-align: left !important;
    direction: rtl !important;
    unicode-bidi: plaintext !important;
}

html[lang='ar'] body .nav-menu a {
    text-align: left !important;
    direction: rtl !important;
    unicode-bidi: plaintext !important;
}

body.lang-en .nav-menu a {
    direction: ltr !important;
    unicode-bidi: normal !important;
}

.waha-logo {
    position: absolute;
    top: 48px;
    right: 20px;
    height: 88px;
    width: auto;
    z-index: 3;
    pointer-events: auto;
    margin-right: 0;
    margin-left: 0;
    transform: translateY(-50%);
}
body.home-page .page-hero {
    background: linear-gradient(135deg, rgba(42, 134, 121, 0.95), rgba(0, 12, 10, 0.95));
    min-height: 100vh;
}
body.projects-page .page-hero {
    background: linear-gradient(145deg, rgba(185, 218, 143, 0.9), rgba(0, 19, 17, 0.95));
}
body.invest-page .page-hero {
    background: linear-gradient(135deg, rgba(185, 140, 65, 0.9), rgba(0, 16, 12, 0.95));
}
body.news-page .page-hero {
    background: linear-gradient(135deg, rgba(66, 100, 116, 0.9), rgba(0, 20, 16, 0.95));
}
body.join-page .page-hero {
    background: linear-gradient(135deg, rgba(185, 218, 143, 0.9), rgba(3, 20, 16, 0.95));
}
body.vendors-page .page-hero {
    background: linear-gradient(145deg, rgba(42, 134, 121, 0.95), rgba(0, 10, 8, 0.95));
}
body.contact-page .page-hero {
    background: linear-gradient(145deg, rgba(185, 218, 143, 0.9), rgba(0, 24, 17, 0.95));
}
body.map-page .page-hero {
    background: linear-gradient(145deg, rgba(42, 134, 121, 0.9), rgba(0, 18, 14, 0.95));
}
body.opportunities-page .page-hero {
    background: linear-gradient(145deg, rgba(249, 200, 98, 0.95), rgba(0, 26, 18, 0.95));
}
@media (max-width: 900px) {
    .nav-menu {
        width: var(--menu-width-mobile);
        padding-left: 24px;
        padding-top: calc(80px + env(safe-area-inset-top, 0px));
        padding-bottom: 32px;
        justify-content: flex-start;
    }
    .nav-menu a {
        font-size: 1em;
    }
    .sticky-header .lang-toggle,
    .sticky-header .sign-in-btn {
        top: 24px;
        font-size: 0.95rem;
        padding: 6px 16px;
        min-width: 80px;
    }
    .sticky-header .sign-in-btn {
        left: 16px;
    }
    .sticky-header #lang-toggle {
        left: calc(16px + (100vw - 32px) / 12 + 16px);
    }
    .sticky-header .waha-logo {
        height: 56px;
        top: 48px;
        transform: translateY(-50%);
    }
        right: 20px;
    }
    #logo-bg {
        height: 56px;
        width: 170px;
        top: 16px;
    }
    .burger {
        top: 50%;
        right: 16px;
        transform: translateY(-50%);
    }
    .portal-section {
        min-height: 100vh;
        padding: 64px 6vw;
    }
    .portal-title {
        font-size: clamp(1.8rem, 5vw, 2.6rem);
    }
    .portal-text {
        font-size: 1rem;
    }
    .portal-actions .primary-btn,
    .portal-actions .ghost-btn {
        width: auto;
    }
}
@media (max-width: 600px) {
    .sticky-header .lang-toggle,
    .sticky-header .sign-in-btn {
        top: 24px;
        font-size: 0.85rem;
        padding: 5px 14px;
        min-width: 70px;
    }
    .sticky-header .sign-in-btn {
        left: 16px;
    }
    .sticky-header #lang-toggle {
        left: calc(16px + (100vw - 32px) / 12 + 16px);
    }
    .sticky-header .waha-logo {
        height: 38px;
        top: 48px;
        right: 20px;
        transform: translateY(-50%);
    }
    #logo-bg {
        height: 38px;
        width: 120px;
        top: 8px;
    }
    .burger {
        top: 50%;
        right: 8px;
        width: 48px;
        height: 48px;
        transform: translateY(-50%);
    }
    .page-hero {
        padding: 4vw;
    }
    .page-section {
        padding: 48px 6vw;
    }
    .portal-section {
        min-height: 100vh;
        padding: 56px 6vw;
    }
}


/* Header positioning overrides */
.sticky-header .sign-in-btn {
    top: 20px !important;
    left: 16px !important;
    transform: none !important;
}
.sticky-header #lang-toggle {
    top: 20px !important;
    left: 140px !important;
    transform: none !important;
}
.sticky-header .waha-logo {
    position: static !important;
}

/* ===== Header Flex Override (transparent container, buttons together) ===== */
.sticky-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 16px 20px !important;
    height: 88px !important;
    background: transparent !important;
    pointer-events: none !important;
}
.sticky-header .header-left {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    pointer-events: auto !important;
}
.sticky-header .sign-in-btn,
.sticky-header #lang-toggle {
    position: static !important;
    transform: none !important;
    min-width: 0 !important;
    pointer-events: auto !important;
    border: 1px solid rgba(42,134,121,0.18) !important;
    background: rgba(42,134,121,0.78) !important;
    color: #fff !important;
    height: 42px !important;
    padding: 0 18px !important;
    border-radius: 21px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    line-height: 1 !important;
    text-align: center !important;
    letter-spacing: 0 !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    font-family: "Somar Sans", "Inter", "Cairo", "Segoe UI", Arial, sans-serif !important;
}
.sticky-header #lang-toggle {
    min-width: 42px !important;
    font-weight: 700 !important;
    transform: translateY(1px) !important;
}
.sticky-header .sign-in-btn i {
    margin-right: 0 !important;
    font-size: 15px !important;
    line-height: 1 !important;
    transform: translateY(0.5px) !important;
}
.sticky-header .waha-logo {
    position: static !important;
    height: 48px !important;
    width: auto !important;
    transform: none !important;
    pointer-events: auto !important;
    margin-left: auto !important;
}

@media (max-width: 1024px) {
    .sticky-header {
        padding: 16px 18px !important;
        height: 82px !important;
    }
    .sticky-header .waha-logo { height: 44px !important; }
}

@media (max-width: 640px) {
    .sticky-header {
        padding: 14px 16px !important;
        height: 78px !important;
        gap: 10px !important;
    }
    .sticky-header .sign-in-btn {
        width: 44px !important;
        height: 44px !important;
        padding: 0 !important;
        border-radius: 22px !important;
        font-size: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    .sticky-header .sign-in-btn i {
        margin: 0 !important;
        font-size: 16px !important;
    }
    .sticky-header #lang-toggle {
        width: 40px !important;
        height: 40px !important;
        padding: 0 !important;
        border-radius: 20px !important;
        font-size: 12px !important;
        letter-spacing: 1px !important;
    }
    .sticky-header .waha-logo {
        height: 40px !important;
    }
}


/* Unified footer structure (home02 baseline) */
.site-footer .footer-container {
    width: 100% !important;
    max-width: none !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

.site-footer .footer-grid-wrapper.section-shell {
    width: min(100%, 1600px);
    margin: 0 auto;
    padding: 40px clamp(16px, 2.5vw, 40px) 36px !important;
    display: grid;
    grid-template-columns: minmax(240px, 1.1fr) minmax(0, 2fr);
    gap: clamp(20px, 3vw, 48px);
    align-items: start;
}

.site-footer .footer-address-wrapper {
    min-width: 0;
}

.site-footer .footer-address-section {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.site-footer .footer-address {
    margin: 0;
    color: #EBE7DC;
    opacity: 0.85;
    font-size: 13px;
    line-height: 1.8;
}

.site-footer .footer-grid-wrapper .footer-grid {
    width: 100%;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(20px, 2.4vw, 36px) !important;
    justify-content: stretch !important;
}

.site-footer .footer-column {
    min-width: 0;
}

.site-footer .footer-column h3,
.site-footer .footer-address-section h3 {
    margin: 0 0 14px;
    color: #B9DA8F !important;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 14px;
    font-weight: 600;
}

.site-footer .footer-column ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer .footer-column ul li {
    margin: 0 0 10px;
}

.site-footer .footer-column ul li a {
    color: #EBE7DC;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0;
    font-size: 14px;
}

.site-footer .footer-column ul li a i {
    font-size: 10px;
    opacity: 0;
    width: 0;
    overflow: hidden;
    margin-right: 0;
    transform: translateX(-2px);
    transition: all 0.25s ease;
}

.site-footer .footer-column ul li a:hover {
    color: #B9DA8F;
}

.site-footer .footer-column ul li a:hover i {
    opacity: 1;
    width: 10px;
    margin-right: 8px;
    transform: translateX(0);
}

.site-footer .social-links {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    margin: 0 !important;
}

.site-footer .social-link {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: rgba(185, 218, 143, 0.1);
    border: 1px solid rgba(185, 218, 143, 0.3);
    color: #B9DA8F;
    text-decoration: none;
    font-size: 17px;
    transition: all 0.25s ease;
}

.site-footer .social-link:hover {
    background: #B9DA8F;
    color: #003834;
    transform: translateY(-2px);
}

.site-footer .footer-bottom {
    width: min(100%, 1600px) !important;
    max-width: none !important;
    margin: 0 auto !important;
    padding: 18px clamp(16px, 2.5vw, 40px) 22px !important;
    border-top: 1px solid rgba(185, 218, 143, 0.15) !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 16px;
}

.site-footer .copyright p {
    margin: 0;
    color: #EBE7DC;
    opacity: 0.75;
    font-size: 13px;
    line-height: 1.5;
}

.site-footer .footer-lang {
    display: none !important;
}

@media (max-width: 1100px) {
    .site-footer .footer-grid-wrapper.section-shell {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .site-footer .footer-grid-wrapper .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .site-footer .footer-grid-wrapper.section-shell {
        padding-top: 32px !important;
        padding-bottom: 28px !important;
    }

    .site-footer .footer-grid-wrapper .footer-grid {
        grid-template-columns: 1fr;
    }

    .site-footer .footer-bottom {
        padding-top: 14px !important;
        padding-bottom: 18px !important;
    }
}

/* Template-copy parity lock (header/menu/footer) */
body .sticky-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100vw !important;
    height: 88px !important;
    padding: 20px 20px 0 20px !important;
    pointer-events: none !important;
    background: transparent !important;
    z-index: 9998 !important;
}

body .sticky-header .header-left {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    pointer-events: auto !important;
}

body .sticky-header .header-left > .sign-in-btn,
body .sticky-header .header-left > #sign-in-btn,
body .sticky-header .header-left > #lang-toggle,
body .sticky-header .header-left > .sign-in-btn:link,
body .sticky-header .header-left > #sign-in-btn:link,
body .sticky-header .header-left > .sign-in-btn:visited,
body .sticky-header .header-left > #sign-in-btn:visited {
    position: static !important;
    transform: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    min-width: 0 !important;
    height: 42px !important;
    padding: 0 18px !important;
    border-radius: 21px !important;
    border: 1px solid rgba(42, 134, 121, 0.18) !important;
    background: rgba(42, 134, 121, 0.78) !important;
    color: #fff !important;
    text-decoration: none !important;
    font-family: "Somar Sans", "Inter", "Cairo", "Segoe UI", Arial, sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
    white-space: nowrap !important;
    box-shadow: none !important;
    pointer-events: auto !important;
    transition: background 0.25s ease, border-color 0.25s ease !important;
}

body .sticky-header .header-left > #lang-toggle {
    min-width: 42px !important;
    font-weight: 700 !important;
}

body .sticky-header .header-left > .sign-in-btn:hover,
body .sticky-header .header-left > #sign-in-btn:hover,
body .sticky-header .header-left > #lang-toggle:hover,
body .sticky-header .header-left > .sign-in-btn:focus,
body .sticky-header .header-left > #sign-in-btn:focus,
body .sticky-header .header-left > #lang-toggle:focus {
    background: rgba(42, 134, 121, 0.92) !important;
    border-color: rgba(185, 218, 143, 0.45) !important;
}

body .sticky-header .header-left > .sign-in-btn > i,
body .sticky-header .header-left > #sign-in-btn > i,
body .sticky-header .header-left > #lang-toggle > i {
    margin: 0 !important;
    font-size: 15px !important;
    line-height: 1 !important;
}

body .sticky-header .waha-logo {
    position: static !important;
    margin-left: auto !important;
    width: auto !important;
    height: 52px !important;
    max-width: none !important;
    object-fit: contain !important;
    transform: none !important;
    pointer-events: auto !important;
    z-index: 9999 !important;
}

body .burger {
    z-index: 10001 !important;
    width: 56px !important;
    height: 56px !important;
}

body .nav-overlay {
    z-index: 9999 !important;
}

body .nav-menu {
    z-index: 10000 !important;
}

body .site-footer {
    width: 100% !important;
    background: #003834 !important;
    color: #EBE7DC !important;
    border-top: 1px solid rgba(185, 218, 143, 0.2) !important;
    padding: 0 !important;
}

body .site-footer .footer-grid-wrapper.section-shell {
    width: min(100%, 1600px) !important;
}

body .site-footer .footer-bottom {
    width: min(100%, 1600px) !important;
}

@media (max-width: 640px) {
    body .sticky-header {
        height: 78px !important;
        padding: 12px 12px 0 12px !important;
    }

    body .sticky-header .header-left > .sign-in-btn,
    body .sticky-header .header-left > #sign-in-btn,
    body .sticky-header .header-left > #lang-toggle {
        height: 40px !important;
        border-radius: 20px !important;
        padding: 0 14px !important;
        font-size: 12px !important;
    }

    body .sticky-header .header-left > #lang-toggle {
        min-width: 40px !important;
        padding: 0 10px !important;
    }

    body .sticky-header .waha-logo {
        height: 44px !important;
    }
}
