/* ── Neo Sans Arabic Font ── */
@font-face {
    font-family: 'Neo Sans Arabic';
    src: url('/assets/fonts/NeoSansArabic-Light.woff') format('woff'),
         url('/assets/fonts/NeoSansArabic-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Neo Sans Arabic';
    src: url('/assets/fonts/NeoSansArabic-Regular.woff') format('woff'),
         url('/assets/fonts/NeoSansArabic-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Neo Sans Arabic';
    src: url('/assets/fonts/NeoSansArabic-Medium.woff') format('woff'),
         url('/assets/fonts/NeoSansArabic-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Neo Sans Arabic';
    src: url('/assets/fonts/NeoSansArabic-Medium.woff') format('woff'),
         url('/assets/fonts/NeoSansArabic-Medium.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Neo Sans Arabic';
    src: url('/assets/fonts/NeoSansArabic-Medium.woff') format('woff'),
         url('/assets/fonts/NeoSansArabic-Medium.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ============================================================
   Miemar AlMamlakah - Main Stylesheet
   Primary: #58443c | Secondary: #c09465
   RTL Arabic - Luxury Real Estate
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Noto+Naskh+Arabic:wght@400;500;600;700&display=swap');

/* CSS Variables */
:root {
    --primary: #58443c;
    --primary-light: #7a5f56;
    --primary-dark: #3d2f29;
    --gold: #c09465;
    --gold-light: #d4aa80;
    --gold-dark: #9a7548;
    --white: #ffffff;
    --off-white: #f9f6f3;
    --light-bg: #f5f0eb;
    --border: #e8ddd7;
    --text-dark: #2c1f1a;
    --text-body: #4a3a34;
    --text-muted: #8a7570;
    --shadow-sm: 0 2px 10px rgba(88,68,60,0.08);
    --shadow-md: 0 8px 30px rgba(88,68,60,0.12);
    --shadow-lg: 0 20px 60px rgba(88,68,60,0.18);
    --radius: 8px;
    --radius-lg: 16px;
    --transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
    --font: 'Neo Sans Arabic', 'Segoe UI Arabic', Arial, sans-serif, 'DIN Next Arabic', 'Segoe UI Arabic', serif;
    --header-height: 80px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font);
    color: var(--text-body);
    background: var(--white);
    direction: rtl;
    line-height: 1.8;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font); }
input, textarea, select { font-family: var(--font); }

/* ============ UTILITY ============ */
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.section { padding: 90px 0; }
.section-sm { padding: 60px 0; }
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.bg-dark { background: var(--primary-dark); }
.bg-light { background: var(--light-bg); }
.me-2 { margin-left: 8px; }

.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.section-header .eyebrow {
    display: inline-block;
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 12px;
    position: relative;
}
.section-header .eyebrow::before,
.section-header .eyebrow::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30px;
    height: 1px;
    background: var(--gold);
}
.section-header .eyebrow::before { right: calc(100% + 10px); }
.section-header .eyebrow::after { left: calc(100% + 10px); }
.section-header h2 {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    color: var(--primary);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 16px;
}
.section-header p {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}
.divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    margin: 16px auto 0;
    border-radius: 2px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-weight: 600;
    font-family: var(--font);
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}
.btn-primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}
.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(88,68,60,0.3);
}
.btn-gold {
    background: var(--gold);
    color: var(--white);
    border-color: var(--gold);
}
.btn-gold:hover {
    background: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(192,148,101,0.35);
}
.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}
.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}
.btn-outline-gold {
    background: transparent;
    color: var(--gold);
    border-color: var(--gold);
}
.btn-outline-gold:hover {
    background: var(--gold);
    color: var(--white);
}
.btn-outline-white {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.6);
}
.btn-outline-white:hover {
    background: var(--white);
    color: var(--primary);
}

/* ============ TOP BAR ============ */
.top-bar {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.85);
    font-size: 0.82rem;
    padding: 8px 0;
}
.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.top-bar-contact { display: flex; gap: 20px; align-items: center; }
.top-bar-contact a {
    color: rgba(255,255,255,0.8);
    display: flex;
    align-items: center;
    gap: 6px;
}
.top-bar-contact a:hover { color: var(--gold); }
.top-bar-contact i { color: var(--gold); }
.top-bar-social { display: flex; gap: 12px; }
.top-bar-social a {
    color: rgba(255,255,255,0.7);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    font-size: 0.75rem;
}
.top-bar-social a:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: white;
}

/* ============ HEADER ============ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    height: var(--header-height);
    display: flex;
    align-items: center;
    transition: var(--transition);
}
.site-header.scrolled {
    box-shadow: var(--shadow-md);
    height: 70px;
}
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.navbar-logo img {
    height: 70px;
    width: auto;
    transition: var(--transition);
}
.site-header.scrolled .navbar-logo img { height: 45px; }
.navbar-menu {
    display: flex;
    align-items: center;
    gap: 4px;
}
.navbar-menu a {
    display: block;
    padding: 8px 14px;
    color: var(--text-dark);
    font-size: 0.92rem;
    font-weight: 600;
    border-radius: var(--radius);
    position: relative;
}
.navbar-menu a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    right: 14px;
    left: 14px;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}
.navbar-menu a:hover, .navbar-menu a.active { color: var(--primary); }
.navbar-menu a:hover::after, .navbar-menu a.active::after { transform: scaleX(1); }
.navbar-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 6px;
    cursor: pointer;
}
.navbar-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
    border-radius: 2px;
}
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999;
}

/* ============ HERO ============ */
.hero {
    position: relative;
    height: calc(100vh - var(--header-height) - 40px);
    min-height: 600px;
    overflow: hidden;
    background: var(--primary-dark);
}
@media (max-width: 768px) {
    .hero {
        height: 100vh;
        min-height: 100vh;
    }
}
.hero-slider { height: 100%; position: relative; }
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.08);
    transition: transform 8s ease;
}
.hero-slide.active .hero-slide-bg { transform: scale(1); }
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(61,47,41,0.75) 0%, rgba(88,68,60,0.5) 50%, rgba(0,0,0,0.3) 100%);
}
.hero-video-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}
.hero-video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    z-index: 2;
}
.hero-text {
    max-width: 750px;
    color: var(--white);
    animation: heroTextIn 1s ease 0.3s both;
}
@keyframes heroTextIn {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}
.hero-eyebrow {
    display: inline-block;
    color: var(--gold);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 3px;
    margin-bottom: 16px;
    padding: 6px 16px;
    border: 1px solid rgba(192,148,101,0.4);
    border-radius: 4px;
    background: rgba(192,148,101,0.1);
}
.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 8px;
    color: var(--white);
}
.hero-subtitle {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 400;
    color: var(--gold-light);
    margin-bottom: 20px;
}
.hero-desc {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.85);
    max-width: 600px;
    margin-bottom: 36px;
    line-height: 1.9;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 8px;
}
.hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: var(--transition);
    border: none;
}
.hero-dot.active {
    background: var(--gold);
    width: 28px;
    border-radius: 4px;
}
.hero-scroll {
    position: absolute;
    bottom: 30px;
    right: 40px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.7);
    font-size: 0.8rem;
    cursor: pointer;
}
.hero-scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scrollLine 2s ease infinite;
}
@keyframes scrollLine {
    0% { opacity: 1; transform: scaleY(1); }
    100% { opacity: 0; transform: scaleY(0) translateY(50px); }
}

/* ============ ABOUT SECTION ============ */
.about-section { background: var(--off-white); }
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}
.about-image-wrap {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.about-image-wrap img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    position: relative;
    z-index: 1;
}
.about-content {}
.about-content .eyebrow { color: var(--gold); font-size: 0.85rem; font-weight: 600; letter-spacing: 2px; display: block; margin-bottom: 12px; }
.about-content h2 { font-size: clamp(1.8rem, 2.5vw, 2.4rem); color: var(--primary); margin-bottom: 20px; font-weight: 700; }
.about-content p { color: var(--text-muted); line-height: 1.9; margin-bottom: 24px; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 28px 0; }
.about-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--white);
    border-radius: var(--radius);
    border-right: 3px solid var(--gold);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}
.about-feature i { color: var(--gold); font-size: 1rem; }

/* ============ STATISTICS ============ 
.stats-section {
    background: var(--off-white);
    position: relative;
    overflow: hidden;
}
.stats-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    position: relative;
    z-index: 1;
}
.stat-item {
    text-align: center;
    padding: 50px 20px;
    position: relative;
    color: var(--white);
}
.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 25%;
    left: 0;
    height: 50%;
    width: 1px;
    background: rgba(255,255,255,0.15);
}
.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(192,148,101,0.2);
    border: 1px solid rgba(192,148,101,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.3rem;
    color: var(--gold);
}
.stat-number {
    font-size: clamp(2.2rem, 3vw, 3rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    margin-bottom: 4px;
    display: block;
}
.stat-suffix { color: var(--gold); font-size: 1.2rem; }
.stat-label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    margin-top: 8px;
}
*/
/* ============ PROJECTS SECTION ============ */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.project-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    background: var(--white);
    transition: var(--transition);
    border: 1px solid var(--border);
}
.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}
.project-thumb {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}
.project-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.project-card:hover .project-thumb img { transform: scale(1.08); }
.project-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
}
.badge-ongoing { background: var(--gold); color: white; }
.badge-completed { background: var(--primary); color: white; }
.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(61,47,41,0.8) 0%, transparent 60%);
    opacity: 0;
    transition: var(--transition);
    display: flex;
    align-items: flex-end;
    padding: 20px;
}
.project-card:hover .project-overlay { opacity: 1; }
.project-overlay a {
    color: white;
    padding: 8px 20px;
    border: 1px solid white;
    border-radius: var(--radius);
    font-size: 0.85rem;
}
.project-body { padding: 20px; }
.project-body h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 6px;
}
.project-meta {
    display: flex;
    gap: 16px;
    font-size: 0.82rem;
    color: var(--text-muted);
}
.project-meta span { display: flex; align-items: center; gap: 4px; }
.project-meta i { color: var(--gold); }

/* ============ MEDIA CENTER ============ */
.media-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.media-grid .media-item {
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 1;
    position: relative;
    cursor: pointer;
}
.media-grid .media-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.media-grid .media-item:hover img { transform: scale(1.1); }
.media-grid .media-item:first-child {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: auto;
}
.media-item-overlay {
    position: absolute;
    inset: 0;
    background: rgba(61,47,41,0.5);
    opacity: 0;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}
.media-item:hover .media-item-overlay { opacity: 1; }

/* ============ PARTNERS SLIDER ============ */
.partners-slider-wrap {
    direction: ltr;
    text-align: right;
    display: block;
    overflow: hidden;
    position: relative;
}
.partners-slider-wrap::before,
.partners-slider-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    width: 80px;
    height: 100%;
    z-index: 2;
}
.partners-slider-wrap::before {
    right: 0;
    background: linear-gradient(to left, var(--off-white), transparent);
}
.partners-slider-wrap::after {
    left: 0;
    background: linear-gradient(to right, var(--off-white), transparent);
}
.partners-track {
    display: flex;
    gap: 40px;
    animation: scrollTrack 25s linear infinite;
    width: max-content;
}
.partners-track:hover { animation-play-state: paused; }
@keyframes scrollTrack {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.partner-logo-item {
    width: 160px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    /*filter: grayscale(1) opacity(0.6);*/
    transition: var(--transition);
}
.partner-logo-item:hover { filter: grayscale(0) opacity(1); }
.partner-logo-item img { max-width: 130px; max-height: 70px; object-fit: contain; }

/* ============ CONTACT SECTION ============ */
.contact-section { background: var(--off-white); }
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    align-items: start;
}
.contact-info h3 {
    font-size: 1.6rem;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 16px;
}
.contact-info p { color: var(--text-muted); margin-bottom: 28px; }
.contact-info-items { display: flex; flex-direction: column; gap: 16px; }
.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 20px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border-right: 3px solid var(--gold);
}
.contact-info-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
    font-size: 1rem;
}
.contact-info-text strong { display: block; color: var(--primary); font-size: 0.9rem; margin-bottom: 2px; }
.contact-info-text span { color: var(--text-muted); font-size: 0.9rem; }
.contact-form-wrap {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
}
.contact-form-wrap h3 {
    font-size: 1.4rem;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 24px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; color: var(--primary); font-weight: 600; font-size: 0.9rem; margin-bottom: 8px; }
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    background: var(--off-white);
    color: var(--text-dark);
    font-size: 0.95rem;
    transition: var(--transition);
    direction: rtl;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(192,148,101,0.15);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-success {
    display: none;
    text-align: center;
    padding: 20px;
    color: #22543d;
    background: #f0fff4;
    border-radius: var(--radius);
    border: 1px solid #c6f6d5;
    margin-top: 16px;
}
.form-error { color: #c53030; font-size: 0.85rem; margin-top: 4px; }

/* ============ FOOTER ============ */
.site-footer { background: var(--primary-dark); color: rgba(255,255,255,0.8); }
.footer-top { padding: 70px 0 50px; }
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr 1.4fr;
    gap: 40px;
}
.footer-logo { height: 55px; width: auto; margin-bottom: 20px; filter: brightness(0) invert(1); }
.footer-brand p { font-size: 0.9rem; color: rgba(255,255,255,0.6); line-height: 1.8; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
    transition: var(--transition);
}
.footer-social a:hover { background: var(--gold); border-color: var(--gold); color: white; }
.footer-col h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    position: relative;
}
.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -1px;
    right: 0;
    width: 40px;
    height: 2px;
    background: var(--gold);
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a,
.footer-col ul li span {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.6);
    display: flex;
    align-items: center;
    gap: 6px;
}
.footer-col ul li a:hover { color: var(--gold); }
.footer-form input,
.footer-form textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius);
    background: rgba(255,255,255,0.07);
    color: var(--white);
    font-size: 0.88rem;
    font-family: var(--font);
    margin-bottom: 10px;
    direction: rtl;
    transition: var(--transition);
}
.footer-form input::placeholder, .footer-form textarea::placeholder { color: rgba(255,255,255,0.4); }
.footer-form input:focus, .footer-form textarea:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(255,255,255,0.1);
}
.footer-form-msg { font-size: 0.85rem; margin-top: 8px; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 20px 0;
    text-align: center;
}
.footer-bottom p { font-size: 0.85rem; color: rgba(255,255,255,0.5); }
.footer-bottom strong { color: var(--gold); }

/* ============ WHATSAPP FLOAT ============ */
.whatsapp-float {
    position: fixed;
    bottom: 90px;
    left: 24px;
    width: 54px;
    height: 54px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    z-index: 999;
    transition: var(--transition);
    animation: pulse 2.5s ease infinite;
}
.whatsapp-float:hover { transform: scale(1.1); color: white; }
@keyframes pulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
    50% { box-shadow: 0 4px 30px rgba(37,211,102,0.7), 0 0 0 10px rgba(37,211,102,0.1); }
}
.back-to-top {
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: var(--shadow-md);
    z-index: 999;
    transition: var(--transition);
}
.back-to-top:hover { background: var(--gold); }
.back-to-top.visible { display: flex; }

/* ============ PAGE HERO (inner pages) ============ */
.page-hero {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3z' fill='%23ffffff' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 {
    font-size: clamp(2rem, 3.5vw, 3rem);
    color: var(--white);
    font-weight: 700;
    margin-bottom: 12px;
}
.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.65);
}
.breadcrumb a { color: var(--gold); }
.breadcrumb i { font-size: 0.7rem; }

/* ============ ANIMATIONS (scroll reveal) ============ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============ LIGHTBOX ============ */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    z-index: 99999;
    align-items: center;
    justify-content: center;
}
.lightbox.active { display: flex; }
.lightbox-inner { position: relative; max-width: 90vw; max-height: 90vh; }
.lightbox-img { max-width: 90vw; max-height: 85vh; border-radius: var(--radius); }
.lightbox-close {
    position: absolute;
    top: -40px;
    left: 0;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    background: none;
    border: none;
}
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    background: rgba(255,255,255,0.1);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.lightbox-nav:hover { background: var(--gold); }
.lightbox-prev { left: calc(100% + 10px); }
.lightbox-next { right: calc(100% + 10px); }

/* ============ ABOUT PAGE ============ */
.value-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.value-card {
    padding: 36px 28px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border-top: 4px solid var(--gold);
    transition: var(--transition);
}
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.value-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    margin-bottom: 20px;
}
.value-card h3 { font-size: 1.1rem; color: var(--primary); font-weight: 700; margin-bottom: 12px; }
.value-card p { color: var(--text-muted); font-size: 0.92rem; line-height: 1.8; }

/* ============ MEDIA PAGE ============ */
.media-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 40px;
    border-bottom: 2px solid var(--border);
}
.media-tab {
    padding: 12px 28px;
    border: none;
    background: none;
    font-family: var(--font);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    position: relative;
    transition: var(--transition);
    margin-bottom: -2px;
}
.media-tab.active { color: var(--primary); }
.media-tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    left: 0;
    height: 2px;
    background: var(--gold);
}
.media-panel { display: none; }
.media-panel.active { display: grid; }

/* ============ COMPANIES PAGE ============ */
.companies-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.company-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
}
.company-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--gold); }
.company-logo {
    height: 80px;
    margin: 0 auto 20px;
    object-fit: contain;
}
.company-card h3 { font-size: 1.05rem; color: var(--primary); font-weight: 700; margin-bottom: 10px; }
.company-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; }

/* ============ PARTNERS PAGE ============ */
.partners-grid-full {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.partner-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
    aspect-ratio: 2/1;
}
.partner-card:hover { border-color: var(--gold); box-shadow: var(--shadow-md); }
.partner-card img { width: 1000%; height: 100%; max-width: 100%; max-height: 100%; object-fit: contain; filter: grayscale(1); transition: var(--transition); }
.partner-card:hover img { filter: grayscale(0); }

/* ============ PROJECT DETAIL MODAL ============ */
.project-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: rgba(0,0,0,0.8);
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.project-modal.active { display: flex; }
.project-modal-inner {
    background: var(--white);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
}
.project-modal-header {
    padding: 24px 28px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background: var(--white);
    z-index: 1;
}
.project-modal-header h2 { font-size: 1.3rem; color: var(--primary); }
.project-modal-close { color: var(--text-muted); font-size: 1.3rem; cursor: pointer; }
.project-modal-body { padding: 28px; }
.project-gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin: 20px 0;
}
.project-gallery-thumbs img {
    border-radius: var(--radius);
    aspect-ratio: 4/3;
    object-fit: cover;
    cursor: pointer;
    transition: var(--transition);
}
.project-gallery-thumbs img:hover { opacity: 0.8; }
.project-detail-meta {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 20px 0;
}
.project-detail-meta-item {
    padding: 12px 16px;
    background: var(--off-white);
    border-radius: var(--radius);
    font-size: 0.9rem;
}
.project-detail-meta-item strong { color: var(--primary); display: block; margin-bottom: 4px; font-size: 0.8rem; }

/* ============ LOADING SPINNER ============ */
.loading { text-align: center; padding: 40px; color: var(--text-muted); }
.spinner {
    width: 36px;
    height: 36px;
    border: 3px solid var(--border);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 12px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
    .stats-grid { grid-template-columns: repeat(3, 1fr); }
    .stat-item:nth-child(3)::after { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .projects-grid { grid-template-columns: repeat(2, 1fr); }
    .partners-grid-full { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 900px) {
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-image-wrap { max-width: 500px; margin: 0 auto; }
    .contact-grid { grid-template-columns: 1fr; }
    .value-cards { grid-template-columns: 1fr 1fr; }
    .companies-grid { grid-template-columns: 1fr 1fr; }
    .media-grid { grid-template-columns: repeat(2, 1fr); }
    .media-grid .media-item:first-child { grid-column: span 2; }
}
@media (max-width: 768px) {
    :root { --header-height: 65px; }
    .section { padding: 60px 0; }
    .navbar-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 20px 40px;
        gap: 4px;
        z-index: 1001;
        box-shadow: var(--shadow-lg);
        transition: right 0.4s cubic-bezier(0.4,0,0.2,1);
    }
    .navbar-menu.open { right: 0; }
    .navbar-menu a { width: 100%; padding: 12px 16px; font-size: 1rem; }
    .navbar-toggle { display: flex; }
    .nav-overlay.active { display: block; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .stat-item::after { display: none; }
    .stats-grid .stat-item:not(:last-child) { border-bottom: 1px solid rgba(255,255,255,0.1); }
    .projects-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .partners-grid-full { grid-template-columns: repeat(2, 1fr); }
    .hero-actions { flex-direction: column; width: fit-content; }
    .companies-grid { grid-template-columns: 1fr; }
    .value-cards { grid-template-columns: 1fr; }
    .top-bar { display: none; }
    .project-detail-meta { grid-template-columns: 1fr; }
    .project-gallery-thumbs { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
    .section-header .eyebrow::before,
    .section-header .eyebrow::after { display: none; }
    .contact-form-wrap { padding: 24px 16px; }
    .media-grid { grid-template-columns: 1fr 1fr; }
    .about-image-wrap img { height: 300px; }
}

/* ── STATISTICS BAR - New Design (Option D) ── */
.stats-section { 
    background: var(--off-white);
    padding: 60px 0; 
}
.stats-d-bar {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}
.stats-d-item {
    background: #58443c;
    border-radius: 14px;
    padding: 36px 20px 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    text-align: center;
    box-shadow: 0 4px 20px rgba(88,68,60,0.15);
    transition: all .3s;
    border-top: 3px solid #c09465;
    position: relative;
    overflow: hidden;
}
.stats-d-item::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(192,148,101,0.4), transparent);
}
.stats-d-item:hover { 
    background: #4a3832; 
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(88,68,60,0.25);
}
.stats-d-icon {
    width: 68px;
    height: 68px;
    border: 1.5px solid rgba(192,148,101,0.35);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(192,148,101,0.08);
    margin-bottom: 20px;
}
.stats-d-icon i { font-size: 28px; color: #c09465; }
.stats-d-number { 
    font-size: 42px; 
    font-weight: 700; 
    color: #ffffff; 
    line-height: 1;
    display: inline;
}
.stats-d-suffix { 
    font-size: 22px; 
    color: #c09465; 
    font-weight: 600;
    display: inline;
    margin-right: 2px;
}
.stats-d-label { 
    font-size: 13px; 
    color: rgba(255,255,255,0.45); 
    margin-top: 12px;
    letter-spacing: 0.5px;
    display: block;
}

#tabNews {
    grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 768px) {
    #tabNews {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 1100px) and (min-width: 769px) {
    #tabNews {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .stats-d-bar { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .stats-d-number { font-size: 32px; }
    .stats-d-icon { width: 54px; height: 54px; }
    .stats-d-icon i { font-size: 22px; }
}
.hero-video-iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 177.78vh;
    min-width: 100%;
    height: 56.25vw;
    min-height: 100%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    border: 0;
}
@media (max-width: 768px) {
    .hero-video-iframe {
        width: 100vw;
        height: 100vh;
        min-width: 100vw;
        min-height: 100vh;
        top: 0;
        left: 0;
        transform: none;
    }
}
.hero-slide-video {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background: #000;
}
.hero-slide-video::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: transparent;
}
.contact-info-text span,
.contact-info-text a
{
    direction: ltr;
    text-align: right;
    display: block;
}

@media (max-width: 768px) {
    .lightbox-prev {
        left: -20px;
    }
    .lightbox-next {
        right: -20px;
    }
    .lightbox-nav {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
}
@media (max-width: 768px) {
    .navbar-logo img {height:50px;}
    .lightbox-prev i { transform: rotate(180deg); }
    .lightbox-next i { transform: rotate(180deg); }
}
.sold-out-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    opacity: 0.85;
    pointer-events: none;
    z-index: 2;
}