/* ============================================
        **
    * Web - App saudiiwaa & Odoo
    *
    * PHP version >= 8.3
    *
    * @category  PHP
    * @package   AppSaudiiwaa
    * @author    Mahmoud Salama <m.salama2003@icloud.com>
    * @copyright 2026 - Mahmoud Salama
    * @license   Exclusively sold on only Call Me
    * @link      https://mahmoudsalama.net/
    * @phone     +966566366464 - +201111202057
    * @version   3.0.0
    *
    إيواء السعودية - الملف الرئيسي للتنسيقات
   ============================================ */

/* --- Variables --- */
:root {
    --primary: #d1162b;
    --primary-dark: #a01121;
    --primary-light: #e02a3f;
    --trial-banner-height: 34px;
    --secondary: #6c757d;
    --accent: #d1162b;
    --accent-hover: #a01121;
    --header-width: 650px;
    --dropdown-width: 650px;
    --dark: #000000;
    --dark-light: #1a1a1a;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
    --white: #ffffff;
    --font-main: 'Tajawal', sans-serif;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.16);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --transition: all 0.3s ease;
}

/* ============================================
   FEATURED PHOTOS (HOME)
   ============================================ */
.featured-photos-card {
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 18px 50px rgba(0,0,0,0.10);
    overflow: hidden;
}

.featured-photos-header {
    background: var(--primary);
    padding: 12px 16px;
    display: flex;
    justify-content: center;
}

.featured-photos-title {
    color: #fff;
    font-weight: 900;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.featured-photos-check {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    background: rgba(255,255,255,0.22);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.featured-photos-slider {
    padding: 18px 18px 8px;
}

.featured-photos-carousel {
    overflow: hidden;
    padding-bottom: 6px;
}

.featured-photos-carousel-track {
    display: flex;
    gap: 14px;
    will-change: transform;
    transform: translate3d(0,0,0);
    transition: transform 600ms ease;
}

.featured-photos-carousel.is-paused .featured-photos-carousel-track {
    transition-duration: 0ms;
}

.featured-photos-slide {
    flex: 0 0 auto;
    width: calc((100% - (14px * 4)) / 5);
    height: 190px;
    border-radius: 16px;
    overflow: hidden;
    background: #f3f4f6;
    scroll-snap-align: start;
    box-shadow: 0 8px 18px rgba(0,0,0,0.10);
}

.featured-photos-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.featured-photos-dots {
    display: none;
}

.featured-photos-bullets {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    padding: 10px 18px 0;
}

.featured-photos-bullet {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: var(--dark);
}

.featured-photos-bullet .fp-bullet-icon {
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: rgba(209, 22, 43, 0.12);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.featured-photos-services {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 16px 18px 0;
}

.featured-photos-services .fp-service {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: rgba(209, 22, 43, 0.10);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 18px rgba(0,0,0,0.08);
}

.featured-photos-slogan {
    text-align: center;
    padding: 14px 18px 0;
    font-weight: 900;
    font-size: 20px;
    color: var(--dark);
}

.featured-photos-actions {
    display: flex;
    justify-content: center;
    padding: 16px 18px 20px;
}

.featured-photos-btn {
    background: var(--primary);
    color: #fff;
    border-radius: 14px;
    padding: 12px 22px;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    box-shadow: 0 14px 26px rgba(209, 22, 43, 0.22);
}

.featured-photos-btn:hover {
    color: #fff;
    filter: brightness(0.96);
}

@media (max-width: 575px) {
    .featured-photos-slide {
        width: calc((100% - (14px * 1)) / 2);
        height: 168px;
    }
    .featured-photos-slogan {
        font-size: 18px;
    }
}

/* ============================================
   WHY IWAA (HOME)
   ============================================ */
.why-iwaa-compare {
    max-width: 980px;
    margin: 0 auto;
}

.why-iwaa .section-heading {
    justify-content: center;
}

.why-iwaa .section-heading-text {
    text-align: center !important;
    direction: inherit;
    flex: 0 1 auto;
}

.why-iwaa .section-subtitle {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.why-iwaa .section-heading-text .section-subtitle {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.why-iwaa-compare-inner {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 18px 50px rgba(0,0,0,0.12);
    background: #f3f4f6;
}

.why-iwaa-img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    display: block;
}

.why-iwaa-before {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    overflow: hidden;
    border-right: 2px solid rgba(255,255,255,0.7);
}

.why-iwaa-handle {
    position: absolute;
    top: 0;
    height: 100%;
    width: 0;
    transform: translateX(-1px);
    pointer-events: none;
}

.why-iwaa-handle-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 2px;
    background: rgba(255,255,255,0.95);
    box-shadow: 0 0 0 1px rgba(0,0,0,0.08);
}

.why-iwaa-handle-knob {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: rgba(255,255,255,0.92);
    color: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 18px 40px rgba(0,0,0,0.18);
}

.why-iwaa-range {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: ew-resize;
}

.why-iwaa-features {
    max-width: 980px;
    margin: 18px auto 0;
}

.why-iwaa-feature-card {
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 22px 60px rgba(0,0,0,0.14);
    padding: 16px;
    overflow: hidden;
    position: relative;
}

.why-iwaa-feature-item {
    display: none;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border-radius: 14px;
    border: 1px solid rgba(0,0,0,0.06);
    background: rgba(0,0,0,0.02);
}

.why-iwaa-feature-item.is-active {
    display: flex;
}

.why-iwaa-feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(209, 22, 43, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex: 0 0 auto;
}

.why-iwaa-feature-title {
    color: var(--dark);
    font-weight: 900;
    font-size: 16px;
    margin-bottom: 6px;
}

.why-iwaa-feature-desc {
    color: rgba(0,0,0,0.60);
    font-size: 13.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

html[data-theme="dark"] .why-iwaa-feature-card {
    background: #111028;
    box-shadow: 0 22px 60px rgba(0,0,0,0.25);
}

html[data-theme="dark"] .why-iwaa-feature-item {
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.03);
}

html[data-theme="dark"] .why-iwaa-feature-title {
    color: #fff;
}

html[data-theme="dark"] .why-iwaa-feature-desc {
    color: rgba(255,255,255,0.78);
}

html[data-theme="dark"] .why-iwaa-feature-icon {
    background: rgba(209, 22, 43, 0.18);
    color: #fff;
}

.featured-photos-amenities {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    padding: 14px 18px 0;
}

.featured-photos-amenity {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 92px;
}

.featured-photos-amenity-circle {
    width: 52px;
    height: 52px;
    border-radius: 999px;
    background: rgba(0,0,0,0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(0,0,0,0.68);
}

.featured-photos-amenity-label {
    font-size: 13px;
    font-weight: 700;
    color: rgba(0,0,0,0.68);
    text-align: center;
    line-height: 1.2;
}

html[data-theme="dark"] .featured-photos-amenity-circle {
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.86);
}

html[data-theme="dark"] .featured-photos-amenity-label {
    color: rgba(255,255,255,0.78);
}

html[data-theme="dark"] .featured-photos-card {
    background: #111111;
    box-shadow: 0 18px 50px rgba(0,0,0,0.5);
}

html[data-theme="dark"] .featured-photos-bullet {
    color: #e8eaed;
}

html[data-theme="dark"] .featured-photos-slogan {
    color: #e8eaed;
}

html[data-theme="dark"] .featured-photos-slide {
    background: #1a1a1a;
    box-shadow: 0 8px 18px rgba(0,0,0,0.4);
}

html[data-theme="dark"] .featured-photos-services .fp-service {
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.85);
    box-shadow: none;
}

@media (max-width: 767px) {
    .why-iwaa-img {
        height: 320px;
    }
    .why-iwaa-feature-desc {
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
    }
}

/* ============================================
   LIVE CHAT WIDGET
   ============================================ */
.iwaa-chat-fab {
    position: fixed;
    bottom: 34px;
    right: 34px;
    width: 74px;
    height: 74px;
    border-radius: 50%;
    border: none;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 16px 34px rgba(0,0,0,0.22);
    z-index: 1100;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    overflow: visible;
}

.iwaa-chat-fab-badge {
    position: absolute;
    top: 10px;
    left: 12px;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: #ff2d2d;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
    box-shadow: 0 10px 18px rgba(0,0,0,0.22);
    border: 2px solid rgba(255,255,255,0.95);
}

.iwaa-chat-fab:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.28);
}

.iwaa-chat-fab svg {
    width: 34px;
    height: 34px;
}

.iwaa-chat-panel {
    position: fixed;
    bottom: 120px;
    right: 34px;
    width: 360px;
    max-width: calc(100vw - 28px);
    height: 520px;
    max-height: calc(100vh - 140px);
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 22px 60px rgba(0,0,0,0.25);
    z-index: 1200;
    display: none;
}

.iwaa-chat-panel.is-open {
    display: flex;
    flex-direction: column;
}

.iwaa-chat-header {
    background: var(--primary);
    color: #fff;
    padding: 14px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.iwaa-chat-header .iwaa-chat-title {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.iwaa-chat-header .iwaa-chat-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    overflow: hidden;
    flex: 0 0 auto;
}

.iwaa-chat-header .iwaa-chat-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.iwaa-chat-header .iwaa-chat-title-text {
    line-height: 1.2;
    min-width: 0;
}

.iwaa-chat-header .iwaa-chat-title-text strong {
    display: block;
    font-weight: 900;
    font-size: 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.iwaa-chat-header .iwaa-chat-title-text span {
    display: block;
    font-size: 12px;
    opacity: 0.85;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.iwaa-chat-header .iwaa-chat-close {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    opacity: 0.95;
}

.iwaa-chat-body {
    flex: 1 1 auto;
    background: #fff;
    padding: 14px 14px 0;
    overflow-y: auto;
}

.iwaa-chat-msg {
    display: flex;
    margin-bottom: 10px;
}

.iwaa-chat-msg.support {
    justify-content: flex-start;
}

.iwaa-chat-msg.visitor {
    justify-content: flex-end;
}

.iwaa-chat-bubble {
    max-width: 78%;
    padding: 10px 12px;
    border-radius: 14px;
    font-size: 14px;
    line-height: 1.6;
    box-shadow: 0 10px 18px rgba(0,0,0,0.08);
    white-space: pre-wrap;
}

.iwaa-chat-msg.support .iwaa-chat-bubble {
    background: #f1f3f5;
    color: #111;
    border-top-left-radius: 6px;
}

.iwaa-chat-msg.visitor .iwaa-chat-bubble {
    background: var(--primary);
    color: #fff;
    border-top-right-radius: 6px;
}

.iwaa-chat-time {
    font-size: 11px;
    opacity: 0.7;
    margin-top: 6px;
}

.iwaa-chat-typing {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 16px;
}

.iwaa-chat-typing span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: inline-block;
    background: rgba(0,0,0,0.35);
    animation: iwaaTyping 1.1s infinite ease-in-out;
}

.iwaa-chat-msg.visitor .iwaa-chat-typing span {
    background: rgba(255,255,255,0.75);
}

.iwaa-chat-typing span:nth-child(2) { animation-delay: 0.15s; }
.iwaa-chat-typing span:nth-child(3) { animation-delay: 0.30s; }

@keyframes iwaaTyping {
    0%, 80%, 100% { transform: translateY(0); opacity: 0.35; }
    40% { transform: translateY(-3px); opacity: 1; }
}

.iwaa-chat-footer {
    padding: 12px;
    border-top: 1px solid rgba(0,0,0,0.06);
    background: #fff;
}

.iwaa-chat-input-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.iwaa-chat-input {
    flex: 1 1 auto;
    border: 1px solid rgba(0,0,0,0.14);
    border-radius: 999px;
    padding: 10px 14px;
    outline: none;
    font-size: 14px;
}

.iwaa-chat-send {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: var(--primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.iwaa-chat-offline {
    margin: 14px 0;
    border: 2px solid rgba(0,0,0,0.25);
    border-radius: 14px;
    padding: 14px;
    text-align: center;
}

.iwaa-chat-offline p {
    margin: 0 0 10px;
    font-weight: 900;
}

.iwaa-chat-offline .iwaa-chat-contact-row {
    display: flex;
    gap: 8px;
}

.iwaa-chat-offline input {
    flex: 1 1 auto;
    border: 1px solid rgba(0,0,0,0.18);
    border-radius: 10px;
    padding: 10px 12px;
    outline: none;
}

.iwaa-chat-offline button {
    border: none;
    background: var(--primary);
    color: #fff;
    border-radius: 10px;
    padding: 10px 12px;
    font-weight: 900;
    cursor: pointer;
}

.iwaa-chat-toast {
    position: fixed;
    top: 120px;
    right: 24px;
    width: min(420px, calc(100vw - 32px));
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 22px 60px rgba(0,0,0,0.22);
    z-index: 1300;
    display: none;
    overflow: hidden;
}

.iwaa-chat-toast.is-show {
    display: block;
}

.iwaa-chat-toast-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 22px 18px 18px;
}

.iwaa-chat-toast-avatar {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    overflow: hidden;
    flex: 0 0 auto;
    background: transparent;
}

.iwaa-chat-toast-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: transparent;
}

.iwaa-chat-toast-body {
    width: 100%;
}

.iwaa-chat-toast-body p {
    margin: 0;
    font-weight: 900;
    font-size: 24px;
    line-height: 1.6;
    text-align: center;
    color: var(--dark);
}

.iwaa-chat-toast-close {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: var(--dark);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

@media (max-width: 575px) {
    .iwaa-chat-toast {
        top: 90px;
        right: 12px;
    }
}

html[dir="rtl"] .iwaa-chat-panel,
html[dir="rtl"] .iwaa-chat-fab {
    right: 34px;
    left: auto;
}

html[dir="ltr"] .iwaa-chat-panel,
html[dir="ltr"] .iwaa-chat-fab {
    right: 34px;
    left: auto;
}

@media (max-width: 575px) {
    .iwaa-chat-fab {
        width: 64px;
        height: 64px;
        right: 18px;
        bottom: 22px;
    }
    .iwaa-chat-panel {
        right: 12px;
        bottom: 98px;
        width: calc(100vw - 24px);
        height: min(540px, calc(100vh - 130px));
    }
}

/* Header mobile menu: ensure nav area is not hidden by older overrides */
@media (max-width: 991px) {
    .header-nav {
        display: flex !important;
        align-items: center;
        justify-content: center;
        position: relative;
        min-height: 50px;
    }
    .mobile-toggle {
        display: flex !important;
    }
}

/* ============================================
   TRIAL BANNER (SITEWIDE)
   ============================================ */
.trial-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--trial-banner-height);
    z-index: 1100;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
}

.trial-banner__inner {
    font-weight: 900;
    font-size: 13px;
    letter-spacing: 0.2px;
    text-align: center;
}

body.has-trial-banner {
    padding-top: var(--trial-banner-height);
}

body.has-trial-banner .site-header {
    top: calc(20px + var(--trial-banner-height));
}

body.has-trial-banner .site-header.scrolled {
    top: calc(15px + var(--trial-banner-height));
}

html[data-theme="dark"] .trial-banner {
    background: rgba(209, 22, 43, 0.92);
}

@media (max-width: 575px) {
    :root {
        --trial-banner-height: 38px;
    }
    .trial-banner__inner {
        font-size: 12.5px;
    }
}

/* ============================================
   HOME ABOUT SECTION
   ============================================ */
.sec-bg {
    position: relative;
}

.sec-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: var(--sec-bg-color, transparent);
    background-image: var(--sec-bg-image, none);
    background-size: cover;
    background-position: center;
    opacity: var(--sec-bg-opacity, 0.15);
    pointer-events: none;
    z-index: 0;
}

.sec-bg > .container,
.sec-bg > .container-fluid {
    position: relative;
    z-index: 1;
}

.home-about {
    position: relative;
    overflow: hidden;
}

/* Remove top spacing so images start at the beginning of the section */
.section.home-about {
    padding-top: 0;
    padding-bottom: 0px;
}

.home-about-head {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-bottom: 18px;
}

.home-about-logo {
    height: 84px;
    width: auto;
    object-fit: contain;
}

.home-about-title {
    margin: 0;
    font-weight: 900;
    color: var(--dark);
    line-height: 1.1;
    font-size: 34px;
}

.home-about-body {
    color: var(--gray-600);
    line-height: 2.05;
    font-size: 14px;
    max-width: 560px;
}

.home-about-actions {
    margin-top: 18px;
}

.home-about-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 2px solid rgba(0,0,0,0.08);
    color: var(--dark);
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 999px;
    font-weight: 900;
    transition: transform .2s ease, border-color .2s ease;
}

.home-about-btn:hover {
    transform: translateY(-1px);
    border-color: rgba(209,22,43,0.35);
}

.home-about-btn-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #000;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.home-about-media {
    min-height: 520px;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 26px;
}

.home-about-images {
    position: relative;
    width: 530px;
    height: 520px;
}

.home-about-img {
    position: absolute;
    border-radius: 0;
    object-fit: cover;
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.12);
}

.home-about-img--a {
    -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 70%, transparent 100%);
}

.home-about-img--b {
    -webkit-mask-image: linear-gradient(to top, #000 70%, transparent 100%);
    mask-image: linear-gradient(to top, #000 70%, transparent 100%);
}

/* Match screenshot proportions */
.home-about-img--a {
    top: 0;
    left: 0;
    width: 255px;
    height: 420px;
}

.home-about-img--b {
    top: 120px;
    left: 275px;
    width: 255px;
    height: 420px;
}

.home-about-line {
    position: relative;
    top: 0;
    width: 5px;
    height: 520px;
    background: rgba(0,0,0,0.35);
    border-radius: 12px;
}

.home-about-line::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 76%;
    background: #7b0000;
    border-radius: 12px;
}

@media (max-width: 991px) {
    .home-about-title { font-size: 28px; }
    .home-about-media { min-height: 520px; }
    .home-about-line { display: none; }
    .home-about-img--a { left: 0; }
    .home-about-img--b { left: 220px; }
}

@media (max-width: 575px) {
    .home-about { padding-top: 22px; padding-bottom: 22px; }
    .home-about-head { flex-direction: column; align-items: flex-start; gap: 12px; }
    .home-about-logo { height: 70px; }

    /* On mobile: show about images as subtle side backgrounds */
    .home-about-media { display: none; }
    .home-about::before,
    .home-about::after {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        width: 42vw;
        pointer-events: none;
        opacity: 0.18;
        filter: grayscale(1);
        background-size: cover;
        background-position: center;
        z-index: 0;
    }
    .home-about::before {
        left: -16vw;
        background-image: var(--home-about-img1, none);
        -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 30%, #000 100%);
        mask-image: linear-gradient(to right, transparent 0%, #000 30%, #000 100%);
    }
    .home-about::after {
        right: -16vw;
        background-image: var(--home-about-img2, none);
        -webkit-mask-image: linear-gradient(to left, transparent 0%, #000 30%, #000 100%);
        mask-image: linear-gradient(to left, transparent 0%, #000 30%, #000 100%);
    }
    .home-about .container { position: relative; z-index: 1; }
}

/* Services layout 2 (mobile): JS will control which item is visible + arrows */
@media (max-width: 575px) {
    .services-strip-inner {
        width: 100%;
        padding: 14px;
        border-radius: 18px;
        overflow: hidden;
    }
    .services-strip-item {
        flex: 0 0 100%;
        min-width: 100%;
        height: 240px;
        border-radius: 16px;
    }
    .services-strip-inner:hover .services-strip-item {
        filter: none;
        opacity: 1;
    }
    .services-strip-overlay {
        opacity: 1;
        transform: translateY(0);
        background: linear-gradient(180deg, rgba(0,0,0,0.15), rgba(0,0,0,0.75));
        border-radius: 14px;
        padding: 16px 14px;
    }
    #servicesDots {
        margin-top: 14px;
    }
}

/* Compounds slider: show one card on mobile and reveal dots */
@media (max-width: 575px) {
    .properties-heading .section-heading-controls {
        display: flex;
    }
    #compoundsDots {
        margin-top: 14px;
    }
}

/* Stats: controls only on mobile */
.stats-mobile-controls {
    display: none;
    justify-content: center;
    gap: 10px;
    margin-top: 14px;
}
@media (max-width: 575px) {
    .stats-mobile-controls {
        display: flex;
    }
}

/* Footer: simplify on mobile (keep logo/desc/social + bottom) */
@media (max-width: 575px) {
    .site-footer .footer-top .footer-widget .footer-title,
    .site-footer .footer-top .footer-links,
    .site-footer .footer-top .footer-contact {
        display: none !important;
    }
    .site-footer .footer-top .col-lg-2,
    .site-footer .footer-top .col-lg-3 {
        display: none;
    }
    .site-footer .footer-top .col-lg-4 {
        width: 100%;
    }
    .site-footer .footer-desc {
        margin-bottom: 14px;
    }
    .site-footer .footer-social {
        justify-content: flex-start;
    }
}

.about-gallery {
    padding-top: 40px;
}

.about-map-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr);
    gap: 18px;
    align-items: stretch;
}

.about-map-canvas {
    height: 460px;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.10);
}

.about-map-list {
    border-radius: 22px;
    border: 1px solid rgba(0,0,0,0.08);
    background: #fff;
    padding: 14px;
    overflow: auto;
    max-height: 460px;
}

.about-map-item {
    width: 100%;
    border: 1px solid rgba(0,0,0,0.06);
    background: #fff;
    border-radius: 16px;
    padding: 12px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.about-map-item + .about-map-item {
    margin-top: 10px;
}

.about-map-item-title {
    font-weight: 900;
    color: var(--dark);
    font-size: 14px;
}

.about-map-item-link {
    font-weight: 900;
    color: var(--primary);
    font-size: 13px;
}

.about-map-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.10);
    border-color: rgba(209, 22, 43, 0.25);
}

.about-map-iframe iframe {
    width: 100%;
    height: 460px;
    border: 0;
    border-radius: 22px;
}

@media (max-width: 991px) {
    .about-map-layout {
        grid-template-columns: 1fr;
    }
    .about-map-list {
        max-height: none;
    }
}

/* ============================================
   COMPOUND PAGE SECTIONS
   ============================================ */
.compound-section-title {
    font-weight: 900;
    color: var(--dark);
    margin: 0 0 16px;
    font-size: 1.6rem;
}

.compound-richtext {
    color: var(--gray-600);
    line-height: 2;
}

.compound-map iframe {
    width: 100%;
    height: 420px;
    border: 0;
    border-radius: 22px;
}

.compound-floorplans {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.compound-floorplan {
    background: rgba(26, 26, 46, 0.04);
    border-radius: 16px;
    overflow: hidden;
}

.compound-floorplan summary {
    list-style: none;
    cursor: pointer;
    padding: 16px 18px;
    font-weight: 900;
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.compound-floorplan summary::-webkit-details-marker {
    display: none;
}

.compound-floorplan-body {
    padding: 0 18px 18px;
}

.compound-floorplan-img {
    width: 100%;
    display: block;
    border-radius: 14px;
    border: 1px solid rgba(0,0,0,0.08);
    background: #fff;
}

.compound-attachments {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.compound-attachment {
    display: grid;
    grid-template-columns: 64px 1fr 36px;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    text-decoration: none;
    color: inherit;
}

.compound-attachment-badge {
    width: 56px;
    height: 44px;
    border-radius: 12px;
    background: rgba(26, 26, 46, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    color: rgba(26, 26, 46, 0.72);
    font-size: 0.85rem;
}

.compound-attachment-name {
    font-weight: 900;
    color: var(--dark);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.compound-attachment-download {
    color: rgba(26, 26, 46, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
}

.compound-tour {
    position: relative;
    display: block;
    border-radius: 26px;
    overflow: hidden;
}

.compound-tour-img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}

.compound-tour-badge {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    margin: auto;
    border-radius: 999px;
    background: rgba(255,255,255,0.9);
    color: rgba(26, 26, 46, 0.9);
    font-weight: 900;
    box-shadow: 0 16px 38px rgba(0,0,0,0.18);
}

.compound-top {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 22px;
    align-items: stretch;
}

.compound-top-media {
    position: relative;
    border-radius: 26px;
    overflow: hidden;
    background: #f3f4f6;
}

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

.compound-top-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: #b91c1c;
    color: #fff;
    font-weight: 900;
    padding: 8px 12px;
    border-radius: 999px;
}

.compound-top-info {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 26px;
    padding: 22px;
}

.compound-top-location {
    color: rgba(26, 26, 46, 0.65);
    font-weight: 900;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.compound-top-location i {
    color: var(--primary);
}

.compound-top-title {
    margin: 0 0 10px;
    font-weight: 900;
    color: var(--dark);
    font-size: 2rem;
    line-height: 1.3;
}

.compound-top-summary {
    margin: 0;
    color: var(--gray-600);
    line-height: 2;
}

.compound-top-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 14px;
}

.compound-top-spec {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    color: var(--dark);
}

.compound-top-spec i {
    opacity: 0.8;
}

.compound-top-divider {
    height: 1px;
    background: rgba(0,0,0,0.08);
    margin: 16px 0;
}

.compound-top-amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.compound-top-amenity {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(26, 26, 46, 0.06);
    color: rgba(26, 26, 46, 0.85);
}

.compound-services-icons {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.compound-service-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 12px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    text-decoration: none;
    color: inherit;
    text-align: center;
}

.compound-service-icon i {
    font-size: 22px;
    color: var(--primary);
}

.compound-service-icon span {
    font-weight: 900;
    color: var(--dark);
    font-size: 0.95rem;
}

.compound-compact-header {
    text-align: center;
    padding: 12px 0 6px;
    margin-top: 10px;
}

.compound-compact-location {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(26, 26, 46, 0.65);
    font-weight: 900;
    margin-bottom: 10px;
}

.compound-compact-location i {
    color: var(--primary);
}

.compound-compact-title {
    font-weight: 900;
    color: var(--dark);
    font-size: 2.3rem;
    margin: 0 0 10px;
    line-height: 1.25;
}

.compound-compact-desc {
    margin: 0 auto 14px;
    max-width: 880px;
    color: var(--gray-600);
    line-height: 2;
}

.compound-compact-metrics {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
    color: rgba(26, 26, 46, 0.8);
    font-weight: 900;
}

.compound-compact-metric {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.compound-compact-metric i {
    opacity: 0.75;
}

.compound-block-frame {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 26px;
    padding: 22px;
    margin-top: 26px;
    overflow: hidden;
}

.compound-block-frame .service-gallery-slider {
    margin-top: 14px;
}

.compound-block-frame .compound-map iframe {
    border-radius: 18px;
}

.compound-block-titlebar {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.compound-block-titlebar::before,
.compound-block-titlebar::after {
    content: "";
    height: 1px;
    background: rgba(0,0,0,0.12);
    flex: 1;
}

.compound-block-titlebar span {
    font-weight: 900;
    color: var(--dark);
    font-size: 1.35rem;
    white-space: nowrap;
}

@media (max-width: 575px) {
    .compound-top {
        grid-template-columns: 1fr;
    }
    .compound-top-media img {
        min-height: 260px;
    }
    .compound-services-icons {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .compound-compact-title {
        font-size: 1.8rem;
    }
    .compound-attachments {
        grid-template-columns: 1fr;
    }
    .compound-map iframe {
        height: 320px;
        border-radius: 18px;
    }
    .compound-tour-img {
        height: 300px;
    }
}

.property-amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.property-amenity {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(26, 26, 46, 0.06);
    color: rgba(26, 26, 46, 0.82);
    transition: var(--transition);
}

.btn-theme {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-700);
    background: var(--gray-100);
    border: none;
    font-size: 20px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-theme:hover {
    color: var(--primary);
    background: rgba(209, 22, 43, 0.1);
}

@media (max-width: 575px) {
    .property-media {
        height: 260px;
    }

    .property-body {
        padding: 18px 18px 16px;
    }

    .property-specs {
        gap: 12px;
        font-size: 0.82rem;
    }
}

.property-card:hover .property-amenity,
.property-card.is-hovered .property-amenity,
.property-card:focus-within .property-amenity {
    background: rgba(209, 22, 43, 0.12);
    color: var(--primary);
}

@media (max-width: 575px) {
    .services-track {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   SECTION HEADING + ARROWS (Services)
   ============================================ */
.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 28px;
}

.section-heading-text {
    flex: 1;
    min-width: 0;
}

.section-heading-text .section-subtitle {
    text-align: inherit;
    margin: 0;
}

.section-heading-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.section-arrow:disabled,
.section-arrow[aria-disabled="true"] {
    opacity: 0.4;
    cursor: not-allowed;
}

.section-arrow:disabled:hover,
.section-arrow[aria-disabled="true"]:hover {
    background: rgba(26, 26, 46, 0.06);
    color: var(--dark);
}

.section-arrow {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: none;
    background: rgba(26, 26, 46, 0.06);
    color: var(--dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.section-arrow:hover {
    background: rgba(209, 22, 43, 0.12);
    color: var(--primary);
}

html[dir="rtl"] .section-heading {
    flex-direction: row;
}

html[dir="rtl"] .section-heading-text {
    text-align: right;
    direction: rtl;
}

html[dir="ltr"] .section-heading-text {
    text-align: left;
    direction: ltr;
}

/* Horizontal services slider */
.services-slider {
    overflow: hidden;
}

.services-track {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    overflow: visible;
    padding-bottom: 10px;
}

@media (max-width: 991px) {
    .services-track {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .services-track {
        grid-template-columns: 1fr;
    }
}

.services-slide {
    width: 100%;
}

/* Services Layout 2: Image Strip */
.services-strip {
    margin-top: 26px;
}

.services-strip-inner {
    width: min(90vw, 1220px);
    margin: 0 auto;
    padding: 22px;
    border-radius: 22px;
    border: 2px solid var(--primary);
    background: rgba(255,255,255,0.06);
    display: flex;
    align-items: stretch;
    gap: 12px;
}

.services-strip-item {
    flex: 1 1 0;
    min-width: 72px;
    height: 320px;
    border-radius: 16px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    transition: flex 260ms ease, transform 260ms ease, filter 220ms ease, opacity 220ms ease;
    text-decoration: none;
    outline: none;
}

/* Dim non-hovered items */
.services-strip-inner:hover .services-strip-item {
    filter: grayscale(1);
    opacity: 0.55;
}

.services-strip-inner:hover .services-strip-item:hover,
.services-strip-inner:hover .services-strip-item:focus {
    filter: none;
    opacity: 1;
}

.services-strip-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.55), rgba(0,0,0,0) 60%);
    opacity: 0;
    transition: opacity 220ms ease;
}

.services-strip-item:hover,
.services-strip-item:focus {
    flex: 2.2 1 0;
    transform: translateY(-2px);
}

.services-strip-item:hover::after,
.services-strip-item:focus::after {
    opacity: 1;
}

.services-strip-overlay {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 14px;
    z-index: 2;
    color: #fff;
    opacity: 0;
    transform: translateY(10px);
    transition: all 220ms ease;
    text-align: center;
}

.services-strip-item:hover .services-strip-overlay,
.services-strip-item:focus .services-strip-overlay {
    opacity: 1;
    transform: translateY(0);
}

.services-strip-title {
    display: block;
    font-weight: 900;
    font-size: 14px;
    margin-bottom: 4px;
}

.services-strip-desc {
    display: block;
    font-size: 12.5px;
    opacity: 0.92;
    line-height: 1.35;
}

@media (max-width: 991px) {
    .services-strip-inner {
        width: 100%;
        padding: 16px;
    }
    .services-strip-item {
        height: 260px;
    }
}

@media (max-width: 767px) {
    .services-strip-inner {
        gap: 8px;
        border-radius: 18px;
    }
    .services-strip-item {
        height: 220px;
        border-radius: 14px;
    }
}

@media (max-width: 575px) {
    .services-strip-item::after {
        opacity: 1 !important;
    }
    .services-strip-overlay {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }
}

.properties-section {
    background: #fff;
}

.properties-heading {
    text-align: center;
    margin-bottom: 28px;
}

.properties-kicker {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.properties-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark);
    margin: 0;
}

.properties-tabs {
    margin-top: 16px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.properties-tab {
    border: none;
    background: rgba(26, 26, 46, 0.06);
    color: var(--dark);
    border-radius: 999px;
    padding: 8px 14px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: var(--transition);
}

.properties-tab:hover {
    background: rgba(209, 22, 43, 0.12);
    color: var(--primary);
}

.properties-tab.active {
    background: var(--primary);
    color: #fff;
}

.property-card {
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.08);
    height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.property-media {
    position: relative;
    height: 320px;
    overflow: hidden;
}

.property-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(209, 22, 43, 0.0) 40%, rgba(0, 0, 0, 0.35) 100%);
    opacity: 0.65;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

.property-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1);
    transition: transform 0.35s ease;
}

.property-card:hover,
.property-card.is-hovered,
.property-card:focus-within {
    transform: translateY(-6px);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.14);
    border-color: rgba(209, 22, 43, 0.25);
}

.property-card:hover .property-img,
.property-card.is-hovered .property-img,
.property-card:focus-within .property-img {
    transform: scale(1.06);
}

.property-card--compound .property-body {
    text-align: center;
}

.property-card--compound .property-specs {
    justify-content: center;
}

.property-card--compound .property-footer {
    justify-content: center;
}

.property-card--compound .property-amenities {
    width: 100%;
    justify-content: center;
}

.property-card:hover .property-media::after,
.property-card.is-hovered .property-media::after,
.property-card:focus-within .property-media::after {
    opacity: 0.85;
}

.property-badges {
    position: absolute;
    top: 12px;
    inset-inline-start: 12px;
    display: flex;
    gap: 8px;
    z-index: 2;
}

.property-badge {
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.property-badge-featured {
    background: var(--primary);
}

.property-badge-sale {
    background: rgba(0, 0, 0, 0.42);
}

.property-location {
    position: absolute;
    bottom: 10px;
    inset-inline-start: 12px;
    inset-inline-end: 12px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
    text-shadow: 0 8px 20px rgba(0,0,0,0.25);
    z-index: 2;
}

.property-body {
    padding: 22px 22px 18px;
}

.property-name {
    font-size: 1.35rem;
    font-weight: 900;
    margin: 0 0 14px;
    color: var(--dark);
}

.property-specs {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    padding-bottom: 10px;
    border-bottom: none;
    color: rgba(26, 26, 46, 0.70);
    font-weight: 900;
    font-size: 0.85rem;
}

.property-spec-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.property-spec-item i {
    opacity: 0.72;
}

.property-spec-value {
    font-weight: 900;
    color: var(--dark);
    white-space: nowrap;
}

.property-divider {
    height: 1px;
    background: rgba(0,0,0,0.08);
    margin: 14px 0 12px;
}

.property-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
}

.property-agent {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(26, 26, 46, 0.75);
    font-weight: 800;
    font-size: 0.9rem;
}

.agent-avatar {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(209, 22, 43, 0.12);
    color: var(--primary);
    font-weight: 900;
}

.property-price {
    font-weight: 900;
    color: var(--dark);
}

.properties-viewall-wrap {
    display: flex;
    justify-content: center;
    margin-top: 26px;
}

.properties-viewall {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 26px;
    background: var(--primary);
    color: #fff;
    border-radius: 999px;
    font-weight: 900;
    box-shadow: 0 14px 30px rgba(209, 22, 43, 0.22);
}

.properties-viewall:hover {
    transform: translateY(-1px);
    color: #fff;
}

/* ============================================
   PROJECTS SECTION (Horizontal Slider)
   ============================================ */
.projects-slider {
    overflow: hidden;
}

.projects-track {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 10px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.projects-track::-webkit-scrollbar {
    display: none;
}

.slider-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    border: none;
    background: rgba(26, 26, 46, 0.22);
    transition: var(--transition);
}

.slider-dot.is-active {
    width: 22px;
    background: var(--primary);
}

.project-slide {
    flex: 0 0 calc((100% - (14px * 3)) / 4);
    max-width: calc((100% - (14px * 3)) / 4);
    scroll-snap-align: start;
}

@media (max-width: 991px) {
    .project-slide {
        flex: 0 0 calc((100% - 14px) / 2);
        max-width: calc((100% - 14px) / 2);
    }
}

@media (max-width: 575px) {
    .project-slide {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

.project-card {
    position: relative;
    display: block;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    height: auto;
    background: rgba(0, 0, 0, 0.06);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.project-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 0;
    transform: scale(1);
    transition: transform 0.4s ease;
}

.project-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.70);
    pointer-events: none;
    opacity: 0;
    z-index: 1;
    transition: opacity 0.25s ease;
}

.project-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 26px 18px;
    z-index: 2;
}

.project-title-top {
    width: 100%;
    text-align: center;
}

.project-title {
    font-weight: 900;
    color: var(--primary);
    font-size: 24px;
    line-height: 1.05;
    letter-spacing: 0.2px;
    text-wrap: balance;
}

.project-logo-bottom {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.project-logo-img {
    display: block;
    max-width: 78%;
    max-height: 92px;
    object-fit: contain;
    filter: drop-shadow(0 10px 26px rgba(0,0,0,0.18));
}

.project-title-img {
    display: block;
    max-width: 100%;
    height: 34px;
    object-fit: contain;
}

.project-thumb {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid rgba(209, 22, 43, 0.22);
}

.project-card:hover,
.project-card:focus-visible {
    transform: translateY(-6px);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.14);
    border-color: rgba(209, 22, 43, 0.25);
}

.project-card:hover .project-bg,
.project-card:focus-visible .project-bg {
    transform: scale(1.06);
}

.project-card:hover::after,
.project-card:focus-visible::after {
    opacity: 1;
}

.project-card:hover .project-title,
.project-card:focus-visible .project-title {
    color: #fff;
}

.project-card:hover .project-logo-img,
.project-card:focus-visible .project-logo-img {
    filter: brightness(0) invert(1) drop-shadow(0 10px 26px rgba(0,0,0,0.28));
}

.team-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.team-media {
    position: relative;
    padding: 16px;
}

.team-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    border-radius: 14px;
}

.team-social {
    position: absolute;
    inset-inline-start: 26px;
    inset-inline-end: 26px;
    bottom: 28px;
    background: rgba(0, 0, 0, 0.55);
    border-radius: 14px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.team-social-link {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.92);
    background: rgba(255, 255, 255, 0.12);
    transition: var(--transition);
}

.team-social-link:hover {
    background: rgba(209, 22, 43, 0.20);
    color: #fff;
}

.team-body {
    padding: 0 18px 18px;
    position: relative;
}

.team-name {
    font-weight: 900;
    font-size: 1.2rem;
    color: var(--dark);
    margin-top: 8px;
}

.team-role {
    color: var(--gray-600);
    font-weight: 700;
    margin-top: 2px;
}

.team-actions {
    position: absolute;
    inset-inline-end: 18px;
    top: 8px;
    display: flex;
    gap: 10px;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.team-action {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: #fff;
    box-shadow: 0 12px 24px rgba(209, 22, 43, 0.22);
    transition: var(--transition);
}

.team-action:hover {
    background: var(--primary-dark);
    color: #fff;
    transform: translateY(-1px);
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.14);
    border-color: rgba(209, 22, 43, 0.20);
}

.team-card:hover .team-social {
    opacity: 1;
    transform: translateY(0);
}

.team-card:hover .team-actions {
    opacity: 1;
    transform: translateY(0);
}

.clients-marquee {
    overflow: hidden;
    padding: 10px 0;
}

.clients-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: clients-marquee var(--clients-duration, 22s) linear infinite;
    will-change: transform;
}

.clients-group {
    display: flex;
    align-items: center;
    gap: 36px;
    padding-inline-end: 0;
}

.clients-marquee:hover .clients-track {
    animation-play-state: paused;
}

@keyframes clients-marquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-1 * var(--clients-distance, 50%)));
    }
}

html[dir="rtl"] .clients-track {
    animation-name: clients-marquee-rtl;
}

@keyframes clients-marquee-rtl {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(var(--clients-distance, 50%));
    }
}

.clients-heading .section-title {
    text-align: left;
}

html[dir="rtl"] .clients-heading .section-title {
    text-align: right;
}

.clients-heading .section-subtitle {
    text-align: inherit;
}

.client-logo-wrap {
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
}

.client-logo {
    height: 38px;
    width: auto;
    max-width: 160px;
    opacity: 0.55;
    filter: grayscale(1);
    transition: var(--transition);
}

.client-logo-wrap:hover .client-logo {
    opacity: 1;
    filter: grayscale(0);
}

@media (max-width: 991px) {
    .services-slide {
        width: 100%;
    }

    .services-track {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .property-media {
        height: 190px;
    }
}

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.7;
    color: var(--dark);
    background-color: var(--white);
    overflow-x: hidden;
}

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

img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   HEADER - Two-Row Design
   ============================================ */
.site-header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
    transition: var(--transition);
    max-width: calc(var(--header-width, 1200px) * 1.625);
    width: min(146.25%, 95vw);
    border-radius: 18px;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.site-header.is-hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%) translateY(-130%);
}

.site-header.scrolled {
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.16);
    top: 15px;
}

.site-header .container {
    max-width: 100%;
    padding: 0 22px;
}

/* Header Wrapper - Single Row */
.header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    gap: 30px;
    position: relative;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

@media (min-width: 992px) {
    .nav-logo {
        justify-self: end;
    }

    .header-nav {
        justify-self: center;
    }

    .header-actions {
        justify-self: start;
    }
}

/* Header Navigation */
.header-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    position: static;
}

/* Logo */
.nav-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    line-height: 0;
}

.nav-logo .logo-img {
    display: block;
    height: 50px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

/* Nav Links */
.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 8px;
    justify-content: center;
}

.nav-links .nav-item {
    position: static;
}

.nav-links .nav-link {
    display: block;
    color: var(--dark);
    font-weight: 600;
    font-size: 16px;
    padding: 12px 24px;
    border-radius: 8px;
    transition: var(--transition);
    white-space: nowrap;
    text-decoration: none;
}

.nav-links .nav-link:hover,
.nav-links .nav-link.active {
    color: var(--primary);
    background: rgba(209, 22, 43, 0.06);
}

/* Header Actions Buttons */
.btn-lang {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-700);
    background: var(--gray-100);
    border: none;
    font-size: 20px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-lang:hover {
    color: var(--primary);
    background: rgba(209, 22, 43, 0.1);
}

.btn-login-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    background: var(--primary);
    font-size: 20px;
    transition: var(--transition);
    text-decoration: none;
}

.btn-login-icon:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: scale(1.05);
}

/* Simple Dropdown Menu */
.simple-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    display: block;
    width: 100%;
    max-width: none;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 15px;
    margin-top: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 1000;
}

.nav-item.dropdown:hover .simple-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.nav-item.dropdown.open .simple-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.simple-menu .dropdown-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 14px 18px;
    color: var(--dark);
    font-size: 15px;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    text-decoration: none;
}

.simple-menu .dropdown-item i {
    font-size: 20px;
    color: var(--gray-600);
    width: 24px;
    text-align: center;
}

.simple-menu .dropdown-item:hover {
    background: var(--gray-100);
    color: var(--primary);
}

.simple-menu .dropdown-item:hover i {
    color: var(--primary);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 38px;
    height: 38px;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: var(--transition);
}

.mobile-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-toggle:hover {
    background: var(--gray-100);
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    background: var(--white);
    border-radius: var(--radius-md);
    margin: 10px auto 0;
    max-width: 620px;
    padding: 0;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease, max-height 0.3s ease, padding 0.3s ease;
}

.mobile-menu.show {
    opacity: 1;
    transform: translateY(0);
    padding: 15px 20px;
    max-height: 500px;
}

.mobile-nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-links li a {
    display: block;
    padding: 12px 15px;
    color: var(--dark);
    font-weight: 500;
    font-size: 15px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.mobile-nav-links li a:hover {
    background: var(--gray-100);
    color: var(--primary);
}

.btn-login-mobile {
    display: block;
    text-align: center;
    padding: 12px 15px;
    background: var(--primary) !important;
    color: var(--white) !important;
    border-radius: var(--radius-sm) !important;
    font-weight: 600 !important;
    margin-top: 5px;
}

.mobile-item {
    border-radius: var(--radius-sm);
}

.mobile-item-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.mobile-item .mobile-link {
    flex: 1 1 auto;
}

.mobile-sub-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: none;
    background: transparent;
    color: var(--gray-700);
    transition: transform 0.25s ease, background 0.2s ease, color 0.2s ease;
    margin-inline-start: 0;
    cursor: pointer;
}

.mobile-sub-toggle i {
    transition: transform 0.25s ease;
}

.mobile-item.is-open > .mobile-item-row > .mobile-sub-toggle i {
    transform: rotate(180deg);
}

.mobile-sub-toggle:hover {
    background: var(--gray-100);
    color: var(--primary);
}

.mobile-submenu {
    list-style: none;
    margin: 0;
    padding: 0 0 6px 0;
    padding-inline-start: 14px;
    margin-inline-start: 8px;
    border-inline-start: 2px solid var(--gray-100);
}

html[data-theme="dark"] .mobile-sub-toggle {
    background: transparent;
    color: #e8e8f0;
}

html[data-theme="dark"] .mobile-submenu {
    border-color: #2a2a3a;
}

/* Mega Menu */
.mega-dropdown {
    position: static;
}

.mega-menu {
    width: 100%;
    max-width: none;
    border: none;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: block;
    padding: 0;
    overflow: visible;
    margin-top: 0;
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 1000;
}

@media (min-width: 992px) {
    .simple-menu {
        border-radius: 14px;
        margin-top: 0;
    }

    .mega-menu {
        border-radius: 14px;
        margin-top: 0;
    }
}

@media (min-width: 992px) {
    .header-nav {
        position: static;
    }
}

.mega-dropdown:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.mega-dropdown.open .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.mega-menu-inner {
    padding: 40px 44px;
}

.mega-menu-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--gray-200);
}

.mega-menu-items {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mega-menu-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 15px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    width: 100%;
    justify-content: flex-start;
}

.mega-menu-item:hover {
    background: var(--gray-100);
}

.mega-icon {
    width: 45px;
    height: 45px;
    border-radius: var(--radius-sm);
    background: rgba(209, 22, 43, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 18px;
    flex-shrink: 0;
}

.mega-menu-item:hover .mega-icon {
    background: var(--primary);
    color: var(--white);
}

.mega-text strong {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 3px;
}

.mega-text span {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 13px;
    color: var(--gray-600);
    line-height: 1.5;
}

.mega-text .mega-desc {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

html[dir="rtl"] .site-header,
html[dir="rtl"] .header-nav,
html[dir="rtl"] .mobile-menu {
    direction: rtl;
}

html[dir="ltr"] .site-header,
html[dir="ltr"] .header-nav,
html[dir="ltr"] .mobile-menu {
    direction: ltr;
}

html[dir="rtl"] .nav-links .nav-link,
html[dir="rtl"] .mobile-nav-links li a,
html[dir="rtl"] .mega-menu-item {
    text-align: right;
}

html[dir="ltr"] .nav-links .nav-link,
html[dir="ltr"] .mobile-nav-links li a,
html[dir="ltr"] .mega-menu-item {
    text-align: left;
}

html[dir="rtl"] .mega-menu-item {
    flex-direction: row-reverse !important;
}

html[dir="ltr"] .mega-menu-item {
    flex-direction: row !important;
}

html[dir="rtl"] .mega-text,
html[dir="rtl"] .mega-text strong,
html[dir="rtl"] .mega-text span {
    text-align: right;
}

html[dir="ltr"] .mega-text,
html[dir="ltr"] .mega-text strong,
html[dir="ltr"] .mega-text span {
    text-align: left;
}

html[dir="rtl"] .mega-menu,
html[dir="rtl"] .simple-menu {
    text-align: right;
    direction: rtl;
}

html[dir="ltr"] .mega-menu,
html[dir="ltr"] .simple-menu {
    text-align: left;
    direction: ltr;
}

html[dir="rtl"] .mega-menu-items {
    align-items: flex-end;
}

html[dir="ltr"] .mega-menu-items {
    align-items: flex-start;
}

html[dir="rtl"] .mega-menu-item {
    justify-content: flex-end;
}

html[dir="ltr"] .mega-menu-item {
    justify-content: flex-start;
}

html[dir="rtl"] .simple-menu .dropdown-item {
    flex-direction: row-reverse !important;
    text-align: right;
}

html[dir="ltr"] .simple-menu .dropdown-item {
    flex-direction: row !important;
    text-align: left;
}

html[dir="rtl"] .mega-menu-item .mega-icon {
    order: 2;
}

html[dir="rtl"] .mega-menu-item .mega-text {
    order: 1;
}

html[dir="rtl"] .simple-menu .dropdown-item i {
    order: 2;
}

/* ============================================
   HERO / SLIDER SECTION
   ============================================ */
.hero-section {
    position: relative;
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #e8eaed 0%, #f5f5f5 50%, #d3d5d8 100%);
}

/* Video Background */
.hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(232, 234, 237, 0.5) 0%, rgba(245, 245, 245, 0.4) 50%, rgba(211, 213, 216, 0.5) 100%);
    z-index: 1;
}

/* Decorative circles */
.hero-section::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(108, 117, 125, 0.08);
    top: -150px;
    right: -100px;
    z-index: 1;
}

.hero-section::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(108, 117, 125, 0.06);
    bottom: -100px;
    left: -100px;
    z-index: 1;
}

.hero-decoration-1 {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(108, 117, 125, 0.07);
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    z-index: 1;
}

.hero-decoration-2 {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(108, 117, 125, 0.05);
    bottom: 10%;
    right: 15%;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 120px 0 60px;
    width: 100%;
}

.hero-scroll-down {
    position: absolute;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    z-index: 3;
    width: 46px;
    height: 46px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: var(--dark);
    text-decoration: none;
    transition: var(--transition);
    animation: heroScrollBounce 1.4s ease-in-out infinite;
}

.hero-scroll-down:hover {
    background: rgba(255, 255, 255, 0.75);
    color: var(--primary);
    transform: translateX(-50%) translateY(-2px);
}

@keyframes heroScrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.3;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.8), 0 0 20px rgba(255, 255, 255, 0.6);
}

.hero-title .typed-text {
    display: block;
    min-height: 1.3em;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--gray-800);
    max-width: 600px;
    margin: 0 auto 30px;
    line-height: 1.8;
    text-shadow: 0 1px 8px rgba(255, 255, 255, 0.7), 0 0 15px rgba(255, 255, 255, 0.5);
}

.hero-btn {
    display: inline-block;
    padding: 14px 40px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-weight: 700;
    font-family: var(--font-main);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.hero-btn:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(209, 22, 43, 0.4);
}

/* Hero Images Grid */
.hero-images {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 50px;
    padding: 20px;
    border: 2px solid rgba(108, 117, 125, 0.2);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-images .hero-img {
    width: 150px;
    height: 200px;
    border-radius: var(--radius-md);
    overflow: hidden;
    flex-shrink: 0;
}

.hero-images .hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================
   SEARCH BAR (on hero)
   ============================================ */
.search-bar-wrapper {
    position: relative;
    z-index: 3;
    max-width: 850px;
    margin: 40px auto 0;
}

.search-bar {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-lg);
}

.search-bar .search-field {
    flex: 1;
    padding: 10px 15px;
    border: none;
    border-left: 1px solid var(--gray-200);
    font-family: var(--font-main);
    font-size: 14px;
    color: var(--dark);
    background: transparent;
    outline: none;
}

.search-bar .search-field:first-child {
    border-left: none;
}

.search-bar .search-field::placeholder {
    color: var(--gray-500);
}

.search-bar select.search-field {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236c757d' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 10px center;
    padding-left: 30px;
}

.btn-search-advanced {
    padding: 10px 20px;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-xl);
    background: transparent;
    color: var(--dark);
    font-family: var(--font-main);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-search-advanced:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-search-main {
    padding: 12px 28px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-xl);
    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-search-main:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

/* ============================================
   SECTIONS GENERAL
   ============================================ */
.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto 50px;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: #2b2d31;
    color: rgba(255, 255, 255, 0.8);
}

html[data-theme="dark"] .site-footer {
    background: #14161a;
}

.footer-top {
    padding: 60px 0 30px;
}

.footer-cert-block .footer-title {
    margin-bottom: 8px;
}

.footer-cert-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.footer-cert-logo {
    width: 61px;
    height: 61px;
    object-fit: contain;
    border-radius: 10px;
    background: transparent;
    padding: 0;
    box-shadow: none;
    filter: grayscale(20%);
    transition: transform .2s ease, filter .2s ease, box-shadow .2s ease;
}

.footer-cert-logo:hover {
    transform: translateY(-2px);
    filter: grayscale(0%);
    box-shadow: none;
}

.footer-cert-logo-lg {
    width: 69px;
    height: 69px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo-img {
    height: 50px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.footer-desc {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-links a::before {
    content: '\f104';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 11px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
    padding-right: 5px;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-contact li i {
    color: var(--primary);
    font-size: 15px;
    margin-top: 4px;
}

.footer-contact li a {
    color: rgba(255, 255, 255, 0.6);
}

.footer-contact li a:hover {
    color: var(--white);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
}

.copyright {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

.footer-bottom-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
    justify-content: flex-end;
}

.footer-bottom-links a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom-links a:hover {
    color: var(--white);
}

/* ============================================
   ABOUT: CERTIFICATIONS MARQUEE
   ============================================ */
.certs-marquee {
    overflow: hidden;
    padding: 20px 0;
}

.certs-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: certs-marquee 20s linear infinite;
    will-change: transform;
}

html[dir="rtl"] .certs-track {
    animation-name: certs-marquee-rtl;
}

.certs-marquee:hover .certs-track {
    animation-play-state: paused;
}

.certs-group {
    display: flex;
    align-items: center;
    gap: 0;
    flex-shrink: 0;
    padding-inline-end: 0;
}

.cert-logo-wrap {
    height: 180px;
    width: 210px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 20px;
    flex-shrink: 0;
}

.cert-logo {
    height: 150px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    filter: grayscale(10%);
    opacity: .92;
    transition: transform .2s ease, filter .2s ease, opacity .2s ease;
}

.cert-logo-wrap:hover .cert-logo {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

@keyframes certs-marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

@keyframes certs-marquee-rtl {
    from { transform: translateX(0); }
    to   { transform: translateX(50%); }
}

html[data-theme="dark"] .cert-logo {
    filter: grayscale(20%) brightness(0.9);
}
html[data-theme="dark"] .cert-logo-wrap:hover .cert-logo {
    filter: grayscale(0%) brightness(1);
}

/* ============================================
   ABOUT: CERTIFICATIONS SLIDER (ARROWS)
   ============================================ */
.certs-slider {
    padding: 10px 0 0;
}

.certs-viewport {
    overflow: hidden;
}

/* Override marquee animation when used as slider */
.certs-slider .certs-track {
    animation: none !important;
    transition: transform .35s ease;
    will-change: transform;
    width: max-content;
}

.certs-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-top: -8px;
    margin-bottom: 8px;
}

/* About certs section background */
.about-certs {
    background: #f7f9fc;
}

html[data-theme="dark"] .about-certs {
    background: #0f1118;
}

/* ============================================
   CLIENTS PAGE HERO
   ============================================ */
.clients-page-hero {
    padding: 140px 0 50px;
    background: var(--white);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    text-align: center;
}

.clients-page-hero-inner {
    max-width: 640px;
    margin: 0 auto;
}

.clients-page-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    background: rgba(var(--primary-rgb, 0,122,255), .08);
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 18px;
}

.clients-page-hero-title {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 900;
    color: var(--gray-900);
    margin: 0 0 14px;
    line-height: 1.2;
}

.clients-page-hero-subtitle {
    font-size: 16px;
    color: var(--gray-500);
    line-height: 1.8;
    margin: 0;
}

@media (max-width: 767px) {
    .clients-page-hero { padding: 110px 0 36px; }
    .clients-page-hero-title { font-size: 26px; }
}

html[data-theme="dark"] .clients-page-hero {
    background: #000000;
    border-color: rgba(255,255,255,0.06);
}

html[data-theme="dark"] .clients-page-hero-title {
    color: var(--gray-100, #f0f0f0);
}

/* ============================================
   CLIENTS GRID PAGE
   ============================================ */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.client-card {
    border-radius: var(--radius-md, 16px);
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease;
}

.client-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(0,0,0,0.10);
}

.client-card-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 24px 16px 20px;
    border: 1px solid rgba(0,0,0,0.07);
    border-radius: var(--radius-md, 16px);
    background: var(--white);
    height: 100%;
    text-decoration: none;
    color: inherit;
    position: relative;
    transition: border-color .2s ease, background .2s ease;
}

.client-card-inner:hover {
    border-color: var(--primary);
    background: rgba(var(--primary-rgb, 0,122,255), .03);
}

.client-card-logo-wrap {
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
}

.client-card-logo {
    max-height: 90px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
    filter: grayscale(15%);
    transition: filter .2s ease, transform .2s ease;
}

.client-card-inner:hover .client-card-logo {
    filter: grayscale(0%);
    transform: scale(1.04);
}

.client-card-name {
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    color: var(--gray-800);
    line-height: 1.4;
}

.client-card-blurb {
    font-size: 12px;
    text-align: center;
    color: var(--gray-500);
    line-height: 1.5;
}

.client-card-link {
    position: absolute;
    top: 10px;
    inset-inline-end: 10px;
    font-size: 11px;
    color: var(--primary);
    opacity: 0;
    transition: opacity .2s ease;
}

.client-card-inner:hover .client-card-link {
    opacity: 1;
}

.clients-grid-count {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 24px 0 8px;
    border-top: 1px solid rgba(0,0,0,0.06);
    color: var(--gray-500);
    font-size: 15px;
}

.clients-grid-count-num {
    font-size: 28px;
    font-weight: 900;
    color: var(--primary);
}

@media (max-width: 767px) {
    .clients-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
    .client-card-logo-wrap { height: 80px; }
    .client-card-logo { max-height: 70px; }
}

@media (max-width: 480px) {
    .clients-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

html[data-theme="dark"] .client-card-inner {
    background: var(--gray-800, #1e1e2e);
    border-color: rgba(255,255,255,0.07);
}

html[data-theme="dark"] .client-card-logo {
    filter: grayscale(20%) brightness(0.88);
}

html[data-theme="dark"] .client-card-inner:hover .client-card-logo {
    filter: grayscale(0%) brightness(1);
}

html[data-theme="dark"] .client-card-name {
    color: var(--gray-200, #e0e0e0);
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    border: none;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-primary-custom {
    color: var(--primary) !important;
}

.bg-primary-custom {
    background-color: var(--primary) !important;
}

.btn-primary-custom {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 12px 30px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-family: var(--font-main);
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary-custom:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(209, 22, 43, 0.3);
}

/* ============================================
   PAGE HEADER (Inner Pages)
   ============================================ */
.page-header {
    background: linear-gradient(135deg, #a01121 0%, #d1162b 50%, #e02a3f 100%);
    padding: 200px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header .container {
    max-width: 1920px !important;
    width: min(90%, 1920px);
}

.page-header::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(224, 42, 63, 0.2);
    top: -80px;
    right: -50px;
}

.page-header::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(160, 17, 33, 0.15);
    bottom: -50px;
    left: -30px;
}

.page-header-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.breadcrumb-nav {
    position: relative;
    z-index: 1;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb-nav a {
    color: rgba(255, 255, 255, 0.9);
}

.breadcrumb-nav a:hover {
    color: var(--white);
}

.breadcrumb-nav span {
    margin: 0 8px;
}

.page-header.has-media {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.page-header.has-media::before,
.page-header.has-media::after {
    z-index: 1;
}

.page-header-media-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(160, 17, 33, 0.72) 0%, rgba(209, 22, 43, 0.66) 50%, rgba(224, 42, 63, 0.62) 100%);
    z-index: 0;
}

.page-header-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* ============================================
   BLOG CARDS
   ============================================ */
.blog-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}
.blog-card {
    border-radius: 14px;
    overflow: hidden;
    background: var(--white);
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.04);
    height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 36px rgba(0,0,0,0.12);
}
.blog-card-img {
    height: 180px;
    background: var(--gray-100);
    overflow: hidden;
}
.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.blog-card:hover .blog-card-img img {
    transform: scale(1.06);
}
.blog-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.blog-card-placeholder i {
    font-size: 36px;
    color: var(--gray-300);
}
.blog-card-body {
    padding: 16px 18px 20px;
}
.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}
.blog-card-cat {
    background: var(--primary);
    color: #fff;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
}
.blog-card-date {
    color: var(--gray-500);
    font-size: 12px;
}
.blog-card-title {
    font-weight: 800;
    font-size: 0.95rem;
    margin: 0 0 6px;
    line-height: 1.65;
    color: var(--dark);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.blog-card-excerpt {
    color: var(--gray-600);
    font-size: 13px;
    line-height: 1.7;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.about-ceo-hero {
    padding: 120px 0 40px;
    background: #fff;
    scroll-margin-top: 110px;
}

.about-ceo-hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: 160px 1fr 160px;
    gap: 28px;
    align-items: center;
    overflow: hidden;
}

.about-ceo-decor {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-ceo-decor--start {
    animation: about-ceo-decor-in-start 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
    transform: translateX(-42%);
}

.about-ceo-decor--end {
    animation: about-ceo-decor-in-end 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
    transform: translateX(42%);
}

@keyframes about-ceo-decor-in-start {
    from {
        opacity: 0;
        transform: translateX(-52%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes about-ceo-decor-in-end {
    from {
        opacity: 0;
        transform: translateX(52%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.about-ceo-decor img {
    width: 140px;
    height: 140px;
    border-radius: 18px;
    object-fit: cover;
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.10);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.about-ceo-decor:hover img {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.14);
}

.about-ceo-decor--end img {
    object-fit: contain;
    background: #fff;
    padding: 18px;
}

.about-ceo-content {
    text-align: center;
    padding: 10px 10px;
}

.about-ceo-title {
    font-weight: 900;
    font-size: 3rem;
    line-height: 1.1;
    color: var(--dark);
    margin: 0 0 18px;
}

.about-ceo-body {
    max-width: 720px;
    margin: 0 auto 18px;
    color: rgba(26, 26, 46, 0.70);
    line-height: 1.95;
    font-weight: 600;
}

.about-ceo-body p {
    margin: 0 0 12px;
}

.about-ceo-meta {
    margin: 22px 0 18px;
}

.about-ceo-name {
    font-weight: 900;
    color: var(--dark);
    margin: 0;
}

.about-ceo-role {
    font-size: 0.9rem;
    font-weight: 800;
    color: rgba(26, 26, 46, 0.55);
    margin-top: 4px;
}

.about-ceo-signature {
    margin-top: 10px;
    display: flex;
    justify-content: center;
}

.about-ceo-signature-svg {
    width: 220px;
    height: auto;
}

.about-ceo-signature-svg path {
    fill: none;
    stroke: rgba(26, 26, 46, 0.55);
    stroke-width: 4.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.about-ceo-actions {
    display: flex;
    justify-content: center;
}

.about-ceo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 34px;
    border-radius: 999px;
    text-decoration: none;
}

@media (max-width: 991px) {
    .about-ceo-hero {
        padding: 56px 0 28px;
    }
    .about-ceo-hero-inner {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 10px 0;
    }
    .about-ceo-decor {
        order: 2;
    }
    .about-ceo-content {
        order: 1;
        position: relative;
        z-index: 2;
    }
    .about-ceo-decor img {
        width: 120px;
        height: 120px;
    }
    .about-ceo-title {
        font-size: 2.2rem;
    }
    .about-ceo-decor--start,
    .about-ceo-decor--end {
        transform: none;
        animation: none;
    }

    .about-ceo-hero-inner {
        overflow: hidden;
    }
    .about-ceo-decor {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        opacity: 0.18;
        z-index: 0;
        pointer-events: none;
        width: 46vw;
        max-width: 220px;
    }
    .about-ceo-decor--start {
        left: -60px;
    }
    .about-ceo-decor--end {
        right: -60px;
    }
    html[dir="rtl"] .about-ceo-decor--start {
        left: auto;
        right: -60px;
    }
    html[dir="rtl"] .about-ceo-decor--end {
        right: auto;
        left: -60px;
    }
    .about-ceo-decor img {
        width: 100%;
        height: auto;
        max-height: 200px;
        border-radius: 18px;
        box-shadow: none;
        border: 0;
        transform: none;
        background: transparent;
        padding: 0;
    }
}

/* ============================================
   SERVICE CARDS
   ============================================ */
.service-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 35px 25px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--gray-200);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(209, 22, 43, 0.18);
}

.service-icon {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-md);
    background: rgba(209, 22, 43, 0.10);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: var(--primary);
    transition: transform 0.6s ease, background 0.25s ease, color 0.25s ease;
}

.service-card:hover .service-icon {
    background: var(--primary);
    color: var(--white);
    transform: rotate(360deg);
}

.service-hero {
    position: relative;
    padding: 140px 0 90px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.service-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(16, 23, 32, 0.55) 0%, rgba(209, 22, 43, 0.55) 55%, rgba(16, 23, 32, 0.35) 100%);
}

.service-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    color: #fff;
}

.service-hero-title {
    font-weight: 900;
    font-size: 2.6rem;
    margin: 0 0 14px;
}

.service-hero-desc {
    margin: 0 auto 22px;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.9;
    font-size: 1.05rem;
    max-width: 760px;
}

.service-hero-grey {
    position: relative;
    padding: 150px 0 0;
    background: #eef1f4;
    overflow: hidden;
}

.service-hero-grey-inner {
    text-align: center;
    padding-bottom: 34px;
}

.service-hero-grey-icon {
    width: 74px;
    height: 74px;
    border-radius: 22px;
    background: rgba(209, 22, 43, 0.12);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    box-shadow: 0 10px 30px rgba(209, 22, 43, 0.18);
}

.service-hero-grey-icon i {
    font-size: 34px;
}

.service-hero-grey-title {
    font-weight: 900;
    font-size: 2.8rem;
    margin: 0 0 16px;
    color: var(--dark);
}

.service-hero-media {
    width: min(1240px, 100%);
    margin: 0 auto;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(26, 26, 46, 0.10);
    box-shadow: 0 30px 80px rgba(0,0,0,0.10);
    transform: translateY(44px);
    background: #fff;
}

.service-hero-media img {
    width: 100%;
    height: 520px;
    display: block;
    transform: scale(1);
    will-change: transform;
    transform-origin: center top;
    object-fit: cover;
    transition: transform 0.22s ease-out;
}

.service-section-title {
    text-align: center;
    font-weight: 900;
    margin: 0 0 18px;
    color: var(--dark);
}

.service-media img,
.service-split-media img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    display: block;
    object-fit: cover;
}

.service-video video {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    background: #000;
}

.service-gallery {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    padding: 18px;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, rgba(69, 87, 255, 0.14), rgba(209, 22, 43, 0.10));
    border: 1px solid rgba(26, 26, 46, 0.10);
}

.service-gallery-slider {
    display: flex;
    gap: 18px;
    padding: 22px;
    border-radius: 22px;
    background: transparent;
    border: none;
    box-shadow: none;
    overflow: visible;
}

.service-gallery-slide {
    position: relative;
    flex: 1;
    min-width: 0;
    height: 420px;
    border-radius: 18px;
    overflow: hidden;
    border: 2px solid rgba(255,255,255,0.22);
    box-shadow: 0 18px 38px rgba(0,0,0,0.18);
    transform: translateY(0);
    transition: flex 0.45s ease, transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.service-gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(0.65) saturate(0.9) contrast(0.95);
    transform: scale(1);
    transition: transform 0.45s ease, filter 0.25s ease;
}

.service-gallery-caption {
    position: absolute;
    inset-inline-start: 14px;
    inset-inline-end: 14px;
    bottom: 12px;
    color: #fff;
    font-weight: 800;
    font-size: 0.95rem;
    line-height: 1.5;
    z-index: 2;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    text-shadow: 0 10px 24px rgba(0,0,0,0.5);
}

.service-gallery-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.05) 55%, rgba(0,0,0,0.68) 100%);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.service-gallery-slide:hover {
    flex: 2.5;
    transform: translateY(-2px);
    border-color: rgba(255, 183, 77, 0.92);
    box-shadow: 0 26px 60px rgba(0,0,0,0.26);
}

.service-gallery-slide:hover img {
    filter: grayscale(0) saturate(1.05) contrast(1.02);
    transform: scale(1.02);
}

.service-gallery-slide:hover::after {
    opacity: 1;
}

.service-gallery-slide:hover .service-gallery-caption {
    opacity: 1;
    transform: translateY(0);
}

.service-gallery-item {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    display: block;
    transform: translateY(0);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-gallery-item img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
    filter: saturate(1.02);
    transform: scale(1);
    transition: transform 0.35s ease;
}

.service-gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.0) 40%, rgba(0,0,0,0.45) 100%);
    opacity: 0.55;
    transition: opacity 0.25s ease;
}

.service-gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.service-gallery-item:hover img {
    transform: scale(1.06);
}

.service-gallery-item:hover::after {
    opacity: 0.78;
}

.service-split {
    padding: 22px;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(26, 26, 46, 0.08);
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.service-split-inner {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 22px;
    align-items: center;
}

.service-split.is-reverse .service-split-inner {
    grid-template-columns: 0.9fr 1.1fr;
}

.service-split.is-reverse .service-split-text {
    order: 2;
}

.service-split.is-reverse .service-split-media {
    order: 1;
}

.service-split-content {
    color: var(--gray-600);
    line-height: 2;
    font-size: 1rem;
}

.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.82);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.lightbox-overlay.is-open {
    display: flex;
}

.lightbox-overlay img {
    max-width: min(1100px, 96vw);
    max-height: 86vh;
    border-radius: 16px;
    box-shadow: 0 20px 70px rgba(0,0,0,0.35);
}

@media (max-width: 991px) {
    .service-gallery {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .service-gallery-item img {
        height: 240px;
    }
    .service-gallery-slider {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
    }
    .service-gallery-slide {
        flex: 0 0 200px;
        scroll-snap-align: center;
    }
    .service-gallery-slide:hover {
        flex: 0 0 260px;
    }
    .service-split-inner {
        grid-template-columns: 1fr;
    }
    .service-split.is-reverse .service-split-inner {
        grid-template-columns: 1fr;
    }
    .service-split.is-reverse .service-split-media {
        order: initial;
    }
}

@media (max-width: 575px) {
    .service-hero {
        padding: 120px 0 70px;
    }
    .service-hero-title {
        font-size: 2rem;
    }
    .service-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .service-gallery-slider {
        padding: 16px;
        border-radius: 18px;
    }
    .service-gallery-slide {
        height: 320px;
        border-radius: 16px;
    }
    .service-hero-media img {
        height: 320px;
    }
}

.service-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.service-desc {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 20px;
    flex: 1;
}

.service-link {
    font-size: 14px;
    font-weight: 800;
    color: var(--dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid rgba(209, 22, 43, 0.45);
    background: transparent;
    min-width: 160px;
}

.service-link:hover {
    color: #fff;
    background: var(--primary);
    border-color: var(--primary);
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats-section {
    background: transparent;
}

.stats-section.sec-bg {
    background: transparent;
}

.stats-section.sec-bg .section-title {
    color: #111;
}

.stats-section.sec-bg .stat-number {
    color: #111;
}

.stats-section.sec-bg .stat-label {
    color: rgba(17,17,17,0.78);
}

.stats-heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.stats-kicker {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    font-weight: 900;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--primary);
    font-size: 13px;
    line-height: 1.2;
}

.stats-kicker::before,
.stats-kicker::after {
    content: '';
    width: 68px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

.stats-title {
    max-width: 820px;
    line-height: 1.18;
    letter-spacing: 0.3px;
}

.stat-item {
    padding: 30px 20px;
}

.stat-icon-circle {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 18px 46px rgba(0,0,0,0.18);
}

.stat-icon-circle i {
    font-size: 1.55rem;
    color: var(--primary);
}

.stat-icon {
    margin-bottom: 14px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 8px;
    line-height: 1;
}

.stat-label {
    font-size: 15px;
    color: var(--gray-600);
    font-weight: 500;
}

.stats-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.stats-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(209, 22, 43, 0.2);
    cursor: pointer;
    transition: var(--transition);
}

.stats-dot.active {
    background: var(--primary);
    transform: scale(1.2);
}

/* ============================================
   REGISTRATION MODAL
   ============================================ */
.registration-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.registration-modal.show {
    display: block;
    opacity: 1;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.modal-container-wide {
    position: relative;
    max-width: 80%;
    width: 80%;
    margin: 50px auto;
    max-height: calc(100vh - 100px);
    overflow: hidden;
    z-index: 10000;
    animation: slideDown 0.4s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--white);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--gray-700);
    cursor: pointer;
    transition: var(--transition);
    z-index: 10001;
    box-shadow: var(--shadow-md);
}

.modal-close:hover {
    background: var(--gray-100);
    color: var(--dark);
    transform: rotate(90deg);
}

.modal-content-wide {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    overflow: hidden;
    min-height: 600px;
}

.modal-image-section {
    width: 25%;
    background: var(--gray-100);
    overflow: hidden;
}

.modal-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-form-section {
    width: 75%;
    padding: 40px 50px;
    overflow-y: auto;
    max-height: calc(100vh - 100px);
}

.modal-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--dark);
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.4;
}

.registration-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-full {
    grid-column: 1 / -1;
}

.form-half {
    grid-column: span 1;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
}

.form-group label .required {
    color: var(--primary);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-family: var(--font-main);
    color: var(--dark);
    transition: var(--transition);
    background: var(--white);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(209, 22, 43, 0.1);
}

.form-control::placeholder {
    color: var(--gray-500);
}

.phone-input {
    display: flex;
    align-items: center;
    gap: 10px;
}

.phone-prefix {
    padding: 12px 16px;
    background: var(--gray-100);
    border: 1.5px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 600;
    color: var(--dark);
    white-space: nowrap;
}

.phone-input .form-control {
    flex: 1;
}

.btn-submit {
    width: 100%;
    padding: 14px 30px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-weight: 700;
    font-family: var(--font-main);
    cursor: pointer;
    transition: var(--transition);
    margin-top: 10px;
}

.btn-submit:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(209, 22, 43, 0.3);
}

/* Responsive Modal */
@media (max-width: 1024px) {
    .modal-container-wide {
        max-width: 95%;
        width: 95%;
        margin: 20px auto;
    }

    .modal-content-wide {
        flex-direction: column;
        min-height: auto;
    }

    .modal-image-section {
        width: 100%;
        height: 200px;
    }

    .modal-form-section {
        width: 100%;
        padding: 30px 25px;
    }

    .modal-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .modal-container-wide {
        max-width: 100%;
        width: 100%;
        margin: 10px;
    }

    .modal-form-section {
        padding: 25px 20px;
    }

    .registration-form-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .form-half {
        grid-column: 1 / -1;
    }

    .modal-title {
        font-size: 1.3rem;
    }

    .modal-image-section {
        height: 150px;
    }
}

/* ============================================
   LOGIN PAGE
   ============================================ */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #a01121 0%, #d1162b 50%, #e02a3f 100%);
    padding: 40px 20px;
}

.login-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 50px 40px;
    width: 100%;
    max-width: 440px;
    box-shadow: var(--shadow-lg);
}

.login-logo {
    text-align: center;
    margin-bottom: 30px;
}

.login-logo-img {
    height: 60px;
    width: auto;
    max-width: 250px;
    object-fit: contain;
}

.login-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
    text-align: center;
    margin-bottom: 8px;
}

.login-subtitle {
    font-size: 14px;
    color: var(--gray-600);
    text-align: center;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
}

.form-group .form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-family: var(--font-main);
    font-size: 14px;
    color: var(--dark);
    transition: var(--transition);
    outline: none;
}

.form-group .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 57, 233, 0.1);
}

.btn-login-submit {
    width: 100%;
    padding: 14px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    font-family: var(--font-main);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.btn-login-submit:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 5px 20px rgba(209, 22, 43, 0.3);
}

.login-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: var(--gray-600);
}

.login-footer a {
    color: var(--primary);
    font-weight: 600;
}

/* ============================================
   ADMIN PANEL
   ============================================ */
.admin-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 260px;
    height: 100vh;
    background: var(--dark);
    color: var(--white);
    z-index: 1000;
    overflow-y: auto;
    transition: var(--transition);
}

.admin-sidebar-header {
    padding: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.admin-logo-img {
    height: 40px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.admin-nav {
    list-style: none;
    padding: 15px 0;
    margin: 0;
}

.admin-nav li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.admin-nav li a:hover,
.admin-nav li a.active {
    color: var(--white);
    background: rgba(255,255,255,0.08);
}

.admin-nav li a i {
    width: 20px;
    text-align: center;
    font-size: 15px;
}

.admin-content {
    margin-right: 260px;
    padding: 30px;
    min-height: 100vh;
    background: var(--gray-100);
}

.admin-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 16px 24px;
    border-radius: 18px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.admin-topbar .btn {
    border-radius: 999px;
}

.admin-topbar h2 {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
}

.admin-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 25px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 20px;
}

.admin-stat-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 25px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 15px;
}

.admin-stat-icon {
    width: 55px;
    height: 55px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.admin-stat-icon.blue { background: rgba(37,57,233,0.1); color: var(--primary); }
.admin-stat-icon.green { background: rgba(40,167,69,0.1); color: #28a745; }
.admin-stat-icon.orange { background: rgba(255,107,53,0.1); color: var(--accent); }
.admin-stat-icon.purple { background: rgba(108,99,255,0.1); color: var(--secondary); }

.admin-stat-info h3 {
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 4px;
    color: var(--dark);
}

.admin-stat-info p {
    font-size: 13px;
    color: var(--gray-600);
    margin: 0;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 991px) {
    .header-nav .nav-links {
        display: none;
    }

    .mobile-toggle {
        display: flex;
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
    }

    .mobile-menu {
        display: block;
    }

    .header-nav {
        position: relative;
        min-height: 50px;
    }

    .mega-menu {
        width: 100%;
        position: static !important;
        box-shadow: none;
        border: 1px solid var(--gray-200);
        margin-top: 5px !important;
        transform: none;
        left: auto;
    }

    .simple-menu {
        width: 100%;
        position: static !important;
        box-shadow: none;
        border: 1px solid var(--gray-200);
        margin-top: 5px !important;
        transform: none;
        left: auto;
        right: auto;
    }

    .mega-menu-inner {
        padding: 15px;
    }

    .mega-menu .row > div:first-child {
        margin-bottom: 15px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-images {
        flex-wrap: wrap;
        gap: 10px;
    }

    .hero-images .hero-img {
        width: 120px;
        height: 160px;
    }

    .search-bar {
        flex-wrap: wrap;
    }

    .search-bar .search-field {
        min-width: 100%;
        border-left: none;
        border-bottom: 1px solid var(--gray-200);
        padding: 12px 10px;
    }

    .btn-search-advanced,
    .btn-search-main {
        flex: 1;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .hero-images .hero-img {
        width: 100px;
        height: 130px;
    }

    .footer-bottom {
        text-align: start;
    }

    .footer-bottom-links {
        justify-content: flex-start;
        margin-top: 10px;
    }
}

/* ============================================
   DARK MODE
   ============================================ */
html[data-theme="dark"] {
    --dark: #e8eaed;
    --dark-light: #d0d3d8;
    --gray-100: #000000;
    --gray-200: #0d0d0d;
    --gray-300: #1a1a1a;
    --gray-400: #3a3a52;
    --gray-500: #7a7a8e;
    --gray-600: #9a9ab0;
    --gray-700: #b0b0c4;
    --gray-800: #d0d0de;
    --gray-900: #e8e8f0;
    --white: #000000;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.25);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.35);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.45);
}

html[data-theme="dark"] body {
    background-color: #000000;
    color: #e8eaed;
}

html[data-theme="dark"] .site-header {
    background: rgba(18, 18, 30, 0.96);
    border-color: rgba(255,255,255,0.06);
    box-shadow: 0 6px 24px rgba(0,0,0,0.35);
}

html[data-theme="dark"] .nav-links .nav-link {
    color: #d0d3d8;
}

html[data-theme="dark"] .nav-links .nav-link:hover,
html[data-theme="dark"] .nav-links .nav-link.active {
    color: var(--primary-light);
    background: rgba(209, 22, 43, 0.12);
}

html[data-theme="dark"] .mega-menu,
html[data-theme="dark"] .simple-menu {
    background: #000000;
    box-shadow: 0 8px 40px rgba(0,0,0,0.5);
}

html[data-theme="dark"] .mega-menu-item:hover {
    background: rgba(255,255,255,0.05);
}

html[data-theme="dark"] .mega-text strong {
    color: #e8eaed;
}

html[data-theme="dark"] .mega-text span {
    color: #9a9ab0;
}

html[data-theme="dark"] .mobile-menu {
    background: #000000;
}

html[data-theme="dark"] .mobile-nav-links li a {
    color: #d0d3d8;
}

html[data-theme="dark"] .mobile-nav-links li a:hover {
    background: rgba(255,255,255,0.05);
    color: var(--primary-light);
}

html[data-theme="dark"] .mobile-toggle span {
    background: #d0d3d8;
}

html[data-theme="dark"] .btn-lang {
    background: rgba(255,255,255,0.08);
    color: #fff;
}

html[data-theme="dark"] .btn-theme {
    background: rgba(255,255,255,0.08);
    color: #fff;
}

html[data-theme="dark"] .home-about-btn {
    color: #111;
}

html[data-theme="dark"] .btn-lang:hover {
    background: rgba(209,22,43,0.15);
    color: var(--primary-light);
}

html[data-theme="dark"] .btn-theme:hover {
    background: rgba(209,22,43,0.15);
    color: var(--primary-light);
}

html[data-theme="dark"] .hero-section {
    background: linear-gradient(135deg, #0d0d18 0%, #151525 50%, #0d0d18 100%);
}

html[data-theme="dark"] .hero-overlay {
    background: linear-gradient(135deg, rgba(13,13,24,0.6) 0%, rgba(21,21,37,0.5) 50%, rgba(13,13,24,0.6) 100%);
}

html[data-theme="dark"] .hero-title {
    color: #e8eaed;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

html[data-theme="dark"] .hero-subtitle {
    color: #b0b0c4;
    text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}

html[data-theme="dark"] .hero-images {
    border-color: rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.04);
}

html[data-theme="dark"] .hero-scroll-down {
    background: rgba(30,30,50,0.65);
    border-color: rgba(255,255,255,0.08);
    color: #d0d3d8;
}

html[data-theme="dark"] .section-title {
    color: #e8eaed;
}

html[data-theme="dark"] .section-subtitle {
    color: #9a9ab0;
}

html[data-theme="dark"] .service-card {
    background: #000000;
    border-color: rgba(255,255,255,0.06);
}

html[data-theme="dark"] .service-card:hover {
    border-color: rgba(209,22,43,0.25);
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}

html[data-theme="dark"] .service-title {
    color: #e8eaed;
}

html[data-theme="dark"] .service-desc {
    color: #9a9ab0;
}

html[data-theme="dark"] .service-link {
    color: var(--primary-light);
}

html[data-theme="dark"] .property-card {
    background: #000000;
    border-color: rgba(255,255,255,0.06);
    box-shadow: 0 10px 28px rgba(0,0,0,0.3);
}

html[data-theme="dark"] .property-card:hover {
    box-shadow: 0 18px 46px rgba(0,0,0,0.45);
    border-color: rgba(209,22,43,0.25);
}

html[data-theme="dark"] .property-name {
    color: #e8eaed;
}

html[data-theme="dark"] .property-specs {
    color: rgba(255,255,255,0.55);
}

html[data-theme="dark"] .property-spec-value {
    color: #e8eaed;
}

html[data-theme="dark"] .property-divider {
    background: rgba(255,255,255,0.08);
}

html[data-theme="dark"] .property-agent {
    color: rgba(255,255,255,0.6);
}

html[data-theme="dark"] .agent-avatar {
    background: rgba(209,22,43,0.15);
}

html[data-theme="dark"] .property-price {
    color: #e8eaed;
}

html[data-theme="dark"] .property-amenity {
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.7);
}

html[data-theme="dark"] .properties-section {
    background: #000000;
}

html[data-theme="dark"] .properties-title {
    color: #e8eaed;
}

html[data-theme="dark"] .properties-tab {
    background: rgba(255,255,255,0.06);
    color: #d0d3d8;
}

html[data-theme="dark"] .properties-tab:hover {
    background: rgba(209,22,43,0.15);
    color: var(--primary-light);
}

html[data-theme="dark"] .project-title-row {
    background: rgba(18,18,30,0.96);
    border-color: rgba(255,255,255,0.06);
}

html[data-theme="dark"] .project-title {
    color: #e8eaed;
}

html[data-theme="dark"] .project-meta {
    background: rgba(18,18,30,0.85);
    color: #d0d3d8;
}

html[data-theme="dark"] .section-arrow {
    background: rgba(255,255,255,0.06);
    color: #d0d3d8;
}

html[data-theme="dark"] .section-arrow:hover {
    background: rgba(209,22,43,0.15);
    color: var(--primary-light);
}

html[data-theme="dark"] .slider-dot {
    background: rgba(255,255,255,0.15);
}

html[data-theme="dark"] .team-card {
    background: #000000;
    border-color: rgba(255,255,255,0.06);
}

html[data-theme="dark"] .team-name {
    color: #e8eaed;
}

html[data-theme="dark"] .team-role {
    color: #9a9ab0;
}

html[data-theme="dark"] .client-logo {
    filter: grayscale(1) invert(0.85);
}

html[data-theme="dark"] .client-logo-wrap:hover .client-logo {
    filter: grayscale(0) invert(0);
}

html[data-theme="dark"] .search-bar {
    background: #000000;
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}

html[data-theme="dark"] .search-bar .search-field {
    color: #d0d3d8;
    border-color: rgba(255,255,255,0.08);
}

html[data-theme="dark"] .search-bar .search-field::placeholder {
    color: #7a7a8e;
}

html[data-theme="dark"] .blog-card {
    background: #1e1e30;
    border-color: rgba(255,255,255,0.06);
}
html[data-theme="dark"] .blog-card-title {
    color: var(--white);
}
html[data-theme="dark"] .blog-card-excerpt {
    color: #8a8aa0;
}
html[data-theme="dark"] .blog-card-img {
    background: #16162a;
}

html[data-theme="dark"] .about-ceo-hero {
    background: #000000;
}

html[data-theme="dark"] .about-ceo-title {
    color: #e8eaed;
}

html[data-theme="dark"] .about-ceo-body {
    color: rgba(255,255,255,0.6);
}

html[data-theme="dark"] .about-ceo-name {
    color: #e8eaed;
}

html[data-theme="dark"] .about-ceo-role {
    color: rgba(255,255,255,0.45);
}

html[data-theme="dark"] .about-ceo-signature-svg path {
    stroke: rgba(255,255,255,0.45);
}

html[data-theme="dark"] .about-ceo-decor img {
    box-shadow: 0 18px 38px rgba(0,0,0,0.3);
    border-color: rgba(255,255,255,0.06);
}

html[data-theme="dark"] .about-ceo-decor--end img {
    background: #000000;
}

html[data-theme="dark"] .about-map-list {
    background: #000000;
    border-color: rgba(255,255,255,0.06);
}

html[data-theme="dark"] .about-map-item {
    background: #181818;
    border-color: rgba(255,255,255,0.08);
}

html[data-theme="dark"] .about-map-item-title {
    color: #e8eaed;
}

html[data-theme="dark"] .about-map-item-meta {
    color: #adb5bd;
}

html[data-theme="dark"] .about-map-item-link {
    color: var(--primary-light);
}

html[data-theme="dark"] .about-map-item:hover {
    background: #222222;
    box-shadow: 0 14px 30px rgba(0,0,0,0.4);
    border-color: rgba(209,22,43,0.35);
}

html[data-theme="dark"] .compound-block-frame {
    background: #000000;
    border-color: rgba(255,255,255,0.06);
}

html[data-theme="dark"] .compound-section-title,
html[data-theme="dark"] .compound-block-titlebar span {
    color: #e8eaed;
}

html[data-theme="dark"] .compound-richtext {
    color: #9a9ab0;
}

html[data-theme="dark"] .service-richtext {
    color: #9a9ab0;
}

html[data-theme="dark"] .service-richtext h1,
html[data-theme="dark"] .service-richtext h2,
html[data-theme="dark"] .service-richtext h3,
html[data-theme="dark"] .service-richtext h4,
html[data-theme="dark"] .service-richtext h5,
html[data-theme="dark"] .service-richtext h6 {
    color: #e8eaed;
}

html[data-theme="dark"] .service-section-title {
    color: #e8eaed;
}

html[data-theme="dark"] .service-page-title h2 {
    color: #e8eaed;
}

html[data-theme="dark"] .service-page-intro p {
    color: #9a9ab0;
}

html[data-theme="dark"] .service-split-content {
    color: #9a9ab0;
}

html[data-theme="dark"] .compound-top-info {
    background: #000000;
    border-color: rgba(255,255,255,0.06);
}

html[data-theme="dark"] .compound-top-title {
    color: #e8eaed;
}

html[data-theme="dark"] .compound-top-summary {
    color: #9a9ab0;
}

html[data-theme="dark"] .compound-top-spec {
    color: #d0d3d8;
}

html[data-theme="dark"] .compound-top-divider {
    background: rgba(255,255,255,0.08);
}

html[data-theme="dark"] .compound-top-amenity {
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.7);
}

html[data-theme="dark"] .compound-service-icon {
    background: #000000;
    border-color: rgba(255,255,255,0.06);
}

html[data-theme="dark"] .compound-service-icon span {
    color: #e8eaed;
}

html[data-theme="dark"] .compound-compact-title {
    color: #e8eaed;
}

html[data-theme="dark"] .compound-compact-desc {
    color: #9a9ab0;
}

html[data-theme="dark"] .compound-floorplan {
    background: rgba(255,255,255,0.04);
}

html[data-theme="dark"] .compound-floorplan summary {
    color: #e8eaed;
}

html[data-theme="dark"] .compound-floorplan-img {
    background: #000000;
    border-color: rgba(255,255,255,0.06);
}

html[data-theme="dark"] .compound-attachment {
    background: #000000;
    border-color: rgba(255,255,255,0.06);
}

html[data-theme="dark"] .compound-attachment-name {
    color: #e8eaed;
}

html[data-theme="dark"] .compound-attachment-badge {
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.6);
}

html[data-theme="dark"] .stats-section {
    background: linear-gradient(135deg, #000000 0%, #000000 100%);
}

html[data-theme="dark"] .stat-item {
    color: #fff;
}

html[data-theme="dark"] .stat-icon {
    color: var(--primary-light);
}

html[data-theme="dark"] .stats-section .section-title,
html[data-theme="dark"] .stats-section .stats-title,
html[data-theme="dark"] .stats-section .stat-number,
html[data-theme="dark"] .stats-section .stat-label {
    color: #fff;
}

html[data-theme="dark"] .stats-section .stats-kicker {
    color: #fff;
}

html[data-theme="dark"] .stats-section .stats-kicker::before,
html[data-theme="dark"] .stats-section .stats-kicker::after {
    background: #fff;
}

html[data-theme="dark"] .stats-section .stats-dot {
    background: rgba(255,255,255,0.35);
}

html[data-theme="dark"] .stats-section .stats-dot.active {
    background: var(--primary);
}

html[data-theme="dark"] .site-footer {
    background: #14161a;
}

html[data-theme="dark"] .footer-logo-img {
    filter: brightness(0) invert(1);
}

html[data-theme="dark"] .footer-title {
    color: #e8eaed;
}

html[data-theme="dark"] .footer-title::after {
    background: var(--primary-light);
}

html[data-theme="dark"] .footer-desc {
    color: #9a9ab0;
}

html[data-theme="dark"] .footer-links a {
    color: #9a9ab0;
}

html[data-theme="dark"] .footer-links a:hover {
    color: var(--primary-light);
}

html[data-theme="dark"] .footer-contact span,
html[data-theme="dark"] .footer-contact a {
    color: #9a9ab0;
}

html[data-theme="dark"] .footer-bottom {
    border-color: rgba(255,255,255,0.06);
}

html[data-theme="dark"] .copyright {
    color: #7a7a8e;
}

html[data-theme="dark"] .footer-bottom-links a {
    color: #7a7a8e;
}

html[data-theme="dark"] .simple-menu .dropdown-item {
    color: #d0d3d8;
}

html[data-theme="dark"] .simple-menu .dropdown-item i {
    color: #9a9ab0;
}

html[data-theme="dark"] .simple-menu .dropdown-item:hover {
    background: rgba(255,255,255,0.05);
    color: var(--primary-light);
}

/* Form elements dark mode */
html[data-theme="dark"] .form-control,
html[data-theme="dark"] .form-select {
    background: #000000;
    border-color: rgba(255,255,255,0.1);
    color: #e8eaed;
}

html[data-theme="dark"] .form-control::placeholder {
    color: #7a7a8e;
}

html[data-theme="dark"] .form-control:focus,
html[data-theme="dark"] .form-select:focus {
    background: #1e1e32;
    border-color: rgba(209,22,43,0.4);
    color: #e8eaed;
    box-shadow: 0 0 0 0.2rem rgba(209,22,43,0.15);
}

html[data-theme="dark"] .card,
html[data-theme="dark"] .admin-card {
    background: #000000;
    border-color: rgba(255,255,255,0.06);
}

html[data-theme="dark"] .alert-success {
    background: rgba(25,135,84,0.15);
    border-color: rgba(25,135,84,0.25);
    color: #75d6a5;
}

html[data-theme="dark"] .alert-danger {
    background: rgba(220,53,69,0.15);
    border-color: rgba(220,53,69,0.25);
    color: #f0969e;
}

/* ============================================
   DARK MODE TOGGLE BUTTON
   ============================================ */
.dark-mode-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    z-index: 9999;
    transition: all 0.3s ease;
    box-shadow: 0 4px 18px rgba(0,0,0,0.18);
    background: #000000;
    color: #ffd43b;
}

html[data-theme="dark"] .dark-mode-toggle {
    background: #fff;
    color: #ff922b;
    box-shadow: 0 4px 18px rgba(255,255,255,0.12);
}

.dark-mode-toggle:hover {
    transform: scale(1.12);
    box-shadow: 0 6px 24px rgba(0,0,0,0.25);
}

html[data-theme="dark"] .dark-mode-toggle:hover {
    box-shadow: 0 6px 24px rgba(255,255,255,0.2);
}

/* Adjust back-to-top position when dark mode toggle exists */
.back-to-top {
    bottom: 90px;
}

@media (max-width: 575px) {
    .dark-mode-toggle {
        bottom: 20px;
        right: 20px;
        width: 42px;
        height: 42px;
        font-size: 18px;
    }
    .back-to-top {
        bottom: 74px;
        left: 20px;
        width: 40px;
        height: 40px;
    }
}

/* ============================================
   ADDITIONAL RESPONSIVE FIXES
   ============================================ */
@media (max-width: 991px) {
    .site-header {
        width: 95%;
        max-width: none;
    }

    .header-nav {
        display: none;
    }

    .header-actions .btn-lang,
    .header-actions .btn-login-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .mobile-toggle {
        display: flex;
    }

    .page-header {
        padding: 162px 0 75px;
    }

    .page-header-title {
        font-size: 1.8rem;
    }

    .section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .section-subtitle {
        font-size: 0.9rem;
        margin-bottom: 30px;
    }
}

@media (max-width: 767px) {
    .hero-content {
        padding: 100px 0 50px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-images {
        flex-wrap: wrap;
        gap: 10px;
        padding: 12px;
    }

    .hero-images .hero-img {
        width: 80px;
        height: 100px;
    }

    .search-bar {
        flex-direction: column;
        border-radius: 16px;
        padding: 12px;
    }

    .search-bar .search-field {
        border-left: none;
        border-bottom: 1px solid var(--gray-200);
        width: 100%;
    }

    .btn-search-main,
    .btn-search-advanced {
        width: 100%;
        justify-content: center;
    }

    .properties-title {
        font-size: 1.5rem;
    }

    .mega-menu-inner {
        padding: 20px;
    }

    .footer-top {
        padding: 40px 0 20px;
    }

    .footer-title {
        font-size: 15px;
        margin-bottom: 14px;
    }
}

@media (max-width: 575px) {
    .site-header {
        width: 96%;
        top: 10px;
        border-radius: 14px;
    }

    .site-header .container {
        padding: 0 14px;
    }

    .header-wrapper {
        padding: 10px 0;
        gap: 10px;
    }

    .nav-logo .logo-img {
        height: 38px;
    }

    .page-header {
        padding: 138px 0 63px;
    }

    .page-header-title {
        font-size: 1.5rem;
    }

    .breadcrumb-nav {
        font-size: 12px;
    }

    .section {
        padding: 40px 0;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .about-ceo-title {
        font-size: 1.8rem;
    }

    .about-ceo-body {
        font-size: 0.9rem;
    }

    .service-hero {
        padding: 110px 0 60px;
    }

    .service-hero-title {
        font-size: 1.8rem;
    }

    .service-hero-desc {
        font-size: 0.9rem;
    }

    .compound-compact-title {
        font-size: 1.5rem;
    }

    .compound-block-frame {
        padding: 16px;
        border-radius: 18px;
    }

    .compound-top-title {
        font-size: 1.5rem;
    }

    .compound-top-info {
        padding: 16px;
        border-radius: 18px;
    }
}

/* ============================================
   DARK MODE - Start & Contact Pages
   ============================================ */
html[data-theme="dark"] .start-landing-hero {
    background: linear-gradient(135deg, #0a0a14 0%, #000000 50%, var(--primary-dark) 100%) !important;
}

html[data-theme="dark"] .start-landing-hero [style*="background: #fff"],
html[data-theme="dark"] .start-landing-hero [style*="background:#fff"] {
    background: #000000 !important;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5) !important;
}

html[data-theme="dark"] .start-landing-hero [style*="background: #fff"] h2,
html[data-theme="dark"] .start-landing-hero [style*="background:#fff"] h2 {
    color: #e8eaed !important;
}

html[data-theme="dark"] .start-landing-hero .form-control,
html[data-theme="dark"] .start-landing-hero .form-select {
    background: #0d0d0d !important;
    border-color: rgba(255,255,255,0.1) !important;
    color: #e8eaed !important;
}

html[data-theme="dark"] .start-landing-hero .form-control::placeholder {
    color: #7a7a8e !important;
}

html[data-theme="dark"] section[style*="background: #f"] > .container [style*="background: #fff"],
html[data-theme="dark"] section[style*="background:#f"] > .container [style*="background: #fff"],
html[data-theme="dark"] section[style*="background: #f"] > .container [style*="background:#fff"] {
    background: #000000 !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.25) !important;
}

html[data-theme="dark"] .contact-form-section,
html[data-theme="dark"] section[style*="padding: 80px"] {
    background: #000000 !important;
}

html[data-theme="dark"] .contact-info-card,
html[data-theme="dark"] [style*="border-radius: 20px"][style*="border: 1px solid"] {
    background: #000000 !important;
    border-color: rgba(255,255,255,0.06) !important;
}

html[data-theme="dark"] .contact-info-card h5,
html[data-theme="dark"] .contact-info-card h6 {
    color: #e8eaed !important;
}

/* Generic dark mode for inline white backgrounds */
html[data-theme="dark"] main [style*="background: #fff"],
html[data-theme="dark"] main [style*="background:#fff"] {
    background: #000000 !important;
}

html[data-theme="dark"] main [style*="background: #f8f9fa"],
html[data-theme="dark"] main [style*="background:#f8f9fa"],
html[data-theme="dark"] main [style*="background: #f5f5f5"],
html[data-theme="dark"] main [style*="background: var(--gray-100)"] {
    background: #151525 !important;
}

html[data-theme="dark"] main [style*="color: var(--dark)"] {
    color: #e8eaed !important;
}

html[data-theme="dark"] main [style*="border: 1px solid rgba(0,0,0"] {
    border-color: rgba(255,255,255,0.06) !important;
}

html[data-theme="dark"] main [style*="border-bottom: 1px solid rgba(0,0,0"] {
    border-color: rgba(255,255,255,0.06) !important;
}

/* Service page dark mode */
html[data-theme="dark"] .service-hero-grey {
    background: #000000 !important;
}

html[data-theme="dark"] .service-hero-grey-title {
    color: #e8eaed;
}

html[data-theme="dark"] .service-hero-media {
    background: #000000;
    border-color: rgba(255,255,255,0.06);
    box-shadow: 0 30px 80px rgba(0,0,0,0.3);
}

html[data-theme="dark"] .service-split {
    background: #000000;
    border-color: rgba(255,255,255,0.06);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

html[data-theme="dark"] .service-split-media img {
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}

html[data-theme="dark"] .service-media img {
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}

html[data-theme="dark"] .service-gallery-slider img {
    border-color: rgba(255,255,255,0.06);
}

html[data-theme="dark"] .service-plain {
    color: #9a9ab0;
}

html[data-theme="dark"] .service-video video {
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}
html[data-theme="dark"] .service-split-media img {
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}

html[data-theme="dark"] .service-media img {
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}

html[data-theme="dark"] .service-gallery-slider img {
    border-color: rgba(255,255,255,0.06);
}

html[data-theme="dark"] .service-plain {
    color: #9a9ab0;
}

html[data-theme="dark"] .service-video video {
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}
