:root {
    --primary-color: #004D40; /* Dark Teal */
    --primary-light: #00695C;
    --secondary-color: #D4AF37; /* Gold/Yellow */
    --secondary-hover: #bda036;
    --text-dark: #333333;
    --text-light: #f5f5f5;
    --white: #ffffff;
    --bg-light: #f8f9fa;
    --transition: all 0.3s ease;
    --shadow: 0 10px 30px rgba(0,0,0,0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

.home-design-page {
    margin: 0;
    min-height: 100vh;
    background: #fff;
}

.home-design-stage {
    position: relative;
    width: min(100%, 1672px);
    margin: 0 auto;
    line-height: 0;
}

.home-design-image {
    display: block;
    width: 100%;
    height: auto;
}

.home-hotspot {
    position: absolute;
    display: block;
    z-index: 5;
    border-radius: 6px;
    line-height: 1;
    outline-offset: 3px;
}

.home-hotspot:focus-visible {
    outline: 3px solid var(--secondary-color);
}

.home-hotspot-logo { left: 3.4%; top: 7.6%; width: 11.2%; height: 9.5%; }
.home-hotspot-phone { left: 2.9%; top: 0.8%; width: 13.8%; height: 5.2%; }
.home-hotspot-email { left: 18.4%; top: 0.8%; width: 18.2%; height: 5.2%; }
.home-hotspot-login { left: 72.2%; top: 1.0%; width: 10.0%; height: 4.9%; border-radius: 26px; }
.home-hotspot-facebook { left: 83.7%; top: 1.0%; width: 2.0%; height: 4.7%; border-radius: 50%; }
.home-hotspot-instagram { left: 86.0%; top: 1.0%; width: 2.0%; height: 4.7%; border-radius: 50%; }
.home-hotspot-linkedin { left: 88.3%; top: 1.0%; width: 2.0%; height: 4.7%; border-radius: 50%; }
.home-hotspot-about { left: 32.4%; top: 10.0%; width: 6.2%; height: 6.1%; }
.home-hotspot-services { left: 40.8%; top: 10.0%; width: 7.2%; height: 6.1%; }
.home-hotspot-sectors { left: 50.4%; top: 10.0%; width: 7.0%; height: 6.1%; }
.home-hotspot-partner { left: 58.8%; top: 10.0%; width: 13.4%; height: 6.1%; }
.home-hotspot-careers { left: 72.6%; top: 10.0%; width: 6.6%; height: 6.1%; }
.home-hotspot-contact { left: 81.7%; top: 9.5%; width: 14.3%; height: 6.6%; border-radius: 32px; }
.home-hotspot-explore { left: 3.8%; top: 64.3%; width: 13.1%; height: 5.4%; border-radius: 12px; }
.home-hotspot-partner-cta { left: 18.2%; top: 64.3%; width: 11.7%; height: 5.4%; border-radius: 12px; }

@media (max-width: 900px) {
    .home-design-stage {
        width: 100%;
        min-width: 900px;
    }

    .home-design-page {
        overflow-x: auto;
    }
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1672px;
    margin: 0 auto;
    padding: 0 clamp(24px, 4vw, 66px);
}

/* Helpers */
.text-primary { color: var(--primary-color) !important; }
.text-secondary { color: var(--secondary-color) !important; }
.text-xs { font-size: 10px; margin-left: 3px; }

/* Buttons */
.btn-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white) !important;
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 600;
    border: 2px solid var(--primary-color);
    transition: var(--transition);
}
.btn-primary:hover {
    background-color: var(--primary-light);
    border-color: var(--primary-light);
    box-shadow: 0 5px 15px rgba(0, 77, 64, 0.3);
}

.btn-outline {
    display: inline-block;
    background-color: var(--white);
    color: var(--primary-color) !important;
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 600;
    border: 1px solid #ddd;
    transition: var(--transition);
}
.btn-outline:hover {
    border-color: var(--secondary-color);
    color: var(--primary-color);
}
.pill { border-radius: 50px; }
.pill-outline { border-radius: 50px; }

/* Top Bar */
.top-bar {
    background: linear-gradient(90deg, #003a34 0%, #004d40 52%, #003a34 100%);
    padding: 13px 0;
    font-size: 18px;
    color: #e0e0e0;
}
.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-bar a { color: #f8fbfa; font-weight: 500; }
.top-bar a:hover { color: var(--secondary-color); }
.top-bar i { color: var(--white); margin-right: 10px; }
.top-bar-left, .top-bar-right { display: flex; align-items: center; gap: 22px; }
.divider { color: rgba(255,255,255,0.42); }
.social-icons { display: inline-flex; align-items: center; gap: 18px; }
.social-icons a { font-size: 18px; margin: 0; }
.lang-toggle {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border: 0;
    background: transparent;
    color: #e0e0e0;
    cursor: pointer;
    font: inherit;
    font-weight: 600;
}
.lang-toggle:hover { color: var(--secondary-color); }
.btn-member-login {
    background: linear-gradient(180deg, #e9b956 0%, #c98a22 100%);
    color: var(--white) !important;
    padding: 9px 21px;
    border-radius: 20px;
    font-weight: 600 !important;
    font-size: 16px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.32), 0 8px 20px rgba(0,0,0,0.12);
}
.btn-member-login i { color: var(--white); }
.btn-member-login:hover { background-color: var(--white); }

/* Header */
.header {
    background-color: var(--white);
    padding: 15px 0;
    position: relative;
    z-index: 1000;
    box-shadow: 0 4px 18px rgba(0,0,0,0.07);
}
.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo h1, .logo a {
    display: flex;
    flex-direction: column;
    line-height: 1;
}
.logo a {
    align-items: flex-start;
}
.site-logo-img {
    display: block;
    width: 150px;
    max-width: 34vw;
    height: auto;
}
.logo-box {
    display: inline-block;
}
.content-logo-img {
    display: block;
    width: 128px;
    max-width: 100%;
    height: auto;
}
.logo-hrm {
    font-size: 32px;
    color: var(--primary-color);
    font-weight: 900;
    letter-spacing: -1px;
}
.logo-rec {
    font-size: 11px;
    color: #777;
    letter-spacing: 2px;
    font-weight: 600;
}
.nav-links {
    display: flex;
    gap: 45px;
    align-items: center;
    margin-left: auto;
    margin-right: 76px;
}
.nav-links a {
    font-weight: 600;
    font-size: 20px;
    color: var(--primary-color);
    position: relative;
}
.nav-links a:hover { color: var(--secondary-color); }
.nav-item {
    position: relative;
}
.nav-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 18px 0;
}
.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    z-index: 1200;
    min-width: 280px;
    padding: 12px;
    background: var(--white);
    border: 1px solid rgba(0, 77, 64, 0.18);
    border-radius: 8px;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.14);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 10px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}
.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: -12px;
    height: 12px;
}
.nav-dropdown-menu--wide {
    min-width: 360px;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.is-open .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}
.nav-dropdown:hover .nav-dropdown-toggle,
.nav-dropdown:focus-within .nav-dropdown-toggle,
.nav-dropdown.is-open .nav-dropdown-toggle {
    color: var(--secondary-color);
}
.nav-dropdown-menu a {
    display: block;
    padding: 8px 10px;
    border-radius: 6px;
    color: var(--text-dark);
    font-size: 15px;
    line-height: 1.25;
    white-space: nowrap;
}
.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus {
    background: rgba(0, 77, 64, 0.08);
    color: var(--primary-color);
}
.nav-actions .btn-primary {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 2px rgba(212,175,55,0.32), 0 10px 24px rgba(0,77,64,0.18);
    font-size: 20px;
    padding: 14px 27px;
}
.mobile-menu-btn { display: none; background: none; border: none; font-size: 24px; color: var(--primary-color); cursor: pointer; }

/* Swiper Hero */
.hero-slider {
    width: 100%;
    height: 506px;
    background-color: #f0f4f5;
    overflow: hidden;
}
.swiper-slide {
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
}
.slide-1 { background-image: url('../PHOTOS/dubai.jpg'); background-position: center bottom; background-size: 100% 100%; position: relative; }
.slide-1::before { content: ''; position: absolute; top:0; left:0; width: 100%; height: 100%; background: linear-gradient(90deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.9) 32%, rgba(255,255,255,0.25) 57%, rgba(255,255,255,0) 78%); }
.slide-2 { background-image: url('../PHOTOS/dubai3.jpg'); background-position: center 38%; background-size: cover; position: relative; }
.slide-2::before { content: ''; position: absolute; top:0; left:0; width: 100%; height: 100%; background: linear-gradient(90deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.94) 36%, rgba(255,255,255,0.64) 62%, rgba(255,255,255,0.18) 100%); }
.slide-2 .hero-left { width: min(100%, 650px); }
.slide-2 .hero-title { font-size: 68px; margin-bottom: 12px; }
.slide-2 .hero-subtitle { margin-top: 10px !important; margin-bottom: 14px !important; }
.slide-2 .quote-text-large { display: flex; align-items: flex-start; gap: 10px; max-width: 650px; }
.slide-2 .quote-text-large > div { flex: 1 1 auto; width: auto !important; }
.slide-2 .quote-text-large .fa-quote-left { flex: 0 0 auto; margin-right: 0 !important; margin-top: 3px; }
.slide-2 .quote-text-large p:not(:last-child) { margin-bottom: 12px !important; }
.slide-2 .ceo-signature { margin-top: 20px !important; }

.hero-container {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%;
    padding-top: 0;
}
.hero-left {
    max-width: 620px;
}
.hero-subtitle {
    position: relative;
    font-size: 20px;
    font-weight: 700;
    color: #073f3a;
    letter-spacing: 1.8px;
    margin-bottom: 15px;
    line-height: 1.38;
    text-transform: uppercase;
}
.slide-1 .hero-subtitle::after {
    content: '';
    display: block;
    width: 44px;
    height: 3px;
    margin-top: 11px;
    background: var(--secondary-color);
}
.hero-title {
    font-size: clamp(48px, 4.95vw, 78px);
    font-weight: 900;
    line-height: 0.98;
    margin-bottom: 18px;
    letter-spacing: 0;
}
.slide-1 .hero-title span:nth-of-type(1) { color: #050505 !important; }
.hero-desc {
    font-size: 18px;
    color: #444;
    margin-bottom: 21px;
    line-height: 1.48;
    font-weight: 500;
}
.hero-buttons {
    display: flex;
    gap: 26px;
}
.hero-buttons .btn-primary,
.hero-buttons .btn-outline {
    min-width: 215px;
    text-align: center;
    font-size: 16px;
    padding: 13px 24px;
}
.hero-buttons .btn-outline {
    border-color: rgba(212,175,55,0.55);
    box-shadow: 0 6px 18px rgba(0,0,0,0.04);
}
.hero-buttons .btn-outline i { color: var(--secondary-color); }

/* Quote Card Slide 1 */
.slide-1 .hero-right {
    display: flex;
    align-self: stretch;
    align-items: flex-end;
    justify-content: flex-end;
    min-width: 360px;
    padding-bottom: 26px;
}
.ceo-card {
    background: linear-gradient(145deg, rgba(0,77,64,0.98) 0%, rgba(0,52,47,0.97) 100%);
    color: var(--white);
    padding: 34px 39px 24px;
    border-radius: 14px;
    width: 315px;
    max-width: 100%;
    border: 1px solid rgba(212,175,55,0.72);
    box-shadow: 0 20px 44px rgba(0,0,0,0.24);
    position: relative;
}
.quote-mark {
    position: absolute;
    top: 11px;
    left: 22px;
    font-size: 62px;
    color: var(--secondary-color);
    font-family: serif;
    line-height: 1;
}
.ceo-card p {
    color: var(--white);
    font-size: 18px;
    line-height: 1.45;
    margin-top: 25px;
    margin-bottom: 24px;
    font-weight: 500;
    padding-left: 19px;
}
.ceo-signature {
    display: flex;
    align-items: center;
    border-top: 1px solid rgba(212,175,55,0.28);
    padding-top: 18px;
}
.ceo-signature h4 {
    color: var(--secondary-color);
    font-size: 15px;
    margin-bottom: 2px;
}
.ceo-signature span {
    font-size: 12px;
    color: var(--white);
}

/* Circle Badge Slide 2 */
.badge-circle {
    width: 250px;
    height: 250px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    border: 8px solid var(--secondary-color);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}
.badge-content p {
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    margin-top: 10px;
}
.badge-icons i {
    color: var(--secondary-color);
    font-size: 16px;
    margin: 0 2px;
}

/* Swiper UI */
.swiper-button-next, .swiper-button-prev {
    color: var(--white) !important;
    background-color: rgba(0, 77, 64, 0.8);
    width: 50px !important;
    height: 50px !important;
    border-radius: 50%;
}
.swiper-button-next::after, .swiper-button-prev::after { font-size: 20px !important; }
.swiper-pagination-bullet { background: var(--white) !important; opacity: 0.5 !important; }
.swiper-pagination-bullet-active { background: var(--secondary-color) !important; opacity: 1 !important; }

.hero-slider .swiper-slide-active,
.hero-slider .swiper-slide-duplicate-active {
    opacity: 1 !important;
    visibility: visible !important;
}

.hero-slider .swiper-slide-active .hero-container,
.hero-slider .swiper-slide-duplicate-active .hero-container {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Slide 3 */
.slide-3 {
    background-image: url('../PHOTOS/handshake.jpg');
    background-position: center center;
    background-size: cover;
    position: relative;
}
.slide-3::before { content: ''; position: absolute; top:0; left:0; width: 100%; height: 100%; background: linear-gradient(90deg, rgba(255,255,255,0.96) 0%, rgba(255,255,255,0.9) 46%, rgba(255,255,255,0.56) 68%, rgba(255,255,255,0.12) 100%); }
.slide-3 .hero-container {
    display: grid !important;
    grid-template-columns: minmax(360px, 0.92fr) minmax(440px, 1.08fr);
    grid-template-rows: auto auto 1fr;
    column-gap: 48px;
    align-content: start;
    padding-top: 24px !important;
    padding-bottom: 76px;
}
.s3-header { display: flex; align-items: center; gap: 20px; }
.slide-3 .s3-logo .content-logo-img { width: 120px; }
.slide-3 .s3-title-box h2 {
    font-size: 34px !important;
    line-height: 1.05;
}
.slide-3 .s3-title-box p {
    font-size: 14px !important;
    line-height: 1.35;
}
.s3-divider { width: 2px; height: 60px; background-color: #ddd; }
.slide-3 .hero-container > p {
    max-width: 560px !important;
    margin-top: 12px !important;
    font-size: 14px !important;
    line-height: 1.45 !important;
}
.s3-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 15px; align-content: flex-start; }
.s3-pill { background-color: var(--primary-color); color: var(--white); padding: 10px 12px; border-radius: 5px; display: flex; align-items: center; gap: 10px; font-size: 10px; flex: 1 1 138px; max-width: 170px; min-height: 70px; }
.s3-pill i { font-size: 21px; }
.s3-pill strong { font-size: 11px; line-height: 1.05; }
.s3-pill small { line-height: 1.15; }
.s3-partners-section {
    grid-column: 2;
    grid-row: 1 / span 3;
    align-self: end;
    margin-top: 0;
    margin-bottom: 6px;
    padding: 18px 22px 17px;
    background: rgba(255,255,255,0.9);
    border: 1px solid rgba(0,77,64,0.14);
    border-radius: 14px;
    box-shadow: 0 18px 46px rgba(0,0,0,0.1);
}
.s3-divider-text { display: flex; align-items: center; text-align: center; color: var(--primary-color); font-weight: 700; font-size: 12px; margin-bottom: 10px; }
.s3-divider-text::before, .s3-divider-text::after { content: ''; flex: 1; border-bottom: 1px solid #ccc; }
.s3-divider-text:not(:empty)::before { margin-right: .25em; }
.s3-divider-text:not(:empty)::after { margin-left: .25em; }
.s3-platinum-logos { display: flex; justify-content: center; align-items: center; margin-bottom: 13px; }
.s3-trusted-logos { display: flex; justify-content: center; align-items: center; }
.s3-partner-logo-image { display: block; width: 100%; height: auto; object-fit: contain; }
.s3-partner-logo-image--platinum { max-width: 430px; max-height: 76px; }
.s3-partner-logo-image--trusted { max-width: 100%; max-height: 92px; }
.t-logo { background: var(--white); border: 1px solid #eee; padding: 10px 15px; border-radius: 5px; min-width: 100px; text-align: center; box-shadow: 0 2px 5px rgba(0,0,0,0.05); }
.s3-bottom-bar { position: absolute; bottom: 0; left: 0; width: 100%; height: 60px; background-color: var(--primary-color); z-index: 20; }

/* Slide 4 */
.slide-4 {
    background-image: url('../PHOTOS/connecting.jpg');
    background-position: center 38%;
    background-size: cover;
    position: relative;
}
.slide-4::before { content: ''; position: absolute; top:0; left:0; width: 100%; height: 100%; background: linear-gradient(90deg, rgba(255,255,255,0.96) 0%, rgba(255,255,255,0.88) 34%, rgba(255,255,255,0.4) 65%, rgba(255,255,255,0.16) 100%), linear-gradient(180deg, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.58) 42%, rgba(255,255,255,0) 100%); }
.s4-title { font-size: 48px; font-weight: 800; line-height: 1.1; margin: 15px 0; }
.s4-desc { font-size: 16px; color: #444; font-weight: 500; }
.s4-wave-container { position: absolute; bottom: 0; left: 0; width: 100%; background: var(--primary-color); height: 200px; border-top-left-radius: 50% 100px; border-top-right-radius: 50% 100px; z-index: 20; }
.s4-wave-content { display: flex; justify-content: space-between; padding-top: 30px; position: relative; }
.s4-mission, .s4-vision { width: 35%; color: var(--white); }
.s4-icon-title { display: flex; align-items: center; gap: 10px; margin-bottom: 15px; color: var(--secondary-color); }
.s4-icon-title h3 { color: var(--white); font-weight: 400; font-size: 18px; }
.s4-mission p, .s4-vision p { font-size: 13px; line-height: 1.6; opacity: 0.9; }
.s4-center-badge { position: absolute; left: 50%; top: -50px; transform: translateX(-50%); width: 140px; height: 140px; background: var(--primary-color); border: 4px solid var(--secondary-color); border-radius: 50%; display: flex; justify-content: center; align-items: center; text-align: center; box-shadow: 0 10px 20px rgba(0,0,0,0.3); }
.s4-badge-inner { color: var(--white); line-height: 1.4; }
.s4-bottom-bar { position: absolute; bottom: 0; left: 0; width: 100%; height: 50px; border-top: 1px solid rgba(255,255,255,0.1); color: var(--white); }

/* Values Bar */
.values-bar {
    background: linear-gradient(135deg, #003f37 0%, #005142 52%, #003a34 100%);
    padding: 23px 0 24px;
    position: relative;
    z-index: 20;
}
.values-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 0;
}
.value-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 18px;
    flex: 1;
    min-width: 0;
    padding: 0 31px;
}
.value-item:first-child { padding-left: 0; }
.value-item:last-child { padding-right: 0; }
.value-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 8px;
    bottom: 8px;
    width: 1px;
    background: rgba(212,175,55,0.72);
}
.v-icon {
    min-width: 48px;
    text-align: center;
    font-size: 42px;
    color: var(--secondary-color);
}
.v-text {
    color: var(--white);
    font-size: 15px;
    line-height: 1.38;
}
.v-text strong {
    font-size: 18px;
}
.v-desc {
    display: block;
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    margin-top: 7px;
    line-height: 1.48;
}

/* Stats Bar */
.stats-bar {
    background: linear-gradient(180deg, #003a34 0 36px, var(--white) 36px 100%);
    padding: 0;
    border-bottom: 1px solid #eee;
}
.stats-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 0;
    background: rgba(255,255,255,0.97);
    border: 2px solid var(--secondary-color);
    border-bottom: 0;
    border-radius: 28px 28px 0 0;
    padding: 19px 36px 18px;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.06);
}
.stat-item {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
    min-width: 0;
    border-right: 1px solid rgba(212,175,55,0.34);
    padding: 0 30px;
}
.stat-item:first-child { padding-left: 0; }
.stat-item:last-child { padding-right: 0; }
.stat-item:last-child { border-right: none; }
.s-icon {
    min-width: 55px;
    text-align: center;
    font-size: 45px;
    color: var(--secondary-color);
}
.s-text {
    color: var(--primary-color);
    font-size: 17px;
    line-height: 1.24;
    font-weight: 600;
}
.s-text strong {
    display: inline-flex;
    align-items: baseline;
    white-space: nowrap;
    font-size: 31px;
    font-weight: 800;
    color: var(--primary-color);
}
.counter {
    display: inline;
    font-variant-numeric: tabular-nums;
}
.s-text > span {
    display: block;
    color: #202020;
    margin-top: 8px;
    font-size: 13px;
    font-weight: 500;
}

/* Mobile Nav */
.mobile-nav {
    position: fixed; top: 0; bottom: 0; right: -100%; width: 300px;
    background-color: var(--white); z-index: 2000; padding: 70px 24px 40px;
    display: flex; flex-direction: column; gap: 18px; box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    transition: right 0.4s ease;
    overflow-y: auto;
}
.mobile-nav > * {
    flex-shrink: 0;
}
.mobile-nav.open { right: 0; }
.close-menu-btn { position: absolute; top: 20px; right: 20px; background: none; border: none; font-size: 28px; color: var(--primary-color); cursor: pointer; }
.mobile-nav a { font-size: 18px; font-weight: 600; border-bottom: 1px solid #eee; padding-bottom: 10px; }
.mobile-nav-group {
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}
.mobile-nav .mobile-nav-heading {
    display: block;
    border-bottom: none;
    padding-bottom: 8px;
}
.mobile-submenu {
    display: grid;
    gap: 5px;
    padding-left: 12px;
}
.mobile-submenu a {
    border-bottom: none;
    padding: 5px 0;
    color: #2e4a46;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.25;
}
.mobile-submenu a:hover,
.mobile-submenu a:focus {
    color: var(--secondary-color);
}
.mobile-nav .lang-toggle {
    width: 100%;
    justify-content: flex-start;
    color: var(--primary-color);
    font-size: 18px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

/* Subpage Enhancements */
.page-banner { position: relative; height: 40vh; min-height: 300px; background: url("https://images.unsplash.com/photo-1497366216548-37526070297c?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80") center/cover no-repeat; display: flex; align-items: center; color: var(--white); text-align: center; }
.banner-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 77, 64, 0.85); }
.relative { position: relative; }
.z-10 { z-index: 10; }
.page-banner h1 { font-size: 48px; font-weight: 800; margin-bottom: 10px; color: var(--secondary-color); }
.page-banner p { font-size: 18px; }

.section-padding { padding: 80px 0; }
.bg-light { background-color: var(--bg-light); }
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mt-40 { margin-top: 40px; }

.section-title { margin-bottom: 50px; }
.section-title h2 { font-size: 36px; color: var(--primary-color); margin-bottom: 15px; }
.section-title p { font-size: 18px; color: #666; }

.about-flex { display: flex; gap: 50px; align-items: center; }
.about-text { flex: 1; }
.about-text h2 { font-size: 32px; color: var(--primary-color); margin-bottom: 20px; }
.about-text p { font-size: 16px; line-height: 1.8; margin-bottom: 15px; color: #555; }
.commitments .commit-item { margin-bottom: 10px; font-weight: 600; color: var(--primary-color); display: flex; align-items: center; gap: 10px; }
.commitments .commit-item i { color: var(--secondary-color); font-size: 20px; }
.about-image { flex: 1; }

.pillars-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.pillar-card { background: var(--white); padding: 40px 30px; border-radius: 10px; text-align: center; box-shadow: var(--shadow); border-top: 4px solid var(--primary-color); transition: var(--transition); }
.pillar-card:hover { transform: translateY(-10px); border-top-color: var(--secondary-color); }
.pillar-card i { font-size: 40px; color: var(--secondary-color); margin-bottom: 20px; }
.pillar-card h3 { font-size: 22px; color: var(--primary-color); margin-bottom: 15px; }
.pillar-card p { color: #666; line-height: 1.6; }

.expertise-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; }
.expertise-tags span { display: inline-block; padding: 12px 25px; background: var(--white); border: 1px solid #ddd; border-radius: 50px; font-weight: 600; color: var(--primary-color); box-shadow: 0 4px 10px rgba(0,0,0,0.03); transition: var(--transition); cursor: pointer; }
.expertise-tags span:hover { background: var(--primary-color); color: var(--white); border-color: var(--primary-color); }

.services-list { display: flex; flex-direction: column; gap: 30px; max-width: 900px; margin: 0 auto; }
.service-item { display: flex; gap: 30px; background: var(--white); padding: 40px; border-radius: 10px; box-shadow: var(--shadow); border-left: 5px solid var(--primary-color); transition: var(--transition); }
.service-item:hover { transform: translateX(10px); border-left-color: var(--secondary-color); }
.service-icon { font-size: 45px; color: var(--secondary-color); min-width: 60px; text-align: center; }
.service-content h3 { font-size: 24px; color: var(--primary-color); margin-bottom: 15px; }
.service-content p { color: #555; line-height: 1.7; font-size: 16px; }

/* About Page (Sector Layout) */
.about-page-wrapper { background: #fdfdfd; }
.about-graphic-box { position: relative; background: url('../PHOTOS/dubai4.jpg') center center/cover no-repeat; border-radius: 10px; overflow: hidden; box-shadow: 0 15px 40px rgba(0,0,0,0.1); min-height: 500px; display: flex; flex-direction: column; }
.top-right-tag { position: absolute; top: 30px; right: 40px; text-align: right; color: var(--white); font-weight: 600; font-size: 14px; z-index: 10; }
.top-right-tag .tag-line { height: 2px; width: 40px; background: var(--white); margin-top: 5px; margin-left: auto; }
.about-graphic-left { background: linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0.95) 45%, rgba(255,255,255,0) 100%); padding: 50px; width: 65%; flex-grow: 1; position: relative; z-index: 5; }
.about-graphic-title { font-size: 36px; font-weight: 800; line-height: 1.1; margin: 20px 0; }
.about-graphic-desc { font-size: 13px; color: #444; font-weight: 500; margin-bottom: 30px; max-width: 400px; }
.about-graphic-pillars { display: flex; gap: 15px; }
.ag-pillar { text-align: center; }
.ag-icon { width: 50px; height: 50px; background: rgba(0,77,64,0.1); border-radius: 50%; display: flex; justify-content: center; align-items: center; margin: 0 auto 10px; color: var(--primary-color); font-size: 20px; }
.ag-pillar h4 { font-size: 11px; font-weight: 800; color: #333; margin-bottom: 5px; }
.ag-pillar p { font-size: 9px; color: #666; line-height: 1.4; }

.expertise-banner { background: var(--primary-color); color: var(--white); display: flex; align-items: center; border-radius: 0 20px 0 0; width: 85%; }
.exp-title { padding: 15px 20px; font-weight: 700; font-size: 14px; border-right: 1px solid rgba(255,255,255,0.2); }
.exp-icons { display: flex; justify-content: space-around; flex-grow: 1; padding: 10px 0; }
.exp-item { text-align: center; font-size: 9px; opacity: 0.8; }
.exp-item i { font-size: 20px; display: block; margin-bottom: 5px; }

.about-bottom-bar { background: var(--white); display: flex; justify-content: space-between; align-items: stretch; border-radius: 0 0 10px 10px; border-top: 1px solid #eee; }
.about-bb-left { display: flex; gap: 40px; padding: 20px 40px; }
.bb-item { display: flex; gap: 15px; align-items: flex-start; }
.bb-icon i { font-size: 32px; color: var(--secondary-color); }
.bb-text h5 { font-size: 12px; color: var(--primary-color); margin-bottom: 5px; }
.bb-text p { font-size: 10px; color: #555; }
.about-bb-right { background: var(--primary-color); color: var(--white); display: flex; align-items: center; gap: 15px; padding: 0 40px; border-radius: 30px 0 10px 0; }
.pill-text { font-size: 12px; font-weight: 700; line-height: 1.4; }

/* Services Page Layout */
.services-page-wrapper {
    background:
        linear-gradient(180deg, #f7faf9 0%, #ffffff 34%, #f5f8f7 100%);
}

.services-shell {
    max-width: 1300px;
    padding-top: clamp(28px, 4vw, 48px);
    padding-bottom: clamp(46px, 6vw, 78px);
}

.service-map-hero {
    overflow: hidden;
    border: 1px solid rgba(0, 77, 64, 0.1);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 20px 55px rgba(0, 38, 34, 0.11);
}

.service-map-hero img {
    display: block;
    width: 100%;
    height: auto;
}

.services-intro-row {
    display: grid;
    grid-template-columns: minmax(280px, 0.86fr) minmax(460px, 1.14fr);
    gap: clamp(24px, 4vw, 52px);
    align-items: start;
    margin: clamp(34px, 5vw, 58px) 0 clamp(28px, 5vw, 48px);
}

.services-intro-copy {
    max-width: 540px;
}

.service-kicker,
.service-number {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--secondary-color);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.service-kicker::before {
    content: "";
    width: 34px;
    height: 2px;
    border-radius: 99px;
    background: var(--secondary-color);
}

.services-intro-copy h1 {
    margin: 13px 0 14px;
    color: #071411;
    font-size: clamp(31px, 4.5vw, 52px);
    font-weight: 900;
    line-height: 1.03;
}

.services-intro-copy p {
    color: #53615d;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.75;
}

.services-index {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.service-index-card {
    display: flex;
    min-height: 74px;
    align-items: center;
    gap: 14px;
    border: 1px solid rgba(0, 77, 64, 0.12);
    border-radius: 8px;
    background: var(--white);
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 800;
    line-height: 1.2;
    padding: 16px 18px;
    box-shadow: 0 12px 28px rgba(0, 38, 34, 0.06);
}

.service-index-card:hover {
    transform: translateY(-2px);
    border-color: rgba(212, 175, 55, 0.75);
    box-shadow: 0 16px 32px rgba(0, 38, 34, 0.1);
}

.service-index-card span {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    place-items: center;
    border-radius: 50%;
    background: rgba(0, 77, 64, 0.08);
    color: var(--secondary-color);
    font-size: 13px;
}

.service-visual-list {
    display: grid;
    gap: clamp(22px, 3vw, 34px);
}

.service-visual-card {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
    overflow: hidden;
    border: 1px solid rgba(0, 77, 64, 0.1);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 18px 46px rgba(0, 38, 34, 0.1);
}

.service-visual-card:nth-child(even) {
    grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.08fr);
}

.service-visual-card:nth-child(even) .service-card-media {
    order: 2;
}

.service-card-media {
    min-height: 100%;
    background: #043d35;
}

.service-card-media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
}

.service-card-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(28px, 4vw, 54px);
}

.service-card-copy h2 {
    margin: 11px 0 16px;
    color: var(--primary-color);
    font-size: clamp(27px, 3vw, 40px);
    font-weight: 900;
    line-height: 1.05;
}

.service-card-copy p {
    color: #52615d;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.75;
}

.service-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 24px;
}

.service-chip {
    border: 1px solid rgba(0, 77, 64, 0.13);
    border-radius: 999px;
    background: #f6faf9;
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.2;
    padding: 9px 13px;
}

.service-cta-strip {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    margin-top: clamp(30px, 5vw, 56px);
    border-radius: 8px;
    background: linear-gradient(135deg, #003f37 0%, #00584b 100%);
    color: var(--white);
    padding: clamp(24px, 3vw, 34px);
    box-shadow: 0 18px 44px rgba(0, 38, 34, 0.18);
}

.service-cta-strip span,
.service-cta-strip strong {
    display: block;
}

.service-cta-strip span {
    margin-bottom: 5px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
}

.service-cta-strip strong {
    font-size: clamp(22px, 3vw, 33px);
    font-weight: 900;
    line-height: 1.12;
}

.service-cta-strip .btn-primary {
    flex: 0 0 auto;
    border-color: var(--secondary-color);
    background: var(--white);
    color: var(--primary-color) !important;
}

/* Clients Say Section */
.clients-say-section { margin-top: 60px; background: #fdfdfd; border-radius: 10px; overflow: hidden; box-shadow: 0 15px 40px rgba(0,0,0,0.05); }
.cs-header-box { display: flex; justify-content: space-between; align-items: flex-start; padding: 40px 50px 20px; border-bottom: 1px solid #eee; background: url('https://images.unsplash.com/photo-1512632578888-169bbbc64f33?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center right/cover no-repeat; position: relative; }
.cs-header-box::before { content: ''; position: absolute; top:0; left:0; width: 100%; height: 100%; background: linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0.95) 60%, rgba(255,255,255,0) 100%); z-index: 1; }
.cs-header-left, .cs-badge { position: relative; z-index: 2; }
.cs-badge { background: var(--primary-color); color: var(--white); border: 4px solid var(--secondary-color); border-radius: 50%; width: 130px; height: 130px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; font-weight: 700; font-size: 11px; line-height: 1.3; box-shadow: 0 10px 20px rgba(0,0,0,0.2); }
.cs-testimonials-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: #eee; padding: 1px; }
.cs-card { background: var(--white); padding: 30px; display: flex; flex-direction: column; }
.cs-card-header { display: flex; justify-content: space-between; margin-bottom: 15px; }
.cs-stars { color: var(--secondary-color); font-size: 14px; }
.cs-stars.is-star-counter i {
    opacity: 0;
    transform: translateY(5px) scale(0.45);
}
.cs-stars.is-star-counter.is-counting i {
    animation: starCounterPop 0.42s cubic-bezier(0.2, 0.8, 0.3, 1.35) forwards;
    animation-delay: var(--star-delay, 0ms);
}
.cs-stars.is-star-counter.is-counting i:nth-child(1) { --star-delay: 0ms; }
.cs-stars.is-star-counter.is-counting i:nth-child(2) { --star-delay: 120ms; }
.cs-stars.is-star-counter.is-counting i:nth-child(3) { --star-delay: 240ms; }
.cs-stars.is-star-counter.is-counting i:nth-child(4) { --star-delay: 360ms; }
.cs-stars.is-star-counter.is-counting i:nth-child(5) { --star-delay: 480ms; }
.cs-quote-icon { font-size: 32px; color: var(--primary-color); opacity: 0.8; }
.cs-card-text { font-size: 11px; color: #333; line-height: 1.6; font-weight: 500; margin-bottom: 20px; flex-grow: 1; }
.cs-author { display: flex; align-items: center; gap: 15px; border-top: 1px solid #eee; padding-top: 15px; }
.cs-author-icon { width: 45px; height: 45px; background: var(--primary-color); color: var(--white); border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 18px; }
.cs-author-info { font-size: 10px; color: #666; line-height: 1.3; }
.cs-author-info strong { color: #333; font-size: 11px; }
.cs-bottom-bar { background: var(--primary-color); color: var(--white); border-radius: 0 0 10px 10px; overflow: hidden; }
.cs-stats-grid { display: flex; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,0.1); }
.cs-stat { flex: 1; display: flex; align-items: center; gap: 10px; padding: 20px; border-right: 1px solid rgba(255,255,255,0.1); font-size: 10px; line-height: 1.3; }
.cs-stat:last-child { border-right: none; }
.cs-stat i { font-size: 32px; min-width: 40px; text-align: center; }
.cs-stat strong { font-size: 13px; display: block; margin-bottom: 2px; }
.cs-bottom-text { text-align: center; padding: 15px; font-weight: 700; font-size: 13px; color: var(--secondary-color); letter-spacing: 1px; }

@keyframes starCounterPop {
    0% {
        opacity: 0;
        transform: translateY(5px) scale(0.45) rotate(-12deg);
    }
    65% {
        opacity: 1;
        transform: translateY(-2px) scale(1.2) rotate(5deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1) rotate(0deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .cs-stars.is-star-counter i {
        opacity: 1;
        transform: none;
    }

    .cs-stars.is-star-counter.is-counting i {
        animation: none;
    }
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #003f37 0%, var(--primary-color) 52%, #003a34 100%);
    color: var(--white);
    padding: 80px 0 20px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.5fr; gap: 50px; margin-bottom: 40px; }
.footer-logo {
    display: inline-block;
    background: var(--white);
    border-radius: 6px;
    padding: 9px 11px;
    margin-bottom: 20px;
}
.footer-logo img {
    display: block;
    width: 142px;
    max-width: 100%;
    height: auto;
}
.footer-col h2 { color: var(--white); margin-bottom: 20px; }
.footer-col h2 span { color: var(--secondary-color); }
.footer-col h3 { color: var(--white); margin-bottom: 25px; font-size: 20px; }
.footer-col.about p { margin-bottom: 25px; line-height: 1.8; color: rgba(255,255,255,0.86); }
.footer-col.links ul li { margin-bottom: 15px; }
.footer-col.links ul li a,
.footer-col.contact ul li,
.footer-col.contact ul li a {
    color: rgba(255,255,255,0.9);
}
.footer .social-icons a {
    color: var(--white);
}
.footer .social-icons a:hover,
.footer-col.links ul li a:hover,
.footer-col.contact ul li a:hover {
    color: var(--secondary-color);
}
.footer-col.links ul li a:hover { padding-left: 5px; }
.footer-col.contact ul li { margin-bottom: 15px; display: flex; align-items: flex-start; gap: 15px; }
.footer-col.contact ul li i { color: var(--secondary-color); margin-top: 5px; }
.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.18);
    color: var(--white);
}
.footer-bottom p {
    margin: 0;
    color: rgba(255,255,255,0.88);
    line-height: 1.7;
}

/* Legal Popup */
body.legal-modal-open {
    overflow: hidden;
}

.legal-modal {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.legal-modal.is-open {
    display: flex;
}

.legal-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 20, 22, 0.74);
    backdrop-filter: blur(4px);
}

.legal-modal__dialog {
    position: relative;
    display: flex;
    width: min(900px, 100%);
    max-height: min(860px, calc(100vh - 48px));
    flex-direction: column;
    overflow: hidden;
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

.legal-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 20px 24px;
    border-bottom: 1px solid #dce7e4;
    background: #f7fbfa;
}

.legal-modal__eyebrow {
    color: #009b9b;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.legal-modal__header h2 {
    color: var(--primary-color);
    font-size: 24px;
    line-height: 1.2;
    font-weight: 900;
}

.legal-modal__close {
    display: inline-flex;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: #e8f2f0;
    color: var(--primary-color);
    cursor: pointer;
    transition: var(--transition);
}

.legal-modal__close:hover {
    background: var(--primary-color);
    color: var(--white);
}

.legal-modal__body {
    overflow-y: auto;
    padding: 0 24px 26px;
}

.legal-document {
    color: #111;
    font-size: 14px;
    line-height: 1.58;
    padding-top: 22px;
}

.legal-document h3 {
    color: #009b9b;
    font-size: 18px;
    line-height: 1.3;
    font-weight: 900;
    margin-bottom: 6px;
}

.legal-document h4 {
    color: #101918;
    font-size: 15px;
    line-height: 1.35;
    font-weight: 900;
    margin-bottom: 7px;
}

.legal-document p {
    margin-bottom: 9px;
}

.legal-document a {
    color: #009b9b;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal-document section {
    padding: 14px 0 12px;
    border-top: 1px solid #9ba8a6;
}

.legal-document ul {
    margin: 5px 0 10px 24px;
    padding-left: 18px;
    list-style: disc;
}

.legal-document li {
    margin-bottom: 4px;
    padding-left: 2px;
}

/* Arabic language mode */
html[dir="rtl"] body {
    direction: rtl;
    text-align: right;
    font-family: 'Cairo', 'Outfit', Tahoma, Arial, sans-serif !important;
}

html[dir="rtl"] .logo,
html[dir="rtl"] .logo *,
html[dir="rtl"] .s3-logo,
html[dir="rtl"] .s3-logo *,
html[dir="rtl"] .s4-logo,
html[dir="rtl"] .s4-logo * {
    direction: ltr;
    text-align: left;
}

html[dir="rtl"] .top-bar i,
html[dir="rtl"] .btn-primary i,
html[dir="rtl"] .btn-outline i,
html[dir="rtl"] .btn-member-login i {
    margin-right: 0;
    margin-left: 5px;
}

html[dir="rtl"] .text-xs {
    margin-left: 0;
    margin-right: 3px;
}

html[dir="rtl"] .nav-links,
html[dir="rtl"] .top-bar-left,
html[dir="rtl"] .top-bar-right,
html[dir="rtl"] .hero-buttons,
html[dir="rtl"] .ceo-signature,
html[dir="rtl"] .s3-pills,
html[dir="rtl"] .values-grid,
html[dir="rtl"] .stats-grid,
html[dir="rtl"] .footer-grid {
    direction: rtl;
}

html[dir="rtl"] .hero-left,
html[dir="rtl"] .services-graphic-left,
html[dir="rtl"] .about-graphic-left,
html[dir="rtl"] .footer-col,
html[dir="rtl"] .legal-document,
html[dir="rtl"] .page-banner,
html[dir="rtl"] .section-header {
    text-align: right;
}

html[dir="rtl"] .about-graphic-left {
    background: linear-gradient(-90deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0.95) 45%, rgba(255,255,255,0) 100%);
}

html[dir="rtl"] .top-right-tag {
    right: auto;
    left: 40px;
    text-align: left;
}

html[dir="rtl"] .top-right-tag .tag-line {
    margin-left: 0;
    margin-right: auto;
}

html[dir="rtl"] .hero-desc,
html[dir="rtl"] .services-graphic-desc {
    margin-left: auto;
    margin-right: 0;
}

html[dir="rtl"] .quote-text-large i,
html[dir="rtl"] .fa-quote-left {
    margin-right: 0 !important;
    margin-left: 10px !important;
}

html[dir="rtl"] .fa-chevron-right,
html[dir="rtl"] .fa-arrow-right {
    transform: rotate(180deg);
}

html[dir="rtl"] .mobile-nav {
    right: auto;
    left: -100%;
    text-align: right;
}

html[dir="rtl"] .mobile-nav.open {
    right: auto;
    left: 0;
}

html[dir="rtl"] .close-menu-btn {
    right: auto;
    left: 20px;
}

html[dir="rtl"] .legal-document ul {
    margin-left: 0;
    margin-right: 20px;
    padding-left: 0;
    padding-right: 18px;
}

/* Responsive */
@media (max-width: 1200px) {
    .cs-testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .container { padding: 0 24px; }
    .top-bar { font-size: 14px; }
    .top-bar-left, .top-bar-right { gap: 14px; }
    .site-logo-img { width: 132px; }
    .nav-links { gap: 22px; }
    .nav-links { margin-right: 24px; }
    .nav-links a, .nav-actions .btn-primary { font-size: 15px; }
    .nav-actions .btn-primary { padding: 12px 22px; }
    .hero-slider { height: 545px; }
    .value-item { padding: 0 18px; }
    .v-icon { font-size: 34px; min-width: 40px; }
    .v-text strong { font-size: 15px; }
    .v-text, .s-text { font-size: 13px; }
    .stat-item { padding: 0 18px; gap: 14px; }
    .s-icon { font-size: 34px; min-width: 42px; }
    .s-text strong { font-size: 26px; }
    .slide-3 .hero-container {
        grid-template-columns: minmax(330px, 0.9fr) minmax(360px, 1fr);
        column-gap: 26px;
    }
    .slide-3 .s3-title-box h2 { font-size: 30px !important; }
    .s3-partners-section { padding: 15px 17px; }
    .s3-partner-logo-image--platinum { max-height: 64px; }
    .s3-partner-logo-image--trusted { max-height: 74px; }
}

@media (max-width: 1400px) {
    .swiper-button-next,
    .swiper-button-prev {
        width: 42px !important;
        height: 42px !important;
    }

    .swiper-button-next::after,
    .swiper-button-prev::after {
        font-size: 17px !important;
    }

    .swiper-button-prev { left: 8px !important; }
    .swiper-button-next { right: 8px !important; }
}

@media (max-width: 1024px) {
    .hero-container { flex-direction: column; text-align: center; justify-content: center; padding-top: 20px; }
    .hero-title { font-size: 40px; }
    .hero-desc { font-size: 14px; }
    .hero-buttons { justify-content: center; }
    .hero-right, .slide-1 .hero-right { display: none; } /* Hide cards on small screens for simplicity */
    .slide-2 { background-position: 62% center; }
    .slide-2::before { background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.92) 52%, rgba(255,255,255,0.78) 100%); }
    .slide-2 .hero-left { width: min(100%, 680px); }
    .slide-2 .hero-title { font-size: 40px; }
    .slide-2 .quote-text-large { margin-left: auto; margin-right: auto; text-align: left; }
    .values-grid, .stats-grid { flex-wrap: wrap; }
    .value-item { min-width: 30%; padding: 10px 18px; }
    .value-item:not(:last-child)::after { display: none; }
    .stats-grid { gap: 18px 0; }
    .stat-item { min-width: 30%; }
    .stat-item { border-right: none; border-bottom: 1px solid #eee; padding-bottom: 10px; }
    
    /* Index Slide 3 & 4 */
    .slide-3, .slide-4 { flex-direction: column; justify-content: center; }
    .slide-3 { background-position: 66% center; }
    .slide-3::before { background: linear-gradient(180deg, rgba(255,255,255,0.97) 0%, rgba(255,255,255,0.92) 58%, rgba(255,255,255,0.78) 100%); }
    .slide-3 .hero-container { display: block !important; padding-bottom: 0; }
    .s3-header { flex-direction: column; text-align: center; }
    .s3-divider { width: 60px; height: 2px; }
    .s3-pills { flex-wrap: wrap; justify-content: center; }
    .s3-bottom-bar { height: auto; padding: 15px 0; position: relative; }
    .s3-bottom-bar .container { flex-direction: column; gap: 10px; text-align: center; }
    .s3-partners-section { margin-top: 20px; margin-bottom: 0; }
    
    .slide-4 { background-position: center 30%; }
    .slide-4::before { background: linear-gradient(180deg, rgba(255,255,255,0.97) 0%, rgba(255,255,255,0.9) 43%, rgba(255,255,255,0.42) 100%); }
    .s4-wave-container { height: auto; border-radius: 0; position: relative; width: 100%; margin-top: 20px; }
    .s4-wave-content { flex-direction: column; align-items: center; text-align: center; padding: 30px 20px; gap: 30px; }
    .s4-mission, .s4-vision { width: 100%; }
    .s4-icon-title { justify-content: center; }
    .s4-center-badge { position: relative; top: 0; transform: none; margin: 20px 0; }
    .s4-bottom-bar { height: auto; position: relative; padding: 15px 0; }
    .s4-bottom-bar .container { flex-wrap: wrap; justify-content: center; gap: 15px; }
    
    /* About */
    .about-graphic-left { width: 100%; background: rgba(255,255,255,0.95); text-align: center; padding: 30px 20px; }
    .about-graphic-pillars { flex-wrap: wrap; justify-content: center; }
    .expertise-banner { width: 100%; flex-direction: column; border-radius: 0; }
    .exp-title { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.2); width: 100%; text-align: center; }
    .exp-icons { flex-wrap: wrap; justify-content: center; gap: 15px; padding: 20px; }
    .about-bottom-bar { flex-direction: column; }
    .about-bb-left { flex-direction: column; padding: 20px; gap: 20px; }
    .about-bb-right { justify-content: center; padding: 30px; border-radius: 0; }
    .top-right-tag { display: none; }
    
    /* Clients Say */
    .cs-header-box { flex-direction: column; align-items: center; text-align: center; }
    .cs-header-left > div { flex-direction: column; }
    .cs-header-left .s3-divider { width: 50px; height: 2px; margin: 15px 0; }
    .cs-badge { margin-top: 30px; }
    .cs-stats-grid { flex-wrap: wrap; }
    .cs-stat { min-width: 45%; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
    
    /* Services */
    .services-graphic-left { width: 100%; background: rgba(255,255,255,0.95); text-align: center; }
    .services-divider-line { margin: 15px auto; }
    .services-graphic-desc { margin: 0 auto; }
    .services-bottom-banner { flex-wrap: wrap; }
    .s-banner-item { min-width: 45%; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
    .services-intro-row { grid-template-columns: 1fr; }
    .services-intro-copy { max-width: 760px; }
    .service-visual-card,
    .service-visual-card:nth-child(even) { grid-template-columns: 1fr; }
    .service-visual-card:nth-child(even) .service-card-media { order: 0; }
    .service-card-media img {
        aspect-ratio: 3 / 2;
        height: auto;
        min-height: 0;
    }
    .service-cta-strip {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .top-bar { display: none; }
    .nav-links, .nav-actions .btn-primary { display: none; }
    .mobile-menu-btn { display: block; }
    .footer-grid { grid-template-columns: 1fr; }
    .legal-modal {
        align-items: stretch;
        padding: 12px;
    }
    .legal-modal__dialog {
        max-height: calc(100vh - 24px);
    }
    .legal-modal__header {
        padding: 16px;
    }
    .legal-modal__header h2 {
        font-size: 21px;
    }
    .legal-modal__body {
        padding: 0 16px 20px;
    }
    .legal-document {
        font-size: 13px;
        line-height: 1.55;
    }
    .legal-document h3 {
        font-size: 16px;
    }
    .legal-document h4 {
        font-size: 14px;
    }
    .legal-document ul {
        margin-left: 18px;
        padding-left: 15px;
    }
    .about-flex { flex-direction: column; }
    .service-item { flex-direction: column; text-align: center; }
    
    .cs-testimonials-grid { grid-template-columns: 1fr; }
    .cs-stat { min-width: 100%; border-right: none; }
    .s-banner-item { min-width: 100%; border-right: none; }
    .services-shell {
        padding-top: 22px;
        padding-bottom: 48px;
    }
    .service-map-hero {
        border-radius: 6px;
        box-shadow: 0 12px 30px rgba(0, 38, 34, 0.1);
    }
    .services-intro-row {
        gap: 22px;
        margin: 30px 0 26px;
    }
    .services-intro-copy h1 { font-size: 31px; }
    .services-intro-copy p {
        font-size: 15px;
        line-height: 1.65;
    }
    .services-index { grid-template-columns: 1fr; }
    .service-index-card {
        min-height: 64px;
        padding: 14px 15px;
    }
    .service-card-copy { padding: 24px 20px 26px; }
    .service-card-copy h2 { font-size: 29px; }
    .service-card-copy p {
        font-size: 15px;
        line-height: 1.65;
    }
    .service-chip { font-size: 12px; }
    .service-cta-strip {
        padding: 24px 20px;
    }
    .service-cta-strip .btn-primary {
        width: 100%;
        text-align: center;
    }
    
    /* Index Hero Mobile Tweaks (as per design) */
    .slide-1::before { background: linear-gradient(180deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.7) 40%, rgba(255,255,255,0) 100%); }
    .slide-2 { background-position: 68% center; }
    .slide-2::before { background: linear-gradient(180deg, rgba(255,255,255,0.99) 0%, rgba(255,255,255,0.94) 58%, rgba(255,255,255,0.82) 100%); }
    .slide-3 { background-position: 68% center; }
    .slide-3::before { background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.94) 62%, rgba(255,255,255,0.86) 100%); }
    .hero-container { padding: 40px 20px 20px; }
    .hero-subtitle { font-size: 11px; letter-spacing: 1px; line-height: 1.4; color: #555; }
    .hero-title { font-size: 32px; font-weight: 900; line-height: 1.1; margin: 15px 0; color: var(--primary-color); }
    .hero-title .text-primary { color: var(--primary-color) !important; }
    .hero-desc { font-size: 11px; font-weight: 600; color: #444; margin-bottom: 30px; padding: 0 10px; }
    .slide-2 .hero-container { padding-top: 28px; padding-bottom: 18px; }
    .slide-2 .hero-title { font-size: 32px; margin: 8px 0 10px; }
    .slide-2 .hero-subtitle { font-size: 12px; margin-top: 8px !important; margin-bottom: 12px !important; }
    .slide-2 .quote-text-large { gap: 8px; max-width: 540px; }
    .slide-2 .quote-text-large p { font-size: 13px !important; line-height: 1.42 !important; margin-bottom: 9px !important; }
    .slide-2 .ceo-signature { justify-content: center; margin-top: 18px !important; }
    
    .hero-buttons { display: flex; gap: 10px; width: 100%; padding: 0; flex-direction: row; }
    .hero-buttons .btn-primary,
    .hero-buttons .btn-outline {
        flex: 1;
        min-width: 0;
        padding: 12px 5px;
        font-size: 12px;
        display: flex;
        justify-content: center;
        align-items: center;
        white-space: nowrap;
    }
    
    /* Swiper Controls on Mobile */
    .swiper-button-next, .swiper-button-prev { width: 40px !important; height: 40px !important; }
    .swiper-button-next::after, .swiper-button-prev::after { font-size: 16px !important; }
    
    /* Values Bar Mobile Stacking */
    .values-bar { padding: 30px 20px; }
    .values-grid { flex-direction: column; gap: 25px; align-items: flex-start; }
    .value-item { flex-direction: row; text-align: left; align-items: center; width: 100%; }
    .v-icon { color: var(--secondary-color); font-size: 32px; margin-right: 15px; width: 40px; text-align: center; }
    .v-text { color: var(--white); }
    .v-text strong { font-size: 14px; }
    .v-text .v-desc { font-size: 10px; margin-top: 3px; display: block; opacity: 0.9; }

    .stats-bar {
        background: linear-gradient(180deg, #003a34 0 36px, var(--white) 36px 100%);
    }

    .stats-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
        max-width: 390px;
        margin: 0 auto;
        gap: 0;
        padding: 18px 16px;
        border-radius: 22px 22px 0 0;
    }

    .stat-item,
    .stat-item:first-child,
    .stat-item:last-child {
        min-width: 0;
        padding: 16px 10px;
        border-right: none;
        border-bottom: 1px solid #edf0ef;
        flex-direction: column;
        justify-content: flex-start;
        text-align: center;
        gap: 8px;
    }

    .stat-item:nth-child(odd) {
        border-right: 1px solid #edf0ef;
    }

    .stat-item:last-child {
        grid-column: 1 / -1;
        border-right: none;
        border-bottom: none;
        max-width: 210px;
        justify-self: center;
        width: 100%;
    }

    .s-icon {
        min-width: 0;
        width: 38px;
        font-size: 31px;
        line-height: 1;
    }

    .s-text {
        font-size: 12px;
        line-height: 1.22;
    }

    .s-text strong {
        font-size: 27px;
    }

    .s-text > span {
        font-size: 12px;
        line-height: 1.32;
        margin-top: 6px;
    }
    
    /* Slide 4 Mobile Tweaks (as per design) */
    .slide-4 {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        background-image: url('../PHOTOS/connecting.jpg') !important;
        background-position: center top;
        background-size: cover;
        background-color: var(--white);
    }
    .slide-4::before {
        display: block !important;
        background: linear-gradient(180deg, rgba(255,255,255,0.99) 0%, rgba(255,255,255,0.94) 48%, rgba(255,255,255,0.56) 100%);
    }
    .slide-4 .hero-container { padding-top: 40px; padding-bottom: 30px; text-align: center; background: transparent; }
    .s4-logo { display: block; margin-bottom: 20px; }
    .s4-title { font-size: 32px; font-weight: 900; margin-bottom: 15px; line-height: 1.1; color: var(--primary-color) !important; }
    .s4-desc { font-size: 13px; margin-bottom: 0; padding: 0 15px; color: #444; font-weight: 600; line-height: 1.5; }
    .s4-wave-container { margin-top: 0; padding: 44px 20px 40px; position: relative; width: 100%; border-radius: 0; background: var(--primary-color); overflow: visible; flex-grow: 1; }
    .s4-center-badge {
        position: relative;
        left: auto;
        right: auto;
        top: auto;
        transform: none;
        margin: 0 auto 34px;
        z-index: 10;
        width: 132px;
        height: 132px;
        flex: 0 0 auto;
    }
    .s4-mission, .s4-vision { width: 100%; margin: 0 auto 34px; text-align: center; position: relative; z-index: 5; }
    .s4-mission p, .s4-vision p { font-size: 12px; color: var(--white); line-height: 1.5; }
    .s4-bottom-bar { display: none; } /* Hide the tiny bottom icons bar to save space on mobile */

    .slide-3 .s3-logo,
    .slide-3 .s3-divider {
        display: none;
    }

    .slide-3 .s3-header {
        gap: 0;
        margin-top: 4px;
    }

    .slide-3 .s3-title-box h2 {
        font-size: 26px !important;
    }

    .slide-3 .s3-title-box p {
        font-size: 12px !important;
    }

    .slide-3 .hero-container > p {
        margin-top: 12px !important;
        font-size: 12px !important;
        line-height: 1.35 !important;
    }

    .slide-3 .s3-pills {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        margin-top: 12px;
    }

    .slide-3 .s3-pill {
        max-width: none;
        min-height: 62px;
        padding: 8px;
        font-size: 9px;
    }

    .slide-3 .s3-pill i {
        font-size: 18px;
    }

    .slide-3 .s3-pill strong {
        font-size: 10px;
    }

    .slide-3 .s3-partners-section {
        margin-top: 12px;
        padding: 10px 12px;
        border-radius: 10px;
    }

    .slide-3 .s3-divider-text {
        font-size: 10px;
        margin-bottom: 6px;
    }

    .slide-3 .s3-platinum-logos {
        margin-bottom: 8px;
    }

    .slide-3 .s3-partner-logo-image--platinum {
        max-width: 250px;
        max-height: 36px;
    }

    .slide-3 .s3-partner-logo-image--trusted {
        max-height: 44px;
    }

    .slide-3 .s3-bottom-bar {
        display: none;
    }
}

@media (max-width: 480px) {
    .slide-2 { background-position: 72% center; }
    .slide-2 .hero-title { font-size: 28px; }
    .slide-2 .hero-subtitle { font-size: 11px; }
    .slide-2 .quote-text-large p { font-size: 12px !important; line-height: 1.36 !important; }
    .slide-2 .quote-text-large .fa-quote-left,
    .slide-2 .quote-text-large .fa-quote-right { font-size: 18px !important; }
    .slide-2 .ceo-signature img { height: 38px !important; margin-right: 12px !important; }
    .slide-2 .ceo-signature h4 { font-size: 15px !important; }
    .slide-2 .ceo-signature span { font-size: 11px !important; }
}

/* Arabic Specific Typography & Colors */
html[dir="rtl"] p,
html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4,
html[dir="rtl"] h5,
html[dir="rtl"] h6,
html[dir="rtl"] span,
html[dir="rtl"] a,
html[dir="rtl"] div,
html[dir="rtl"] button {
    font-family: 'Cairo', 'Outfit', Tahoma, Arial, sans-serif !important;
}

html[dir="rtl"] .about-graphic-desc,
html[dir="rtl"] .hero-desc,
html[dir="rtl"] .s4-desc {
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #333 !important;
}

html[dir="rtl"] .hero-title,
html[dir="rtl"] .about-graphic-title,
html[dir="rtl"] .s4-title {
    font-weight: 800 !important;
}
